Closed StephenAtty closed 3 years ago
Seems like different implementations of Subsonic-compatible APIs have some changes in the details as well. It worked with just ping
on other implementations I was testing recently. :)
I'll get it fixed, thanks for reporting it!
Please test with https://github.com/midwan/MB_SubSonic/releases/tag/v2.31 and let me know if there's still a problem with your server.
That worked - it connected and pinged OK.
there seem to be problems with browsing the server and getting it to play music - but I suspect that might be MusicBee rather than your plugin as it behaves in the same way accessing music on the hard drive.
Edited to add : It looks like it doesn't play any music - it just doesn't seem to make a request to server for a file when you click on it.
The Music Bee logs show
15/03/2021 21:12:29 - 10.0.19042.0 - 3.3.7491.38139D - url: Subsonic:\Comedy\«Weird Al» Yankovic\1993 - Alapalooza\12. Bohemian Polka.mp3
System.IO.FileNotFoundException: Unable to find the specified file.
at #=zFBGfWvs73zYNSzy7EvKeWJc=.#=ziUdoE$2437RH(#=zviklR8BoDfOR #=z82OCl2E=, #=zvsbGkPuYno1YawWbv3PjwUU= #=z1YTLb0c=, Boolean #=zxoxXcl9XARYVsk37qA==, Boolean #=zyw$OknVZ0giV, Boolean #=ziEx3FaeOEo9e, Boolean #=zgjHK3$_EzGRI, Int32 #=zZud9ozhcJdNY)
at #=zFBGfWvs73zYNSzy7EvKeWJc=.#=zSExc2QoOkxGy(Object #=zhzf1dzQ=)
Describe the bug Running against Ampache 4.3.0 returns an error when trying to ping the server
To Reproduce Steps to reproduce the behavior:
Expected behavior I'd expect ping to work. Subsonic clients on my phone do not have this problem
Screenshots
Additional context Apache logs show:
[13/Mar/2021:14:36:25 +0000] "GET /rest/ping?u=steve&t=2e42fb6bc9e857f616e107c2e79c6390&s=09b00b97625e54911934&v=1.13.0&c=MusicBee HTTP/1.1" 404 281
which suggests that the wrong url is being called - shouldn't this be ping.view
Ultrasonic makes the following call for ping:
[13/Mar/2021:14:41:51 +0000] "GET /rest/ping.view?u=steve&c=Ultrasonic&f=json&v=1.7.0&p=enc:46616C636F6E31323334 HTTP/2.0" 200 84 "-" "okhttp/3.10.0"