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

⌈⌋ ⎇ branch:  streamtuner2


Check-in [bac0507543]

Overview
Comment:Print API error, "Invalid API key". (Dirble plugin probably going to get removed...)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: bac0507543608678888d5ba4092499c3afbb1108
User & Date: mario on 2015-02-06 18:11:47
Other Links: manifest | tags
Context
2015-03-24
01:30
Minor updates to help pages. check-in: 04c9f4d564 user: mario tags: trunk
2015-02-06
18:11
Print API error, "Invalid API key". (Dirble plugin probably going to get removed...) check-in: bac0507543 user: mario tags: trunk
18:11
Fix path to streamtuner2.png banner, which now goes together with Python files under /usr/share/streamtuner2/ dir. check-in: f85edddb39 user: mario tags: trunk
Changes

Modified channels/dirble.py from [3b96ae1b61] to [a30ec4e248].

118
119
120
121
122
123
124



125
126
127
118
119
120
121
122
123
124
125
126
127
128
129
130







+
+
+



    def api(self, *params):
        method = params[0]
        try:
            j = http.get((self.base % (method, conf.dirble_api_key or self.cid)) + "/".join([str(e) for e in params[1:]]))
            r = json.loads(j);
        except:
            r = []
        if len(r) and "errormsg" in r[0]:
          __print__(dbg.ERR, r[0]["errormsg"]) 
          r = []
        return r