Kodi Community Forum

Full Version: NFO's <epbookmark> not taken into account
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I'm building some custom NFO to match a TV Show that use a single file for multiple episode :

File 1 : Episode 1, 4, 7, 8

So I have done the following :

PHP Code:
/My TV Show/
    /
Season 1/
          
My_TV_Show.s01e1-4-7-8.avi
          My_TV_Show
.s01e1-4-7-8.nfo 

The NFO is built like this :

PHP Code:
<multiepisodenfo>
    <
episodedetails>
        <
episode>1</episode
        
<season>1</season>
        <
title>Title of Episode 1</title>
                <
epbookmark>400</epbookmark>
        <
rating>10.00</rating>
        <
aired>2000-12-31</aired>
        <
plot>Short description of Episode 1</plot>
        <
thumb>http://thetvdb.com/banners/episodes/xxxxx/xxxxxx.jpg</thumb>
    
</episodedetails>
    <
episodedetails>
        <
episode>4</episode
        
<season>1</season>
        <
title>Title of Episode 4</title>
                <
epbookmark>800</epbookmark>
        <
rating>10.00</rating>
        <
aired>2000-12-31</aired>
        <
plot>Short description of Episode 4</plot>
        <
thumb>http://thetvdb.com/banners/episodes/xxxxx/xxxxxx.jpg</thumb>
    
</episodedetails>
    <
episodedetails>
        <
episode>7</episode
        
<season>1</season>
        <
title>Title of Episode 7</title>
                <
epbookmark>1200</epbookmark>
        <
rating>10.00</rating>
        <
aired>2000-12-31</aired>
        <
plot>Short description of Episode 7</plot>
        <
thumb>http://thetvdb.com/banners/episodes/xxxxx/xxxxxx.jpg</thumb>
    
</episodedetails>
    <
episodedetails>
        <
episode>8</episode
        
<season>1</season>
        <
title>Title of Episode 8</title>
        <
rating>10.00</rating>
        <
aired>2000-12-31</aired>
        <
plot>Short description of Episode 8</plot>
        <
thumb>http://thetvdb.com/banners/episodes/xxxxx/xxxxxx.jpg</thumb>
    
</episodedetails>
</
multiepisodenfo

XBMC then creates a list of 4 entries (episodes) for season 1 for the TV Show (OK)
I can start playing Episode 1 at 00:00 minutes (OK)
but if I select episode 4 or 7 or 8 : XBMC always starts to play the at 00:00 (Wrong) !

With <epbookmark> tag, Episode 4 should have started at 400 seconds from the beginning, then Episode 7 at 800, Episode 8 at 1200 seconds from the beginning.
Why do all episodes always starts at 00:00

Do I miss something ?

Thanks a lot !
I had the same issue. I have a show that originally aired 2 episodes at a time, so that's how I have them stored, but I want XBMC to show them as separate episodes. My path is /tv shows/Show Title/Season 03/ and within that folder I have 2 files:

S03E01E02.mkv
S03E01E02.nfo

for me, it started working when I put the <epbookmark> tag in the <episodedetails> block for the episode that starts at that time, not the next episode, as the wiki says to do. So my nfo looks a bit like this:
Code:
<episodedetails>
   <season>3</season>
   <episode>1</episode
   <title>Title of Episode 1</title>
   <rating>10.00</rating>
   <aired>2000-12-31</aired>
   <plot>Short description of Episode 1</plot>
   <thumb>http://thetvdb.com/banners/episodes/xxxxx/xxxxxx.jpg</thumb>
</episodedetails>
<episodedetails>
   <season>3</season>
   <episode>2</episode
   <title>Title of Episode 2</title>
   <rating>10.00</rating>
   <aired>2000-12-31</aired>
   <plot>Short description of Episode 2</plot>
   <epbookmark>799</epbookmark>
   <thumb>http://thetvdb.com/banners/episodes/xxxxx/xxxxxx.jpg</thumb>
</episodedetails>
I'm running 10.1, not sure this makes a difference or not

