Diff
Differences From Artifact [e7c8df9075]:
- File channels/history.py — part of check-in [6c60cc3c77] at 2014-05-19 19:27:46 on branch trunk — Adds new [history] category in [bookmarks] tab; which lists last played stations. (user: mario, size: 1658) [annotate] [blame] [check-ins using]
To Artifact [5834376e37]:
- File channels/history.py — part of check-in [af5ae3f5be] at 2014-05-27 12:37:55 on branch trunk — ListStore row editing callback unified via lambda-funcs as signal handlers. Recording hook adapted to pass actual MIME type. Python3 try/except for json file writing (still breaks due to gzip handler being optional). (user: mario, size: 1660) [annotate] [blame] [check-ins using]
︙ | |||
71 72 73 74 75 76 77 | 71 72 73 74 75 76 77 78 79 80 | - - + + | # limit number of entries max = int(conf.history) while max > 0 and len(hist) > max: hist.pop() # update store self.bm.save() |