[gnome-music/gnome-3-24] playlistview: Correct artist field
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/gnome-3-24] playlistview: Correct artist field
- Date: Tue, 25 Apr 2017 08:54:57 +0000 (UTC)
commit 3be07c034663a191636f500cd875e0774c5bd75a
Author: Marinus Schraal <mschraal src gnome org>
Date: Tue Apr 25 10:43:15 2017 +0200
playlistview: Correct artist field
The artist field was mistakenly retrieving the album title.
https://bugzilla.gnome.org/show_bug.cgi?id=781684
gnomemusic/views/playlistview.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/views/playlistview.py b/gnomemusic/views/playlistview.py
index f7923f4..9e270d1 100644
--- a/gnomemusic/views/playlistview.py
+++ b/gnomemusic/views/playlistview.py
@@ -408,7 +408,7 @@ class PlaylistView(BaseView):
self._offset += 1
title = utils.get_media_title(item)
item.set_title(title)
- artist = utils.get_album_title(item)
+ artist = utils.get_artist_name(item)
model.insert_with_valuesv(-1, [2, 3, 5, 9],
[title, artist, item, item.get_favourite()])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]