From: Guillaume Pellerin Date: Thu, 15 Jul 2010 00:11:20 +0000 (+0000) Subject: bugfix X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=bed0735fc2bf07c8ead32f0737bed0b1c0b1bca3;p=deefuzzer.git bugfix --- diff --git a/INSTALL b/INSTALL index e56307d..3341d55 100644 --- a/INSTALL +++ b/INSTALL @@ -10,11 +10,11 @@ # Author: Guillaume Pellerin depends: python, python-dev, python-xml, python-shout | shout-python, libshout3, - libshout3-dev, python-mutagen, python-setuptools, python-twitter + libshout3-dev, python-mutagen provides: shout-python - optional: python-liblo | pyliblo (>= 0.26) + optional: python-twitter, python-tinyurl, python-liblo | pyliblo (>= 0.26) recommends: icecast2 diff --git a/tools/osc_relay_start.py b/tools/osc_relay_start.py index 9360646..14bcb69 100644 --- a/tools/osc_relay_start.py +++ b/tools/osc_relay_start.py @@ -11,4 +11,4 @@ except liblo.AddressError, err: sys.exit() # send message "/foo/message1" with int, float and string arguments -liblo.send(target, "/relay", 1) +liblo.send(target, "/media/relay", 1) diff --git a/tools/osc_relay_stop.py b/tools/osc_relay_stop.py index 4a37d65..eaefe1a 100644 --- a/tools/osc_relay_stop.py +++ b/tools/osc_relay_stop.py @@ -11,4 +11,4 @@ except liblo.AddressError, err: sys.exit() # send message "/foo/message1" with int, float and string arguments -liblo.send(target, "/relay", 0) +liblo.send(target, "/media/relay", 0) diff --git a/tools/station.py b/tools/station.py index a07b69c..3f2fd71 100644 --- a/tools/station.py +++ b/tools/station.py @@ -241,7 +241,7 @@ class Station(Thread): media.metadata = {'artist': self.artist, 'title': self.title, 'album': self.short_name, 'genre': self.channel.genre} media.write_tags() self.record_mode = value - message = "Received OSC message '%s' with arguments '%d' : Writing metatada to the file..." % (path, value) + message = "Received OSC message '%s' with arguments '%d'" % (path, value) self.logger.write_info(message) def player_callback(self, path, value): @@ -486,6 +486,7 @@ class Station(Thread): self.logger.write_error('Station ' + self.short_name + ' : could not send the buffer to the server ') try: self.channel.open() + self.channel.set_metadata({'song': self.song, 'charset': 'utf8',}) except: self.logger.write_error('Station ' + self.short_name + ' : could connect to the server ') continue