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

⌈⌋ branch:  streamtuner2


Diff

Differences From Artifact [1335d1a09a]:

To Artifact [f81c329779]:


143
144
145
146
147
148
149

150



151
152
153
154
155
156
157
143
144
145
146
147
148
149
150

151
152
153
154
155
156
157
158
159
160







+
-
+
+
+






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

# Open help browser, streamtuner2 pages
def help(*args):
    run([
    run("yelp /usr/share/doc/streamtuner2/help/")
       "yelp /usr/share/doc/streamtuner2/help/",
       "start /usr/share/doc/streamtuner2/help.chm"
    ][1 if conf.windows else 0])

# 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:"):