OxygenCobalt / Auxio

A simple, rational music player for android
GNU General Public License v3.0
2.2k stars 149 forks source link

iTunes lossless (AAC/m4a) missing time #875

Closed DanHolli closed 1 month ago

DanHolli commented 2 months ago

Tracks that were imported via iTunes from CDs using lossless AAC don't have have an end time

This makes scrobbling impossible as any attempt will reset to the beginning on the song

It also lacks bitrate information but that's less important

DanHolli commented 2 months ago

Interestingly it is only in the app. AA and the media control card don't have this issue

rahul-gill commented 2 months ago

Media store stores the duration of ALAC files as 0 instead of the actual length. If we see the length of any ALAC song in the app, it shows zero.

In the player ui, it's possible to get the length from exoplayer, but for the properties section, some other solution is required

OxygenCobalt commented 1 month ago

I think this is a dupe of #661. Basically what @rahul-gill said. Worse still, ExoPlayer only populates the duration during playback rather than allowing me to dry-extract it like other metadata. I have to figure out what to patch on my own assuming that a recent update hasn't added it.