Thank you for your donation!


Sort albums by year
#21
Nice feature, but what is the appearance when looking at artist / album overview.
Will the albums be sorted by year and will the year be displayed?

As for your question, I would prefer the highest year.

Thanks for implementation and especially the great player :-)
Reply
#22
When grouping albums by Artist or by Album, the sort is alphabetic. The year is not displayed in these views. See earlier post #21 http://moodeaudio.org/forum/showthread.p...9#pid13109
Reply
#23
Hi Tim,

post #21 I had read.

But I think I did not express myself correctly.
I meant, how is the order of the albums on the right side when I select an artist in the middle column (or left) in the browser and Album grouping is set to "by Year".
Reply
#24
In Tag view the albums are always sorted alphabetically.
Reply
#25
(09-05-2019, 09:31 PM)deztiny Wrote: In version 6 this part code has been rewritten and needs to be changed:

up to 5:
$album = $flatData['Album'] ? $flatData['Date'] . ' - ' . $flatData['Album'] : 'Unknown';

6 and newer (I guess):
'album' => ($flatData['Album'] ? $flatData['Date'] . ' - ' . $flatData['Album'] : 'Unknown'),

(Since tinypic is offline) here are some new screenshot what this line does:

In Sorting of albums is done by year
https://ibb.co/8bBSmbr

Sorting albums is done alphabetic by artist but album title is showing year first
https://ibb.co/PgDKkS2
Reply
#26
First of all let me say thank-you once again Tim for implementing sort by year.

As I mentioned in another thread, for me it's much more logical to see albums presented chronologically, at least when looking at individual artists.
But, for me, to see the name of the Album is much more important than the year it was released.

With that in mind I've coded two drop-down Library options which allow me to choose how additional information - such as the Year - are presented in both Tag and Album views:

TAG view:

[Image: TAG.jpg]

ALBUM view:
[Image: ALBUM.jpg]
I'd be interested in feedback from other forum members, and if you agree I can look to create a GIT PR.

My thinking was to stick to the way you've currently delivered the features and presented the information in 6.4.0 so that existing users will see the view they have (or will) become accustomed to, but also to present some more options that cater for individual tastes.  Also, the coding doesn't add all of the fields to the HTML and then hide them with CSS.  If the option doesn't require the information then it's not added to the mark-up to make the pages 'lighter'.

Regards,
Gary
Reply
#27
Great ! I vote for it :-)
Reply
#28
Looks like a nice set of options :-)

Go for it!
Reply
#29
Looks like a GOOD IDEA...
Reply
#30
Thumbs Up 
Thumbs up from me.
Reply


Forum Jump: