[rhythmbox] im-status: update for RhythmDBEntryType changes (bug #627949)



commit e6e13fa595aeb291e51b81845ebba72f8698f567
Author: Jonathan Matthew <jonathan d14n org>
Date:   Thu Aug 26 10:15:44 2010 +1000

    im-status: update for RhythmDBEntryType changes (bug #627949)

 plugins/im-status/im-status/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/im-status/im-status/__init__.py b/plugins/im-status/im-status/__init__.py
index d551554..c2b6251 100644
--- a/plugins/im-status/im-status/__init__.py
+++ b/plugins/im-status/im-status/__init__.py
@@ -137,7 +137,7 @@ class IMStatusPlugin (rb.Plugin):
     self.current_title  = db.entry_get (self.current_entry, rhythmdb.PROP_TITLE)
     self.current_album  = db.entry_get (self.current_entry, rhythmdb.PROP_ALBUM)
 
-    if self.current_entry.get_entry_type().category == rhythmdb.ENTRY_STREAM:
+    if self.current_entry.get_entry_type().props.category == rhythmdb.ENTRY_STREAM:
       if not self.current_artist:
         self.current_artist = db.entry_request_extra_metadata (self.current_entry, STREAM_SONG_ARTIST)
       if not self.current_title:



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