Jump to content

TMDB scraping question/issue with dots in filename


Go to solution Solved by Luke,

Recommended Posts

Posted (edited)

When there is a dot instead of a space in the name of the movie I often get wrong results. Not sure if this is intended behavior or something wrong on my end.

For example:

Underworld.Evolution.2006 gets scraped as Underworld 2003
Underworld Evolution.2006 gets gets scraped correctly

In the logs it looks like this:
HttpClient: GET https://api.themoviedb.org/3/search/movie?api_key=x_secret1_x&query=Underworld.Evolution&language=en&year=2006 => Scrapes as Underworld 2003
HttpClient: GET https://api.themoviedb.org/3/search/movie?api_key=x_secret1_x&query=Underworld Evolution&language=en&year=2006 => Scrapes correctly

 

Edit: sorry just noticed the recommended movie naming for Emby is without any dots. I assumed it would work because it did with other scrapers. I suppose I should just have to rename all my files or there another way to make it ignore the dots?

Edited by beerland
Posted

Hello beerland,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

Posted

Hi there, how exactly are your files named and organized?

Posted (edited)

The library folder I added to Emby is /volume2/SHR/Beer/Movies/2160p/

All files are in that folder, no subfolders. So the path to a movie looks like this:
/volume2/SHR/Beer/Movies/2160p/Underworld.Evolution.2006.BluRay.ATMOS.HDR.x265.mkv

For testing/the original post I simplified the name to find out what exactly causes the issue. Removing the single dot between Underworld and Evolution makes it match ok.

 

Unrelated to the issue above but a few other also match the wrong movie, for example The Mummy 2017 scrapes as The Mummy 1999.

2022-12-26 05:36:49.299 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /var/packages/EmbyServer/target/bin/ffprobe -i file:"/volume2/SHR/Beer/Movies/2160p/The Mummy (2017).mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2022-12-26 05:36:50.063 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded
2022-12-26 05:36:50.076 Info App: MovieDbProvider: Finding id for item: The Mummy
2022-12-26 05:36:50.076 Info HttpClient: GET https://api.themoviedb.org/3/search/movie?api_key=x_secret1_x&query=The Mummy&language=en&year=2017

it seems to request the right one from TMDB from what I can see in the logs but it still ends up matching with the wrong movie.

Never had issues when not using seperate folders but because its recommended I tried it too:
/volume2/SHR/Beer/Movies/2160p/The Mummy (2017)/The Mummy (2017).mkv but it still fetches The Mummy 1999

 

The majority of my movies are fine though and I understand there will always be some odd/hard to match ones, but i feel like the examples I used above should have no issues to match correctly.

Edited by beerland
  • Solution
Posted

OK we'll take a look at it. Thanks for reporting.

  • Like 1

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...