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

⌈⌋ branch:  streamtuner2


Check-in [b728f45203]

Overview
Comment:Fix simplified regex to stop before }}} for URL extraction.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b728f452031cdd650587b62367e22780b0ba684c
User & Date: mario on 2015-05-24 17:46:56
Other Links: manifest | tags
Context
2015-05-26
00:40
Fix action.browser() to use only row{}, not pass url= argument. Native JAMJSON extractor now tests for ["tracks"] or uses plain ["results"] list. check-in: 84114ae636 user: mario tags: trunk
2015-05-24
17:46
Fix simplified regex to stop before }}} for URL extraction. check-in: b728f45203 user: mario tags: trunk
17:46
Fix unqualified icon_dir reference. check-in: e2c2c405e7 user: mario tags: trunk
Changes

Modified channels/ubuntuusers.py from [d59a32fd62] to [664a150864].

    75     75           # regexp lists out, just one srv url per entry
    76     76           ls = re.findall(r"""
    77     77              ^\s*([\w\s.-]+)\s*==+\s+
    78     78              (?: ^\[(http[^\s\]]+) .*? \{(\w+)\} )?
    79     79              .*?
    80     80              ^\{\{\{
    81     81              .*?
    82         -           (\w+://[^"'\s]+)
           82  +           (\w+://[^"'\s\}\)\]]+)
    83     83           """, src, re.X|re.S|re.M)
    84     84           
    85     85           # pack into row list
    86     86           return [
    87     87              dict(genre=g, title=t, url=u, homepage=h, bitrate=0, listeners=0, format=f, listformat="href")
    88     88              for t,h,g,u in ls
    89     89           ]
    90     90