Garry's Mod

Garry's Mod

3D Stream Radio
Toto téma bylo uzamčeno
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.
Naposledy upravil logan2611; 29. říj. 2014 v 14.24
< >
Zobrazuje se 19 z 9 komentářů
Grocel  [vývojář] 30. říj. 2014 v 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.
Naposledy upravil Grocel; 30. říj. 2014 v 6.44
With google drive I think you can make it so that the sharing option says it is public. If that is what you mean.
Naposledy upravil logan2611; 30. říj. 2014 v 16.58
Grocel  [vývojář] 31. říj. 2014 v 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.
I have tried that already and it said File is unsupported. :(
Grocel  [vývojář] 31. říj. 2014 v 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.
Naposledy upravil Grocel; 26. pro. 2018 v 6.08
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
Naposledy upravil logan2611; 31. říj. 2014 v 16.44
Grocel  [vývojář] 31. říj. 2014 v 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.
Alright i've got it working with dropbox. Thanks
Grocel  [vývojář] 26. pro. 2018 v 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.
< >
Zobrazuje se 19 z 9 komentářů
Na stránku: 1530 50