PDA

View Full Version : Multi-episode nfo support


Hitcher
2008-09-09, 13:37
In relation to Billy's post regarding XBMC Medai Companion -
I'd like very much to do something with multi-part episodes. The problem is that I have no idea how to handle them, and in such a way that the nfo files are still imported by XBMC.

Once someone gives me this information then i'll add that functionality.

I've been trying myself to get a working nfo that contains multi-episode details but to no avail.

Here's some things that I discovered along the way though.


This is how MC compiles a multi-epsode nfo -

<episodedetails>
<title>The Book of the Sword (1)</title>
<season>1</season>
<episode>1</episode>
<plot>The sheltered adopted Heaven, daughter to one of Japan's wealthiest families, grew up in a protected environment, but now she suddenly is in San Francisco and her dad plans to marry her off to the son of one of his business partners.</plot>
<thumb></thumb>
<watched>false</watched>
<credits>Luke McMullen</credits>
<director>Pat Williams</director>
<aired>2008-09-05</aired>
<actor>
<name>Brendan Fehr</name>
<role>Jake Stanton</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTUxMDAyNjIwMV5BMl5BanBnXkFtZTYwMTU3ODk3._V1._ SX92_SY140_.jpg</thumb>
</actor>
<actor>
<name>Saige Thompson</name>
<role>Cheryl</role>
</actor>
<actor>
<name>Kyle Labine</name>
<role>Otto</role>
</actor>
<actor>
<name>Steven Brand</name>
<role>Severin</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMjE2MDM3Nzg2N15BMl5BanBnXkFtZTcwNTY3NjQyMQ@@._ V1._SX100_SY140_.jpg</thumb>
</actor>
<actor>
<name>Kenneth Choi</name>
<role>Sato</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTM1NTM4NTk0Ml5BMl5BanBnXkFtZTcwMTYxOTc4MQ@@._ V1._SX100_SY86_.jpg</thumb>
</actor>
<actor>
<name>Stacy Keibler</name>
<role>Linda</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMjE1MzY5NDI3OF5BMl5BanBnXkFtZTcwMzUzODAzMQ@@._ V1._SX93_SY140_.jpg</thumb>
</actor>
</episodedetails>

As you can see there's no info for the second episode.

When scrapped by XBMC itself and exported to the videodb.xml this is how it looks -

<episodedetails>
<title>The Book of the Sword (1)</title>
<rating>0.000000</rating>
<year>0</year>
<top250>0</top250>
<season>1</season>
<episode>1</episode>
<displayseason>-1</displayseason>
<displayepisode>-1</displayepisode>
<votes></votes>
<outline></outline>
<plot>The sheltered adopted Heaven, daughter to one of Japan&apos;s wealthiest families, grew up in a protected environment, but now she suddenly is in San Francisco and her dad plans to marry her off to the son of one of his business partners.</plot>
<tagline></tagline>
<runtime></runtime>
<thumb></thumb>
<mpaa></mpaa>
<playcount>0</playcount>
<file></file>
<path>E:\TV Shows\Samurai Girl\</path>
<filenameandpath>E:\TV Shows\Samurai Girl\s01e01-e02.mkv</filenameandpath>
<id></id>
<genre></genre>
<credits>Luke McMullen</credits>
<director>Pat Williams</director>
<premiered></premiered>
<status></status>
<code></code>
<aired>2008-09-05</aired>
<studio></studio>
<album></album>
<trailer></trailer>
<artist></artist>
</episodedetails>
<episodedetails>
<title>The Book of the Sword (2)</title>
<rating>0.000000</rating>
<year>0</year>
<top250>0</top250>
<season>1</season>
<episode>2</episode>
<displayseason>-1</displayseason>
<displayepisode>-1</displayepisode>
<votes></votes>
<outline></outline>
<plot>Heaven learns that her past is linked to an ancient secret prophecy - she finds herself in the middle of the fight between good and evil. Her father hands her the family sword, The Whisper of Death, despite her plea to give it to her brother.</plot>
<tagline></tagline>
<runtime></runtime>
<thumb></thumb>
<mpaa></mpaa>
<playcount>0</playcount>
<file></file>
<path>E:\TV Shows\Samurai Girl\</path>
<filenameandpath>E:\TV Shows\Samurai Girl\s01e01-e02.mkv</filenameandpath>
<id></id>
<genre></genre>
<credits></credits>
<director></director>
<premiered></premiered>
<status></status>
<code></code>
<aired>2008-09-05</aired>
<studio></studio>
<album></album>
<trailer></trailer>
<artist></artist>
</episodedetails>

