Solved

Flash AS3 -> Get artist and title from shoutcast stream (aacplus)

Posted on 2013-05-27
3
767 Views
Last Modified: 2013-11-30
...

Hello;

I´m creating a flash radio player and there´re some details that I can´t perform. I would like to know how to display the title and artist of the currently playing song.

I´m working with AS3.

I have understood that this can be done by the onMetaData method of netStream  class. But I don´t know how work this...

Can anyone help?, Please .... thank you ...

...
0
Comment
Question by:MLCasellas
3 Comments
 

Accepted Solution

by:
MLCasellas earned 0 total points
ID: 39216910
...

Well, I finally managed to learn how to do it. This is the code and it works:


function onMetaData(eObj:Object):void {
      
   for(var s:String in eObj){
      songTitle.text = eObj.StreamTitle;         
         }      
        
}  


You can see the player running on the web that I created for web-radio of my friend Sir Flansi:

http://www.flansinnata.ch

...
0
 
LVL 16

Expert Comment

by:CWS (haripriya)
ID: 39686722
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Because of still there more are people in the world using Adobe Illustrator older versions like CS & CS2 I wish to forward this article.. Since a long time Adobe Illustrator CS, CS2 has released, sometimes that there was a problem when someone tr…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question