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

⌈⌋ branch:  streamtuner2


Diff

Differences From Artifact [df69d27d62]:

To Artifact [a62db5a28b]:


486
487
488
489
490
491
492











493
494
495
496
497
498
499
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()