Hi all,
I’m working on some scripts to move media into other directories when the finish downloading. However, I find that Plex doesn’t always pick up new new files in a timely manner, even when I set the option to update the library in the background. So I was wondering if there was a way to programmaticly invoke the ‘scan for new content’ outside of Plex. If I could do this from a bash/python script it would be great. Does such functionality exist, if so can you point me in the right direction? Thanks in advance.
As far as I know ‘Update in background’ just hides the update progress bar (happy to be corrected if I am wrong).
You’ll need to enable to webserver in preferences, then:
curl 'http://localhost:3000/xbmcCmds/xbmcHttp?command=ExecBuiltIn¶meter=XBMC.updatelibrary(video)'
Will update your library - script it as you see fit :)
Awesome, I'll try it out. Thanks a lot!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.