Solved

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

Posted on 2013-05-27
3
781 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
HOW TO WARP A RASTER IMAGE AND ADD A REFLECTION USING ADOBE ILLUSTRATOR This tutorial is for experienced to advanced Adobe Illustrator users. Tools and Techniques that will be used in this Tutorial: Flatten Transparency (A) Envelope Distort (B…
In this tutorial viewers will learn how to use the align and distribute tools in Illustrator. Open a document with multiple shapes to be aligned: Open the Align window by going to Window > Align or using the shortcut icons on the top bar of Illustra…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

707 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