Diff
Differences From Artifact [be1047f842]:
- File channels/live365.py — part of check-in [8b3cd06ff7] at 2014-07-31 17:22:46 on branch trunk — Adapted Live365 channel plugin for /cgi-bin/play.pls?stationid=123457&direct=1 stream URLs instead of extraction, works again (user: mario, size: 4790) [annotate] [blame] [check-ins using]
To Artifact [e1bde0795c]:
- File channels/live365.py — part of check-in [2bba5c0a5f] at 2014-08-15 00:58:13 on branch trunk — Reintroduced Live365 status display (gtk STOP sign for non-"PUBLIC" entries, or deleted strikethrough if server not "OK") (user: mario, size: 4931) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
""", re.X|re.I|re.S|re.M)
# Group entries before adding them
ls = []
for i,row in groupby(rx.findall(html), self.group_by_station):
row = dict(row)
ls.append({
"name": row["stationName"],
"title": row["title"],
"playing": "n/a",
"id": row["id"],
"access": row["listenerAccess"],
"status": row["status"],
"mode": row["serverMode"],
| > > | 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
""", re.X|re.I|re.S|re.M)
# Group entries before adding them
ls = []
for i,row in groupby(rx.findall(html), self.group_by_station):
row = dict(row)
ls.append({
"status": (None if row["listenerAccess"] == "PUBLIC" else gtk.STOCK_STOP),
"deleted": row["status"] != "OK",
"name": row["stationName"],
"title": row["title"],
"playing": "n/a",
"id": row["id"],
"access": row["listenerAccess"],
"status": row["status"],
"mode": row["serverMode"],
|
| ︙ | ︙ |