Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SuperFola opened this issue Apr 28, 2024 · 3 comments
Open

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

SuperFola opened this issue Apr 28, 2024 · 3 comments

Comments

@SuperFola
Copy link

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:

  • offline mode off
  • server: ampache, backend: subsonic (server api version 1.16.1, client api version 1.3.0)
  • auto cache off, max cache size 1MB
  • Background song sync 100%
  • Scrobble streamed songs disabled

image
image

@BLeeEZ
Copy link
Owner

BLeeEZ commented Apr 28, 2024

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
Copy link
Author

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
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants