Jump to content

What is the exact API call to only update certain librarys, and not all?


gstar3

Recommended Posts

gstar3

Hi. 

 

I have emby 4 installed, and I would like to only update certain libraries, when via API.

 

I dont need to rescan everything, everytime. 

 

What is the correct command. 

Lets say I have 3 libraries, 

tv, tv_HD, and tv_4K

 

Thanks. 

Link to comment
Share on other sites

Hi, you'll need to know the Id's of the library, and then you can use

/Items/{Id}/Refresh?Recursive=true&ImageRefreshMode=Default&MetadataRefreshMode=Default&ReplaceAllImages=false&ReplaceAllMetadata=false

To learn how to get the library id's, you'll need to learn how to use the api:

https://github.com/MediaBrowser/Emby/wiki

Please let us know if this helps. Thanks.

Link to comment
Share on other sites

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