Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Multiple episode in one file doesn not work in KODI
#1
Hi,

I have cartoons where one video file contains 2 (or more) episodes. My first try with EmberMM was unsuccessfull.

Reproduction:
  1. Scrape TV show automatically.
  2. Change episode to multiple selection with Shift, i.e. 1x13 in reality is 1x25-26
  3. Open KODI and choose local information only as provider

Result: Only the first episode of every season shows up in KODI.

File list:
Code:
Courage.the.Cowardly.Dog.S04E01.WEB-DL.XviD.Hun.Eng-pcroland.avi
Courage.the.Cowardly.Dog.S04E02.WEB-DL.XviD.Hun.Eng-pcroland.avi
....
Courage.the.Cowardly.Dog.S04E12.WEB-DL.XviD.Hun.Eng-pcroland.avi
Courage.the.Cowardly.Dog.S04E13.WEB-DL.XviD.Hun.Eng-pcroland.avi

Episode selection in Ember:
1x01 = 1x01+1x02
1x02 = 1x03+1x04

Sample NFO generated by Ember (2 consecutive episodedetails section):
Code:
Courage.the.Cowardly.Dog.S04E06.WEB-DL.XviD.Hun.Eng-pcroland.nfo
Code:
<?xml version="1.0" encoding="utf-8"?>
<episodedetails>
  <id type="tvdb">242239</id>
  <uniqueid type="tvdb" default="true">242239</uniqueid>
  <title>Muriel Blows Up</title>
  <runtime>11</runtime>
  <aired>2002-10-11</aired>
  <ratings>
    <rating name="tvdb" max="10" default="false">
      <value>0</value>
    </rating>
  </ratings>
  <videosource>webdl</videosource>
  <season>4</season>
  <episode>11</episode>
  <plot>After a missile explodes over the farmhouse, Muriel finds a giant carrot growing in her garden. After eating it, Muriel begins to expand. On TV, the General warns Nowhere about the missile and says only he can disarm it. Using a computer camera, Courage sees a carrot robot. Courage goes in and eats it, then gets burped out. As courage begins to expand, he goes to General, who goes inside Courage and disarms the carrot. Courage burps them up, only to have Eustace eat it. Because the carrot was not properly disabled, Eustace explodes.</plot>
  <actor>
    <name>Simon Prebble</name>
    <role>The Computer</role>
    <thumb>http://thetvdb.com/banners/person/7994510/tv-77435.jpg</thumb>
  </actor>
  <actor>
    <name>Billie Lou Watt</name>
    <role>Ma Bagge</role>
    <thumb>http://thetvdb.com/banners/person/326559/tv-77435.jpg</thumb>
  </actor>
  <actor>
    <name>Thea White</name>
    <role>Muriel Bagge</role>
    <thumb>http://thetvdb.com/banners/person/435585/tv-77435.jpg</thumb>
  </actor>
  <actor>
    <name>Lionel Wilson</name>
    <role>Eustace Bagge</role>
    <thumb>http://thetvdb.com/banners/person/7866712/tv-77435.jpg</thumb>
  </actor>
  <actor>
    <name>Marty Grabstein</name>
    <role>Courage</role>
    <thumb>http://thetvdb.com/banners/person/315945/tv-77435.jpg</thumb>
  </actor>
  <fileinfo>
    <streamdetails>
      <audio>
        <bitrate>160</bitrate>
        <channels>2</channels>
        <codec>MP3</codec>
      </audio>
      <audio>
        <bitrate>112</bitrate>
        <channels>2</channels>
        <codec>MP3</codec>
      </audio>
      <video>
        <aspect>1.333</aspect>
        <bitrate>1092</bitrate>
        <codec>xvid</codec>
        <durationinseconds>1360</durationinseconds>
        <height>480</height>
        <width>640</width>
        <filesize>235431650</filesize>
      </video>
    </streamdetails>
  </fileinfo>
  <dateadded>2022-05-20 16:31:32</dateadded>
  <locked>true</locked>
  <user_note />
</episodedetails>

