Jump to content

programmatically update metadata


Recommended Posts

Posted
Hallo,

 

 

I'd like to update media metadata informations programmatically, eg:

- non-consistent age rating

- badly/not identified imdb/moviedb id

- badly identified 3d settings

 

Is it enough/valid to update the correct info at the XML files that stored beside the media file ?

or

Is it necessary to update it at somewhere else ?

or

Is it a must to invoke a method through the API/SDK ?

 

ps. I mean "enough" here as MB capable the re-identify the movie if I exchange the ID field ?

 

 

Please help.

 

Regards,

J

Posted

Updating these metadata files is enough to get the new value into emby, but then the content will need to be refreshed afterwards

Posted

Luke, is there a way to forcibly refresh metadata from files? There have been a number of times where I've had to manually create or edit metadata files for some of my media for various reasons, and could never get the server to pick up on them.

Posted

if you the metadata file and the timestamp changes, just run a normal library scan and it will pick up the changes, or just do nothing and allow the server to eventually realize the change on it's own.

Happy2Play
Posted

@@Luke

Isn't that what a Local Refresh does?  Edit-Refresh-Local Refresh

Posted

Updating these metadata files is enough to get the new value into emby, but then the content will need to be refreshed afterwards

 

Hello Luke,

 

Thank you for the response.

Is it possible to initiate such a refresh on a specific/single item ?

It would be great.

 

br,

J

Posted

if you change nfo's then just run a normal library scan after

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