Page 1 of 1

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

Posted: 22 Jul 2019, 12:26
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?

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

Posted: 22 Jul 2019, 14:33
by kim

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

Posted: 22 Jul 2019, 15:14
by rednoah
The {kodi} binding will give you the file path Kodi wants. ;)

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

Posted: 22 Jul 2019, 15:59
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.

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

Posted: 22 Jul 2019, 16:30
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?

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

Posted: 22 Jul 2019, 16:53
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

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

Posted: 22 Jul 2019, 17:00
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?

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

Posted: 22 Jul 2019, 17:34
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.

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

Posted: 22 Jul 2019, 17:47
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}?

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

Posted: 22 Jul 2019, 19:26
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.

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

Posted: 22 Jul 2019, 19:34
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}?

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

Posted: 23 Jul 2019, 03:50
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

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

Posted: 23 Jul 2019, 06:27
by Biff
Alright, sorry, I cannot understand what it means whait it is good for, what to do with it, how to use it.

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

Posted: 23 Jul 2019, 09:05
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.

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

Posted: 23 Jul 2019, 09:24
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?

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

Posted: 24 Jul 2019, 09:14
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.

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

Posted: 24 Jul 2019, 10:10
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?

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

Posted: 24 Jul 2019, 11:49
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.

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

Posted: 24 Jul 2019, 12:06
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.

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

Posted: 24 Jul 2019, 12:16
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.

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

Posted: 25 Jul 2019, 08:40
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.