Check-in [c19b8437e6]
Overview
| Comment: | Introduce some application presets for Windows. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
c19b8437e62576c65352c682619fd38b |
| User & Date: | mario on 2016-11-29 14:25:39 |
| Other Links: | manifest | tags |
Context
|
2016-11-29
| ||
| 20:26 | updated windows installer scripts check-in: ee00b9f395 user: mario tags: trunk | |
| 14:25 | Introduce some application presets for Windows. check-in: c19b8437e6 user: mario tags: trunk | |
| 14:25 | Added more icons for plugins and config options in manual. check-in: 85483dd69b user: mario tags: trunk | |
Changes
Modified config.py from [1120420e80] to [5e8b20930b].
| ︙ | |||
33 34 35 36 37 38 39 | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | - + | # for add_plugin_config() on initialization. # # Also provides a simple logging interface with log.TYPE(...), # which is also pre-instantiated. from __future__ import print_function |
| ︙ | |||
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | + - - + + |
# add argv
self.args = self.init_args(argparse.ArgumentParser())
self.apply_args(self.args)
# some defaults
def defaults(self):
self.windows = platform.system()=="Windows"
self.play = {
"audio/mpeg": self.find_player(),
"audio/ogg": self.find_player(),
"audio/*": self.find_player(),
"video/youtube": self.find_player(typ="video") + " $(youtube-dl -g %srv)",
"video/*": self.find_player(typ="video", default="vlc"),
"url/http": self.find_player(typ="browser"),
}
self.record = {
|
| ︙ | |||
145 146 147 148 149 150 151 | 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + |
self.retain_deleted = 0
self.auto_save_appstate = 1
self.auto_save_stations = 0
self.reuse_m3u = 1
self.playlist_asis = 0
self.window_title = 0
self.google_homepage = 0
|
| ︙ |