Jump to content

How to set interval scanning for individual libs?


bigeyez

Recommended Posts

Currently scannning at intervals works on all libs. I want to set more frequent scanning for an individual library, a cron job would be fine as well.  Is it possible?

Link to comment
Share on other sites

Pretty easy. First you need to define an secure api key. Then start scanning your lib you want in bibliotheks. Then search this URL in the log. And paste this to cronjob or what ever you want:
 

curl --data '' "http://127.0.0.1:8096/emby/Items/xxxx/Refresh?Recursive=true&api_key=yyyy"

xxxx=Bibliotek id from the log
yyyy=apikey id

This works for me like it should.

Edited before was wrong url...

Edited by bgx
Link to comment
Share on other sites

Pretty easy. First you need to define an secure api key. Then start scanning your lib you want in bibliotheks. Then search this URL in the log. And paste this to cronjob or what ever you want:

 

curl --data '' "http://127.0.0.1:8096/emby/Items/xxxx/Refresh?Recursive=true&api_key=yyyy"

xxxx=Bibliotek id from the log

yyyy=apikey id

 

This works for me like it should.

 

Gesendet von meinem MHA-L29 mit Tapatalk

 

Yes this will work, thanks !

Link to comment
Share on other sites

Well you have to use the api to begin with in order to know what it is. We don't display it anywhere in the UI.

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