Painkiller88 250 Posted May 31, 2024 Posted May 31, 2024 Hi, is it possible to refresh metadata of specific movies using curl? I know i can initiate a library scan but i need to refresh metadata just for a few movies. Background: I have a few movies with english description and english youtube trailer links. A lot of them still keep the english trailer link even if everything is in german (plot etc.) so i replaced the youtube link manually to a german trailer. When i now just refresh all movies, the trailers will get overwritten for those where no german trailer is found. For this reason i made a powershell script to identify if the plot is german or not, and i just want to refresh those movies via curl server request because i can then control the trailer line in the NFO file and overwrite it again with the german one if needed. Any hints how to do this? Can i do this using the movie name or do i need to get the object id from the movie names? If i need the object id, any idea how to get the id if i just have the name? Thanks
Happy2Play 9781 Posted May 31, 2024 Posted May 31, 2024 The exact same way you refresh a library {/Items/ID/Refresh}. Have you looked at the server log when you Refresh any item?
Painkiller88 250 Posted May 31, 2024 Author Posted May 31, 2024 1 hour ago, Happy2Play said: The exact same way you refresh a library {/Items/ID/Refresh}. Have you looked at the server log when you Refresh any item? thanks, no i haven't. Is there a way in emby to get the ID when i have the movie name or can i find the emby id of the item in the nfo? thanks
Happy2Play 9781 Posted May 31, 2024 Posted May 31, 2024 7 minutes ago, Painkiller8818 said: thanks, no i haven't. Is there a way in emby to get the ID when i have the movie name or can i find the emby id of the item in the nfo? thanks It is only shown in the url same way you would see library parentid. You can also use the "Emby Data Explorer" plugin in the catalog to see an itemid. and you can see the InternalID so my database is 806100 for Top Gun 1
rbjtech 5284 Posted May 31, 2024 Posted May 31, 2024 you can probably also use the 'path' of the item instead of the id. 1
Q-Droid 989 Posted May 31, 2024 Posted May 31, 2024 From this thread: Fellow member @Marc0 created and shared this page with examples: https://mjanssen.nl/2023/02/02/getting-your-emby-library-scanned-for-new-content-in-four-ways/ 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now