Jump to content

How to refresh new files into library?


Go to solution Solved by Luke,

Recommended Posts

Posted

There is a problem now that emby does not enter the library in real time after I generate the strm video directory, it will take about a minute to successfully enter the library, so I want to send a request to notify emby to enter the library scan.

I now have three media libraries, which api should I use when I add a file under one of them?

I found an api: "/Library/Refresh", is this api to refresh all media scans?
Or what should I do better?

  • Solution
Posted

Hi, I would do the equivalent of "Scan library files" on the parent folder. The easiest way to learn what this is would be to open the browser debugger and monitor the network request after clicking the context menu option.

Posted (edited)

@Luke
It's a good idea to call this api based on a network request: "/Items/{Id}/Refresh".
The three library ids are 577,3,1959, Why the big difference?

Edited by Jzsky
Posted

What do you mean by big difference?

Posted

Thank you, the notification scan more successful!
I mean the id values of the three libraries are so different that it doesn't matter.

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