Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Support for Windows users
Post Reply
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by Biff »

Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")? The airdate, startdate or whatever? Is it the production year or the airdate year or anything else?

"Stranger Things (2016)" or "Stranger Things (2016-6-20)". What is correct so that Kodi or other scrapers can scrape the information correctly?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by rednoah »

The {kodi} binding will give you the file path Kodi wants. ;)
:idea: Please read the FAQ and How to Request Help.
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by kim »

btw:
https://kodi.wiki/view/Naming_video_files/TV_shows
The TV Show folder name is used to match the show at the scraper site..
The title and (year) displayed at the scraper site is how you should name your show.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by Biff »

Many thanks for the links.
1. what TV scraper does your KODI use ?
The Universal Scraper.
2. then lookup on that website
Sorry, lookup? What?
The {kodi} binding will give you the file path Kodi wants. ;)
Sorry, what? What does that do, what do I have to do with it?
https://kodi.wiki/view/Naming_video_files/TV_shows

The TV Show folder name is used to match the show at the scraper site..

The title and (year) displayed at the scraper site is how you should name your show.
OK, I am not quite sure what that means here?
Newest portable, stable FileBot, Windows 10 Home, 64bit
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by kim »

The Universal Scraper
?

do you mean
Universal MOVIE Scraper
?

anyway in short don't use year OR date in name if not a part of the shows name
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by Biff »

do you mean

Universal MOVIE Scraper

?
Yes, exactly, sorry.
anyway in short don't use year OR date in name if not a part of the shows name
So the series name only? E.g. "Stranger Things"? That's all? Why not the year / date?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by rednoah »

If Kodi expects the folder name to exactly match the series name in the database, then adding random bit of information will make the folder name not exactly match the series name, and that will make things work less well.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by Biff »

then adding random bit of information will make the folder name not exactly match the series name
Yes, I understand, but what ramdom bit information? Where should it come from?

And what would I have to do with it: {kodi}?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by rednoah »

In this case, adding year or date would be random bits of information that makes the folder name not match the database entry.

The kodi binding is part of the naming scheme. Please familiarize yourself with custom naming schemes, and then it’ll make sense.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by Biff »

Yes yes, I guess, it really does make sense already now, even if I do not understand it.

So the series folder should consist of the series name only? Of nothing else?

And what would I have to do with it: {kodi}?
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by rednoah »

Use it as format. It'll give you the kodi path for each movie or episode.

:arrow: https://www.filebot.net/naming.html
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by Biff »

Alright, sorry, I cannot understand what it means whait it is good for, what to do with it, how to use it.
Newest portable, stable FileBot, Windows 10 Home, 64bit
devster
Posts: 417
Joined: 06 Jun 2017, 22:56

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by devster »

rednoah wrote: 22 Jul 2019, 19:26 In this case, adding year or date would be random bits of information that makes the folder name not match the database entry.
This is obviously true, however I find that a simple

Code: Select all

allOf{n.replaceTrailingBrackets("")}{"($y)"}.join(" ")
works for Kodi without too many issues.
I don't have many esotheric shows, but I haven't had a mismatch yet.
I only work in black and sometimes very, very dark grey. (Batman)
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by Biff »

Code: Select all

allOf{n.replaceTrailingBrackets("")}{"($y)"}.join(" ")

works for Kodi without too many issues.
I don't have many esotheric shows, but I haven't had a mismatch yet.
What do I have to do with the line? Add it to my existing pattern? Or create a new renaming pattern?
Newest portable, stable FileBot, Windows 10 Home, 64bit
devster
Posts: 417
Joined: 06 Jun 2017, 22:56

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by devster »

That's just a small bit of the rename pattern which takes the series name, removes trailing brackets (e.g. Castle (2009) becomes just Castle) and adds parenthesis with year inside. It's not intended to be used standalone.
I only work in black and sometimes very, very dark grey. (Batman)
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by Biff »

But why is it necessary at all because FileBot gets the series and espisode names from the Internet so there would not be anything to remove I would think?
Newest portable, stable FileBot, Windows 10 Home, 64bit
devster
Posts: 417
Joined: 06 Jun 2017, 22:56

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by devster »

I use the above because shows like Castle are coded as Castle (2009) verbatim on TheTVDB.
When I made my format the binding {ny} used to give me Castle (2009) (2009) as output ({n} = Castle (2009) + {y} = 2009), hence my workaround.
Maybe now it's changed.
I only work in black and sometimes very, very dark grey. (Batman)
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by Biff »

I see, so there obviously are incorrect data in that database.
Castle (2009) + {y} = 2009), hence my workaround.
But why not just leave out {y} or the other "y" (after the "n") for such series instead of that workaround? Seems to be easier.
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by rednoah »

I recommend using {ny} which always gives you Name (Year) values, and correctly account for corner-cases such as the year already being part of the name.

:idea: TheTVDB requires a unique series name {n}. The TheTVDB series name can include a year such as (2000) or hints such as (UK) if multiple shows have the same colloquial name, to make the series name unique.
:idea: Please read the FAQ and How to Request Help.
devster
Posts: 417
Joined: 06 Jun 2017, 22:56

Re: Which year / code (or better the date?) do I have to use for the series folder names (e.g. "Stranger Things")?

Post by devster »

rednoah wrote: 24 Jul 2019, 12:16 I recommend using {ny} which always gives you Name (Year) values, and correctly account for corner-cases such as the year already being part of the name.
Definitely simpler, didn't realize this was possible.
I only work in black and sometimes very, very dark grey. (Batman)
Post Reply