]> git.parisson.com Git - deefuzzer.git/commitdiff
bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 15 Jul 2010 00:11:20 +0000 (00:11 +0000)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 15 Jul 2010 00:11:20 +0000 (00:11 +0000)
INSTALL
tools/osc_relay_start.py
tools/osc_relay_stop.py
tools/station.py

diff --git a/INSTALL b/INSTALL
index e56307de2077c35d7c7d67df2e7a9e00445222a7..3341d5539a0c0e7a14e60466fbbcf75b18f52103 100644 (file)
--- a/INSTALL
+++ b/INSTALL
 # Author: Guillaume Pellerin <pellerin@parisson.com>
 
  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
 
index 936064669a92f4da8f5bae9f39176dfaf42f7527..14bcb69d17ab495eaacbe6837bac9a0bfd38cb5a 100644 (file)
@@ -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)
index 4a37d6501acc61559ca0adbfccfbf13dc9b91ec4..eaefe1ade9262bed5f478be28b0e97bb6ad7c912 100644 (file)
@@ -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)
index a07b69cf09576888695db8c7f7e8d5b3e74dec77..3f2fd7192f8f1cd93447a17abcb0473d37ab9e74 100644 (file)
@@ -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