Is This Possible Somehow?
#1

I'm trying to play audio from my computer but it doesn't work, is this possible somehow?
Note: I don't want to upload the files, just asking if i can do it this way.

Quote:

PlayAudioStreamForPlayer(playerid, "C:\playlist.pls");

I won't forget to +Rep.
Reply
#2

not sure but.... try installing wamp and then put the playlist.pls in www folder of wamp. then set PlayAudioStreamForPlayer(playerid, "localhost\playlist.pls");
Reply
#3

http://www.shoutcast.com/broadcast-tools
You need to host a radio it will be like IP:PORT/listen.pls
Reply
#4

Don't know if wamp is same as winamp, i tried on winamp using shoutcast, it works but i don't want to run winamp, the audio file will play only for me, i don't want it to play for everyone. Sorry guys. Any ideas?
Reply
#5

Quote:
Originally Posted by Chrisspartan
Посмотреть сообщение
Don't know if wamp is same as winamp, i tried on winamp using shoutcast, it works but i don't want to run winamp, the audio file will play only for me, i don't want it to play for everyone. Sorry guys. Any ideas?
PlayAudioStreamForPlayer(playerid, "radio url or IP\playlist.pls");
Reply
#6

Quote:
Originally Posted by Chrisspartan
Посмотреть сообщение
Don't know if wamp is same as winamp, i tried on winamp using shoutcast, it works but i don't want to run winamp, the audio file will play only for me, i don't want it to play for everyone. Sorry guys. Any ideas?
Wamp is a webserver, while winamp is a media player.
Reply
#7

You can install wamp server and put your music in www folder (or make another subfolder for ir)
Than just check your ip and do it like

PlayAudioStreamForPlayer(playerid, "http://YOU_IP/songname.mp3");
Reply
#8

Thank you all. I added plus to everyone's reputation.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)