Closed lemieuxl closed 2 years ago
Thanks for your report. I checked the API specs and noticed there are many more changes to the Ampache5 API than I thought. Currently this is not working correctly, so you should downgrade to Ampache4 if possible.
The Media Error Occurred is most likely due to the Current Playlist that is partially loaded due to the update. If you are able to start the playlist again from the menu, it should be solved.
I will check what I can do short-term to fix the problem with Ampache5 compatibility!
I reinstalled SubMusic 0.1.19 from scratch and selected the playlist (from Ampache 4.4.3). I could see my playlists and I could select one. When choosing Sync right after selecting the playlist (meaning I went back and clicked Sync right away), I still get the "Media Error occurred".
I exited the app and came back to click on Sync, and now it is actually synching.
I'll wait for an update before switching to Ampache 5.
Thanks!
Thanks for your quick response! I will check if I can see more details on your error later.
I have opened an issue on API version compatibility at the Ampache repository ampache/ampache#3062.
Still not concluded whether to support Ampache5 quickly or delay it, as not all servers support it yet (owncloud/music#909). Also it is inconvenient for users to manually switch SubMusic between Amapche4 and Ampache5 backend.
I did find a small bug where AmapacheError's cannot be recognized anymore and crashes SubMusic. I will update the app shortly (fixed in 3e9d5a788897fc8e05af49e94629279b92a0bc82).
Thanks for the update. No rush for Ampache5; I've got two instances running at the same time (versions 4 and 5).
Just let me know if you want me to test SubMusic with Ampache5 in the future.
multi api support is just in Ampache develop and will be releasing with 5.2.0
@lemieuxl Were you able to try the new Ampache 5.20 and verify it's working?
I'll try 5.2.0 once it's released (as it's easier for me to use the released archive which contains all dependencies). I'll let you know.
if anyone wants to test https://develop.ampache.dev/ follows the latest branch and user/pass is demo/demodemo
I successfully synched a small playlist from the development server (https://develop.ampache.dev/) with SubMusic version 0.1.23. It was slower than normal though (I'm guessing because it's a slower server than what I'm used too).
If it's OK, I'll wait for the official 5.2.0 release before closing this issue.
5.2.0 is out now https://github.com/ampache/ampache/releases/tag/5.2.0
Sync (SubMusic 0.1.23) works with the official 5.2.0 release. Thanks!
Since the update to SubMusic 0.1.19, I'm unable to sync any music to my Venu 2.
At first, I wasn't able to sync my song playlist using Ampache 4. I always got a "Media error occurred". So I installed Ampache 5.
I get a
ApiError: BADRESPONSE
when I try to select a playlist. I get the same error when trying to test the server. "Show server settings" shows the correct URL and the Ampache version.