TMDB does not support underscores in their search. #2834

Closed
opened 2025-12-21 21:11:21 +01:00 by backuprepo · 1 comment
Owner

Originally created by @ThePeoplesBards on GitHub (Mar 21, 2021).

Describe the bug
I am against spaces in file paths so I always use "_" as part of my naming convention (ie /batman_begins.mkv). I recently moved my movie library to a new path location on my server so unfortunately I needed to rebuild the metadata. I don't have that big of a library and the scraper worked so great the first time I felt it would be relatively painless. By chance this move happened the same day I upgraded to 10.7 and lost theTVDB as a metadata provider. TMDB has great metadata on all the tv I have so no big deal except the scraper couldn't find them and I had to manually identify. As for my movies I noticed most of them were getting metadata from the open movie db, which is ok but doesn't provide much info. So I removed the open db as a meta data provider and re scanned the library and spotted the pattern. Movies with one word names were picked up by TMDB because there were no underscores in the search string.

TMDB:
Screenshot from 2021-03-21 10-31-37

OMDB:
Screenshot from 2021-03-21 10-32-54

I didn't notice this last time because theTVDB supports underscores and picked up what TMDB missed. I guess this is more of a TMDB issue but I think there could be a simple workaround implemented. Maybe just a parse and replace stored in a new TMDB string when scanning libraries used only as a search parameter for TMDB. A little band aid until TMDB gets its act together.

Anyways jellyfin is awesome and everyone that contributes has my gratitude.

System (please complete the following information):

  • OS: Ubuntu 20.04.2 LTS
  • Virtualization: None
  • Clients: Roku, Adroid
  • Browser: Firefox, Chrome
  • Jellyfin Version: 10.7
  • Playback: Direct Stream, Transcode
  • Installed Plugins: Default
  • Reverse Proxy: none
  • Base URL: none
  • Networking: Host
  • Storage: Local

To Reproduce

  1. Add a new library with only TMDB as meta data provider
  2. Add a new folder with "_" in file paths ie ./batman_begins/batman_begins.mkv
  3. No matches will be found for batman_begins.mkv

Expected behavior
The metadata provider identifies ./batman_begins/batman_begins.mkv as "Batman Begins"

Originally created by @ThePeoplesBards on GitHub (Mar 21, 2021). **Describe the bug** I am against spaces in file paths so I always use "_" as part of my naming convention (ie /batman_begins.mkv). I recently moved my movie library to a new path location on my server so unfortunately I needed to rebuild the metadata. I don't have that big of a library and the scraper worked so great the first time I felt it would be relatively painless. By chance this move happened the same day I upgraded to 10.7 and lost theTVDB as a metadata provider. TMDB has great metadata on all the tv I have so no big deal except the scraper couldn't find them and I had to manually identify. As for my movies I noticed most of them were getting metadata from the open movie db, which is ok but doesn't provide much info. So I removed the open db as a meta data provider and re scanned the library and spotted the pattern. Movies with one word names were picked up by TMDB because there were no underscores in the search string. TMDB: ![Screenshot from 2021-03-21 10-31-37](https://user-images.githubusercontent.com/81092948/111908770-e6ca1a00-8a30-11eb-8e36-01e236885011.png) OMDB: ![Screenshot from 2021-03-21 10-32-54](https://user-images.githubusercontent.com/81092948/111908802-05301580-8a31-11eb-8be7-1536ce3d0c55.png) I didn't notice this last time because theTVDB supports underscores and picked up what TMDB missed. I guess this is more of a TMDB issue but I think there could be a simple workaround implemented. Maybe just a parse and replace stored in a new TMDB string when scanning libraries used only as a search parameter for TMDB. A little band aid until TMDB gets its act together. Anyways jellyfin is awesome and everyone that contributes has my gratitude. **System (please complete the following information):** - OS: Ubuntu 20.04.2 LTS - Virtualization: None - Clients: Roku, Adroid - Browser: Firefox, Chrome - Jellyfin Version: 10.7 - Playback: Direct Stream, Transcode - Installed Plugins: Default - Reverse Proxy: none - Base URL: none - Networking: Host - Storage: Local **To Reproduce** <!-- Steps to reproduce the behavior: --> 1. Add a new library with only TMDB as meta data provider 2. Add a new folder with "_" in file paths ie ./batman_begins/batman_begins.mkv 3. No matches will be found for batman_begins.mkv **Expected behavior** The metadata provider identifies ./batman_begins/batman_begins.mkv as "Batman Begins"
backuprepo 2025-12-21 21:11:21 +01:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ThePeoplesBards commented on GitHub (Mar 24, 2021):

issue resolved by #5559

@ThePeoplesBards commented on GitHub (Mar 24, 2021): issue resolved by #5559
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#2834
No description provided.