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

⌈⌋ branch:  streamtuner2


Diff

Differences From Artifact [f81c329779]:

To Artifact [cbdf5c690d]:


145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
    except:
        log.ERR("Command not found:", cmd)

# Open help browser, streamtuner2 pages
def help(*args):
    run([
       "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)







|






145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
    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])

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