2008-11-21, 23:27
Hi guys,
First of all I am running:
Ubuntu Hardy 8.0.4.1
XBMC Atlantis Final
I use sabnzbd+ for downloading media and I wrote a script to run once the download is complete. The script moves the downloaded movie/tv show to my xbmc library location and sends a video library update command to the xbmc web server via this command:
This works great and the video library is updated automatically every time a new movie/tv show is placed in the xbmc library location by my script.
I have this option set in advancedsettings.xml so that any movies/tv shows that I have recently deleted will be removed from the video library automatically whenever my script above updates the video library.
unfortunately this clean on update isn't happening. The library update takes place as usual but the library still has entries for videos that no longer exist. If I go to video library settings within XBMC and manually select clean library the entries for the videos that no longer exist are removed successfully.
Does anyone have any idea why the <cleanonupdate> setting isn't taking place? Does anyone else do something similar and have this working properly?
Thanks,
Rob
First of all I am running:
Ubuntu Hardy 8.0.4.1
XBMC Atlantis Final
I use sabnzbd+ for downloading media and I wrote a script to run once the download is complete. The script moves the downloaded movie/tv show to my xbmc library location and sends a video library update command to the xbmc web server via this command:
Code:
curl --get "http://192.168.1.6:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn¶meter=XBMC.updatelibrary(video)"
This works great and the video library is updated automatically every time a new movie/tv show is placed in the xbmc library location by my script.
I have this option set in advancedsettings.xml so that any movies/tv shows that I have recently deleted will be removed from the video library automatically whenever my script above updates the video library.
Code:
<cleanonupdate>true</cleanonupdate>
unfortunately this clean on update isn't happening. The library update takes place as usual but the library still has entries for videos that no longer exist. If I go to video library settings within XBMC and manually select clean library the entries for the videos that no longer exist are removed successfully.
Does anyone have any idea why the <cleanonupdate> setting isn't taking place? Does anyone else do something similar and have this working properly?
Thanks,
Rob