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

⌈⌋ ⎇ branch:  streamtuner2


Changes To api-action

Changes to "api-action" between 2017-02-20 15:08:30 and 2017-02-20 15:12:47

1
2
3
4
5
6
7
8
9
10
11
12

13
14
15
16
17
18
19
1

2


3
4
5
6
7
8

9
10
11
12
13
14
15
16

-

-
-






-
+








<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module action</title>
<meta charset="utf-8">
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>action</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/mario/projects/streamtuner2/action.py">/home/mario/projects/streamtuner2/action.py</a></font></td></tr></table>
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="streamtuner2/action.py">/home/mario/projects/streamtuner2/action.py</a></font></td></tr></table>
    <p><tt>#&nbsp;encoding:&nbsp;UTF-8<br>
#&nbsp;api:&nbsp;streamtuner2<br>
#&nbsp;type:&nbsp;functions<br>
#&nbsp;category:&nbsp;io<br>
#&nbsp;title:&nbsp;play/record&nbsp;actions<br>
#&nbsp;description:&nbsp;Starts&nbsp;audio&nbsp;applications,&nbsp;guesses&nbsp;MIME&nbsp;types&nbsp;for&nbsp;URLs<br>
#&nbsp;version:&nbsp;1.2.1<br>
253
254
255
256
257
258
259
260
250
251
252
253
254
255
256








-
<strong>log</strong> = &lt;config.log_printer object&gt;<br>
<strong>main</strong> = None<br>
<strong>mediafmt_t</strong> = {'audio/aac': 'aac', 'audio/aacp': 'aac', 'audio/it+zip': 'mod', 'audio/midi': 'midi', 'audio/mod': 'mod', 'audio/mpeg': 'mp3', 'audio/ogg': 'ogg', 'audio/s3+zip': 'mod', 'audio/xm+zip': 'mod'}<br>
<strong>placeholder_map</strong> = {'asx': '(%asx)', 'jspf': '(%jspf | %j)', 'm3u': '(%m3u | %f | %g | %m)', 'pls': '(%url | %pls | %u | %l | %r)', 'smil': '(%smil)', 'srv': '(%srv | %d | %s)', 'xspf': '(%xspf | %xpsf | %x)'}<br>
<strong>playlist_content_map</strong> = [('pls', r' (?i)\[playlist\].*NumberOfEntries '), ('xspf', r' &lt;\?xml .* &lt;playlist .* ((?i)http://xspf\.org)/ns/0/ '), ('m3u', r' ^ \s* \#(EXT)?M3U '), ('asx', r' (?i) &lt;asx\b '), ('smil', ' &lt;smil[^&gt;]*&gt; .* &lt;seq&gt; '), ('html', ' (?i)&lt;(audio|video)<font color="#c040c0">\\</font>b[^&gt;]+<font color="#c040c0">\\</font>bsrc<font color="#c040c0">\\</font>s*=<font color="#c040c0">\\</font>s*["<font color="#c040c0">\'</font>]?https?:// '), ('wpl', r' &lt;\?wpl \s+ version="1\.0" \s* \?&gt; '), ('b4s', ' &lt;WinampXML&gt; '), ('qtl', r' &lt;?quicktime\d+type="application/x-quicktime-media-link"\d*?&gt; '), ('jspf', r' ^ \s* \{ \s* "playlist": \s* \{ '), ('asf', r' ^ \[Reference\] .*? ^Ref\d+= '), ('url', r' ^ \[InternetShortcut\] .*? ^URL= '), ('desktop', r' ^ \[Desktop Entry\] .*? ^Link= '), ('json', r' "url": \s* "\w+:\\?/\\?/ '), ('jamj', r' "audio": \s* "\w+:\\?/\\?/ '), ('gvp', r' ^gvp_version:1\.\d+$ '), ('href', ' .* ')]<br>
<strong>playlist_fmt_prio</strong> = ['pls', 'xspf', 'asx', 'smil', 'jamj', 'json', 'm3u', 'asf', 'raw']<br>
<strong>tmp_files</strong> = []</td></tr></table>
</body></html>