[gnome-music/wip/mschraal/core: 17/118] coresong: album_disc_number is a prop



commit afcdda82e97c4234bf14eba54d83df9bbc33064b
Author: Marinus Schraal <mschraal gnome org>
Date:   Wed May 8 22:04:38 2019 +0200

    coresong: album_disc_number is a prop

 gnomemusic/coresong.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/coresong.py b/gnomemusic/coresong.py
index 94fdd1d5..b74290f2 100644
--- a/gnomemusic/coresong.py
+++ b/gnomemusic/coresong.py
@@ -27,7 +27,7 @@ class CoreSong(GObject.GObject):
         self._media = media
 
         self.props.album = utils.get_album_title(media)
-        self.album_disc_number = self._media.get_album_disc_number()
+        self.props.album_disc_number = self._media.get_album_disc_number()
         self.props.artist = utils.get_artist_name(media)
         self.props.favorite = self._media.get_favourite()
         self.props.play_count = self._media.get_play_count()


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