BLeeEZ / amperfy

Amperfy is an iOS app to play songs from an Ampache or Subsonic server
GNU General Public License v3.0
383 stars 34 forks source link

Amperfy does not fetch the length of a song (using Ampache) #249

Open SuperFola opened 2 months ago

SuperFola commented 2 months ago

When using Amperfy to listen to music, the total duration of the song isn't displayed.

On iOS 17.4.1, with Amperfy 1.2.0 build 3.

app configuration:

image image

BLeeEZ commented 2 months ago

What File type is this song? This issue occurs with Ampache servers when server side transcoding is active. Ampache transcodes the song but does not provide the correct duration.

SuperFola commented 2 months ago

It's an mp3 file.

Thanks for the hint, I didn't know! I had transcoding set to "default" and turned it off (set to never), and tried again on the same song (and others too); the problem is the same.

Is there some kind of cache of api result that I should clear?

SuperFola commented 1 month ago

After testing in Xcode via the simulator (with the version on master, not yet released it seems), it works fine (cache set to 1MB to avoid downloading songs) and the duration is properly displayed.

On my iPhone the version is 1.2.0, build 3 (but I have the "--:--" which seems to be in the 1.2.1+ version, not 1.2.0) ; perhaps I'm not up to date and it's now working as intended?