Jump to content

Question about locking metadata


Go to solution Solved by legrosmoi,

Recommended Posts

Posted (edited)

Hello Team!

I'm trying to use the plugin to cleanup genres but I have some glitches.

For example, I map as follow:

  • Comedy -> Comédie
  • Music -> Musique
  • Drama -> Drame

I perform the Start Library Scan from the plugin configuration pages and let it run.

Results: 90-98% of the movies genres were converted properly. That is, I go to my Movies Library and I click on the Genres Tab, I get something like...

  • Genres -> Comédie [several dozen movies]
  • Genres -> Comedy [3 movies still appears here, mapping didn't work]
  • Genres -> Musique [several dozen movies]
  • Genres -> Music [2 movies, mapping didn't work]
  • Genres -> Drame [several dozen movies]
  • Genres -> Drama [20 movies, mapping didn't work]

I tried:

  1. Run Scan Media Library several times -> issue persists
  2. On a movie with genres that are not remapped properly,  refresh metada with replace all metadata -> issue persists
  3. On a movie with genres that are not remapped properly,  delete the local NFO, and Scan media Libray -> issue persists
  4. On a movie with genres that are not remapped properly, I identify it again -> issue solved, genres are properly remapped

I looked at all the info for one movie that is not properly mapped:

  1. the IMDB, TMDB ids are good [I click on the link and it open a valid page in the corresponding database]
  2. the json file in the cache corresponding to that movie is valid
  3. after a refresh metada, the log shows no error, the ffprobe worked, but the genre were not remapped
  4. the  logs have no errors related to those movies...

Please help!

SOLUTION: The problem was some of my movies had metadata locked (the lock all checkmark). Removing the global lock and using the more specific locks worked.

 

 

Edited by legrosmoi
  • Solution
Posted (edited)

Nobody ever had the problem mentioned above. I am still puzzling to why some movies don't get cleaned properly...

Ok, found the problem. The metadata is locked for those files that don't get mapped properly. Please disregard post...

Edited by legrosmoi
Posted

Thanks for the feedback.

Posted

As I go unlocking many of my movies. I think the genre cleaner should bypass the lock. It's a "low level" operation

In most case it used to remap similar entries to a single one. Exemple: Comedy & Comedie --> Comédie

Happy2Play
Posted
29 minutes ago, legrosmoi said:

As I go unlocking many of my movies. I think the genre cleaner should bypass the lock. It's a "low level" operation

In most case it used to remap similar entries to a single one. Exemple: Comedy & Comedie --> Comédie

Most would disagree here.  You could lock all but Genre as there are individual field locks. 

But one time operations like this should be done before the item is ever locked. 

 

GrimReaper
Posted (edited)
31 minutes ago, Happy2Play said:

Most would disagree here.  You could lock all but Genre as there are individual field locks. 

But one time operations like this should be done before the item is ever locked. 

 

I'd definitely disagree with anything bypassing general Lock. However, I reckon that Metadata menu should be reworked there as those two sections - Lock All and Individual locks - atm, are kinda counter-intuitive and opposite to each other: Tick on Lock All means 'prevent' changes while tick on individual field means 'allow' changes. I think that that section should actually be renamed to 'Lock Individual Fields' and all checkboxes be off by default, as opposed to current 'Enabled Fields' (which is also an unhappy compromise, as all those fields ARE actually enabled at all times, one's just deciding about their content) with all boxes ticked. Just my 2c.

Edited by GrimReaper76
Typos
Posted
1 hour ago, legrosmoi said:

As I go unlocking many of my movies. I think the genre cleaner should bypass the lock. It's a "low level" operation

In most case it used to remap similar entries to a single one. Exemple: Comedy & Comedie --> Comédie

But then it would not be possible to exclude any special cases that you might want.

Generally speaking you don't really need to lock metadata. Just avoid refreshing the metadata on something and that is essentially the same thing as locking.

Posted

I guess you guys are right. Honestly, on those culprit movies, I wanted only to lock the name, but I ended up locking everything without thinking much about potential effect.

@Happy2Play  Genre Cleaner is a plugin, I didn't realize it existed well after all my movies were already in Emby...  So saying is should be done before locking is not fair. But I am not complaining, I didn't use the lock feature properly...

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