Mercurial > libervia-web
comparison src/browser/radiocol.py @ 451:1a0cec9b0f1e
better PEP-8 compliance
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 20 May 2014 10:54:03 +0200 |
parents | 981ed669d3b3 |
children |
comparison
equal
deleted
inserted
replaced
450:41aae13cab2b | 451:1a0cec9b0f1e |
---|---|
189 self.played = False # True when the song is playing/has played, becomes False on preload | 189 self.played = False # True when the song is playing/has played, becomes False on preload |
190 self.setAutobuffer(True) | 190 self.setAutobuffer(True) |
191 self.setAutoplay(False) | 191 self.setAutoplay(False) |
192 self.setVisible(False) | 192 self.setVisible(False) |
193 | 193 |
194 | |
195 def preload(self, timestamp, filename, title, artist, album): | 194 def preload(self, timestamp, filename, title, artist, album): |
196 """preload the song but doesn't play it""" | 195 """preload the song but doesn't play it""" |
197 self.timestamp = timestamp | 196 self.timestamp = timestamp |
198 self.filename = filename | 197 self.filename = filename |
199 self.title = title | 198 self.title = title |