2009-11-29, 17:30
michael, i like the idea,but...
hacking it in the main script will never happen.
when i'm able to do more i may add it.
1. take your x10 code save as a separate .py.
2. add a browse setting "Run script before movie" *.py only. (localized)
3. add self.settings[ "pre_show_script" ] = __settings__.getSetting( "pre_show_script" ) in _get_settings()
4. before "xbmc.Player().play( self.playlist )" in both xbmcplugin_player.py and xbmcplugin_trivia add or correct line with a check for empty setting:
this if done i would add
peoples problems, sorry, not able to look into them now.
hacking it in the main script will never happen.
when i'm able to do more i may add it.
1. take your x10 code save as a separate .py.
2. add a browse setting "Run script before movie" *.py only. (localized)
3. add self.settings[ "pre_show_script" ] = __settings__.getSetting( "pre_show_script" ) in _get_settings()
4. before "xbmc.Player().play( self.playlist )" in both xbmcplugin_player.py and xbmcplugin_trivia add or correct line with a check for empty setting:
PHP Code:
xbmc.executebuiltin( "RunScript(%s)" % self.settings[ "pre_show_script" ] )
this if done i would add
peoples problems, sorry, not able to look into them now.