2012-06-20, 13:23
Hi mates,
I viewed this post on automating library export and found it very useful. However, I need to run the command periodically and after much trial and error (I have liitle/no scripting knowledge) I was able to get it running but It prompts for the user to specify "separate files", "thumbs", "overwrite" etc. How can I modify the following scripts, so that XBMC does not prompt, but just executes my commands? ANY advice would be greatly appreciated.
autoexec.py
calls
ExportLibrary.py
THANKS IN ADVANCE!
I viewed this post on automating library export and found it very useful. However, I need to run the command periodically and after much trial and error (I have liitle/no scripting knowledge) I was able to get it running but It prompts for the user to specify "separate files", "thumbs", "overwrite" etc. How can I modify the following scripts, so that XBMC does not prompt, but just executes my commands? ANY advice would be greatly appreciated.
autoexec.py
PHP Code:
import xbmc, xbmcgui
xbmc.executebuiltin('XBMC.AlarmClock( ExportLibrary(video,true,true,true,true), XBMC.RunScript(D:/Users/Tyger/AppData/Roaming/XBMC/scripts/ExportLibrary.py),60,true)')
calls
ExportLibrary.py
PHP Code:
import xbmc, xbmcgui
xbmc.executebuiltin('XBMC.ExportLibrary(video)')
xbmc.executebuiltin('XBMC.AlarmClock( ExportLibrary(video,true,true,true,true), XBMC.RunScript(D:/Users/Tyger/AppData/Roaming/XBMC/scripts/ExportLibrary.py),60,true)')
THANKS IN ADVANCE!