tizonia / tizonia-openmax-il

Command-line cloud music player for Linux with support for Spotify, Google Play Music, YouTube, SoundCloud, TuneIn, iHeartRadio, Plex servers and Chromecast devices.
https://tizonia.org
GNU Lesser General Public License v3.0
1.69k stars 86 forks source link

Airsonic/Subsonic support #496

Open llucps opened 6 years ago

llucps commented 6 years ago

Hi Juan,

Have you given a thought to support Subsonic API ? I have my own server using Airsonic which is a free software version of Subsonic and as a desktop client I use Clementine, and I have to say all works pretty good.

But I would love to be able to use a music player in the terminal, and as far I know there is no music player that supports Airsonic for terminal.

On android there are mainly three apps specifically for Subsonic/Airsonic servers, one is called Dsub, then Ultrasonic and Audinaut.

What do you think? is it feasible?

Thanks and congrats for your project!

tizonia commented 6 years ago

Hi!, thanks for stopping by.

I would love to have support for Subsonic/Airsonic in Tizonia. Actually I'm not super familiar with Subsonic, but in general, new services are easy to add if there is a decently maintained API wrapper written in Python.

I believe this project could be a candidate: https://github.com/spl0k/supysonic. Do you know of any other such projects?

Currently, I'm busy bringing Spotify Web APIs to repair Spotify playback, and Pandora is also in my todo list. But Subsonic integration into Tizonia could potentially be an easier project, which I could help with, if someone wanted to contribute.

llucps commented 6 years ago

Hi Juan,

As much as I would love to help with it, unfortunatelly I'm not a developer, I'm an UI designer so I couldn't take the lead to implement it even if I wanted.

Yes, I was aware of supysonic, would it be a help for you? sorry to miss that one. A little bit of history, all started with Subsonic which was opensource until de developer decided to close it, then Libresonic was created as a fork, but apparently the developer has other intentions as well, and the community decided to fork again to what has become Airsonic which is GPL3.

All of them share the same Subsonic API, and Airsonic aims to keep it that way, so it's compatible with Subsonic.. so in theory any Subsonic/Libresonic clients work with Airsonic.

By the way are you Spanish? If so, hello from Barcelona :)

Thanks!

tizonia commented 6 years ago

Sorry for my delayed reply. Thanks for the background info. And no worries if you can't contribute code, maybe you can contribute some time for testing when the time comes :-)

Actually, supysonic is an 'implementation' of the Subsonic API, from a server point of view, which is not what Tizonia needs. What is needed is a Python module that wraps the API from a client perspective. I think that's what https://github.com/crustymonkey/py-sonic does.

py-sonic is now supporting only Python 3. Until now Tizonia contains Python 2 dependencies only. Going forward, Python 3 is going to be the only thing supported everywhere, so perhaps py-sonic is a good opportunity to investigate how to integrate with Python 3 as well.

And yes, I'm Spanish, can you tell where I am from? (hint: see the releases section)

KingDuckZ commented 4 years ago

I'm also interested in this. Sad to see that no one took the task since 2 years ago :(