Jump to content

TV Shows not sorting correctly via Episode


matf

Recommended Posts

Hi,

 

Just noticed that my TV episodes (with season folder) are not sorting correctly i.e. out of name/episode order. 

 

The episodes do order correctly in the Emby app and within the Emby web interface, but not in Kodi (16.1) or SPMC (16.4) using the Emby addon (2.2.19). Issue can be replicated on both Windows PC and Android TV (SATV). I've done a full db reset and the problem persists. I'm assuming this is some kind of sync error.

 

As a workaround, sorting by Prod Code does order correctly.

 

Cheers

 

M

Link to comment
Share on other sites

Angelblue05

Do you have nfos? Are they containing any airsbefore tag with -1 value? Check the metadata manager too.

 

It's probably not an Emby for Kodi issue. The webclient doesn't use the airsbefore value so they will always display in the right order (without specials). With Kodi, since there's a field, it's being populated with the emby server info.

 

Same issue as here which is being looked into: https://emby.media/community/index.php?/topic/38003-kodi-nfo-problem

 

Sent from my iPhone using Tapatalk

Edited by Angelblue05
Link to comment
Share on other sites

>> Do you have nfos?

Yes.

 

>>Are they containing any airsbefore tag with -1 value?

Not -1. Some files within the season (though not the ones that are out of order) do contain an 'airsbefore_season' tag which displays the value of the season I'm looking at i.e. value 5 when I'm looking at season 5. Not sure that entirely makes sense, nor 

 

>>Check the metadata manager too.

All data in metadata manager looks correct.

 

The only thing I can see which looks a bit odd is that this tag: <displayseason>1</displayseason>

is displayed 3 times in the nfos that do have the airsbefore tag. See comparisons below - the first is episode 1 which displays in the correct order.
 
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<episodedetails>
  <plot>Sam, Dean, and Bobby must deal with the aftermath of the Devil's escape from Hell, and receive startling news from the Prophet Chuck.</plot>
  <outline />
  <lockdata>false</lockdata>
  <dateadded>2016-07-31 12:58:42</dateadded>
  <title>Sympathy for the Devil</title>
  <director>Robert Singer</director>
  <writer>Eric Kripke</writer>
  <credits>Eric Kripke</credits>
  <rating>7.4</rating>
  <year>2009</year>
  <tvdbid>797391</tvdbid>
  <votes>104</votes>
  <runtime>42</runtime>
  <art>
    <poster>\\MICROSERVER\Videos\TV\Supernatural\Season 5\Supernatural s05e01 - Sympathy for the Devil-thumb.jpg</poster>
  </art>
  <isuserfavorite>false</isuserfavorite>
  <playcount>1</playcount>
  <watched>true</watched>
  <lastplayed>2016-08-06 19:22:57</lastplayed>
  <resume>
    <position>0</position>
    <total>2544.851</total>
  </resume>
  <episode>1</episode>
  <season>5</season>
  <aired>2009-09-10</aired>
  <airsbefore_season>5</airsbefore_season>
  <displayseason>5</displayseason>
  <DVD_episodenumber>1</DVD_episodenumber>
  <DVD_season>5</DVD_season>
  <absolute_number>83</absolute_number>
  <fileinfo>
    <streamdetails>
      <video>
        <codec>h264</codec>
        <micodec>h264</micodec>
        <bitrate>1679877</bitrate>
        <width>1278</width>
        <height>720</height>
        <aspect>16:9</aspect>
        <aspectratio>16:9</aspectratio>
        <framerate>23.97602</framerate>
        <scantype>progressive</scantype>
        <default>True</default>
        <forced>False</forced>
        <duration>42</duration>
        <durationinseconds>2545</durationinseconds>
      </video>
      <audio>
        <codec>ac3</codec>
        <micodec>ac3</micodec>
        <bitrate>640000</bitrate>
        <language>eng</language>
        <scantype>progressive</scantype>
        <channels>6</channels>
        <samplingrate>48000</samplingrate>
        <default>True</default>
        <forced>False</forced>
      </audio>
    </streamdetails>
  </fileinfo>
  <displayseason>5</displayseason>
  <displayseason>5</displayseason>
</episodedetails>
 
And then this for episode 8, which doesn't display in the correct order:
 
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<episodedetails>
  <plot>When Sam and Dean find themselves living their lives on what appear to be TV shows, it makes for a whole new style of reality television and they wonder if the Trickster is to blame. From a sitcom to a soapy hospital drama to a Japanese game show to a crime procedural, each new experience they encounter is more bizarre than the next and they want out. But is the Trickster really the mastermind behind the madness?</plot>
  <outline />
  <lockdata>false</lockdata>
  <dateadded>2016-07-31 14:58:32</dateadded>
  <title>Changing Channels</title>
  <director>Charles Beeson</director>
  <writer>Jeremy Carver</writer>
  <credits>Jeremy Carver</credits>
  <rating>8</rating>
  <year>2009</year>
  <tvdbid>1150561</tvdbid>
  <votes>93</votes>
  <runtime>41</runtime>
  <art>
    <poster>\\MICROSERVER\Videos\TV\Supernatural\Season 5\Supernatural s05e08 - Changing Channels-thumb.jpg</poster>
  </art>
  <isuserfavorite>false</isuserfavorite>
  <playcount>0</playcount>
  <watched>false</watched>
  <resume>
    <position>0</position>
    <total>2473.587</total>
  </resume>
  <episode>8</episode>
  <season>5</season>
  <aired>2009-11-05</aired>
  <displayseason>5</displayseason>
  <DVD_episodenumber>8</DVD_episodenumber>
  <DVD_season>5</DVD_season>
  <absolute_number>90</absolute_number>
  <fileinfo>
    <streamdetails>
      <video>
        <codec>h264</codec>
        <micodec>h264</micodec>
        <bitrate>2071602</bitrate>
        <width>1278</width>
        <height>720</height>
        <aspect>16:9</aspect>
        <aspectratio>16:9</aspectratio>
        <framerate>23.97602</framerate>
        <scantype>progressive</scantype>
        <default>True</default>
        <forced>False</forced>
        <duration>41</duration>
        <durationinseconds>2474</durationinseconds>
      </video>
      <audio>
        <codec>ac3</codec>
        <micodec>ac3</micodec>
        <bitrate>640000</bitrate>
        <language>eng</language>
        <scantype>progressive</scantype>
        <channels>6</channels>
        <samplingrate>48000</samplingrate>
        <default>True</default>
        <forced>False</forced>
      </audio>
    </streamdetails>
  </fileinfo>
</episodedetails>
Link to comment
Share on other sites

dranderson402

I was just coming here to see if this problem was reported. I'm having the same issue on many of my seasons. I'm running the current emby for kodi app on spmc 16.4.2. I just did a complete database reset in hopes of fixing it but the problem is still there. None of the episodes in the problem seasons have the airsbefore tag.

 

My seasons also show correctly in Emby web as well as the metadata manager. Not sure when this problem came about. The season I watch just last week did not show this problem. It has been a few weeks since the last time I was watching anything from spmc but the seasons were in correct order but the last show season I did watch, which was in order, is now out of order. That was back on 8/6/16 when I watched that season.

Link to comment
Share on other sites

  • 7 years later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...