SA-MP Forums Archive
Cant read .mp3? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Cant read .mp3? (/showthread.php?tid=415714)



Cant read .mp3? [SOLVED] - Arnoo - 14.02.2013

Hello. Im trying to create radio for my roleplay server.
I have it hosted and playing. But when I try let it work in Samp it doesnt work.
This is my radio station.
http://bayside.caster.fm/

And this is my code.

Код:
if (strcmp("/baysideradio", cmdtext, true) == 0)
    {
        PlayAudioStreamForPlayer(playerid, "http://bayside.Caster.fm/");
        return 1;
    }
I get a message it is playing but dont hear annything.
If you can help me I would be very thank full!


Re: Cant read .mp3? - Pangea - 14.02.2013

That url is for the webpage. You'll need to use the direct link to the actual stream. The same url you would use in your media player to listen to your stream.


Re: Cant read .mp3? - Djean - 14.02.2013

As said above you need an actual Link to the audio stream EXAMPLE : http://bayside.caster.fm/listen.mp3


Re: Cant read .mp3? - Arnoo - 14.02.2013

Would this work?
http://myradiostream.com/21/3308/listen.pls


Re: Cant read .mp3? - FanHamMer - 14.02.2013

You not have a .m3u file?


Re: Cant read .mp3? - Arnoo - 14.02.2013

Quote:
Originally Posted by FanHamMer
Посмотреть сообщение
You not have a .m3u file?
Whats that?


Re: Cant read .mp3? - nickdodd25 - 14.02.2013

Quote:
Originally Posted by Arnoo
Посмотреть сообщение
Yes a pls stream should work.


Re: Cant read .mp3? - Arnoo - 14.02.2013

Well it doesnt work :/
Do I need anny plug in?