After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 781684 - In Playlist view album title is displayed instead of artist name
In Playlist view album title is displayed instead of artist name
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
3.24.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-music-maint
gnome-music-maint
Depends on:
Blocks:
 
 
Reported: 2017-04-24 22:18 UTC by Jean Felder
Modified: 2017-04-25 08:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
playlistview: Correct artist field (992 bytes, patch)
2017-04-25 08:45 UTC, Marinus Schraal
committed Details | Review

Description Jean Felder 2017-04-24 22:18:31 UTC
Hi,

In Playlist view, the album title is displayed twice in the last columns. The last column should be the artist name.
This regression was introduced with commit  2601c2d9244952bab06233bc49fa51475c893cf3

In function _add_item_to_model line 
artist = utils.get_album_title(item) 
has to be replaced with
artist = utils.get_artist_name(item)
Comment 1 Marinus Schraal 2017-04-25 08:45:11 UTC
Created attachment 350376 [details] [review]
playlistview: Correct artist field

The artist field was mistakenly retrieving the album title.
Comment 2 Marinus Schraal 2017-04-25 08:46:40 UTC
Yeah I noticed this at some point as well, thanks for the reminder & 
fix.

Attachment 350376 [details] pushed as 901cbc4 - playlistview: Correct artist field