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

⌈⌋ branch:  streamtuner2


Check-in [294a2672d2]

Overview
Comment:Allow api: to be "python" or "streamtuner2"
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 294a2672d20b79cb9c5570c7368a71013a134220
User & Date: mario on 2015-05-26 00:43:47
Other Links: manifest | tags
Context
2015-05-26
00:52
Update html manual. check-in: 217587b590 user: mario tags: trunk
00:43
Allow api: to be "python" or "streamtuner2" check-in: 294a2672d2 user: mario tags: trunk
00:43
Disable window tilte updating per default again. check-in: b9a667bbe7 user: mario tags: trunk
Changes

Modified pluginconf.py from [91d1d3cd68] to [9a5f974003].

416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
    # basic list pre-filtering (skip __init__, filter by api:,
    # exclude installed & same-version plugins)
    def valid(self, newpl):
        id = newpl.get("$name", "__invalid")
        have_ver = self.have.get(id, {}).get("version", "0")
        if id.find("__") == 0:
            pass
        elif newpl.get("api") != "streamtuner2":
            pass
        elif have_ver >= newpl.get("version", "0.0"):
            pass
        else:
            return True

    # Split trivial "pkg, mod >= 1, uikit < 4.0" list







|







416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
    # basic list pre-filtering (skip __init__, filter by api:,
    # exclude installed & same-version plugins)
    def valid(self, newpl):
        id = newpl.get("$name", "__invalid")
        have_ver = self.have.get(id, {}).get("version", "0")
        if id.find("__") == 0:
            pass
        elif newpl.get("api") not in ("python", "streamtuner2"):
            pass
        elif have_ver >= newpl.get("version", "0.0"):
            pass
        else:
            return True

    # Split trivial "pkg, mod >= 1, uikit < 4.0" list