MaxFour / Music-Player

Lightweight and Material designed Music Player
GNU General Public License v3.0
283 stars 71 forks source link

Date is not displayed with Ogg and FLAC files #23

Open mirandir opened 5 years ago

mirandir commented 5 years ago

Hello,

It seems the date is not displayed in Artists or Album view, but appears in tag editor : date1 date2

The problem occurs only with Flac and Ogg files (it works perfectly with my MP3 files). I can send you a file if you need help to reproduce the problem.

quadrilo44 commented 4 years ago

The app appears to be looking at the "YEAR" tag for this information, but the tag name for this field in OGG files is "DATE".

This one works:

image

This one doesn't:

image

quadrilo44 commented 4 years ago

I just used Kid3 to add a custom tag of "YEAR" to the files, and the date popped up immediately in Music.

image

e-zk commented 3 years ago

Would it not be wise to check both? Some of the mp3s I have don't have "YEAR" but have "DATE", and it's a bit annoying to have to re-tag multiple albums.

If "YEAR" cannot be found it should use "DATE", or vice versa, whichever is generally preferred.

quadrilo44 commented 3 years ago

I cross-posted this issue to the upstream Phonograph and someone posted that its an issue in the in-built Android media provider.

https://github.com/kabouzeid/Phonograph/issues/740

It looks like there isn't an easy fix until the provider is fixed?