Check-in [2bba5c0a5f]
Overview
Comment: | Reintroduced Live365 status display (gtk STOP sign for non-"PUBLIC" entries, or deleted strikethrough if server not "OK") |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
2bba5c0a5fa733520e279ad6a3b900fc |
User & Date: | mario on 2014-08-15 00:58:13 |
Other Links: | manifest | tags |
Context
2014-08-15
| ||
01:05 | Release 2.1.3 packaged up. check-in: ebe3fc98c0 user: mario tags: trunk, 2.1.3 | |
00:58 | Reintroduced Live365 status display (gtk STOP sign for non-"PUBLIC" entries, or deleted strikethrough if server not "OK") check-in: 2bba5c0a5f user: mario tags: trunk | |
00:46 | Make channel tab positions configurable. check-in: 395935d038 user: mario tags: trunk | |
Changes
Modified channels/live365.py from [be1047f842] to [e1bde0795c].
︙ | |||
95 96 97 98 99 100 101 102 103 104 105 106 107 108 | 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"], |
︙ |