bluemindo

xbrightxbright
Added on 2009-08-16 12:17:32
bluemindo - Show - Edit - Download
Index: src/bluemindo.py
===================================================================
--- src/bluemindo.py    (révision 117)
+++ src/bluemindo.py    (copie de travail)
@@ -89,14 +89,14 @@
                 calbum = csong_[1][:-1]
 
                 csong_ = csong_[0].split(' - ')
-                cartist = csong_[0]
-                ctitle = csong_[1]
+                ctitle = csong_[0]
+                cartist = csong_[1]
                 file_.close()
 
                 # Send the current playing song album cover
                 if argv[1].endswith('-cover'):
-                    file_ = join(config.datadir, 'modules', 'player',
-                               functions.get_hash(calbum, cartist) + '.covers')
+                    file_ = join(config.datadir, 'modules', 'player', 'covers',
+                            functions.get_hash(calbum, cartist))
                     if isfile(file_):
                         print file_
                     else: