[gnome-music/wip/jfelder/tag-test: 10/22] artistalbumwidget: Update Album Disc Number Getter
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/tag-test: 10/22] artistalbumwidget: Update Album Disc Number Getter
- Date: Mon, 29 Jul 2019 16:17:07 +0000 (UTC)
commit a4e7f700a427a56e71215f8462eef4e411ed5f5f
Author: Sumaid Syed <sumaidsyed gmail com>
Date: Wed Jul 17 16:32:51 2019 +0530
artistalbumwidget: Update Album Disc Number Getter
Use album disc number getter defined in utils instead of grilo function.
Based on patches by Jean Felder
gnomemusic/widgets/artistalbumwidget.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/widgets/artistalbumwidget.py b/gnomemusic/widgets/artistalbumwidget.py
index 8d8fda88..621aef3d 100644
--- a/gnomemusic/widgets/artistalbumwidget.py
+++ b/gnomemusic/widgets/artistalbumwidget.py
@@ -117,7 +117,7 @@ class ArtistAlbumWidget(Gtk.Box):
discs = {}
for song in self._songs:
- disc_nr = song.get_album_disc_number()
+ disc_nr = utils.get_album_disc_nr(song)
if disc_nr not in discs.keys():
discs[disc_nr] = [song]
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]