enricocid / Music-Player-GO

🎢🎼 Very slim music player πŸ‘¨β€πŸŽ€ 100% made in Italy πŸ•πŸŒ³πŸŒžπŸπŸŒ„
GNU General Public License v3.0
1.75k stars 213 forks source link

[FR] Cloud Storage abilities #420

Open COTYWALT opened 2 years ago

COTYWALT commented 2 years ago

Hello, there are many apps on the playstore (such as Spiral Player, I use) that allow you to connect to your Google Drive, DropBox, etc and stream music from the cloud. I have many TBs of music that cannot be stored locally and I use Spiral as mentioned to play my music, as they are all in FLAC and too big to be on my phone. It's UI is pretty bad but looking at MusicPlayerGO, it's beautiful but lacks support for this. If possible, request this sometime in the future if you are able too. Thank you!

OxygenCobalt commented 1 year ago

Google Drive and DropBox are proprietary platforms that would disqualify the app from F-Droid if support were to be implemented for such. I think SoundPod/Subsonic (Whatever the protocol is called) is the more feasible option @enricocid.

stokito commented 1 year ago

The WebDAV should be not too hard to implement. I using the https://www.cloudbeatsapp.com/ to listen music but it's not open source. So it would be really great if you can support it.

Here an instruction how to setup the webdav on a router with OpenWrt: https://openwrt.org/docs/guide-user/services/nas/webdav

OxygenCobalt commented 1 year ago

If it doesn't support Subsonic, it's more or less impossible to implement without an obscene amount of effort reverse-engineering the API, in which you could then run into legal troubles for because copyright law is atrocious. Not that supporting Subsonic would matter anyway, as streaming players and local players have completely differing architectures.

stokito commented 1 year ago

I don't know that is the Subsonic and we may need it. I'm not sure but the FDroid should be fine if the app supports Dropbox/Google but anyway here I proposing just a WebDAV. I forgot to mention that many people have a NextCloud/ownCloud which are also WebDAV based API.

Also https://diffuse.sh/ is an online PWA to play a music and I going to try to use it as a player on Android.

OxygenCobalt commented 1 year ago

I've never really heard about WebDAV, honestly. Issues regarding network-based playback still apply however.

stokito commented 1 year ago

The WebDAV is an extension to HTTP that allows to list files in directory (PROPFIND method). So it's the simplest and cheapest way to create a shared folder on web.