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

⌈⌋ ⎇ branch:  streamtuner2


Check-in [da617b8b4f]

Overview
Comment:Limit spaces `# {0,3}` in plugin comment blocks before field: name
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: da617b8b4f5513218458c5cf3864fbc3ed94ef15
User & Date: mario on 2020-12-18 10:49:34
Other Links: manifest | tags
Context
2020-12-28
19:49
Update for recent change, but also implement JSON extraction while at it. check-in: 697df17183 user: mario tags: trunk
2020-12-18
10:49
Limit spaces `# {0,3}` in plugin comment blocks before field: name check-in: da617b8b4f user: mario tags: trunk
2020-12-12
17:30
Reimplement combobox.parse_options for builtin/unprocessed record_flags, also make quicksearch not expand vertically anymore for Gtk3. check-in: d9dcff66f3 user: mario tags: trunk
Changes

Modified pluginconf.py from [d31c994508] to [e8fc7319ee].

326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
# Pretty crude comment splitting approach. But works
# well enough already. Technically a YAML parser would
# do better; but is likely overkill.
#
class rx:
    comment = re.compile(r"""(^ {0,4}#.*\n)+""", re.M)
    hash = re.compile(r"""(^ {0,4}# *\r*)""", re.M)
    keyval = re.compile(r"""
        ^([\w-]+):(.*$(?:\n(?![\w-]+:).+$)*)      # plain key:value lines
    """, re.M | re.X)
    config = re.compile(r"""
        \{ (.+?) \} | \< (.+?) \>              # JSOL/YAML scheme {...} dicts
    """, re.X)
    options = re.compile(r"""







|







326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
# Pretty crude comment splitting approach. But works
# well enough already. Technically a YAML parser would
# do better; but is likely overkill.
#
class rx:
    comment = re.compile(r"""(^ {0,4}#.*\n)+""", re.M)
    hash = re.compile(r"""(^ {0,4}# {0,3}\r*)""", re.M)
    keyval = re.compile(r"""
        ^([\w-]+):(.*$(?:\n(?![\w-]+:).+$)*)      # plain key:value lines
    """, re.M | re.X)
    config = re.compile(r"""
        \{ (.+?) \} | \< (.+?) \>              # JSOL/YAML scheme {...} dicts
    """, re.X)
    options = re.compile(r"""