Jump to content

Refresh MetaData for Recording folder. API cmd in windows


Go to solution Solved by Ugnaughts,

Recommended Posts

Ugnaughts
Posted

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
Posted

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

  • Thanks 1

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