geigi / cozy

🎧 Listen to audio books 📚 on Linux
https://cozy.sh
GNU General Public License v3.0
1.12k stars 88 forks source link

Cloud drive streaming and download support #150

Open tomzi8571 opened 5 years ago

tomzi8571 commented 5 years ago

Feature description

Most of us, I guess, already have lots of audio books, which we sync into the cloud so that the mobile app can pick it up automatically. I am using 'OneDrive' and 'Mega' and my mobile app 'Audiobooked' imports audiobooks from there

It would be great of cozy would also support cloud drives :)

Most of the cloud drive services use easy to use api's, so guess it's pretty straight forward to implement sth like that.

I'd imagine following:

geigi commented 5 years ago

You can do this already by using a desktop sync app by your cloud provider. There is no support for cloud providers in Cozy needed for this. The desktop sync app syncs your selected folders to your computer and cozy can pick it up right from the hard drive.

Many providers do have linux clients (like Nextcloud for example) or there are open source implementations available (as there are for OneDrive).

I’m afraid that I’m not going to implement support for cloud providers into cozy that don’t have a linux client, as it would be way to much work, and I also don’t see Cozy responsible for doing this kind of thing.

On 11. Feb 2019, at 13:31, tomzi8571 notifications@github.com wrote:

Feature description

Most of us, I guess already have lots of audio books, which we sync in to the cloud so that the mobile app can pick it up automatically, I am using 'OneDrive' and 'Mega' and my mobile app 'Audiobooked' imports audiobooks from there

It would be great of cozy would also support cloud drives :)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/geigi/cozy/issues/150, or mute the thread https://github.com/notifications/unsubscribe-auth/AIr5q58GZ_F4zKjqCZrzEnltVomhs7N2ks5vMWKUgaJpZM4a0Fyh.

tomzi8571 commented 5 years ago

You can do this already by using a desktop sync app by your cloud provider. There is no support for cloud providers in Cozy needed for this. The desktop sync app syncs your selected folders to your computer and cozy can pick it up right from the hard drive. Many providers do have linux clients (like Nextcloud for example) or there are open source implementations available (as there are for OneDrive). I’m afraid that I’m not going to implement support for cloud providers into cozy that don’t have a linux client, as it would be way to much work, and I also don’t see Cozy responsible for doing this kind of thing. On 11. Feb 2019, at 13:31, tomzi8571 @.***> wrote: Feature description Most of us, I guess already have lots of audio books, which we sync in to the cloud so that the mobile app can pick it up automatically, I am using 'OneDrive' and 'Mega' and my mobile app 'Audiobooked' imports audiobooks from there It would be great of cozy would also support cloud drives :) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#150>, or mute the thread https://github.com/notifications/unsubscribe-auth/AIr5q58GZ_F4zKjqCZrzEnltVomhs7N2ks5vMWKUgaJpZM4a0Fyh.

My main feature request here would be the streaming support, which some of the linux services do not support. Also having several service being supported by an app is way more comfortable. It seems there already exists ready to use Python api's for several cloud services...

But I do get that maintaining functionality with the different cloud services can also be a bit of an effort :)

geigi commented 5 years ago

I just saw your detailed explanation of your idea, first thanks for that! I see that this would be a very comfortable way when you store the audiobooks in the cloud. I also like your thoughts about the UI integration / functionalities.

A thought that came to my mind: I currently don't know how the metadata download can be handled as it is embedded into the files. Maybe the metadata is always stored at the beginning of the file which would make this a lot easier. But you can't be sure how big the metadata is as the cover image can have any size.

If you just found this issue and you use a setup like this, please leave a thumbs up at the original issue post so I get a picture of how many of you would like to see this :)