Check-in [a03f6235f0]
Overview
Comment: | Fix regex groups for find_player_win path quoting |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
a03f6235f0f6a88f2bd572b5b5ed72f1 |
User & Date: | mario on 2016-12-03 21:24:16 |
Other Links: | manifest | tags |
Context
2016-12-03
| ||
21:24 | lsplugins: export {png} to help/img/ check-in: f9e21a1d69 user: mario tags: trunk | |
21:24 | Fix regex groups for find_player_win path quoting check-in: a03f6235f0 user: mario tags: trunk | |
21:23 | Removed plugin option background colors. check-in: 9520bc51a3 user: mario tags: trunk | |
Changes
Modified config.py from [f1b8e36cc0] to [f1b79c6976].
︙ | ︙ | |||
190 191 192 193 194 195 196 | "xterm": ['/D "'+pf+'\\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) if len(fn): | | | 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | "xterm": ['/D "'+pf+'\\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) if len(fn): return re.sub("^(.+?)((\s%\w+)?)$", '"\\g<1>"\\g<2>', fn[0], 1) + append return players[typ][-1] # http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html def xdg(self, path="/streamtuner2"): home = os.environ.get("HOME", self.tmp) config = os.environ.get("XDG_CONFIG_HOME", os.environ.get("APPDATA", home+"/.config")) |
︙ | ︙ |