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

⌈⌋ ⎇ branch:  streamtuner2


Check-in [08b1306823]

Overview
Comment:Provide a `-D` debugging flag and a `-d shoutcast` option to disable plugins prior startup.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 08b13068231f7635290d299b6bcb6b1b73fc32f9
User & Date: mario on 2015-04-05 22:04:31
Other Links: manifest | tags
Context
2015-04-05
22:06
Fix manual Makefile `install` rules. Update -D debug notes in README. Release as 2.1.5 (beta). check-in: b6b64a45f6 user: mario tags: trunk, 2.1.5
22:04
Provide a `-D` debugging flag and a `-d shoutcast` option to disable plugins prior startup. check-in: 08b1306823 user: mario tags: trunk
20:27
Recategorized some dbg.ERR messages, but make them displayed now regardless of conf.debug setting. check-in: 2b63a42675 user: mario tags: trunk
Changes

Makefile became executable with contents [cf2c20dc2e].

Modified st2.py from [df69d27d62] to [a62db5a28b].

486
487
488
489
490
491
492











493
494
495
496
497
498
499





# startup procedure
def main():












    # graphical
    if len(sys.argv) < 2 or "--gtk3" in sys.argv:

        # prepare for threading in Gtk+ callbacks
        gobject.threads_init()








>
>
>
>
>
>
>
>
>
>
>







486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510





# startup procedure
def main():

    # process a few command line flags (needs a rewrite)
    argv = sys.argv[1:]
    while len(argv) and argv[0] in ("-d", "-D"):
        opt = argv.pop(0)
        if opt == "-D":
            conf.debug = 1
        elif opt == "-d":
            conf.plugins[argv.pop(0)] = 0
            sys.argv.pop(1)
        sys.argv.pop(1)

    # graphical
    if len(sys.argv) < 2 or "--gtk3" in sys.argv:

        # prepare for threading in Gtk+ callbacks
        gobject.threads_init()