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

⌈⌋ branch:  streamtuner2


Check-in [e14b00789e]

Overview
Comment:Fix .chm help invocation
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:e14b00789e17728e424918dbb525182155423f6a
User & Date: mario on 2016-11-13 22:38:21
Other Links: manifest | tags
Context
2016-11-13
22:38
Filter "status: obsolete" plugins. check-in: 0d662ebc39 user: mario tags: trunk
22:38
Fix .chm help invocation check-in: e14b00789e user: mario tags: trunk
20:37
Removed: windowsmediaguide plugin check-in: c99935fa27 user: mario tags: trunk
Changes

Modified action.py from [f81c329779] to [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)