<episodedetails>
  <id type="tvdb">2584631</id>
  <uniqueid type="tvdb" default="true">2584631</uniqueid>
  <title>Profiles in Courage</title>
  <runtime>11</runtime>
  <aired>2002-10-11</aired>
  <ratings>
    <rating name="tvdb" max="10" default="false">
      <value>0</value>
    </rating>
  </ratings>
  <videosource>webdl</videosource>
  <season>4</season>
  <episode>12</episode>
  <plot>At the fair, Muriel and Eustace get full size silhouettes of themselves. On the ride home, Courage notices that they are beginning to move. That night, the profiles take Muriel And Eustace's life to be human. After Courage shows them that being paper is more fun, they give it back. Their creator comes and realizes the silhouettes are happier being paper, and he thanks him.</plot>
  <actor>
    <name>Simon Prebble</name>
    <role>The Computer</role>
    <thumb>http://thetvdb.com/banners/person/7994510/tv-77435.jpg</thumb>
  </actor>
  <actor>
    <name>Billie Lou Watt</name>
    <role>Ma Bagge</role>
    <thumb>http://thetvdb.com/banners/person/326559/tv-77435.jpg</thumb>
  </actor>
  <actor>
    <name>Thea White</name>
    <role>Muriel Bagge</role>
    <thumb>http://thetvdb.com/banners/person/435585/tv-77435.jpg</thumb>
  </actor>
  <actor>
    <name>Lionel Wilson</name>
    <role>Eustace Bagge</role>
    <thumb>http://thetvdb.com/banners/person/7866712/tv-77435.jpg</thumb>
  </actor>
  <actor>
    <name>Marty Grabstein</name>
    <role>Courage</role>
    <thumb>http://thetvdb.com/banners/person/315945/tv-77435.jpg</thumb>
  </actor>
  <fileinfo>
    <streamdetails>
      <audio>
        <bitrate>160</bitrate>
        <channels>2</channels>
        <codec>MP3</codec>
      </audio>
      <audio>
        <bitrate>112</bitrate>
        <channels>2</channels>
        <codec>MP3</codec>
      </audio>
      <video>
        <aspect>1.333</aspect>
        <bitrate>1092</bitrate>
        <codec>xvid</codec>
        <durationinseconds>1360</durationinseconds>
        <height>480</height>
        <width>640</width>
        <filesize>235431650</filesize>
      </video>
    </streamdetails>
  </fileinfo>
  <dateadded>2022-05-20 16:31:32</dateadded>
  <locked>true</locked>
  <user_note />
</episodedetails>

And the final result, KODI listing of Season 1, only the first episode shows up:

Image

What setting did I miss?
Reply
#2
(2022-05-20, 16:50)tonyrulez Wrote: Courage.the.Cowardly.Dog.S04E12.WEB-DL.XviD.Hun.Eng-pcroland.avi
Courage.the.Cowardly.Dog.S04E13.WEB-DL.XviD.Hun.Eng-pcroland.avi
Your file list shows that you have separate video files for each episode. If that is the case, then you cannot combine nfo files as you have done in your example above.

If you do indeed have two episode files in a single video file, then the correct naming of your video file is...
Courage.the.Cowardly.Dog.S04E12.E13.avi
and your nfo filename to match that.

If you don't then you need one nfo file for each video file.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
Oh, ok.I thought since the NFO file contains the correct episode numbers, the name of the file wouldn't matter.
Reply
#4
(2022-05-20, 21:36)tonyrulez Wrote: the name of the file wouldn't matter.
Yep, the name definitely matters. Its the match that Kodi is looking for.
And episode files need S01E01 numbering in them to work.

Courage.the.Cowardly.Dog.S04E12.E13.avi
Courage.the.Cowardly.Dog.S04E12.E13.nfo

I imagine Ember should be doing this automatically for you, so it makes me wonder whether you are changing it afterwards. If you are, best to leave it as Ember has created it.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
Absolutely right. In this case, the files must be renamed. You can activate the renamer in Ember in the settings so that the files are named correctly.
Reply
#6
No, Ember did not rename the episodes, to E12E13, and I didn't change any settings in it. Made the changes manually, rescraped, and now all episodes show up in KODI.

DanCooper: I see, I didn't active it.
Reply

Logout Mark Read Team Forum Stats Members Help
Multiple episode in one file doesn not work in KODI0