Page 1 of 1

FileBot doesn't find Show - His Dark Materials

Posted: 01 Dec 2019, 16:11
by Rogue
This may be a dumb question. And I don't know if any of this helps.

The show is called "His Dark Materials" and does not appear in FileBot when I try to search for it. It's a popular show on episode 4 already.

I don't know if it's a function of none of the databases have it listed or some mistake since I don't know how shows are picked to be listed or not.

Any info would be appreciated. Including any information on how things work and as to how or why a show may or may not be listed.

Thank you

Re: FileBot doesn't find Show - His Dark Materials

Posted: 01 Dec 2019, 17:49
by kim
on thetvdb, it is on the list, just way down
if you use themoviedb it's #1... so use themoviedb ;)

Re: FileBot doesn't find Show - His Dark Materials

Posted: 01 Dec 2019, 18:03
by kim
why do Filebot use this:

Code: Select all

https://api.thetvdb.com/search/series?name=his+dark+materials
when the API use this ? :

Code: Select all

https://api.thetvdb.com/search/series?name=his%20dark%20materials
the weird thing is, it works in older versions

Re: FileBot doesn't find Show - His Dark Materials

Posted: 02 Dec 2019, 06:10
by rednoah
Both + and %20 are valid URL Encoding for the blank character, so both encodings can be used interchangeably, and decode to the same literal value:
https://www.w3schools.com/tags/ref_urlencode.asp

Re: FileBot doesn't find Show - His Dark Materials

Posted: 02 Dec 2019, 06:15
by rednoah
Using TheTVDB, it seems that search works, but then TheTVDB API doesn't return any episode listings:

Code: Select all

$ filebot -list --q 'His Dark Materials'
Resource not found: https://api.thetvdb.com/series/373126/episodes?page=1 [404 Not Found]
TheTVDB: no results
:idea: TheTVDB generally has issues these days, as they're in the process of going live with a new site infrastructure, and so things are randomly broken here and there: https://forums.thetvdb.com/viewtopic.php?f=122&t=60239


EDIT:

His Dark Materials should be ID 360295 so I guess that means search indeed did not work for this one... I'll investigate.
https://www.thetvdb.com/series/his-dark-materials



TheMovieDB should work though:

Code: Select all

$ filebot -list --q 'His Dark Materials' --db TheMovieDB::TV
His Dark Materials - 1x01 - Lyra's Jordan
His Dark Materials - 1x02 - The Idea of North
His Dark Materials - 1x03 - The Spies
...

Re: FileBot doesn't find Show - His Dark Materials

Posted: 02 Dec 2019, 06:31
by rednoah
Looks like there's a fake entry with no episodes:
https://www.thetvdb.com/series/373126-h ... -materials
https://www.thetvdb.com/series/his-dark-materials


-list -non-strict will shows us all episodes for all search results, and now we do get results:

Code: Select all

$ filebot -list --q 'His Dark Materials' -non-strict
His Dark Materials - 1x01 - Lyra's Jordan
His Dark Materials - 1x02 - The Idea of North
His Dark Materials - 1x03 - The Spies

Though a bit tricky and confusing, it should work out of the box:

Code: Select all

$ filebot -rename *.avi -non-strict
Rename episodes using [TheTVDB] with [Airdate Order]
Auto-detected query: [Dark, his dark material]
Fetching episode data for [Dark]
Fetching episode data for [Darken]
Resource not found: https://api.thetvdb.com/series/338111/episodes?page=1 [404 Not Found]
Fetching episode data for [Darknet]
Fetching episode data for [Dark/Web]
Fetching episode data for [Dark Net]
Fetching episode data for [His Dark Materials]
Fetching episode data for [His Dark Materials]
[MOVE] from [His Dark Material 1x01.avi] to [His Dark Materials - 1x01 - Lyra's Jordan.avi]
Processed 1 files