Season Names?
Season Names?
Is it possible to pull the Season titles from thetvdb? - Some Shows have titles for the seasons. the current example is MasterClass https://thetvdb.com/series/masterclass and it would be nice to have that just added instead of having to manually add them. - I Tried searching the forums and wasn't able to find any references to it.
Thanks,
-Dev
Thanks,
-Dev
Re: Season Names?
If you use TheMovieDB, then the {sn} season name binding will work.
TheTVDB APIv2 does not currently support season names. The website does, but we can't use that. TheTVDB APIv4 does, but it's not yet stable nor working reliably.

Re: Season Names?
Okay. Darn. I use thetvdb cause then I know Plex will pickup the shows without any problem.
Unless there's a way to mix TVDB and TheMovieDB into a single script. Though that night just be not work then it would even be worth.
Here's to APIv4 getting stable and useable sometime.
Unless there's a way to mix TVDB and TheMovieDB into a single script. Though that night just be not work then it would even be worth.
Here's to APIv4 getting stable and useable sometime.
Re: Season Names?
FileBot r9154 adds support for the new seasonName field that TheTVDB APIv4 has recently added to the episode record.
1. Enable experimental features, i.e. use TheTVDB APIv4 implementation:
2. Test {sn} binding:
1. Enable experimental features, i.e. use TheTVDB APIv4 implementation:
Code: Select all
$ filebot -script fn:properties --def net.filebot.WebServices.experimental=true
...
2. Test {sn} binding:
Code: Select all
$ filebot -list --db thetvdb --q masterclass --format "{sn} | {episode}" --filter "s <= 10 && e == 1" --log INFO
James Patterson Teaches Writing | MasterClass - 1x01 - Introduction
Usher Teaches The Art Of Performance | MasterClass - 2x01 - Introduction
Annie Leibovitz Teaches Photography | MasterClass - 3x01 - Introduction
Serena Williams Teaches Tennis | MasterClass - 4x01 - Introduction - Focus and Desire
...
Re: Season Names?
Nice. Can I enable that experimental the same way with Windows 10?
Open a CMD in the folder of filebot
They just run the same command to enable it?
Cause imma have fun rewriting my script tomorrow it looks like. It's fine I also need to add in to separate 4k videos into it. Now I have a 4k TV. So I've been meaning to work on it soon anyways
Open a CMD in the folder of filebot
They just run the same command to enable it?
Code: Select all
filebot -script fn:properties --def net.filebot.WebServices.experimental=true
Re: Season Names?
Yes, filebot commands work the same on all platforms.
Re: Season Names?
So i tried that and yikes. it ruined so many other things i went back to disabling it. haha thanks though.
Re: Season Names?
Do you have screenshots or logs for things that still work strange with the APIv4 implementation?
Re: Season Names?
Yeah I can enable it again. And load a few files and show you the difference in the matching with my script. It's almost midnight so I'll probably do that tomorrow
Re: Season Names?
Here you go. also as i was trying to get these pics. the first view shows i tried APIv4 couldn't even find. Namely Batwoman, and Almost paradise.
Here is the current api.

And here is the APIv4:

You'll notice it matched it. but to the wrong season.
Re: Season Names?
Can you paste file paths as text (press F7 to copy debug information) so I can reproduce the issue?
Series lookup seems to work. Do you get different results?

I've tried with the first file path in a clean test case and I get different results:

I'd use a custom format like {plex.name} for testing. Otherwise your custom format code might obfuscate things.





