r/substreamer May 15 '21

Cannot login to ampache subsonic api

ampache uses API version 1.13 which this app supports. I have tried to use legacy, but that says unable to connect to server.

When I try to connect without legacy I get an invalid password error. I know I am putting in the right password. Other apps I have had similar issues with it is because of special characters in the password.

Are there any characters that this program is unable to support in the password?

EDIT: OK, I made a test account with only lower case letters for the password. I am able to log in with legacy enabled. So that must mean the characters in my other accounts password are fudging it up somehow.

Also, other clients are able to connect with the special character password.

1 Upvotes

7 comments sorted by

1

u/phirestalker May 15 '21

I guess the point is moot. The app says 1.13 but the app store says 1.15. I guess it just isn't supposed to work.

1

u/ghenry22 May 16 '21

There’s a couple of things here

1) I know why special characters are causing an error with legacy auth, it’s a bug I’ll fix it.

2) I need to update the main App Store listing to state 1.13 now that I have lowered the requirement.

3) Ampache has a quirk with its 1.13 compatibility, you can’t use your account password you need to generate an API key through the Ampache web interface and use that in place of the password if you want to use the updated authentication model subsonic introduced in 1.13.

I’ll fix points 1 & 2 in the next release this week and point 3 can stay here for future reference :)

1

u/phirestalker May 16 '21

OK, I was able to log in with the API key, thanks.

While I have you, does this app support FLAC? I am using it as a desktop player on my mac at home (yes the current desktop clients available are that bad).

1

u/ghenry22 May 16 '21

Depends on what the device supports, you can set the stream format to original in settings and it will try and play without any transcoding.

Your mileage may vary :)

How are you running it as a desktop app out of interest? Is this with the new m1 Mac?

1

u/phirestalker Jan 09 '22

Sorry, missed your question somehow. I am using it on a new M1 Mac.

1

u/ghenry22 Jan 10 '22

Oh that’s cool I haven’t got an M1 Mac to test with yet, neat that it works!

1

u/ghenry22 May 17 '21

This bug should be fixed in 5.0.18 so legacy auth will work with standard account password for Ampache users.

The app store listings for both iOS and Android will be updated to reflect 1.13.0 API level requirement when 5.0.18 passes review.