metadata search for "the 100" fails, despite data being available in thetvdb

Issue #526 resolved
Scott Mann created an issue

Manual searches for “the 100” in Subler, or auto-searches by the queue fail to return any results if metadata source is set to thetvdb.

I’m not sure if this issue is caused by thetvdb or Subler, but the show is, in deed, searchable directly on thetvdb.com web UI, AND in both their V1 xml and their V2 json APIs with the search string “the 100.” So I’m suspecting that the failure is an edge case having to do with pre-processing of the string in Subler?

Here are example curl statements that successfully return results including the CW show “The 100”:

curl 'http://thetvdb.com/api/GetSeries.php?seriesname=the%20100'
curl -G --header 'Accept: application/json' --header "Authorization: Bearer $token" --data-urlencode 'name=the 100' 'https://api.thetvdb.com/search/series'

Subler Version 1.5.15 on macOS 10.14.3. (It actually also works fine via Subler if metadata source is set to themoviedb.)

Comments (3)

  1. Wade Masshardt

    It seems to work if you capitalize: “the 100 S01E01” returns info for some show named “100%”, whereas “The 100 S01E01” returns info for what you’re looking for.

  2. Scott Mann reporter

    That’s doubly interesting, because the two thetvdb.com API searches I show above return the correct results using a lowercase series name, so now I’m leaning towards believing it’s case-sensitive post-processing of the results in Subler that’d discarding the correct match as a result of case mismatch, while at the same time, the themoviedb search is case-insensitive.

  3. Damiano Galassi repo owner

    You are right, the results sort was case-sensitive. It will be fixed in the next Subler release.

  4. Log in to comment