Re: Season Names?
yeah here, i got your reply late at night and completely forgot until just now. sorry.
I have a crazy complex script. - also my layout look sway different than yours, i don't have a pulldown at the top with which to match, but i'm guessing thats just a Windows/Linux difference.
but here's the debug info on the files.
they are stored on my unraid server. so the path before the series name is:
or through windows its:
this is also without the experimental features enabled, if you want me to do it again with that set as true i can do that too but as it's file paths you wanted i'm not sure that would change anything.
I have a crazy complex script. - also my layout look sway different than yours, i don't have a pulldown at the top with which to match, but i'm guessing thats just a Windows/Linux difference.
but here's the debug info on the files.
Code: Select all
Macgyver [2016] [TV-14] [5.2★] [US] [CBS]\[2020] - Season 04 [Mixed]\Macgyver (2016) - S04E01 - Fire + Ashes + Legacy = Phoenix [41 Min] [02.07.2020] [HDTV 480p x264] [AAC 2ch].mkv
Macgyver [2016] [TV-14] [5.2★] [US] [CBS]\[2020] - Season 04 [Mixed]\Macgyver (2016) - S04E02 - Red Cell + Quantum + Cold + Committed [40 Min] [02.14.2020] [HDTV 480p x264] [AAC 2ch].mkv
Macgyver [2016] [TV-14] [5.2★] [US] [CBS]\[2020] - Season 04 [Mixed]\Macgyver (2016) - S04E03 - Kid + Plane + Cable + Truck [39 Min] [02.21.2020] [HDTV 480p x264] [AAC 2ch].mkv
Macgyver [2016] [TV-14] [5.2★] [US] [CBS]\[2020] - Season 04 [Mixed]\Macgyver (2016) - S04E04 - Windmill + Acetone + Celluloid + Firing Pin [40 Min] [02.28.2020] [HDTV 480p x264] [AAC 2ch].mkv
Macgyver [2016] [TV-14] [5.2★] [US] [CBS]\[2020] - Season 04 [Mixed]\Macgyver (2016) - S04E05 - Soccer + Desi + Merchant + Titan [39 Min] [03.06.2020] [HDTV 480p x264] [AAC 2ch].mkv
Macgyver [2016] [TV-14] [5.2★] [US] [CBS]\[2020] - Season 04 [Mixed]\Macgyver (2016) - S04E06 - Right + Wrong + Both + Neither [40 Min] [03.13.2020] [HDTV 480p x264] [AAC 2ch].mkv
Macgyver [2016] [TV-14] [5.2★] [US] [CBS]\[2020] - Season 04 [Mixed]\Macgyver (2016) - S04E07 - Mac + Desi + Riley + Aubrey [39 Min] [03.27.2020] [HDTV 480p x264] [AAC 2ch].mkv
Macgyver [2016] [TV-14] [5.2★] [US] [CBS]\[2020] - Season 04 [Mixed]\Macgyver (2016) - S04E08 - Father + Son + Father + Matriarch [41 Min] [04.03.2020] [HDTV 480p x264] [AAC 2ch].mkv
Macgyver [2016] [TV-14] [5.2★] [US] [CBS]\[2020] - Season 04 [Mixed]\Macgyver (2016) - S04E09 - Code + Artemis + Nuclear + N3mesis [40 Min] [04.10.2020] [HDTV 480p x264] [AAC 2ch].mkv
Macgyver [2016] [TV-14] [5.2★] [US] [CBS]\[2020] - Season 04 [Mixed]\Macgyver (2016) - S04E10 - Tesla + Bell + Edison + Mac [42 Min] [04.17.2020] [HDTV 480p x264] [AAC 2ch].mkv
Macgyver [2016] [TV-14] [5.2★] [US] [CBS]\[2020] - Season 04 [Mixed]\Macgyver (2016) - S04E11 - Psy-Op + Cell + Merchant + Birds [42 Min] [04.24.2020] [HDTV 480p x264] [AAC 2ch].mkv
Macgyver [2016] [TV-14] [5.2★] [US] [CBS]\[2020] - Season 04 [Mixed]\Macgyver (2016) - S04E12 - Loyalty + Family + Rogue + Hellfire [42 Min] [05.01.2020] [WEB-DL 576p x264] [AAC 2ch].mkv
Macgyver [2016] [TV-14] [5.2★] [US] [CBS]\[2020] - Season 04 [Mixed]\Macgyver (2016) - S04E13 - Save + The + Dam + World [41 Min] [05.08.2020] [HDTV 480p x264] [AAC 2ch].mkv
Code: Select all
/mnt/user/media/Television/Live Action/Action/
Code: Select all
//mediaxen/media/Television/Live Action/Action/
Re: Season Names?
Thanks for the file paths. TheTVDBv4 works out-of-the-box for for these file paths for me. The file paths are pretty clear (i.e. SxE numbers plus exact title plus airdate) so it can't not work, assuming that FileBot / TheTVDBv4 did work with the correct episode listing...

I guess we can leave it at that for now. No way of figuring out what happened then if it's not reproducible now. Thanks again.

I guess we can leave it at that for now. No way of figuring out what happened then if it's not reproducible now. Thanks again.
Re: Season Names?
If it helps. My script doesn't use {plex.name}. I think it just uses {n} I can call try the v4 with {plex.name} though see what that does
Re: Season Names?
Matching existing files to Episode objects is completely unrelated to formatting those matched Episode objects to a file path in a second step. The format you use to generate file paths has no effect on identifying files. All is well if FileBot can match the correct Episode.
Re: Season Names?
Guess I can try it with a couple other shows.