About music streaming
#1

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?
Reply
#2

With MP3 like this, here an example:

Код:
						PlayAudioStreamForPlayer(playerid,"http://mp3-live.dasding.de/dasding_m.m3u");
Reply
#3

all radios: http://www.shoutcast.com/

have fun
Reply
#4

Quote:
Originally Posted by James Coral
Посмотреть сообщение
all radios: http://www.shoutcast.com/

have fun
I want to use my own music
Reply
#5

Please guys? ive been looking everywhere
Reply
#6

Use Dropbox to upload an .mp3 music file, get the public link and paste it in PlayAudioStreamForPlayer.
Reply
#7

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 :

pawn Код:
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.
Reply
#8

I'm doing it via dropbox now ,it works fine when im one the stream website but when im not it does not play...


Quote:
Originally Posted by SilverKiller
Посмотреть сообщение
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 :

pawn Код:
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.
Reply
#9

You must upload it to the Public folder and then get the link, it won't work in the Private folder.
Reply
#10

Quote:
Originally Posted by Sellize
Посмотреть сообщение
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)