CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2009
    Posts
    144

    Stream music to shoutcast server

    Hello forum, i have virtual dj programm for playing music and i have it to broadcast at a shoutcast server, i want to know if i can make a programm that will run in shoutcast server pc and will "listen" and rebroadcast the music to another shoutcast server. i found this
    Code:
    http://www.codeproject.com/KB/audio-video/SHOUTcastRipper.aspx?msg=2078466
    so i suppose that c# can handle "listening" from a shoutcast server. Can c# broadcast to another shoutcast server ?

  2. #2
    Join Date
    Dec 2007
    Posts
    234

    Re: Stream music to shoutcast server

    Soooo... you're broadcasting to shoutcast... you want to listen to shoutcast, and re-broadcast that to another shoutcast server?

    Why? That's a lot of bandwidth to be coming and going...

    -tg
    * I don't respond to private requests for help. It's not conducive to the general learning of others.-I also subscribe to all threads I participate, so there's no need to pm when there's an update.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help - how to remove eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to???
    * On Error Resume Next is error ignoring, not error handling(tm). * Use Offensive Programming, not Defensive Programming.
    "There is a major problem with your code, and VB wants to tell you what it is.. but you have decided to put your fingers in your ears and shout 'I'm not listening!'" - si_the_geek on using OERN
    MVP '06-'10

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Stream music to shoutcast server

    Probably against their TOS, as well.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  4. #4
    Join Date
    Jun 2009
    Posts
    144

    Re: Stream music to shoutcast server

    i want to make a radio server. i will install shoutcast on it and a c# program for remote management. c# will keep an eye on shoutcast's log files and understand when someone connects to it. if someone connects to it i want to sent its stream to another shoucast server, if not i want to stream a list of mp3 files to the 2nd shoutcast server.

  5. #5
    Join Date
    Dec 2007
    Posts
    234

    Re: Stream music to shoutcast server

    " if someone connects to it i want to sent its stream to another shoucast server," -- this is the part that I'm having trouble understanding... why?

    -tg
    * I don't respond to private requests for help. It's not conducive to the general learning of others.-I also subscribe to all threads I participate, so there's no need to pm when there's an update.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help - how to remove eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to???
    * On Error Resume Next is error ignoring, not error handling(tm). * Use Offensive Programming, not Defensive Programming.
    "There is a major problem with your code, and VB wants to tell you what it is.. but you have decided to put your fingers in your ears and shout 'I'm not listening!'" - si_the_geek on using OERN
    MVP '06-'10

  6. #6
    Join Date
    Jun 2009
    Posts
    144

    Re: Stream music to shoutcast server

    i will have 2 servers, 1st = mini 2nd= big . I want to have djs and playlists. When 1st server starts up automatically will play playlists (my c# app will pass cmd commands to winamp and will play them througth winamp dsp plugin which streams to 2nd server).

    when a dj want to play music, he will connect to shoutcast server (mini) and my c# app will understand it because it will log the server and then will pass cmd commands to winamp to stream with dsp plugin to the 2nd (big) server, (winamp will actually playing url 127.0.0.1).

    when the dj disconnects from server 1 (mini) my c# app will understand it and it will pass cmd commands to winamp to stream to 2nd server the playlist files again.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured