]> git.parisson.com Git - deefuzzer.git/commitdiff
fis rss dir & song metadata
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 14 Apr 2009 15:33:29 +0000 (15:33 +0000)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 14 Apr 2009 15:33:29 +0000 (15:33 +0000)
deefuzz.py
example/deefuzz_test_mp3_station.xml

index b24c0ede20e983c6e1fe5e47f93538f422c89816..4f042c067020a9c2bb66a8dbd32dd6f9072ac16e 100755 (executable)
@@ -386,7 +386,7 @@ class Station(Thread):
                 title = self.current_media_obj[0].metadata['title']
                 artist = self.current_media_obj[0].metadata['artist']
                 if not (title or artist):
-                    song = file_title
+                    song = str(file_title)
                 else:
                     song = str(artist) + ' : ' + str(title)
                 self.channel.set_metadata({'song': song})
index 1bfdd45679f05826ae9778810be4bc61716e5322..6521cd6f9c4a802616fd427153f1113b00239f4d 100644 (file)
@@ -20,7 +20,7 @@
             <samplerate>44100</samplerate>
             <voices>2</voices>
             <shuffle>1</shuffle>
-            <rss_dir>/tmp/rss/</rss_dir>
+            <rss_dir>/tmp/rss</rss_dir>
             <rss_enclosure>0</rss_enclosure>
         </media>
     </station>