Jump to content

Updating a specific "Library" via API.


Recommended Posts

Posted (edited)

Tell. I have an API request like this:

Quote

http://"+$ServerEmby+":8096/emby/Library/Refresh?api_key=$api_key

It allows you to update all my "Libraries" on the EMBY server. I have a large number of such libraries and a very large number of video files.
Such "massive" updates with a high frequency have a bad effect on the operation of EMBY and take a very long time.
I would like to upgrade only the "necessary" Library, and not all at once.
Tell me, is there such an API request in EMBY?
image.png.ed8199a2fb5e48fd0b3bf5e6f3322665.png

Edited by Santrex
Posted

Hi, yes you scan one library. Is that what you want to do?

Happy2Play
Posted

@Santrex Did you look at the server log when you scan a single library?

On 10/13/2022 at 12:06 PM, Happy2Play said:

use parentid for specific library scan

REM Specific library scan
C:\Windows\System32\curl.exe -X POST "http://‌‍‍localhost‌:8096/emby/Items/390537/Refresh?Recursive=true&ImageRefreshMode=Default&MetadataRefreshMode=Default&ReplaceAllImages=false&ReplaceAllMetadata=false?api_key=YOURAPIKEY" -d ""

 

 

  • Thanks 1
Posted
1 hour ago, Happy2Play said:

@Santrex Did you look at the server log when you scan a single library?

 

 

Thank you. This is what I was looking for. I won't scan all my "Libraries". And only you, which I need. I think it will reduce the burden.

Posted (edited)

+

Edited by Santrex
  • 4 weeks later...
Posted

Hi, have your questions been answered?

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