Ugnaughts 53 Posted June 30, 2024 Posted June 30, 2024 im working on script that cleans up the recording folder. before it can clean up the empty folders it needs to remove all metadata in the folders. i would like to run a curl cmd with api key from windows cmd prompt to refresh metadata the same as if i selected it (without updating current Images). ive been looking threw swagger api and it a bit overwhelming. i have few cmds so far like shutdown restart refresh guide.
Solution Ugnaughts 53 Posted June 30, 2024 Author Solution Posted June 30, 2024 curl -X POST "http://%IP%:%PORT%/emby/Items/%PARENTID%/Refresh?Recursive=true&MetadataRefreshMode=Default&ImageRefreshMode=Default&ReplaceAllMetadata=true&ReplaceAllImages=true&api_key=%API%" i found on swagger docs. but i had to remove the -D '' 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