CappielloAntonio / tempo

An open source and lightweight music client for Subsonic, designed and built natively for Android.
GNU General Public License v3.0
1.06k stars 49 forks source link

[BUG] - Albums from same year don't get sorted correctly #87

Closed Cambi0nn closed 11 months ago

Cambi0nn commented 1 year ago

Describe the bug

Albums released in the same year are sorted by alfabet, not exact date, despige these tags being available.

Expected behavior

When a full date (including month and day) is present in the metadata, sort on that above alfabetical sort.

To Reproduce

Add 2 albums under the same artist with different release dates, but withing the same year. For example: 2023-01-25 and 2023-08-14. Make sure the later album starts with a letter earlier in the alfabet than the 1st. You will see that on the artist page, the 2nd album is placed in front of the 1st.

Environment

Logs or Screenshots

N/A

Additional context

N/A

CappielloAntonio commented 1 year ago

Hi @Cambi0nn this is not a bug regarding my app, but a limitation of the subsonic API which returns me the year intended as a Int and not as a date. Unfortunately I cannot make any further distinction.

CappielloAntonio commented 11 months ago

I don't think there's much I can do with the Subsonic API as it stands, so I'll close this issue.