Controlled Posted February 9, 2014 Posted February 9, 2014 Lets say I wanted someone to have the ability to stream a song from the web from something like: http://www.181.fm/playing.php?station=181-power I already have that part working, but is it possible to see what song is playing? Shows it on the site, I'm just not sure how to grab that information... Thanks
Anubhav Posted February 9, 2014 Posted February 9, 2014 https://wiki.multitheftauto.com/wiki/GetRadioChannel https://wiki.multitheftauto.com/wiki/GetSoundLevelData https://wiki.multitheftauto.com/wiki/GetSoundProperties Use theese.
Controlled Posted February 9, 2014 Author Posted February 9, 2014 I think you misunderstood. Sound Properties only allows: The first float is the sound's sample rate, the second one the sound's tempo, and the third one the pitch of the sound.
myonlake Posted February 9, 2014 Posted February 9, 2014 His functions are wrong, those are unrelated to the case. Use getSoundMetaTags.
Controlled Posted February 9, 2014 Author Posted February 9, 2014 His functions are wrong, those are unrelated to the case.Use getSoundMetaTags. Tried it by using the Stream URL that I'm trying but it says its a bad sound pointer. Any way to fix this?
Moderators IIYAMA Posted February 10, 2014 Moderators Posted February 10, 2014 URL isn't a sound element. I am not sure if streamed data contains that kind of information. But you can always try. table = getSoundMetaTags ( element sound ) local sound =playSound ("URL") local table = getSoundMetaTags (sound )
Saml1er Posted February 10, 2014 Posted February 10, 2014 URL isn't a sound element.I am not sure if streamed data contains that kind of information. But you can always try. table = getSoundMetaTags ( element sound ) local sound =playSound ("URL") local table = getSoundMetaTags (sound ) This will work if he uses "onClientSoundFinishedDownload" as much as I can tell.
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