Changeset 323
- Timestamp:
- 07/14/07 23:11:21 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/StreamVision/StreamVision.py
r317 r323 50 50 return '' 51 51 title = title.split(' [')[0] # XXX move to description 52 title = title.encode('iso-8859-1').decode('utf-8') # XXX iTunes 7.1 or RP? 52 53 title = title.replace('`', u'’') 53 return title .encode('iso-8859-1').decode('utf-8') # XXX iTunes 7.1 or RP?54 return title 54 55 55 56 def cleanStreamTrackName(name): … … 103 104 kw['pictImage'] = artwork[0].data() 104 105 growlNotify(trackName + ' ' + 105 '★' * (iTunes.current_track.rating() / 20),106 iTunes.current_track.album() + "\n"+106 u'★' * (iTunes.current_track.rating() / 20), 107 iTunes.current_track.album() + '\n' + 107 108 iTunes.current_track.artist(), 108 109 **kw)
Note:
See TracChangeset
for help on using the changeset viewer.