Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Jul 2005
    Posts
    19
    Points
    0

    Default automatically start streaming radio

    I can run a batch file so I can listen to a radio station via schedled tasks. Lately the file runs, the mini player pops up, but it doesn't start playing like it used to. Now I have to press the small 'play' icon of the player and it works. The 'properties' of this button is the same string of words that is in the batch file, but before I didn't have to actually push the play button, now I do. Is there a way to add this step to the batch file so that it will first open the mini player, and then second press the play button?? Here is the Batch file that runs:

    echo off
    "c:\program files\internet explorer\iexplore.exe" http://players.eonstreams.com/FastAi...?PlayerID=312#

    thank you a lot!

  2. #2
    Member Help2Go Moderator
    Join Date
    May 2003
    Location
    Boston, MA USA
    Posts
    2,994
    Points
    931

    Default

    hmm, might see if this link works instead..

    http://go.eonstreams.com?u=2231

    same readio station, just a different URL, You could be loading some different weird version of the flash player than what is posted on the Braves Radio website.

    If that doesn't work...I've looked at the source of the above URL and found that this is the url to the stream..

    http://players.eonstreams.com/FastAi...y=39119&IsIE=1

    So, you could actually just do this...

    @echo off
    cls
    "C:\program files\windows media player\wmplayer.exe" http://players.eonstreams.com/FastAi...y=39119&IsIE=1

    WMP automatically plays streamed files. I'm hoping the "SecurityKey=39119" portion of the URL doesn't change nor the "PulseID=55810028" section.

    Hope this helps.

    Partie™

  3. #3
    Member
    Join Date
    Jul 2005
    Posts
    19
    Points
    0

    Default

    That was terrific. The second link worked directly, but the first one still popped up the miniplayer forcing me to click on the "play" icon button. But I'll try to use the batch file you designed. Thank you very, very much. By the way, what is the use of the '@' sign before the echo for?

  4. #4
    Member
    Join Date
    Jul 2005
    Posts
    19
    Points
    0

    Default OH NO

    OH NO

    I set up the batchfile, and when I launch it WMP opens and warns that the file type cannot play!!! Clicking on the link works, but launching from the batch file doesn't??? Can you help?

  5. #5
    Member Help2Go Moderator
    Join Date
    May 2003
    Location
    Boston, MA USA
    Posts
    2,994
    Points
    931

    Default

    @echo off

    turns off command Echo'ing. Basically it doesn't display any command outputs while the batch file runs..

    Do you have WMP 10 installed (for XP, WMP 9 for anything else)?

    If you don't have WMP 10 installed and are running Win XP then I'd install it. If you don't havve WMP 9 installed and are running Windows ME or lower, install it....after installing the newest version of WMP try the batch file again.. If that doesn't work then I can make you an Autoit script that will click all buttons necessary.

    Partie™

  6. #6
    Member
    Join Date
    Jul 2005
    Posts
    19
    Points
    0

    Default

    I have windows xp sp2, and am running wmp 10.00.00.3646. I wasn't quite sure if this is the "best" combination; I can install something else if you suggest it. Making the "autoit" sounds cool..are you able to make the batch file and run it? Thank you again.

  7. #7
    Member Help2Go Moderator
    Join Date
    May 2003
    Location
    Boston, MA USA
    Posts
    2,994
    Points
    931

    Default

    sorry!

    I messed up...i forgot that the command interpreter interprets the ampersand (&) symbol. Try this instead..

    Code:
    @echo off 
    cls 
    "C:\program files\windows media player\wmplayer.exe" http://players.eonstreams.com/FastAim/Player/Play.php?PulseID=55810028^&SecurityKey=39119^&IsIE=1
    the difference, anywhere there's an ampersand (&) in the URL you escape it with a caret (notice in the link now, there's a caret symbol.. 58810028^&SecurityKey=39119^&IsIE=1)

    Partie™

  8. #8
    Member
    Join Date
    Jul 2005
    Posts
    19
    Points
    0

    Default

    it worked perfectly!!! You are fantastic. Thank you so much. I like using these computers, but your level of understanding is WAY beyond me. Thank you.

  9. #9
    Member Help2Go Moderator
    Join Date
    May 2003
    Location
    Boston, MA USA
    Posts
    2,994
    Points
    931

    Default

    Hey, glad I could help

    See ya around..

    Partie™