]> git.parisson.com Git - deefuzzer.git/commitdiff
fix current file_name
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 16 Apr 2009 02:12:18 +0000 (02:12 +0000)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 16 Apr 2009 02:12:18 +0000 (02:12 +0000)
deefuzz.py

index f7bc81442324a690332a05ee29f662f3a3edac8c..5e172a274895a58241d1a2f532a4aea4d3332c37 100755 (executable)
@@ -385,7 +385,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 = str(self.current_media_obj.file_name)
+                    song = str(self.current_media_obj[0].file_name)
                 else:
                     song = str(artist) + ' : ' + str(title)