I’m trying to see where the icon is becoming part of the title on the Album side, as I’d like to separate that to it’s own column in the hopes that the sort routine would give me the ability to sort by icon type. All the gold, not gold, modified…
def column(self, column, linked_tracks=None):
if column == 'title':
if self.status is not None:
title = self.status
title = self.metadata['album']
linked_tracks = 0
for track in self.tracks:
linked_tracks += 1
#text = title
#text = '%s\u200E (%d/%d' % (title, linked_tracks, len(self.tracks))
text = '%s\u200E' % (title)
Separating out the linked, amount of tracks, amount of images into their own columns was pretty straight forward.
I think I need to look at itemviews a bit more. Maybe take the high-school programming class method from the mid 1980s. Print the thing out and flow chart it.