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

playlist not loaded correctly from server 1.0.5 (3) #42

Closed
flrnns opened this issue May 22, 2021 · 11 comments
Closed

playlist not loaded correctly from server 1.0.5 (3) #42

flrnns opened this issue May 22, 2021 · 11 comments
Labels
good first issue Good for newcomers

Comments

@flrnns
Copy link

flrnns commented May 22, 2021

Playlists are not loaded correctly from the ampache server.

The playlist Title is loaded and displayed along with the number of songs, but missing the duration ("0s").
Opening a playlist will show an empty list, so the individal songs are not being displayed and thus cannot be played.

@BLeeEZ
Copy link
Owner

BLeeEZ commented May 22, 2021

Thank you for the reported issues. Which version does your ampache server has? Can you please provide me the api versions under Amperfy->Settings->Server too?

@flrnns
Copy link
Author

flrnns commented May 22, 2021

Ampache
Server API version 400001

@BLeeEZ
Copy link
Owner

BLeeEZ commented May 22, 2021

With the current beta I switched to ampache api v5. Is it possible to upgrade your server to v5? V4 has some disadvantages for example genres are not supported. I am not shure if I want to support v4 in the future. I will at least add a error message so the user knows whats wrong.

@BLeeEZ
Copy link
Owner

BLeeEZ commented May 22, 2021

Maybe I change the api to subsonic for this case. Than the app would be still usable.

@flrnns
Copy link
Author

flrnns commented May 22, 2021

I didn't know that ampache was not backward compatible, sorry.

As soon as I have v5 server, I will try again

@BLeeEZ
Copy link
Owner

BLeeEZ commented May 25, 2021

Over the weekend I did some additional reading and testing regarding your issue.
Server API Version 400001 is quite buggy as you can read here: Ampache API Changelog.
I set up an older Ampache server (API Version 430000) by myself. Amperfy works fine with that.
I would suggest you to update your ampache server.

@BLeeEZ BLeeEZ added the good first issue Good for newcomers label May 25, 2021
@flrnns
Copy link
Author

flrnns commented May 27, 2021

Thanks for your reply.
In the meantime I found out, that with Nextcloud there is no real ampache server involved that I could manually upgrade.
The music app of nextcloud seems to just provide server side api which is meant to be compatible with ampache 400001 and they have no plans to update

@BLeeEZ
Copy link
Owner

BLeeEZ commented May 27, 2021

OK, I See the problem.
I assume you are using this: https://github.com/owncloud/music#ampache-and-subsonic
I think I will add a selector at the login screen to choose the backend API manually.
With that you would be able to use the Subsonic API.

@flrnns
Copy link
Author

flrnns commented May 27, 2021

Yes, that's correct. That sounds awesome - hope it'll work!

@flrnns
Copy link
Author

flrnns commented May 27, 2021

I just noticed, that I can setup Amperfy so that it interacts with the Subsonic backend of the music app. Had to reset the app settings and add /apps/music/subsonic to the server URL.
Server settings:
Backend API: Subsonic
Server API Version 1.11.0
Client API Version 1.11.0

Playlists work fine this way - after some loading time though

@BLeeEZ
Copy link
Owner

BLeeEZ commented Jun 2, 2021

With this commit a14cd68 the API is selectable on the login screen.

@BLeeEZ BLeeEZ closed this as completed Jul 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants