zyrouge / symphony

🎵 Lightweight, elegant music player for Android 9+.
https://zyrouge.github.io/symphony/
GNU Affero General Public License v3.0
1.28k stars 81 forks source link

Feat: Album year + sorting #674

Closed sevonj closed 4 days ago

sevonj commented 6 days ago

Closes #549

Changes:

Comments:

Null is treated as the lowest value in sorting.

sevonj commented 4 days ago

Should be OK now:

I spent too much time tearing my hair out trying to figure why this doesn't work, but apparently the app just couldn't parse the year from mp3 files I created for testing. Probably the same issue as #182.

There are further improvements to make, such as displaying the year, and tracking original year, but I'd rather break those into separate issues.

zyrouge commented 4 days ago

Should be OK now:

  • I renamed year to startYear, and added endYear.
  • They track minimum and maximum values from the songs.

I spent too much time tearing my hair out trying to figure why this doesn't work, but apparently the app just couldn't parse the year from mp3 files I created for testing. Probably the same issue as #182.

There are further improvements to make, such as displaying the year, and tracking original year, but I'd rather break those into separate issues.

The metadata specification is all over the place and ID3v4 should be supported. Open a issue with the file it did not work with and I'll look into it.