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

⌈⌋ ⎇ branch:  streamtuner2


Check-in [fe43e46f81]

Overview
Comment:Use web online manual as fallback if /usr/share/docs/streamtuner/help* absent.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: fe43e46f81758d5185297239b818b92b3f878161
User & Date: mario on 2016-11-14 22:04:20
Other Links: manifest | tags
Context
2016-11-16
19:06
Fix priority/status: obsolete check. check-in: 840b064ba0 user: mario tags: trunk
2016-11-14
22:04
Use web online manual as fallback if /usr/share/docs/streamtuner/help* absent. check-in: fe43e46f81 user: mario tags: trunk
22:03
Remove WindowsMedia from docs. check-in: 88e3ee3b66 user: mario tags: trunk
Changes

Modified action.py from [cbdf5c690d] to [904e423c83].

143
144
145
146
147
148
149
150
151
152
153






154
155
156
157
158
159
160
143
144
145
146
147
148
149




150
151
152
153
154
155
156
157
158
159
160
161
162







-
-
-
-
+
+
+
+
+
+







        log.EXEC(cmd)
        os.system(cmd)
    except:
        log.ERR("Command not found:", cmd)

# Open help browser, streamtuner2 pages
def help(*args):
    run([
       "yelp /usr/share/doc/streamtuner2/help/",
       r"\usr\share\doc\streamtuner2\help.chm"
    ][1 if conf.windows else 0])
    if not os.path.exists("/usr/share/doc/streamtuner2/help"):
        browser("http://fossil.include-once.org/streamtuner2/doc/tip/help/html/index.html")
    elif conf.windows:
        run(r"\usr\share\doc\streamtuner2\help.chm")
    else:
        run("yelp /usr/share/doc/streamtuner2/help/")

# Invokes player/recorder for stream url and format
def run_fmt_url(row={}, audioformat="audio/mpeg", source="pls", assoc={}, append=None, cmd=None, add_default=True):
    # look for specific "audio/type" or "urn:service:…" resolvers
    if audioformat in handler:
        handler[audioformat](row, audioformat, source, assoc)
    elif row.get("url", "").startswith("urn:"):