Check-in [d253deb912]
Comment: | More specific command argument quoting for Windows. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
d253deb912b7986f14da3de01e7eb3bf |
User & Date: | mario on 2016-11-06 01:56:48 |
Other Links: | manifest | tags |
2016-11-06
| ||
01:57 | Keep some notes about how to specify application paths on Windows. check-in: 2fb9158589 user: mario tags: trunk | |
01:56 | More specific command argument quoting for Windows. check-in: d253deb912 user: mario tags: trunk | |
2016-11-05
| ||
23:55 | Reciva: add search function check-in: 30cdbc9ba4 user: mario tags: trunk | |
Modified action.py from [114f820dd5] to [8f35066d04].
160 161 162 163 164 165 166 167 | 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | + + + + - + - + | def record(row={}, audioformat="audio/mpeg", source="href", append=None): run_fmt_url(row, audioformat, source, conf.record, append=append) # OS shell command escaping # def quote(ins): if conf.windows: Q = '"%s%"' else: Q = "%r" if type(ins) is list: |
194 195 196 197 198 199 200 | 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 | - + | # · Replace .pls URL with local .m3u file depending on map. # def interpol(cmd, source="pls", row={}, add_default=True): row = copy.copy(row) # Inject other meta fields (%title, %genre, %playing, %format, etc.) rx_keys = "[\$\%](" + "|".join(row.keys()) + ")\\b" |