Garry's Mod

Garry's Mod

3D Stream Radio
Denna tråd har blivit låst
logan2611 28 okt, 2014 @ 18:21
Add Google Drive/Dropbox Support?
So maybe this is a glitch, but it doesn't seem like it since everytime I try to play something from my google drive or dropbox accounts it read unsupported file format, despite them being in mp4 and mp3 format. I have tried renaming it to one word and tried other formats as well.
Senast ändrad av logan2611; 29 okt, 2014 @ 14:24
< >
Visar 1-9 av 9 kommentarer
Grocel  [utvecklare] 30 okt, 2014 @ 6:36 
You have to use public URLs to the file. There can't be a Google Drive/Dropbox account support, because the API GMod provides can't.

Dropbox has a public folder. So you can move things there. Im not sure about Google Drive, though.
Senast ändrad av Grocel; 30 okt, 2014 @ 6:44
logan2611 30 okt, 2014 @ 16:57 
With google drive I think you can make it so that the sharing option says it is public. If that is what you mean.
Senast ändrad av logan2611; 30 okt, 2014 @ 16:58
Grocel  [utvecklare] 31 okt, 2014 @ 5:31 
The important thing is that you have to have an URL that hot links to the file that would works for everyone who would click it.
logan2611 31 okt, 2014 @ 15:39 
I have tried that already and it said File is unsupported. :(
Grocel  [utvecklare] 31 okt, 2014 @ 15:54 
When you enter that link in the browser, does it direct you to a page with a download button or "please wait" on it or does it start the file download immediately?

When the URL leads to the said webpage, than the radio will have the error "file is unsupported", because it tries to play a HTML file.
Senast ändrad av Grocel; 26 dec, 2018 @ 6:08
logan2611 31 okt, 2014 @ 16:44 
It goes straight to the file, however it doesn't seem to play automaticly:
https://drive.google.com/file/d/0B4kZYJzDAur2RUYyR0hYR1dIWk0/view
For an example
Senast ändrad av logan2611; 31 okt, 2014 @ 16:44
Grocel  [utvecklare] 31 okt, 2014 @ 17:08 
This leads to a webpage with a player or something on it which is not(!) the file itself. I don't think it wont let you hot link with a static URL to the file, so you can't play it with the radio via Google Drive. You should try Dropbox instead then.
logan2611 31 okt, 2014 @ 19:02 
Alright i've got it working with dropbox. Thanks
Grocel  [utvecklare] 26 dec, 2018 @ 6:11 
Because someone was asking: Drobbox has removed the public folder. However you can mark single files as puplic instead. You get a puplic URL you can use for playback if it doesn't lead to a splash/download page.
< >
Visar 1-9 av 9 kommentarer
Per sida: 1530 50