24 May '13 - 14:38 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Get Station Name  (Read 796 times)
abhichakravarty
Posts: 12


« on: 24 Sep '09 - 13:21 »
Reply with quoteQuote

thanks for solve my previous problems, now i able to play urls, but i not get the station name please help me
Logged
radio42
Posts: 4012


« Reply #1 on: 24 Sep '09 - 16:55 »
Reply with quoteQuote

You might take a look to the C# sample called NetRadio - it covers exactly what you are looking for.
To obtain the station name you can call the following:
_stream = Bass.BASS_StreamCreateURL(_url, 0, BASSFlag.BASS_STREAM_STATUS, yourStreamCreateProc, IntPtr.Zero);
string[] icys = Bass.BASS_ChannelGetTagsICY(_stream);
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines