Results 1 to 10 of 10

Thread: ClearChannel Internet Radio

  1. #1
    Variable Bitrate
    Join Date
    Nov 2006
    Location
    Rubidoux, CA
    Posts
    275

    ClearChannel Internet Radio

    I have been using my carpc for a while to listen to internet radio from many different radio stations. The problem I've come across is that a lot of stations go through a lot of trouble to make sure you only listen to them through the web browser, and not directly to the stream itself, that way you can be subjected to the advertising on the page. Clearchannel, which operates a LOT of stations in the country have a standardized streaming format, and I think I would be able to make a program that can get the stream info, along with artist/title/album info, from any clearchannel station. What I don't know, is how hard would it be to make streetdeck use this information? I'm new to StreetDeck, but the DigitalMod feature seems to be capable of this.

    Anyone got any sample code I could use to make the mod from? I'm really only familiar (enough) with VB.Net, and could easily code up the parsing code to get the stream address, just need to know what I need to do wiht that once I get it.

    thanks,
    CraziFuzzy

  2. #2
    Variable Bitrate
    Join Date
    Nov 2006
    Location
    Rubidoux, CA
    Posts
    275
    Okay, so I've figured out how to parse the necessary info from the ClearChannel web pages. I have created a VB.Net class that has the necessary codes to give you Artist, Track, Album, and a link to the actual mms:// stream for the media. All it needs is a single input, the radio station's web address. 'www.rock1053.com' for instance. I am new to COM programming, and Streetdeck in general, so i really don't know where to go frmo here. I have looked at the tutorials for the .Net addin creation, and for some reason i can't seem to get the samples to do anything. I am coding on a seperate PC than the one that has Streetdeck on it, so this may be the problem. i don't have the ability to sit in my car and code on the carputer, so I'm not sure what other way to do it.

    I am using the Beta of VS.net 2008, mainly because it is free for now.

    I don't really know C# very well, which is what the samples are in, but i should be able to port my small vb class into a c# one, if i can figure out how to actually make the sample code work in SD.

    Anyone willing to give me a hand on this? My intentions are to get Clearchannel working first, as it is the majority of the stations, but i would like to be able to implement a system where you could make a new class for other media sources, and get them all into a similar addin, so all your choses stations are in the same list.

  3. #3
    FLAC strohj's Avatar
    Join Date
    Aug 2004
    Location
    Pearland
    Posts
    1,345
    you can install streetdeck on your home pc... and then just run it in the development mode...

    (change the shortcut to: "c:\program files\streetdeck\streetdeck.exe" -D )

    and from there you can code the digitalmods...

    This project sounds very interesting.. and I would love to test it out for you as soon as I can get internet back in my car
    Pentium 4m 1.5GHz|MB896|Roadie Extreme|XM-Direct|Rikaline 6010|T-View 7"|Streetdeck|160gb Western Digital|1Gb DDR2-533 Ram

  4. #4
    Variable Bitrate
    Join Date
    Nov 2006
    Location
    Rubidoux, CA
    Posts
    275
    Well, due to the pain of learning the DigiMod coding, and lack of time, I have decided to work with what is already there. I have made a standalone program that will connect to the station's web site, and grab the Stream's URL (this is the important part, as clearchannel rotates it, basically to prevent people from doing just this... i feel so naughty). Anyways, once i get the URL, I write the address out to a .WAX file (Windows Audio Redirector). This .WAX file can be imported by streetdeck's normal music interface, so I just have to browse to the Playlists section of the library, and my stations are there. I launch my sync program from the ExternalApps section to refresh before listening, as the URL's are good for about an hour it seems.

    I will post my parsing tool once i clean it up, and add some error handling.

    Guess this doesn't really belong in the DigiMod secition anymore though...

  5. #5
    Variable Bitrate
    Join Date
    Nov 2006
    Location
    Rubidoux, CA
    Posts
    275

    Talking Success!!!

    Success! well, partially at least... Here is my current version of CCParse. (v0.1b) It uses an .ini file to create .WAX playlist files to be placed in the My Music folder. Streetdeck can load those files up and play them like any other music file. This should work for any Clear Channel radio station, as they all seem to use the exact same web template for the streaming media.

    Just extract the files into your My Documents\Streetdeck\Shortcuts\ExternalApps folder. It can then be run from within streetdeck. Editing the .INI file should be simple. the Example INI file is shown below:

    Code:
    [Talk Radio]
    OUTPUT="C:\Documents and Settings\Owner\My Documents\My Music\Talk Radio.wax"
    www.kfi640.com
    [Music]
    OUTPUT="C:\Documents and Settings\Owner\My Documents\My Music\Music.wax"
    www.rock1053.com
    www.991kggifm.com
    The output paths will have to be modified to point to your My Music directories. The stations are listed in groups, each group creating a seperate playlist file. This allows for some sort of genre sorting if desired. Everything could also be placed in a single group of course, if desired.

    Let me know if anyone uses this, and if so, how it works for you. Also, if you find any problems, of course, let me know.
    Attached Files Attached Files

  6. #6
    Constant Bitrate
    Join Date
    Apr 2003
    Location
    Raleigh, NC
    Posts
    119
    Does anyone know how far you can stream internet radio ahead? I have a clearwire modem in my car...I get good signal on big roads, but nothing by my house. Pandora will continue to play after I lose signal...is there any internert radio that streams 10 or even 20 songs in advance when it has signal in the event that signal may drop out?

  7. #7
    woo
    woo is offline
    Newbie
    Join Date
    Aug 2008
    Posts
    3

    source code?

    CraziFuzzy,
    Any chance you'd be willing to share the source code so I can convert it to java to run on other OS's? It appears to be written in C#, right? I'd also be interested in adding it to my media streaming application. Let me know,
    Thanks,
    Steve

  8. #8
    Variable Bitrate
    Join Date
    Nov 2006
    Location
    Rubidoux, CA
    Posts
    275
    Lemme see if I can dig up the source. I was actually written in vb.net. I haven't touched it in quite some time, so no promises.. ;-) I had gotten it to the point where I could actually parse metadata for the currently playing item as well (if the web-player displayed it), but had no way of displaying that info in Streetdeck, as I don't have the time to try and learn how to program in it.

    Also, what media streaming program do you have that you are taolking about?

  9. #9
    woo
    woo is offline
    Newbie
    Join Date
    Aug 2008
    Posts
    3
    If you can't, no sweat, I can probably recreate it myself, but I'm lazy, so I hoped you could help
    Steve

    Quote Originally Posted by CraziFuzzy View Post
    Lemme see if I can dig up the source. I was actually written in vb.net. I haven't touched it in quite some time, so no promises.. ;-) I had gotten it to the point where I could actually parse metadata for the currently playing item as well (if the web-player displayed it), but had no way of displaying that info in Streetdeck, as I don't have the time to try and learn how to program in it.

    Also, what media streaming program do you have that you are taolking about?

  10. #10
    woo
    woo is offline
    Newbie
    Join Date
    Aug 2008
    Posts
    3
    Oops, missed your question there a the end:

    media server is (ooTunes
    Quote Originally Posted by woo View Post
    If you can't, no sweat, I can probably recreate it myself, but I'm lazy, so I hoped you could help
    Steve

Similar Threads

  1. Instructions on getting FREE wireless internet from T-Mobile using GPRS
    By bankingdom in forum Wireless Communications
    Replies: 298
    Last Post: 08-16-2011, 02:37 PM
  2. Class 2 Data Bus
    By owenjh in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 35
    Last Post: 10-09-2008, 03:34 AM
  3. Satellite VS Internet Radio - POLL
    By we87 in forum Off Topic
    Replies: 11
    Last Post: 11-26-2006, 12:28 PM
  4. Replies: 2
    Last Post: 06-28-2006, 02:16 AM
  5. Internet Radio?
    By nFiniteTuning in forum Wireless Communications
    Replies: 3
    Last Post: 10-15-2004, 03:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •