Jump to content

Replace dot with a plus sign in scraper api call for shows


BiTeTHeBiGG

Recommended Posts

BiTeTHeBiGG

Hi,

 

I have a huge collection of movies, series and animes.

 

I used before (and still using) Kodi.

I tried Plex, but was not what I expected from and the finally tried Emby and love it.

The main purpose is to use a centrlized DB.

 

What I am missing in emby is that the name parser (not for files but show/movie name) do not replace the dot (.) with a plus (+) sign for the scraper api call.

In this way when I search for a show named "Girls'.Last.Tour" the api call will look like this "https://www.thetvdb.com/api/GetSeries.php?seriesname=Girls%27.Last.Tour&language=de".

The result of that call is empty. But when the dot is replaced then the link looks so "https://www.thetvdb.com/api/GetSeries.php?seriesname=Girls%27+Last+Tour&language=de"and it will return a hit.

On Movies it seems to already operate that way.

 

Over the years I changed the namig of the directories so Kodi will recognize all my stuff (except for special items where I use a nfo file).

Is it possible that this change will be implemented in a future emby release so I do not have to identificate manually?

 

Than youk and best regards

Bite

Link to comment
Share on other sites

Happy2Play

Hmmm, we should be replacing it with a space. @@Happy2Play can you reproduce this?

 

Looks like you query TMDB both ways, but not TVDB.

 

http://localhost:8096/emby/Items/7c59a598afef455d09ded8af12fa503d/Refresh?Recursive=true&ImageRefreshMode=Default&MetadataRefreshMode=Default&ReplaceAllImages=false&ReplaceAllMetadata=false
2019-02-10 11:04:34.368 Info HttpClient: GET https://www.thetvdb.com/api/GetSeries.php?seriesname=Girls'.Last.Tour&language=en
2019-02-10 11:04:35.627 Info App: MovieDbProvider: Finding id for item: Girls'.Last.Tour
2019-02-10 11:04:35.627 Info HttpClient: GET https://api.themoviedb.org/3/search/tv?api_key=f6bd687ffa63cd282b6ff2c6877f2669&query=Girls'.Last.Tour&language=en
2019-02-10 11:04:37.739 Info HttpClient: GET https://api.themoviedb.org/3/search/tv?api_key=f6bd687ffa63cd282b6ff2c6877f2669&query=Girls'+Last+Tour&language=en
2019-02-10 11:04:38.137 Info HttpClient: GET https://api.themoviedb.org/3/tv/74185?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=credits,images,keywords,external_ids,videos,content_ratings&language=en&include_image_language=en,null
2019-02-10 11:04:39.326 Info HttpClient: GET https://webservice.fanart.tv/v3/tv/332983?api_key=5c6b04c68e904cfed1e6cbc9a9e683d4
2019-02-10 11:04:43.210 Info HttpClient: GET https://assets.fanart.tv/fanart/tv/332983/tvposter/girls-last-tour-59e6cbd9e0b94.jpg
2019-02-10 11:04:48.272 Info HttpClient: GET https://assets.fanart.tv/fanart/tv/332983/hdtvlogo/girls-last-tour-59ee95c257d3a.png
2019-02-10 11:04:48.768 Info HttpClient: GET https://assets.fanart.tv/fanart/tv/332983/showbackground/girls-last-tour-59e6d3f732440.jpg
2019-02-10 11:04:49.296 Info HttpClient: GET https://www.thetvdb.com/api/B89CE93890E9419B/series/332983/all/en.zip
2019-02-10 11:04:49.774 Info HttpClient: GET https://www.thetvdb.com/banners/graphical/332983-g3.jpg
2019-02-10 11:04:50.929 Info HttpClient: GET https://www.thetvdb.com/banners/seasons/332983-1.jpg
2019-02-10 11:05:21.090 Info LibraryMonitor: TV Shows - DB (C:\Users\Media\Desktop\Videos\TV Shows - DB) will be refreshed.
2019-02-10 11:05:21.090 Info LibraryMonitor: Girls' Last Tour (C:\Users\Media\Desktop\Videos\TV Shows - DB\Girls'.Last.Tour) will be refreshed.
2019-02-10 11:05:21.090 Info LibraryMonitor: Season 1 (C:\Users\Media\Desktop\Videos\TV Shows - DB\Girls'.Last.Tour\Season 1) will be refreshed.
Link to comment
Share on other sites

Happy2Play

Have you tried todays plugin update (TVDB v1.0.2.0)?  To me this issue should be resolved.
 

2019-02-14 13:33:58.243 Info HttpClient: GET https://www.thetvdb.com/api/GetSeries.php?seriesname=Girls'.Last.Tour&language=en
2019-02-14 13:33:58.889 Info HttpClient: GET https://www.thetvdb.com/api/GetSeries.php?seriesname=Girls'+Last+Tour&language=en
Edited by Happy2Play
  • Like 1
Link to comment
Share on other sites

BiTeTHeBiGG

Thanks @@Luke and @@Happy2Play

 

I had to restart the server to get the updates (as dercibed in another post the api cannot be reached on my synology).

 

I can confirm that now it is working like a charm.

 

Really appreciate your efforts.

Best regards

 

Bite

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...