Jump to content

Season discovery changed after 3.2.34.0?


Recommended Posts

Posted (edited)

Hi!

 

After upgrading to any version past 3.2.34.0, library scan of the show Mythbusters has been broken for me.

Different database providers have differed in defining seasons within the show, but a while ago I chose to follow thetvdb.com on seasons, splitting them up in year of air date. This works perfectly in 3.2.34.0, file structure looks like this:

/mnt/emby/series/mythbusters/2003/episode_1/episode_1.avi
/mnt/emby/series/mythbusters/2003/episode_2/episode_2.avi
/mnt/emby/series/mythbusters/2003/episode_3/episode_3.avi
/mnt/emby/series/mythbusters/2003/episode_4/episode_4.avi
/mnt/emby/series/mythbusters/2003/episode_5/episode_5.avi
/mnt/emby/series/mythbusters/2004/episode_1/episode_1.avi
/mnt/emby/series/mythbusters/2004/episode_2/episode_2.avi
/mnt/emby/series/mythbusters/2004/episode_3/episode_3.avi
/mnt/emby/series/mythbusters/2004/episode_4/episode_4.avi
/mnt/emby/series/mythbusters/2004/episode_5/episode_5.avi
/mnt/emby/series/mythbusters/2004/episode_6/episode_6.avi
 
 
However, after updating past 3.2.34.0, this is logged in server log during library scan of the show (this time running 3.2.70.0):
 
2018-02-03 12:05:19.642 Info App: Found folder underneath series with episode number: /mnt/emby/series/mythbusters/2003. Season 20. Episode 3
2018-02-03 12:05:19.667 Info App: Found folder underneath series with episode number: /mnt/emby/series/mythbusters/2004. Season 20. Episode 4
2018-02-03 12:05:19.686 Info App: Found folder underneath series with episode number: /mnt/emby/series/mythbusters/2005. Season 20. Episode 5
2018-02-03 12:05:19.705 Info App: Found folder underneath series with episode number: /mnt/emby/series/mythbusters/2006. Season 20. Episode 6
2018-02-03 12:05:19.724 Info App: Found folder underneath series with episode number: /mnt/emby/series/mythbusters/2007. Season 20. Episode 7
2018-02-03 12:05:19.743 Info App: Found folder underneath series with episode number: /mnt/emby/series/mythbusters/2008. Season 20. Episode 8
2018-02-03 12:05:19.761 Info App: Found folder underneath series with episode number: /mnt/emby/series/mythbusters/2009. Season 20. Episode 9
2018-02-03 12:05:19.785 Info App: Found folder underneath series with episode number: /mnt/emby/series/mythbusters/2010. Season 20. Episode 10
2018-02-03 12:05:19.802 Info App: Found folder underneath series with episode number: /mnt/emby/series/mythbusters/2011. Season 20. Episode 11
2018-02-03 12:05:19.820 Info App: Found folder underneath series with episode number: /mnt/emby/series/mythbusters/2012. Season 20. Episode 12
2018-02-03 12:05:19.833 Info App: Found folder underneath series with episode number: /mnt/emby/series/mythbusters/2013. Season 20. Episode 13
2018-02-03 12:05:19.847 Info App: Found folder underneath series with episode number: /mnt/emby/series/mythbusters/2014. Season 20. Episode 14
2018-02-03 12:05:19.860 Info App: Found folder underneath series with episode number: /mnt/emby/series/mythbusters/2015. Season 20. Episode 15
2018-02-03 12:05:19.873 Info App: Found folder underneath series with episode number: /mnt/emby/series/mythbusters/2016. Season 20. Episode 16
2018-02-03 12:05:19.878 Info App: Deleting item, Type: Season, Name: Season 2016, Path: /mnt/emby/series/mythbusters/2016, Id: 880764ba-a864-a656-01a8-9dcf467936cf
2018-02-03 12:05:20.212 Info App: Deleting item, Type: Season, Name: Season 2015, Path: /mnt/emby/series/mythbusters/2015, Id: 8f3a41ef-ef3a-026a-9903-6d1aabad4026
2018-02-03 12:05:20.523 Info App: Deleting item, Type: Season, Name: Season 2014, Path: /mnt/emby/series/mythbusters/2014, Id: 01b375ee-204b-e55b-1f03-a86316de5c71
2018-02-03 12:05:21.007 Info App: Deleting item, Type: Season, Name: Season 2013, Path: /mnt/emby/series/mythbusters/2013, Id: 9225a5a7-9d14-89ba-a1e7-bbe44aa8e108
2018-02-03 12:05:21.297 Info App: Deleting item, Type: Season, Name: Season 2012, Path: /mnt/emby/series/mythbusters/2012, Id: de19415d-aeaa-bce0-d157-680a13e21f93
2018-02-03 12:05:21.635 Info App: Deleting item, Type: Season, Name: Season 2011, Path: /mnt/emby/series/mythbusters/2011, Id: ff5a91ac-1f8f-e75f-65a0-90bdf2969919
2018-02-03 12:05:22.332 Info App: Deleting item, Type: Season, Name: Season 2010, Path: /mnt/emby/series/mythbusters/2010, Id: f68b869a-379a-c005-c02b-cee6711c0eba
2018-02-03 12:05:23.078 Info App: Deleting item, Type: Season, Name: Season 2009, Path: /mnt/emby/series/mythbusters/2009, Id: 255a5e2e-d992-2c20-e3aa-e7e29ce5a5f3
2018-02-03 12:05:23.589 Info App: Deleting item, Type: Season, Name: Season 2008, Path: /mnt/emby/series/mythbusters/2008, Id: 5bcc286f-6fce-5a17-5768-f14d39673c02
2018-02-03 12:05:24.002 Info App: Deleting item, Type: Season, Name: Season 2007, Path: /mnt/emby/series/mythbusters/2007, Id: f99364f3-2eff-7518-8648-1dada9e7a118
2018-02-03 12:05:24.477 Info App: Deleting item, Type: Season, Name: Season 2005, Path: /mnt/emby/series/mythbusters/2005, Id: 5a840b80-7277-b1f9-6f5e-92e4cfc1c94d
2018-02-03 12:05:25.073 Info App: Deleting item, Type: Season, Name: Season 2006, Path: /mnt/emby/series/mythbusters/2006, Id: 93a05d10-e76a-fc26-b120-0593608e65de
2018-02-03 12:05:25.634 Info App: Deleting item, Type: Season, Name: Season 2003, Path: /mnt/emby/series/mythbusters/2003, Id: 9dd59020-efc2-9f68-342d-9ff39eab13dc
2018-02-03 12:05:25.837 Info App: Deleting item, Type: Season, Name: Season 2004, Path: /mnt/emby/series/mythbusters/2004, Id: 3fa13299-40b0-7b8d-b3ef-9601e62e1a36
2018-02-03 12:05:40.969 Info HttpClient: HttpClientManager GET: https://www.thetvdb.com/api/B89CE93890E9419B/series/73388/all/en.zip
 
