PDA

View Full Version : About music streaming


Sellize
25/01/2013, 11:33 AM
Hey guys i want to make a radio system but whenever im not at the website where the song comes from it will not work, how can i make it so that it always works without my own host?

Blackazur
25/01/2013, 11:37 AM
With MP3 like this, here an example:

PlayAudioStreamForPlayer(playerid,"http://mp3-live.dasding.de/dasding_m.m3u");

James Coral
25/01/2013, 11:38 AM
all radios: http://www.shoutcast.com/

have fun :D

Sellize
25/01/2013, 11:39 AM
all radios: http://www.shoutcast.com/

have fun :D

I want to use my own music

Sellize
25/01/2013, 03:42 PM
Please guys? ive been looking everywhere

SKAzini
25/01/2013, 04:34 PM
Use Dropbox to upload an .mp3 music file, get the public link and paste it in PlayAudioStreamForPlayer.

SilverKiller
25/01/2013, 04:35 PM
Upload Your .mp3 in DropBox.com, When you upload it right click on it and click share link, then when the tab opens copy the URL and make sure there is .mp3 at the end of it, then make dropbox.com in the url dl.dropbox.com

Example :

PlayAudioStreamForPlayer(playerid, "https://dl.dropbox.com/s/fa5jtpuf2eae0hm/Jingle%20Bells.mp3");

Hope i helped :)

EDIT: I did this so late :( when i was writing the answer the person above me answered damn.

Sellize
26/01/2013, 08:17 AM
I'm doing it via dropbox now ,it works fine when im one the stream website but when im not it does not play...


Upload Your .mp3 in DropBox.com, When you upload it right click on it and click share link, then when the tab opens copy the URL and make sure there is .mp3 at the end of it, then make dropbox.com in the url dl.dropbox.com

Example :

PlayAudioStreamForPlayer(playerid, "https://dl.dropbox.com/s/fa5jtpuf2eae0hm/Jingle%20Bells.mp3");

Hope i helped :)

EDIT: I did this so late :( when i was writing the answer the person above me answered damn.

SKAzini
26/01/2013, 08:24 AM
You must upload it to the Public folder and then get the link, it won't work in the Private folder.

SilverKiller
26/01/2013, 11:45 AM
I'm doing it via dropbox now ,it works fine when im one the stream website but when im not it does not play...

Make sure you have dl.dropbox.com in the URL and .mp3 at the end of the URL and also make sure it is public.

zProfessional
26/01/2013, 11:52 AM
try to use my simple tutorial might help you look http://forum.sa-mp.com/showthread.php?t=395408