I just came up with a script to trigger incremental updates to my Popcorn Hour Jukebox in Sabnzbd. Unfortuantely I can’t use it with NZBDrone and NZBDrone has no support for updating Oversight.
Is this something that could be added, the same outputs as Sab would be good (i.e. final location path). That way you could trigger updates in libraries not fully supported by NZBDrone.
@RXP said:
I just came up with a script to trigger incremental updates to my Popcorn Hour Jukebox in Sabnzbd. Unfortuantely I can’t use it with NZBDrone and NZBDrone has no support for updating Oversight.
Is this something that could be added, the same outputs as Sab would be good (i.e. final location path). That way you could trigger updates in libraries not fully supported by NZBDrone.
We have never considered adding support for post processing scripts like SAB, I’d personally prefer to have native support for PCH Jukebox, the same as we do for XBMC and Plex, but I don’t have or have access to one to do any testing.
All it requires is the path that the file was downloaded to and it does the rest (scraping etc.) You just need to pass the path in a specific format. For example on my setup Sab downloads TV shows to:
Is there a way to query the PCH for the path it has for a series by tvdb id or name?
For XBMC we ask XBMC to return a list of shows with IDs, names and paths and then tell it to update the appropriate path (the path for the series) and XBMC then scans all subfolders and files. If the series had a bunch of files the scan might be a bit slow (scanning all the season folders), but its still magnitudes faster than scanning all shows and movies.
It sounds like its a pretty straight forward implementation, except for remapping the path in Drone to the path on the PCH, but worst case I guess that could be a field.
No unfortunately Oversight doesn’t work like that. It has no proper API, just URL triggers. It runs on an embeded device so probably doesn’t have the CPU power luxary to do things nicely.
Yeah, the remapping wouldn’t be too hard to do, but might pose an issue if the user has multiple root folders, I’ll give it some thought, but overall this looks pretty easy.