-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add support for Funkwhale #45
Comments
Hi,
|
Terrific!
Yes, you could say I'm the maintainer :)
We do have an API documentation that list the supported endpoints, but I'd recommend using the one at http://www.subsonic.org/pages/api.jsp, since we used this one as a basis for our implementation. I'm not 100% sure of the endpoints you'll need to implement in the context of a Fuse FS, but possibly:
To ensure backward compatibility, you may want to provide a CLI flag like
Sure! You can use https://demo.funkwhale.audio for your tests (credentials are demo and demo). The server is reset every few hours. |
Cheers, I will let you know when I get some more done. It should be fairly easy. While you are here, I do think that this project might be suffering from a bit of feature bloat - it was originally designed for mounting HTTP directory listings, now it supports Subsonic API as well. It is really bad for advertising purposes - what am I meant to say to people, when they ask me what this software does? Do you reckon I should fork/split the software, so there is one software that supports HTTP directories only, and another one that supports Subsonic API? The only reason these two features exist in one software, was because it was easier to add support for Subsonic API on top of existing code, than doing everything from scratch. @jcharaoui said similar thing over the email as well. |
@EliotBerriot, are these valid? https://docs.funkwhale.audio/swagger/ |
That's a hard question :D To be frank, I'm not familiar enough with the project to give a definitive answer, but I kind of understand why Subsonic support doesn't sound like a core feature of That being said, eventhough An option could be to consider the
Since all the CLI flags are namespaced under
This are valid docs, but for our non-sonic API. If you're willing to implement ID3-based Sonic endpoints, you shouldn't use these. |
@EliotBerriot Funkwhale's Funkwhale produces: Could you file a bug report please? |
@EliotBerriot, Funkwhale's output the following API call are not the same as the ones spit out by Subsonic / Airsonic:
Other than the difference of I am not sure if I want to add something specifically for Funkwhale, mainly due to the lack of API documentation from Funkwhale. I don't think pointing me to Subsonic's API documentation is sufficient, as Funkwhale's output is sufficiently different. I am happy to add support for Funkwhale, if
|
Thank you for having a look @fangfufu! I'll fix the |
@fangfufu this is the corresponding MR on our side: https://dev.funkwhale.audio/funkwhale/funkwhale/merge_requests/943 Once it's reviewed and merged, it will be deployed ~6 hours later on https://demo.funkwhale.audio. Let me know if you need anything else :) |
@EliotBerriot , your requested feature is added in c2be88c. I note that your demo server still hasn't been updated for my requested changes. I wrote some code to compute the required Finally, your server's return header does not have |
The update has been deployed on https://demo.funkwhale.audio, and I confirm this is working with the latest version of httpdirfs 🎉 Thank you so much @fangfufu, I'm going to update our website ensure it includes proper link to your project! |
@EliotBerriot , thanks! Advertising are much appreciated! 😊 |
Hi there! I'm just discovering
httpdirfs
through the *Sonic support, and it's really interesting.I've tried it with Funkwhale (an audio streaming server I work on), since Funkwhale implement a subset of the Subsonic API. However, it doesn't work as
httpdirfs
rely on non-ID3 based subsonic endpoints (and Funkwhale only supports ID3 based endpoints).As per the subsonic documentation:
Would you be interested by bringing compatibility with ID3 based Subsonic servers? Unfortunately, I cannot help with the code itself (not a C dev), but we have an open demo server (https://demo.funkwhale.audio) you can use for your tests, and I'm available if you want to discuss this further.
I'd also be happy to add
httpdirfs
to https://funkwhale.audio/apps/ if we manage to make this work :)Anyway, thank you for the great project!
The text was updated successfully, but these errors were encountered: