Ability to read multiple-episode NFO files

Issue #382 new
Former user created an issue

Would like to see the ability for SERVIIO to parse multiple episode NFO files. This goes along with forum discussion found at http://forum.serviio.org/viewtopic.php?f=5&t=2970.

I have an AVI file that contains Episodes 1 and 2 for Season 3 of "Star Wars - The Clone Wars". My NFO file is setup according to XBMC NFO standards (http://wiki.xbmc.org/?title=Import_-_Export_Library#TV_Episodes)

Multiple episodes will be just like normal single episode files, only difference is... "For multi-part episodes, simply add multiple <episodedetails> XML blocks in succession."

Here is an example of my NFO file for my file "Star Wars-The Clone Wars.S03E01E02.Clone Cadets.ARC Troopers.avi"

{{{

<?xml version="1.0" encoding="utf-8"?> <episodedetails> <filenameandpath>m:\tv shows\star wars - the clone wars\season 3\Star Wars-The Clone Wars.S03E01E02.Clone Cadets.ARC Troopers.avi</filenameandpath> <title>Clone Cadets</title> <rating>7.7</rating> <season>3</season> <episode>1</episode> <plot></plot> <thumb>m:\tv shows\star wars - the clone wars\season 3\Star Wars-The Clone Wars.S03E01E02.Clone Cadets.ARC Troopers.jpg</thumb> <director>Brian Kalin O'Connell</director> <premiered>2011-02-04</premiered> <aired>2011-02-04</aired> <mpaa>TV-G</mpaa> <studio>Cartoon Network</studio> <actor> <name>Cat Taber</name> </actor> <actor> <name>Tom Kane</name> </actor> <actor> <name>Tom Kenny</name> </actor> <actor> <name>Nika Frost</name> </actor> <actor> <name>Dee Bradley Baker</name> </actor> <actor> <name>Matthew Wood</name> </actor> <credits> <writer>Christian Taylor</writer> </credits> <fileinfo> <streamdetails> <video> <width>624</width> <height>352</height> <codec>mpeg4</codec> <aspect>39:22</aspect> </video> <audio> <codec>mp3</codec> <channels>2</channels> </audio> </streamdetails> </fileinfo> </episodedetails> <episodedetails> <filenameandpath>m:\tv shows\star wars - the clone wars\season 3\Star Wars-The Clone Wars.S03E01E02.Clone Cadets.ARC Troopers.avi</filenameandpath> <title>ARC Troopers</title> <rating>7.7</rating> <season>3</season> <episode>2</episode> <plot></plot> <thumb>m:\tv shows\star wars - the clone wars\season 3\Star Wars-The Clone Wars.S03E01E02.Clone Cadets.ARC Troopers.jpg</thumb> <director>Brian Kalin O'Connell</director> <premiered>2011-02-04</premiered> <aired>2011-02-04</aired> <mpaa>TV-G</mpaa> <studio>Cartoon Network</studio> <actor> <name>Cat Taber</name> </actor> <actor> <name>Tom Kane</name> </actor> <actor> <name>Tom Kenny</name> </actor> <actor> <name>Nika Frost</name> </actor> <actor> <name>Dee Bradley Baker</name> </actor> <actor> <name>Matthew Wood</name> </actor> <credits> <writer>Christian Taylor</writer> </credits> <fileinfo> <streamdetails> <video> <width>624</width> <height>352</height> <codec>mpeg4</codec> <aspect>39:22</aspect> </video> <audio> <codec>mp3</codec> <channels>2</channels> </audio> </streamdetails> </fileinfo> </episodedetails> }}}

Comments (6)

  1. Former user Account Deleted

    Original post back in 2011 :(

    I to would love to see this added! Please! Currently multi episode NFO and filename format eg. s01e01e02 does not parse... If anyone knows of a fix or workaround please let us know.

  2. Leopold X

    in my fact, this works fine with Serviio: Stargate SG1 - 1x01-02 - Das Tor zum Universum.mkv but it shows only the first episode.

  3. Former user Account Deleted

    Petr can you please advise if this will be looked into in the not to distant future. I have a number of series that contain multi part episodes. Serviio is unable to serve the content since its not parsed which is very frustrating. I have noticed numerous threads relating to this issue dating back many years and am concerned that its not going to be addressed. I would have thought this issue would be affecting more people?

    If it can parse filenames; yamj - https://code.google.com/p/moviejukebox/wiki/TVSeriesNaming#Multiple_Episode_Files_/_Disks

    xbmc - http://kodi.wiki/view/Naming_video_files/TV_shows#Multi-episode

    or read an xbmc nfo http://kodi.wiki/view/NFO_files/TV_episodes "For multi-part episodes, simply add multiple <episodedetails> XML blocks in succession."

    otherwise im not sure how to get it to work...short of splitting the files themselves?

    Thanks!

  4. Petr Nejedly repo owner

    So is this to parse XML or parse the file names (assume it's for online databases).

    How is this supposed to be renderer to the devices? It will have to be a single file I guess (it is a single avi after all). So the name of the file would use the name of one of the episodes?

  5. Hans Joergensen

    Hi Petr,

    I'm facing this issue on 1.6.1 when using metadata from external XBMC nfo files, it's a single file that contains one or more episodes - so it should be presented as a single episode to the devices e.g. with concatenated values from the "title" tags separated by forward slash e.g. for "Seinfeld - 4x03-04 - The Pitch and The Ticket.nfo" this could be shown as "03-04. The Pitch / The Ticket"

  6. Log in to comment