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

⌈⌋ ⎇ branch:  streamtuner2


Check-in [8cac2cfef5]

Overview
Comment:Disable SSL verification for UbuntuUsers Wiki.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8cac2cfef5dac032e1f7ab5608d66948af835e87
User & Date: mario on 2016-06-16 23:30:25
Other Links: manifest | tags
Context
2016-06-17
17:42
Default internetradio_max_pages=5 in the config. (Last report indicated it didn't get picked up. And it's a default plugin anyway.) check-in: 75cb32d44e user: mario tags: trunk
2016-06-16
23:30
Disable SSL verification for UbuntuUsers Wiki. check-in: 8cac2cfef5 user: mario tags: trunk
23:30
Remove stray print statement check-in: 315eb1c757 user: mario tags: trunk
Changes

Modified channels/ubuntuusers.py from [482b9ba9b7] to [e3bc6f87a2].

55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
    #   {{{
    #   http://ice.rosebud-media.de:8000/88vier-ogg1.ogg
    #   }}}
    #
    def update_streams(self, cat, search=None):

        # fetch page
        wiki = ahttp.get(self.base[cat])
        f = "audio/mpeg" if cat == "stations" else "video/mp4"
        
        # split on headlines
        r = []
        for src in re.split("^==+", wiki, 0, re.M):
            r += self.join(src, f)
        return r







|







55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
    #   {{{
    #   http://ice.rosebud-media.de:8000/88vier-ogg1.ogg
    #   }}}
    #
    def update_streams(self, cat, search=None):

        # fetch page
        wiki = ahttp.get(self.base[cat], verify=False)
        f = "audio/mpeg" if cat == "stations" else "video/mp4"
        
        # split on headlines
        r = []
        for src in re.split("^==+", wiki, 0, re.M):
            r += self.join(src, f)
        return r