Internet radio browser GUI for music/video streams from various directory services.

⌈⌋ ⎇ branch:  streamtuner2


Check-in [3d6205d2d3]

Overview
Comment:Use empty stub {} dict in place of state.json contents on fresh init.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3d6205d2d320a28f4abb5be1403f9d5d2be93130
User & Date: mario on 2015-05-01 02:16:44
Other Links: manifest | tags
Context
2015-05-01
22:41
Separate statusbar timer-reset from text/progressbar setter. check-in: 3b7a4ff895 user: mario tags: trunk
02:16
Use empty stub {} dict in place of state.json contents on fresh init. check-in: 3d6205d2d3 user: mario tags: trunk
02:16
Add python2-requests dependency. check-in: dedcc5a434 user: mario tags: trunk
Changes

Modified config.py from [d54903cb9b] to [82840017ee].

255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
        if self.tmp == "/tmp":
            self.tmp = "/tmp/streamtuner2"

            
    # Shortcut to `state.json` loading (currently selected categories etc.)
    def state(self, module=None, d={}):
        if not d:
            d.update(conf.load("state"))
        if module:
            return d.get(module, {})
        return d

         
    # check for existing filename in directory list
    def find_in_dirs(self, dirs, file):







|







255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
        if self.tmp == "/tmp":
            self.tmp = "/tmp/streamtuner2"

            
    # Shortcut to `state.json` loading (currently selected categories etc.)
    def state(self, module=None, d={}):
        if not d:
            d.update(conf.load("state") or {})
        if module:
            return d.get(module, {})
        return d

         
    # check for existing filename in directory list
    def find_in_dirs(self, dirs, file):