Has discovery changed since the working version? How can I upgrade and still have seasons split up in year?
I've read changelogs, but did not see anything that should be related.
 
OS: Ubuntu 16.04 LTS
I can provide more logs if this helps.
Edited by sv3nno
PenkethBoy
Posted (edited)

don't know what changed but

 

just did a test with

 

..\MythBusters\Season 2003\MythBusters - S2003E01 - Jet Assisted Chevy.mp4

 

and that worked fine

 

possibly having each episode in its own subdirectory is confusing emby

 

or more probably its not having "Season" before the year - hence why "2003. Season 20. Episode 3"  2003 is picked up as a episode number for season 20 ..... etc

 

5a75ab63f193d_Capture.jpg

Edited by PenkethBoy
Posted

I tried renaming folder from '2003' to 'season_2003' but it still recognized the folder as 'Season 20, episode 03'.. I can't have spaces in my folders, you see.

I'm gonna try locking the seasons down in Metadata Manager, and try the upgrade again.

PenkethBoy
Posted

?? why no spaces?

PenkethBoy
Posted

just tried 

 

..\MythBusters\2003\MythBusters - S2003E01 - Jet Assisted Chevy.mp4

 

and that works for me

 

try putting the episodes directly in the "2003" folder

PenkethBoy
Posted (edited)

Season_2003 does not work properly for me

 

actually it works fine :)

Edited by PenkethBoy
Posted

Are the episode and season numbers tagged in emby correctly or no?

  • 4 months later...
Posted (edited)

I've been trying with different versions of emby, and it seems to me there has been a change in how seasons metadata is stored.

The variable "path" has been removed from the "season" item in new seasons being discovered.

I have media stored like this:

/mnt/emby/series/mythbusters/2003/episode_1/mythbusters_s01e01.avi
/mnt/emby/series/mythbusters/2003/episode_2/mythbusters_s01e02.avi
/mnt/emby/series/mythbusters/2003/episode_3/mythbusters_s01e03.avi
/mnt/emby/series/mythbusters/2003/episode_4/mythbusters_s01e04.avi
/mnt/emby/series/mythbusters/2003/episode_5/mythbusters_s01e05.avi
 
Season 2003 does not have a path stored with it in, so Emby always tries to resolve these episodes to season 1, and season 1 does not exist in the database for the show Mythbusters (at thetvdb.com).
In earlier versions of Emby, it knew that since the episode mythbusters_s01e01.avi was in the path /mnt/emby/series/mythbusters/2003/ , it should be episode 1 in season 2003. Now it does not.
 
Before anyone says "why do you not just change the filename of the episodes", no, I can not.
 
Is this correct, that the 'path' variable has been removed from the Season metadata item in Emby?
So that it relies more on filenames instead of file location?
Edited by sv3nno
Posted

Can you please describe the problem that is occurring in emby apps? Thanks.

Posted

The problem that is occurring is that none of the episodes are tagged with season number, or episode number.

Some of the episodes appear under a "Season Unknown", but not all.

I have managed to go through the episodes in that unknown season and tag them with the right episode and season number, but a lot of the episodes are missing from the show altogether.

All this started when I upgraded past version 3.2.34.0.

 

I'll ask again:

Is this correct, that the 'path' variable has been removed from the Season metadata item in Emby since 3.2.34.0?

So that it relies more on filenames instead of file location?
Posted

What version are you on now?

Posted

I'm on 3.4.1.0.

Seems there was exactly same behaviour on any version past 3.2.34.0 though.

After upgrade, in a library scan, it would delete all Mythbusters seasons and then try to create them again but fail to do so.

  • 2 weeks later...
  • 3 weeks later...
Posted

Thanks alot for updating this thread Happy2Play, I guess I'll be waiting for the stable release to come out and then check if it works.

Currently I have this behaviour:

5b4bb88c1d886_emby1.png The show image states 276 episodes, which is mostly correct.

5b4bb8bc1e201_emby2.png

Inside the show, there's 6 seasons with a total of 36 episodes. All episodes are 'unwatched'. Those have been tagged manually from the "unknown season" which disappeared when all episodes within it was tagged with the correct season.

 

Some 240 episodes does not show within any season, and does not show up in metadata manager. I would manually tag them, if I was able..

Any other way to dig deeper into metadata, and see where they have disappeared?

Posted

Hip hooray.. Version 3.5.0.0 solved this problem. Thank you!

Posted

Thanks for the feedback.

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...