Jump to content

No genre for movies in foreign languages :(


Go to solution Solved by sa2000,

Recommended Posts

vincen
Posted

Hi

It looks like an annoying bug for non english users. At least for movies it doesn't get genre from metadata databases or don't save it when it gets metadata. Here is a movie scanned with Emby setup in french for metadata (same file with Emby in english and no problem). In english it shows well as a Science-Fiction movie. Genre is not even saved in emby database (and bug would be just a display issue) as a search in science fiction doesn't list the movie 😞

Emby server 4.9.3.0 on Debian Linux

Copiedcran_20260506_084758.thumb.png.d520aa581be0d5ea686c8d94ee00f989.png

No need to ask for logs as I won't give them (for obvious confidentiality reason).

Thanks

Vincèn

Posted

Hi, could be due to metadata provider returning different data depending on language. Could also be due to locked metadata.

vincen
Posted (edited)
15 minutes ago, Luke said:

could be due to metadata provider returning different data depending on language. Could also be due to locked metadata.

I already checked for metadata provider that is tmdb here and the problem is not present on their website for few movies I checked. After more investigations, movies have either no genre at all in french in Emby or only 1/2 while in english they have 3/4.

What do you mean by locked metadata ? metadata edited by hand in Emby ? I just checked few ones and no metadata locked !

Edited by vincen
Posted

How did you check?

Neminem
Posted

Just did a quick test of this movie.

I set the metadata to French. 

And I dont see the issue with Metadata - Genres 🤷‍♂️

But without logs, op can hop and dance as it likes.

image.thumb.png.c60ebd04c811469f594d6271de1dc8b5.png

image.png.ee24dbb55366d2bd5da961024875960f.png

image.png.767de81cec6be381804ad0b18dd734bb.png

image.png.155b1575d7fa645ce583c5a2a326c041.png

 

  • Agree 1
vincen
Posted
18 hours ago, Luke said:

How did you check?

By doing a direct API request on tmdb ;)

18 hours ago, Neminem said:

ust did a quick test of this movie.

I set the metadata to French. 

And I dont see the issue with Metadata - Genres 🤷‍♂️

But without logs, op can hop and dance as it likes.

Thanks a lot for the test so it's not a general bug but I still can't find what does that :( I have deactived all plugins just in case but exact same issue...

For logs already explained why I don't share them all the more when it's also impossible to remove any attachments later in a post...

Neminem
Posted

You can remove attachments at any time.

image.thumb.png.ecae0661b12302d2552f5093198fea92.png

image.thumb.png.be0beabe1973217b4115eb228d99d709.png

  • Like 1
vincen
Posted
9 minutes ago, Neminem said:

You can remove attachments at any time.

Thanks, had not noticed that menu entry, I had tried to do it in past on the post itself 😅🙈

  • Haha 1
vincen
Posted

Something else I can try to find out the issue ? out of deactivating all third parties plugins to be sure it's not one of them that creates that issue !

Posted
On 5/8/2026 at 7:49 AM, vincen said:

out of deactivating all third parties plugins

Well that is the first step.

vincen
Posted
1 hour ago, Luke said:

Well that is the first step.

yeah but it was not successful. I deactivated all non official ones, should I give a try by deactivating all plugins ?

  • 2 weeks later...
Posted
On 5/11/2026 at 2:41 PM, vincen said:

yeah but it was not successful. I deactivated all non official ones, should I give a try by deactivating all plugins ?

The unofficial ones should be enough.

Hi there, please attach the Emby server log from when the problem occurred:

Thanks!

 

vincen
Posted
On 5/21/2026 at 8:07 PM, Luke said:

Hi there, please attach the Emby server log from when the problem occurred:

As stated before I won't share logs for obvious confidentiality reasons 😉 Would be nice to implement a feature in forum that allows to post logs or whatever files attached at a post only visible by Emby staff ;)

GrimReaper
Posted
27 minutes ago, vincen said:

As stated before I won't share logs for obvious confidentiality reasons

Which obvious reasons would those be? Logs are anonymized by default if downloaded through the UI - you can also sanitize them yourself before posting - as you can PM it to any of the Devs, as well. 

  • Agree 2
vincen
Posted
1 hour ago, GrimReaper said:

Which obvious reasons would those be? Logs are anonymized by default if downloaded through the UI - you can also sanitize them yourself before posting - as you can PM it to any of the Devs, as well. 

They are not properly anonymised as public IP address of server is visible in it for example ;) I didn't know it was ok to send direct at PM, will do that, thanks :)

GrimReaper
Posted (edited)
3 hours ago, vincen said:

They are not properly anonymised as public IP address of server is visible in it for example

It shouldn't be, all external IPs/domains should be masked as "hostX". If it is, send it in a PM to Luke so he can trace it. 

Edited by GrimReaper
vincen
Posted
3 hours ago, GrimReaper said:

It shouldn't be, all external IPs/domains should be masked as "hostX". If it is, send it in a PM to Luke so he can trace it. 

Thanks for confirmation it's not normal ;) I have sent the log to Luke for my genre issue. Should I open a separate thread for the issue of anonymisation not working properly for logs ?

