~ubuntu-branches/ubuntu/utopic/radiotray/utopic

« back to all changes in this revision

Viewing changes to src/StateMediator.py

  • Committer: Package Import Robot
  • Author(s): Julian Taylor
  • Date: 2013-05-09 21:24:43 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20130509212443-x1rgywggtb3bsorf
Tags: 0.7.3-1ubuntu1
* Merge from Debian unstable. (LP: #1156142, #972259, #972205)
  Remaining changes:
  - patch config to use appindicator by default
  - depend on python-appindicator

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
            self.play(self.context.station)
93
93
 
94
94
    def stop(self):
 
95
        self.log.debug('Stopping...')
95
96
        self.audioPlayer.stop()
96
97
 
97
98
 
131
132
        
132
133
        
133
134
    def on_song_changed(self, data):
134
 
        print data
 
135
 
135
136
        if('artist' in data.keys()):
136
137
            self.context.artist = data['artist']
137
138
        if('title' in data.keys()):