I can't get this to work at all. I'm using My Movies as my Collection Management system (it works great), I also have My Movies create the .NFO for me and its named the same as my .mkv files. The title I'm working on is Planet Earth (Blu-ray), its got 4 discs, and there are 3 episodes on each Blu-ray disc. I make the entire disc a single .MKV file (this file has 3 episodes in it).

My files are stored on the server with this mapping: \TV Shows\Planet Earth\Season 1;
PlanetEarth.S01E01-E02-E03.mkv - is my file name
PlanetEarth.S01E01-E02-E03.nfo - is the NFO

Here is my .NFO file, I was just experimenting and I can't seem to get it to work when I look at it in XBMC:
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!--This file is created and copyrighted by My Movies (http://www.mymovies.dk) to store movie meta-data in movie folders to use with XBMC and other products that reads NFO files. The data may be used freely for non-commercial purposes only (this means that you may not use it in commercial programs, without written consent). If you would like to use the data for commercial purposes, please contact [email protected]. The data may not be redistributed, shared, transferred or in any way used in ways that cannot be referred to as personal usage by the original user. This means that using the data on websites, services or similar is strictly forbidden.-->
<movie>
  <createdby>My Movies</createdby>
  <title>Planet Earth</title>
  <originaltitle>Planet Earth</originaltitle>
  <sorttitle>Planet Earth</sorttitle>
  <rating>10</rating>
  <year>2007</year>
  <top250>
  </top250>
  <votes>
  </votes>
<episodedetails>
    <epbookmark>0</epbookmark>  <!-- For media files containing multiple episodes, where value is the time where the next episode begins in seconds  -->
        <displayepisode>1</displayepisode>
    <epbookmark>200</epbookmark>  <!-- For media files containing multiple episodes,where value is the time where the next episode begins in seconds  -->
        <displayepisode>2</displayepisode>
    <epbookmark>400</epbookmark>  <!-- For media files containing multiple episodes,where value is the time where the next episode begins in seconds  -->
        <displayepisode>3</displayepisode>
    <epbookmark>600</epbookmark>  <!-- For media files containing multiple episodes,where value is the time where the next episode begins in seconds  -->
      
</episodedetails>
  <outline>
Narrated by David Attenborough

From the creators of Blue Planet: Seas of Life comes this epic series celebrating the Earth as never before. With an unprecedented production budget, using high ...</outline>
  <plot>
Narrated by David Attenborough

From the creators of Blue Planet: Seas of Life comes this epic series celebrating the Earth as never before. With an unprecedented production budget, using high definitionphotography and revolutionary ultra-high speed cameras, five years inthe making, over 2000 days in the field, using 40 cameramen across 200 locations, Planet Earth is the ultimate portrait of our planet.

This stunning television experience caputures rare action, impossible locations and intimate moments with our planet's best-loved, wildest and most elusive creatures. From the highest mountains to the deepest rivers, Planet Earth takes you to places you've never been, to experience sights and sounds never before caputred on film. Prepare to be overwhelmed by the beauty and majesty of Planet Earth. </plot>
  <tagline>
  </tagline>
  <runtime>550 min.</runtime>
  <thumb>
  </thumb>
  <mpaa>
  </mpaa>
  <certification>USA:Unrated</certification>
  <watched>false</watched>
  <id>tt0795176</id>
  <genre>Television / Documentary / Family / Special Interest</genre>
  <credits>
  </credits>
  <director>Robert Lieberman</director>
  <studio>BBC Video</studio>
  <actor>
    <name>David Attenborough</name>
    <role>Narrator / ... (11 episodes, 2006)</role>
  </actor>
  <fileinfo>
    <streamdetails>
      <video>
        <codec>V_MPEG4/ISO/AVC</codec>
        <aspect>1.778</aspect>
        <width>1920</width>
        <height>1080</height>
      </video>
      <audio>
        <codec>AC3</codec>
        <language>en</language>
        <channels>6</channels>
      </audio>
    </streamdetails>
  </fileinfo>
</movie>

Any help would be great.