cozy icon indicating copy to clipboard operation
cozy copied to clipboard

Cloud drive streaming and download support

Open tomzi8571 opened this issue 6 years ago • 3 comments

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:

  • When I start up the app, cozy queries all connected cloud services
  • I new files are found, do a shallow import, meaning do not download the whole audio book, but only the metadata, like books, chapters, picture and mark the book with a 'cloud symbol'
  • If click-to-play a cloud service album, start playing the album. There are two modes possible: -- if the cloud service supports it - stream the album, without downloading the files -- if streaming is not support it download the album and play it
  • An album, that is marked as 'accessible via cloud service' (the cloud symbol is showing) can be downloaded locally.
  • If I delete an album from cozy, ask if I want to also delete the locally downloaded files, but do not delete it from the cloud service
  • Keep a status of what and how much I listened in all played albums on all the cloud services that are connected (in some xml or json file) such that on other computers/laptops/phones I can pick up where I left -- Nice to have would be to support status files with certain other mobile apps, so I can use prominent app xyz on android/iOs/windows PC and keep in sync :)
  • Support adding / deleteing / editing of cloud services in the preferences

tomzi8571 avatar Feb 11 '19 12:02 tomzi8571

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 [email protected] 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.

geigi avatar Feb 11 '19 12:02 geigi

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 :)

tomzi8571 avatar Feb 11 '19 12:02 tomzi8571

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 :)

geigi avatar Feb 11 '19 17:02 geigi