[rhythmbox] zeitgeist: fix db property names (bug #647775)



commit d9a483c7e940fdbd0023cab7672ad69b996d89ab
Author: Seif Lotfy <seif lotfy com>
Date:   Thu Apr 14 15:57:09 2011 +0200

    zeitgeist: fix db property names (bug #647775)

 plugins/rbzeitgeist/rbzeitgeist/__init__.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/rbzeitgeist/rbzeitgeist/__init__.py b/plugins/rbzeitgeist/rbzeitgeist/__init__.py
index c1caafc..10f0217 100644
--- a/plugins/rbzeitgeist/rbzeitgeist/__init__.py
+++ b/plugins/rbzeitgeist/rbzeitgeist/__init__.py
@@ -68,9 +68,9 @@ class ZeitgeistPlugin(RB.Plugin):
         # we don't want the PROP_MIMETYPE, as it doesn't contain mimetype
         # of the audio file itself
         song = {
-            "album": entry.get_string(RB.RhythmDBPropType.PROP_ALBUM),
-            "artist": entry.get_string(RB.RhythmDBPropType.PROP_ARTIST),
-            "title":  entry.get_string(RB.RhythmDBPropType.PROP_TITLE),
+            "album": entry.get_string(RB.RhythmDBPropType.ALBUM),
+            "artist": entry.get_string(RB.RhythmDBPropType.ARTIST),
+            "title":  entry.get_string(RB.RhythmDBPropType.TITLE),
             "location": entry.get_playback_uri(),
         }
         return song



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]