Sharing broken with Airsonic?
Hi there,
I'm using the newest version of Dsub and Airsonic. When I try to share an album from DSub, I get a link like the one below. http://host.com/share/yWOuL Following this link only brings up a 404 error.
When I share the same album using the official subsonic app, I get a link like the one bellow. This one is working. http://host.com/ext/share/UjOlk?jwt=eyJ0eXAiOiJKV1QiLCJurGciOiJIUzI1NiJ9.eyJwYXRkewoiL2V4dC9zaGFyZS9VVU9sayIsImV4cCI6MTYxMDQ2MzA1Mn0.s3McUFS7HOjfv78t_V4xWhMGdhLbqL8wF_82ixqGBt8
Is there anything I can do to get the full link from DSub? Is it a bug?
All the best,
Faeb35
I can replicate the same issue, except one difference.
Mobile app creates link: https://host.com/share/SNBYE Share link via browser: https://host.com/ext/share/SNBYE?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhbm9ueW1vdXMiLCJwYXRoIjoiZXh0L3NoYXJlL1NOQllFIiwiaXNzIjoiYWlyc29uaWMiLCJleHAiOjE2NjE5NTQ3MDd9.Ze0qXjXyQpy6005yqQDLgIBMqwKOuwZrA8PK0uBROeY
So it seems to me that the link being created (or returned) is missing everything including and after the "?" char in the link (example: "?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhbm9ueW1vdXMiLCJwYXRoIjoiZXh0L3NoYXJlL1NOQllFIiwiaXNzIjoiYWlyc29uaWMiLCJleHAiOjE2NjE5NTQ3MDd9.Ze0qXjXyQpy6005yqQDLgIBMqwKOuwZrA8PK0uBROeY"
AND changing the share link structure from https://
Although I have no experience developing with this application, I do have a bunch of experience with Android & iOS development, so I plan on looking into this ASAP. It's going to take me a minute to see if this is simply related to the app creating the link or what the app is getting back from the server when creating a link & if there are differences between Subsonic/Airsonic/Airsonic-Advanced.
Having file sharing working properly would be awesome from the mobile app so I shall investigate some. I am confirming that this is a bug.
My setup is as followed: Hardware: Raspberry Pi 4 running Raspberry Pi OS (64-bit) Debian version: 11 (bullseye) - headless setup Airsonic-Advanced in docker: airsonicadvanced/airsonic-advanced:latest https://github.com/airsonic-advanced/airsonic-advanced Version: 11.0.0-SNAPSHOT.20220625052932 - https://github.com/airsonic-advanced/airsonic-advanced/releases/tag/11.0.0-SNAPSHOT.20220625052932
DSub version: DSub.5.5.3-google-release.apk - https://github.com/daneren2005/Subsonic/releases/download/5.5.3/DSub.5.5.3-google-release.apk