Jump to content

Identify the wrong subfolder


Recommended Posts

Posted (edited)
56 minutes ago, GrimReaper said:

That is completely incorrect, with TVDBs (up to recently) policy to change show year at some random point with earliest Special included as it was added (luckily that appears to be abandoned), and with different years being listed at TVDB and TMDB, ending up with that "Year" not being a steady attribute nor something to be used as a guide. I have number of such items in my collection. 

First example that comes to mind: Battlestar Galactica, which is still listed on TVDB as "Battlestar Galactica (2003)", as it was listed originally, as Specials 1 and 2 were aired in 2003 but Season 1 actually aired in 2005 (as per TVDB), which is current year that TVDB lists:

Battlestar Galactica (2003) SERIES, 2005 (kinda senseless, if you ask me)

At the same time, TVDB (and IMDB) list it as year 2004 (and Season 1 as aired in 2004).

So, which year is it: 2003, 2004 or 2005?

 

 

 

Screenshot_2021-10-31-17-07-35-449_com.opera.browser.jpg

Screenshot_2021-10-31-17-07-38-952_com.opera.browser.jpg

Letter nor can being a steady attribute. Especially for non-English series, there may be multiple translation titles at the same time, or they will change it later orrrrr it does not have a English title at all..

Edited by wloot
GrimReaper
Posted
2 hours ago, wloot said:

Letter nor can being a steady attribute. 

Of course they can - or at least in much greater extent than years. An item can have as many alternative titles/translations, and they will apply, whereas you can only 'attach' a single year to it. 

Anyway, I am not debating your sorting method of choice - to each his own, if it works for you, great, it is not my place to comment on that. But I WAS correcting your statement re: confusion. 

Posted (edited)

I have a similar problem. Some TV shows break the "./s/show_name/season 1/" structure and makes it think the "s"-folder is a show.

These shows i have identified so far:

"From dusk till dawn - the series"

"Episodes"

"Friday the 13th - the series"

"Seasons"

Also all shows with just numbers in the title will break it like the show "1983".

Edited by Dryparn
More examples
Posted
9 minutes ago, Dryparn said:

"From dusk till dawn - the series"

"Episodes"

"Friday the 13th - the series"

"Seasons"

I think those titles are fooling our identification logic into thinking the parents of those folders are series.

Posted (edited)
31 minutes ago, ebr said:

I think those titles are fooling our identification logic into thinking the parents of those folders are series.

Yes, i have also seen show names with an "s" or "e" followed by a number break it. Can't remember the names because i removed them a while ago.

Maybe some kind of ".ignore_this_ folder_ but_not_ its_subfolders"-file could be an idea to force it to not parse the name of the parent folder. Or if a folder is named a.ignore, b.ignore etc it will not be seen as a show.

Edited by Dryparn
Posted

We'll do some testing with this naming to try and chase down the issue. Thanks.

  • 1 month later...
Posted

Any progress with this? I messed around a little and as soon as i add a folder named "90210" to the "9"-folder it instantly tries to identify the "9" folder as a show and it breaks all shows in the folder.

  • 2 weeks later...
Posted
On 12/10/2021 at 5:15 AM, Dryparn said:

Any progress with this? I messed around a little and as soon as i add a folder named "90210" to the "9"-folder it instantly tries to identify the "9" folder as a show and it breaks all shows in the folder.

HI, can you please go over an example in detail so that we can see complete file and folder names? Thanks !

Happy2Play
Posted
On 12/10/2021 at 2:15 AM, Dryparn said:

Any progress with this? I messed around a little and as soon as i add a folder named "90210" to the "9"-folder it instantly tries to identify the "9" folder as a show and it breaks all shows in the folder.

Had issues of 90210 not showing but 90210 (2008) appeared.

image.png.92635eeba1e6b02c123ee8efc318dbdd.png

But overall sub-folder TV structure can be problematic and we need complete visibility of structure and naming scheme.

Posted (edited)
On 12/20/2021 at 4:10 AM, Luke said:

HI, can you please go over an example in detail so that we can see complete file and folder names? Thanks !

Yes

/media/VOD/SOD-series/9/90210/season 01/90210 - s01e01.strm

All my series have this format. The 9 folder gets parsed as "Brooklyn Nine-Nine" with 317 episodes as soon as i add the 90210-folder.

Also the series "1883" and "1983" breaks my "1" catalog in the same way.

Edited by Dryparn
Posted
17 hours ago, Dryparn said:

All my series have this format. The 9 folder gets parsed as "Brooklyn Nine-Nine" with 317 episodes as soon as i add the 90210-folder.

Also the series "1883" and "1983" breaks my "1" catalog in the same way.

Move the problem folders out of the library and do a full scan.

Rename the series properly making sure to use (year) in the title of the series as well as the folder name.
If there are any NFO files in these folders delete them.
Add folders back to library when the previous full scan is done.
Rescan again.

Posted (edited)
On 12/23/2021 at 6:22 AM, cayars said:

Move the problem folders out of the library and do a full scan.

Rename the series properly making sure to use (year) in the title of the series as well as the folder name.
If there are any NFO files in these folders delete them.
Add folders back to library when the previous full scan is done.
Rescan again.

No, i won't do manual editing. I have scripts that copy, does maintenance, deleting files and so on, manually editing stuff will break those. I only do things manually to troubleshoot.

Edited by Dryparn
pwhodges
Posted
2 hours ago, Dryparn said:

No, i won't do manual editing. I have scripts that copy, does maintenance, deleting files and so on, manually editing stuff will break those. I only do things manually to troubleshoot.

If you want Emby to recognise things correctly, you must name them sufficiently closely to Emby's stated requirements; if you don't want to do this, then you'll have to get used to Emby getting it wrong.

Paul

  • Like 1
Posted
15 hours ago, Dryparn said:

No, i won't do manual editing. I have scripts that copy, does maintenance, deleting files and so on, manually editing stuff will break those. I only do things manually to troubleshoot.

Isn't that exactly what this is? It's a test so you can see the difference in how things will work using a naming convention Emby will recognize.
If it fixes your problem and you already have automation in place it should be semi-easy to leverage that to change anything having an existing issue and modify the current setup so everything works perfectly together.

Posted (edited)
6 hours ago, cayars said:

Isn't that exactly what this is? It's a test so you can see the difference in how things will work using a naming convention Emby will recognize.
If it fixes your problem and you already have automation in place it should be semi-easy to leverage that to change anything having an existing issue and modify the current setup so everything works perfectly together.

I know that works but there isn't any reliable way for me to get the release year into my script. In emby i can take care of a wrong identification but in the script that would be very very hard to do.

What i want is to help Emby get more robust and better. We all benefit from that.

Edited by Dryparn
Posted
20 hours ago, pwhodges said:

If you want Emby to recognise things correctly, you must name them sufficiently closely to Emby's stated requirements; if you don't want to do this, then you'll have to get used to Emby getting it wrong.

Paul

I know, the problem here is that one misidentified item breaks the whole folder not that something is misidentified.

pwhodges
Posted

It could be the same - just a case of the last straw breaking the camel's back.

Paul

  • Like 1
Posted

I don't see why getting the year and proper naming is hard. Many tools available that will do this for you that are easily scripted and should be able to be added somewhere in your processing pipeline.  Take a look at https://www.filebot.net/ which works really way this way.

You may want to check this out as well: https://moscardino.net/2020/02/renamer-core/
You could always change functionality if you wanted as the source is on github.

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