From 906f0c9af16b2bcacf6d43a85dff168825751f48 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 14 Apr 2009 15:33:29 +0000 Subject: [PATCH] fis rss dir & song metadata --- deefuzz.py | 2 +- example/deefuzz_test_mp3_station.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5