Index: action.py ================================================================== --- action.py +++ action.py @@ -146,11 +146,11 @@ except: log.ERR("Command not found:", cmd) # Open help browser, chm, or streamtuner2 pages def help(*args): - for path in ("./help", "/usr/share/doc/streamtuner2/help", "../share/streamtuner2/help"): + for path in ("./help", "../share/streamtuner2/help", "/usr/share/doc/streamtuner2/help"): if not os.path.exists(path): continue if conf.windows: return run(("%s/help.chm" % path).replace("/", '\\')) else: Index: config.py ================================================================== --- config.py +++ config.py @@ -180,15 +180,15 @@ return bin return default # Windows look for c:/program files/*/*.exe def find_player_win(self, typ="audio", default="wmplayer %asx", append=""): - base = [os.environ["ProgramFiles"], "c:/windows", "c:/program files", "c:/windows/internet explorer/"] + base = [os.environ["ProgramFiles"], "c:\\windows", "c:\\program files", "c:\\windows\\internet explorer\\"] players = { - "audio": ["/VLC*/vlc.exe", "wmplayer.exe %asx"], - "browser": ["/Moz*/firefox.exe", "iexplore.exe %url"], - "xterm": ['/D "C:/program files/streamripper" streamripper.exe %srv'] + "audio": ["\\VLC*\\vlc.exe", "wmplayer.exe %asx"], + "browser": ["\\Moz*\\firefox.exe", "iexplore.exe %url"], + "xterm": ['/D "C:\\program files\\streamripper" streamripper.exe %srv'] } typ = typ if typ in players else "audio" for bin in players[typ]: for b in base: fn = glob.glob(b + bin)