nowofresh Posted December 27, 2010 Share 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. Link to comment
Discord Moderators Zango Posted December 27, 2010 Discord Moderators Share 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 Link to comment
Fabio(GNR) Posted December 28, 2010 Share Posted December 28, 2010 https://wiki.multitheftauto.com/wiki/PlaySound it appears not... Link to comment
Castillo Posted December 28, 2010 Share Posted December 28, 2010 it does, this is the way: local sound = playSound("link goes here") Link to comment
dzek (varez) Posted December 28, 2010 Share 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. Link to comment
Discord Moderators Zango Posted December 28, 2010 Discord Moderators Share 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 Link to comment
dzek (varez) Posted December 28, 2010 Share 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? Link to comment
Discord Moderators Zango Posted December 28, 2010 Discord Moderators Share 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 Link to comment
dzek (varez) Posted December 28, 2010 Share Posted December 28, 2010 could you provide link to example playlist thats working with 1.1? im curious Link to comment
Discord Moderators Zango Posted December 28, 2010 Discord Moderators Share 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 Link to comment
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