GrimReaper
Posted
14 hours ago, vincen said:

Should I open a separate thread for the issue of anonymisation not working properly for logs ?

No need, if you forwarded the logs to Luke, I'm sure he'll grasp where it is that anonymization failed. 

  • Thanks 1
Posted

What specific log entry are you referring to?

Posted (edited)
On 23/05/2026 at 16:49, GrimReaper said:

If it is, send it in a PM to Luke so he can trace it. 

I found the place (specific log lines) where we are not anonamizing the public IP address. I will refer this to the development team

 

On 06/05/2026 at 09:22, vincen said:

I already checked for metadata provider that is tmdb here and the problem is not present on their website for few movies I checked. After more investigations, movies have either no genre at all in french in Emby or only 1/2 while in english they have 3/4

 

i am looking at your log and I can see that genre was added but then got removed - "Science-Fiction" and "Aventure"

Can you tell me what your settings are for the following:

Settings / Library / Advanced (i.e. global default) :

* Preferred Metadata Language
* Certification Country

Settings / Library / library = Films / Library Settings:

* Preferred metadata download language
* Certification Country
* Preferred image download language
* Folder scanning mode
* Multi-version item detection

(sorry - i am including options that are probably not relevant - but i want to have similar settings to yours when testing it out)

 

 

 

Edited by sa2000
  • Thanks 1
Posted
On 23/05/2026 at 15:59, vincen said:

They are not properly anonymised as public IP address of server is visible in it for example

Is your server directly connected to the internet / WAN ? It is being seen as a local IP address

Posted (edited)
26 minutes ago, sa2000 said:

I found the place (specific log line) where we are not anonamizing the public IP address. I will refer this to the development team

@sa2000 👌

26 minutes ago, sa2000 said:

 

i am looking at your log and I can see that genre was added but then got removed - "Science-Fiction" and "Aventure"

Can you tell me what your settings are for the following:

Settings / Library / Advanced (i.e. global default) :

* Preferred Metadata Language
* Certification Country

Settings / Library / library = Films / Library Settings:

* Preferred metadata download language
* Certification Country
* Preferred image download language
* Folder scanning mode
* Multi-version item detection

(sorry - i am including options that are probably not relevant - but i want to have similar settings to yours when testing it out)

Here are settings requested. For the Films library:

Films: Library settings:

  • Preferred metadata download language: French
  • Certification country: Frnce
  • Preferred image download language: French
  • Folder scanning mode: default
  • Multi-version item detection: Detect multi-version based on both files and metadata

Library / Advanced settings:

  • Preferred metadata download language: French
  • Certification country: France

Let me know if you need anything else 😉

 

22 minutes ago, sa2000 said:

Is your server directly connected to the internet / WAN ? It is being seen as a local IP address

The server has one network port with direct public IP (it's in a rack in a datacenter) and the other one with a non routable IP that is connected to a local LAN for monitoring and management. Emby is configured to use an external domain that points at public IP of server and it has an SSL certificate (Secure connection mode is enforced).

Thanks

Edited by vincen
  • Thanks 1
Posted

@vincenI have been unable to reproduce the issue - with a file named in the same way. I tried 4.9.3.0 as well as 4.9.5.0 and 4.10. beta

We need to establish why this happened after the metadata was obtained from themoviedb and thetvdb and omdb

2026-05-23 16:50:34.728 Info App: Genre 'Science-Fiction' removed from metadata for Projet Dernière Chance.
2026-05-23 16:50:34.728 Info App: Genre 'Aventure' removed from metadata for Projet Dernière Chance.

Lets see if debug logging adds any clues

Checking the metadata providers, themoviedb returned the above two genres for the movie: "Science-Fiction" and "Aventure"

thetvdb would have returned:   "Adventure",  "Comedy" and  "Science Fiction"

Could you get me a list of the directories that are below this path:

/metas/emby/metadata/genres

Also a screenshot of the Films library view from the HomeScreen and and selecting the Genres tab

and after this, lets repeat your steps with debug logging enabled 

Enable debug logging on the server: Server settings / Logs / Settings / enable debug logging: Yes

Restart the server

Remove the movie "Projet Dernière Chance (2026).MULTi.2160p.HEVC.EAC3 [tmdbid=687163].mkv" from the library

With the movie removed and no longer showing, restart the emby server again 

Once up and running, add the movie back to the Films library below the "/medias/Films/" directory

wait for the scan to complete and then open the movie details and select edit metadata and get me screenshots of the sections for External IDs, Genres, and the very last section: Metadata settings

and send me the new embyserver log by PM

Thanks

  • Solution
Posted

I see the log shows plugin "GenreCleaner.dll" in use

Please try without this plugin

 

Posted
9 minutes ago, sa2000 said:

I see the log shows plugin "GenreCleaner.dll" in use

Please try without this plugin

Arg problem disappeared with GenreCleaner deactivated 😪 It's an official plugin no ? Where should I report that issue with GenreCleaner ?

Thanks for help @sa2000

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