Jump to content

NFO file for multi-episodes files


steve1977

Recommended Posts

steve1977

I just noticed an incompatibility with XBMC, which would be nice if it could be addressed. This is about the treatment of NFO files if the file/nfo includes more than one episode.

 

Let me try to explain what is happening with an example.

 

1) MBS NFO structure for multi-epsiode files:

S01E01E02E03E04 Pocoyo.mkv

S01E01E02E03E04 Pocoyo.nfo

NFO file (except only)

  <title>Umbrella Umbrella, Drum Roll Please, Swept Away, Who's On the Phone?</title>
  <originaltitle>Umbrella Umbrella, Drum Roll Please, Swept Away, Who's On the Phone?</originaltitle>
  <tvdbid>4518128</tvdbid>
  <runtime>26</runtime>
  <episode>1</episode>
  <episodenumberend>4</episodenumberend>
  <season>1</season>
 
2) XBMC NFO structure for multi-episode files:

S01E01E02E03E04 Pocoyo.mkv

S01E01E02E03E04 Pocoyo.nfo

NFO file (except only)

 <xbmcmultiepisode>
  <episodedetails>
    <title>Umbrella Umbrella</title>
    <showtitle>Pocoyo</showtitle>
    <season>1</season>
    <episode>1</episode>
    <uniqueid>4518128</uniqueid>
    <aired />
    <plot />
    <runtime>7</runtime>
    <displayseason />
    <displayepisode />
    <thumb />
    <watched>false</watched>
    <credits />
    <director />
    <rating />
  </episodedetails>
  <episodedetails>
    <title>Drum Roll Please</title>
    <showtitle>Pocoyo</showtitle>
    <season>1</season>
    <episode>2</episode>
    <uniqueid>4518129</uniqueid>
    <aired />
    <plot />
    <runtime>7</runtime>
    <displayseason />
    <displayepisode />
    <thumb />
    <watched>false</watched>
    <credits />
    <director />
    <rating />
  </episodedetails>
  <episodedetails>
    <title>Swept Away</title>
    <showtitle>Pocoyo</showtitle>
    <season>1</season>
    <episode>3</episode>
    <uniqueid>4518130</uniqueid>
    <aired />
    <plot />
    <runtime>7</runtime>
    <displayseason />
    <displayepisode />
    <thumb />
    <watched>false</watched>
    <credits />
    <director />
    <rating />
  </episodedetails>
  <episodedetails>
    <title>Who's On the Phone?</title>
    <showtitle>Pocoyo</showtitle>
    <season>1</season>
    <episode>4</episode>
    <uniqueid>4518131</uniqueid>
    <aired />
    <plot />
    <runtime>7</runtime>
    <displayseason />
    <displayepisode />
    <thumb />
    <watched>false</watched>
    <credits />
    <director />
    <rating />
  </episodedetails>
</xbmcmultiepisode>
 

 

Issue is that XBMC treats NFO files created by MBS as if it was just one episode (i.e., only episode is displayed).

 

Not sure whether this is easy to fix as it may conflict with how MBT and others read and display the NFO files?

Edited by steve1977
Link to comment
Share on other sites

steve1977

I would be very happy to problem-solve and tinker what nfo configs coudl support both MBS and XBMC. They have a different way how multi-episode episodes are being displayed (MBS combines the titles and shows 1-4, XBMC shows them individually as 1, 2, 3, 4 and then opens the same file).

 

For XBMC, there would need to be some way to include the individual episode info (such as below). Could this be added on-top of what is already in? If you can send me a file with a nfo including what MBS needs and something like below for XBMC, I can try it out with XBMC whether it is compatible and report back. Thanks in advance for your help!!!

 

<episodedetails>
    <title>Umbrella Umbrella</title>
    <showtitle>Pocoyo</showtitle>
    <season>1</season>
    <episode>1</episode>
    <uniqueid>4518128</uniqueid>
    <aired />
    <plot />
    <runtime>7</runtime>
    <displayseason />
    <displayepisode />
    <thumb />
    <watched>false</watched>
    <credits />
    <director />
    <rating />
  </episodedetails>
  <episodedetails>
    <title>Drum Roll Please</title>
    <showtitle>Pocoyo</showtitle>
    <season>1</season>
    <episode>2</episode>
    <uniqueid>4518129</uniqueid>
    <aired />
    <plot />
    <runtime>7</runtime>
    <displayseason />
    <displayepisode />
    <thumb />
    <watched>false</watched>
    <credits />
    <director />
    <rating />
  </episodedetails>
  <episodedetails>
    <title>Swept Away</title>
    <showtitle>Pocoyo</showtitle>
    <season>1</season>
    <episode>3</episode>
    <uniqueid>4518130</uniqueid>
    <aired />
    <plot />
    <runtime>7</runtime>
    <displayseason />
    <displayepisode />
    <thumb />
    <watched>false</watched>
    <credits />
    <director />
    <rating />
  </episodedetails>
  <episodedetails>
    <title>Who's On the Phone?</title>
    <showtitle>Pocoyo</showtitle>
    <season>1</season>
    <episode>4</episode>
    <uniqueid>4518131</uniqueid>
    <aired />
    <plot />
    <runtime>7</runtime>
    <displayseason />
    <displayepisode />
    <thumb />
    <watched>false</watched>
    <credits />
    <director />
    <rating />
  </episodedetails>
Link to comment
Share on other sites

we can eventually support the xbmc convention. it was only recently that metabrowser supported it so i don't think this is something that every tool is on top of yet

  • Like 1
Link to comment
Share on other sites

steve1977

That would be fantastic. Anything that i can do to help? Besides coding, which I am obviously not capable of ;-) Thanks in advance for looking into this!!!

Link to comment
Share on other sites

  • 2 weeks later...
steve1977

Have seen from the major new release what the developers have been busy with. So, fully understand that this request may currently not be the #1 priority.

 

Still please let me know if there is anything that I can be helpful with. At a minimum, I could test a test-nfo for compatibility for the latest XBMC builts if someone sends me one.

 

Thanks in advance!!!

Link to comment
Share on other sites

  • 1 month later...
steve1977

Any chance to see this compatibility being addressed? I believe this is the very last thing for full xbmc nfo compatibility. Thanks a lot in advance!

Link to comment
Share on other sites

  • 1 month later...
  • 7 months later...

I just realized I was getting a lot of NFO related error messages in my logs, and it is related to this issue. It's only happening on multi-episode files that have multiple <episodedetails> root elements in the NFO. How should this be handled?

Link to comment
Share on other sites

  • 8 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...