Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
amet committed Jan 5, 2011
1 parent c928777 commit 59cb637
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions script.xbmc.subtitles/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
xbmc.output("### [%s] - Version: %s" % (__scriptname__,__version__,),level=xbmc.LOGDEBUG )

if ( __name__ == "__main__" ):
if not xbmc.getCondVisibility('Player.Paused') : xbmc.Player().pause() #Pause if not paused
import gui
ui = gui.GUI( "script-XBMC-Subtitles-main.xml" , __cwd__ , "Default")
ui.doModal()
if xbmc.getCondVisibility('Player.Paused'): xbmc.Player().pause() # if Paused, un-pause
del ui
sys.modules.clear()
if not xbmc.getCondVisibility('Player.Paused') : xbmc.Player().pause() #Pause if not paused
import gui
ui = gui.GUI( "script-XBMC-Subtitles-main.xml" , __cwd__ , "Default")
ui.doModal()
if xbmc.getCondVisibility('Player.Paused'): xbmc.Player().pause() # if Paused, un-pause
del ui
sys.modules.clear()



0 comments on commit 59cb637

Please sign in to comment.