Support for Google Drive as Storage?

I keep my music stored in a folder hierarchy on Google Drive and I’d love to be able to have it more readily available/more easily synced with my Roon Nucleus+.

Specifically, what I’d like is to be able to mount my Google Drive as a Storage mount (eg, using https://github.com/astrada/google-drive-ocamlfuse) which would then automatically cache the data on my external storage device.

Currently, I’m keeping this in sync by mounting Drive on my Windows machine with Google Drive’s Backup and Sync client and occasionally copying the folder over to the Nucleus+'s SMB share, skipping existing files.

The primary reason I’d like to have this feature is that I need access to my music locally when not on my home network - hence my use of Google Drive’s Backup and Sync. I use it to DJ dances (or did/will pre-/post-corona) and can’t rely on a network always being available wherever I DJ.

Edit#1: Noted why I need such a feature.

2 Likes

I’ve moved this to Feature Requests as this seems to be a new feature request.

3 Likes

This would be pretty cool. I know Roon integrates with Dropbox already, but I have just assumed that this is streaming only…no folder sync’ing.

2 Likes

How do you find the performance of this? When we did Dropbox support a few years ago, we also did GDrive, but it was so slow we decided not to ship it. Dropbox is pretty slow too, but GDrive was like 10x slower.

We tried to do Dropbox for holding the music too, but they were so brutal on copyright enforcement that it made the feature worthless. Even in the backups, we have to obfuscate the data… a Roon database backup can contain album artwork that they mark as copyrighted and do not let you download it. It means corrupt backups. Funny thing was that the first cover they dinged as copyrighted was a free download from Trent Reznor.

4 Likes

Sorry for not putting this under Feature Requests - I wasn’t sure if you wanted to ship this for all of Roon or just for Roon Nuclei devices, since non-Nuclei devices can set up Drive Backup and Sync (or the aforementioned google-drive-ocamlfuse) and then add the appropriate (sub)folder under “Storage”.

How do you find the performance of this?

I honestly don’t know how the performance is if you’re trying to stream files. The advantage of using something like google-drive-ocamlfuse is that it locally caches file contents and only re-syncs them on updates. This results in far better latencies than trying to stream things live, but also means that you need enough local storage to be able to handle the cache.

We tried to do Dropbox for holding the music too, but they were so brutal on copyright enforcement that it made the feature worthless.

I haven’t had any issues with copyright enforcement with Google Drive.

You know, I really appreciate these little nuggets you share from time to time… they make understanding why things are how they are so much easier (not sarcasm, lol).

3 Likes

I would like to be able to sync my library up and down to back it up to other cloud services. Not sure streaming from them is a good idea though. But adding gdrive, one drive etc would be handy, just having one provider is not great. Currently have to use my Nas to do this.

You can do this with OneDrive. Have a music folder set up in your local OneDrive hierarchy on Windows, and then set this as a Watched Folder in Roon.

Alternatively, use the OneDrive music folder as a second backup for your music files, then you don’t use it as a Watched Folder.

1 Like

Yes, that’s exactly what I am doing. Works great. I am a Microsoft 365 subscriber. €69 a year for 1TB cloud storage, Word, Excel, PowerPoint, lots of free Skype minutes and more. Has to be one of the best deals around.

I dont use windows for music playback so not much use, I use ROCK for my core and the music location so being able to back it up would be beneficial and my database to at the moment, my nas pulls data from ROCK and then uploads it. As i subscribe to Office 365 I get the storage at a good rate for all the family so dont need or want to use Dropbox as well. They all offer apis for connecting to these services so I dont get why Roon only has Dropbox,

Limited development and support resources versus an ever-increasing list of feature requests, I would guess.

You can do this with OneDrive. Have a music folder set up in your local OneDrive hierarchy on Windows, and then set this as a Watched Folder in Roon.

You’re absolutely right, so long as you’re hosting Roon on say a Windows/MacOS box. On those you can pretty much set this up for any/every cloud storage host that has a client which locally caches data (eg, Dropbox, Google Drive, OneDrive, and I think Box, too, although I’m not 100% certain on that). Hell, you can even set up a cron’d rsync task to do this if you wished.

However, this request specifically is for the Roon Nucleus/Nucleus+. I’m not sure there’s a way I can set this up myself on my Nucleus+ without ssh access and more in-depth knowledge of the OS. I like the hardware itself, but the lack of flexibility may result in me returning it and setting up a Mac Mini or something similar. :frowning:

I used the example of having a Watched Folder set up for network access to a Windows machine acting as a NAS. That would work, and I could do it here at home, but I don’t like using a NAS with my ROCK/NUC, therefore I would fall back to the concept of using the OneDrive folder as a Backup for my music files.

I used the example of having a Watched Folder set up for network access to a Windows machine acting as a NAS.

Aah, I see what you mean. That would absolutely work if I had an always-on machine other than the Nucleus+. Unfortunately, limited space apartments kinda suck so all I really have that I can use for this is my personal laptop which isn’t always booted. When it is booted, it’s not always booted into Windows (I dual-boot Windows and Kubuntu). I got the Nucleus+ specifically because (1) I could hide it easily behind my TV on top of my PS4 and (2) it requires very little (if any) setup/maintenance work from me :smiley:

1 Like

Im thinking about trying this. I have 25tb+ Flac.
Have anyone tried this?
Dont you get API bans from google doing this?
Is it fast or do you have to wait long between songs?

Thanks!

Not sure about 25TB but I recently upgraded my Google One service to 2TB (to replace my Amazon storage) and just pointed the Google backup and sync app to my Music folder (it’s about 750GB) and is also backed up to OneDrive and went up and backs up perfectly.

Was surprised how quickly the data went up and it syncs faster than OneDrive which also surprised .

(I can only aspire to 25TB but I have gone back to working hard on this)

I was thinking of moving all my music to google drive.
i run backup locally and then i have a cron job that copies it to google drive :slight_smile:

1 Like

Serious question: Can anyone give a case why I should pay $9.99 for 2TB to backup my FLAC’s instead of putting that money toward an all you can eat lossless streaming service?

Mike that depends, for me only a portion of my money goes to music backup, it really provides cloud storage for my extended family for the year at an annual cost of £79.99 (or whatever it was for 2TB) so that’s music, photos, videos and documents for 6 people. So I look at it as being a bargain (and a reduction in technical support queries if everything is already stored in the cloud).
If you don’t need it you don’t pay. Google gives you 15GB as opposed to Apple’s 5GB, but we are heading into a world where you pretty much have to pay at least one ferryman

Because they have gaping holes in their catalogues, constantly loose albums and move them about. Also you get to choose what version and quality it is and not have to put up with what your given , which with Tidal is becoming a very contentious issue if your not in a Qobuz zone. It also allows you access to your files anywhere and without having to open up security holes in your own network to get access to them remotely.

1 Like