So I thought I could just add the second episode details to the nfo like so -

<episodedetails>
<title>The Book of the Sword (1)</title>
<season>1</season>
<episode>1</episode>
<plot>The sheltered adopted Heaven, daughter to one of Japan's wealthiest families, grew up in a protected environment, but now she suddenly is in San Francisco and her dad plans to marry her off to the son of one of his business partners.</plot>
<thumb></thumb>
<watched>false</watched>
<credits>Luke McMullen</credits>
<director>Pat Williams</director>
<aired>2008-09-05</aired>
<actor>
<name>Brendan Fehr</name>
<role>Jake Stanton</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTUxMDAyNjIwMV5BMl5BanBnXkFtZTYwMTU3ODk3._V1._ SX92_SY140_.jpg</thumb>
</actor>
<actor>
<name>Saige Thompson</name>
<role>Cheryl</role>
</actor>
<actor>
<name>Kyle Labine</name>
<role>Otto</role>
</actor>
<actor>
<name>Steven Brand</name>
<role>Severin</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMjE2MDM3Nzg2N15BMl5BanBnXkFtZTcwNTY3NjQyMQ@@._ V1._SX100_SY140_.jpg</thumb>
</actor>
<actor>
<name>Kenneth Choi</name>
<role>Sato</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTM1NTM4NTk0Ml5BMl5BanBnXkFtZTcwMTYxOTc4MQ@@._ V1._SX100_SY86_.jpg</thumb>
</actor>
<actor>
<name>Stacy Keibler</name>
<role>Linda</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMjE1MzY5NDI3OF5BMl5BanBnXkFtZTcwMzUzODAzMQ@@._ V1._SX93_SY140_.jpg</thumb>
</actor>
</episodedetails>
<episodedetails>
<title>The Book of the Sword (2)</title>
<season>1</season>
<episode>2</episode>
<plot>The sheltered adopted Heaven, daughter to one of Japan's wealthiest families, grew up in a protected environment, but now she suddenly is in San Francisco and her dad plans to marry her off to the son of one of his business partners.</plot>
<thumb></thumb>
<watched>false</watched>
<credits>Luke McMullen</credits>
<director>Pat Williams</director>
<aired>2008-09-05</aired>
<actor>
<name>Brendan Fehr</name>
<role>Jake Stanton</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTUxMDAyNjIwMV5BMl5BanBnXkFtZTYwMTU3ODk3._V1._ SX92_SY140_.jpg</thumb>
</actor>
<actor>
<name>Saige Thompson</name>
<role>Cheryl</role>
</actor>
<actor>
<name>Kyle Labine</name>
<role>Otto</role>
</actor>
<actor>
<name>Steven Brand</name>
<role>Severin</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMjE2MDM3Nzg2N15BMl5BanBnXkFtZTcwNTY3NjQyMQ@@._ V1._SX100_SY140_.jpg</thumb>
</actor>
<actor>
<name>Kenneth Choi</name>
<role>Sato</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTM1NTM4NTk0Ml5BMl5BanBnXkFtZTcwMTYxOTc4MQ@@._ V1._SX100_SY86_.jpg</thumb>
</actor>
<actor>
<name>Stacy Keibler</name>
<role>Linda</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMjE1MzY5NDI3OF5BMl5BanBnXkFtZTcwMzUzODAzMQ@@._ V1._SX93_SY140_.jpg</thumb>
</actor>
</episodedetails>

But that didn't work.

So I can only assume there is no support for multi-episode nfo files.
Does anyone know different?

Ideally there could also be support for 2 episode thumbs contained in the one nfo maybe like this -

<episodedetails>
<title>The Book of the Sword (1)</title>
<season>1</season>
<episode>1</episode>
...
<thumb>S01E01.tbn</thumb>
...
</episodedetails>
<episodedetails>
<title>The Book of the Sword (2)</title>
<season>1</season>
<episode>2</episode>
...
<thumb>S01E02.tbn</thumb>
...
</episodedetails>

Gamester17
2008-09-09, 18:04
Please trac it http://xbmc.org/trac :;):

Hitcher
2008-09-09, 19:19
OK, done.

http://xbmc.org/trac/ticket/4838