From: Guillaume Pellerin Date: Tue, 14 Apr 2009 15:33:29 +0000 (+0000) Subject: fis rss dir & song metadata X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=906f0c9af16b2bcacf6d43a85dff168825751f48;p=deefuzzer.git fis rss dir & song metadata --- diff --git a/deefuzz.py b/deefuzz.py index b24c0ed..4f042c0 100755 --- a/deefuzz.py +++ b/deefuzz.py @@ -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}) diff --git a/example/deefuzz_test_mp3_station.xml b/example/deefuzz_test_mp3_station.xml index 1bfdd45..6521cd6 100644 --- a/example/deefuzz_test_mp3_station.xml +++ b/example/deefuzz_test_mp3_station.xml @@ -20,7 +20,7 @@ 44100 2 1 - /tmp/rss/ + /tmp/rss 0