download a mp3 file stored on Google Drive

Shai Cohen's icon

How to download with Max a mp3 file stored on Google Drive?
Shai

Source Audio's icon

as first read google tutorial on creating public shared download link
Then try for example jit.uldl to download the file.

Shai Cohen's icon

Thanks, already read... It's not so simple.
Please see https://developers.google.com/drive/api/v3/manage-downloads

Shai Cohen's icon

This link work from the Chrome:


https://drive.google.com/uc?export=download&id=1dn4XcHIjNQIUaVqaGuZ_qi_GURGyNSiF

not working with - jit.uldl ?

Source Audio's icon

I guess it is due to max using CEF framework.
I can for example play mp3 from Google Drive
using jweb on max 6, on new max versions that use CEF framework,
it works only if one runs nonCEF version of max runtime.
At the end google drive is pain in the ass to use,
one could try some other web storage.
And in max on could use message
;
max launchbrowser https://drive.google.com/uc?export=download&id=1dn4XcHIjNQIUaVqaGuZ_qi_GURGyNSiF
That would open default browser and download the file
if browser is set to do so

Shai Cohen's icon

Thanks that's a good idea!
My project aims to ask the performers to go to Cloud Audio Recorder (https://imclient.herokuapp.com/audiorecorder/) so I can get it straight into Max buffer.

Source Audio's icon

AND - jit.uldl does download the file, but
does not name it properly.
If one adds .mp3 to downloaded file, then it plays

Shai Cohen's icon

Not working for me..
What is the message you attaching jit.uldl

Source Audio's icon

Just append name you want:
download https://drive.google.com/uc?export=download&;id=1dn4XcHIjNQIUaVqaGuZ_qi_GURGyNSiF xxx.mp3

Shai Cohen's icon

Thanks!