nowofresh Posted December 27, 2010 Posted December 27, 2010 How Can i stream music to MTA: SA 1.1 ? ... :7188/listen.pls Can I stream use link like this ? Pls help.
Discord Moderators Zango Posted December 27, 2010 Discord Moderators Posted December 27, 2010 yes you can as far as I remember now, the second argument in playSound is a bool whether the specified soundpath is an URL
Fabio(GNR) Posted December 28, 2010 Posted December 28, 2010 https://wiki.multitheftauto.com/wiki/PlaySound it appears not...
Castillo Posted December 28, 2010 Posted December 28, 2010 it does, this is the way: local sound = playSound("link goes here")
dzek (varez) Posted December 28, 2010 Posted December 28, 2010 it's available only from 1.1 version. and i don't think it will accept PLAYLIST file. you have to extract STREAM link from playlist.
Discord Moderators Zango Posted December 28, 2010 Discord Moderators Posted December 28, 2010 it's available only from 1.1 version.and i don't think it will accept PLAYLIST file. you have to extract STREAM link from playlist. playlist .pls file works just fine https://wiki.multitheftauto.com/wiki/PlaySound it appears not... obviously they haven't updated wiki with the change to avoid confusion as 1.1 isn't a release yet
dzek (varez) Posted December 28, 2010 Posted December 28, 2010 Playlist file is working? Which stream it chooses? First working? Or first at all, and it gets stuck when first is dead?
Discord Moderators Zango Posted December 28, 2010 Discord Moderators Posted December 28, 2010 Playlist file is working? Which stream it chooses? First working? Or first at all, and it gets stuck when first is dead? Playlists need to contain links to actual media, either it be remote or local, not other playlists. SHOUTcast radio hosting or similar, it provides a playlist file linking to the stream content, which I have tested and it works in MTA 1.1
dzek (varez) Posted December 28, 2010 Posted December 28, 2010 could you provide link to example playlist thats working with 1.1? im curious
Discord Moderators Zango Posted December 28, 2010 Discord Moderators Posted December 28, 2010 I found one from SHOUTcast listing, "rautemusik.fm" http://christmas-high.rautemusik.fm/listen.pls addEventHandler('onClientResourceStart', resourceRoot, function () playSound('http://christmas-high.rautemusik.fm/listen.pls', true, false) end) if I remember correctly
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now