network radio streaming


Results 1 to 11 of 11

Thread: network radio streaming

  1. #1
    Join Date
    Mar 2005
    Location
    asdhsadgas
    Posts
    197

    network radio streaming

    I have a laptop and a server.
    the server does not have a soundcard,I want to put on it a radio server
    so that it creates a stream to wich I could listen from the laptop.
    can I stream from the server if it has no soundcard ?
    how would I go about doing the playlist etc ?
    how can I do this in a simple way ?
    I've tried with icecast many times but I can't seem to get it right and the
    documentation is very poor.
    please help me out here,I'm in the dark
    i'm stupid

  2. #2
    Join Date
    Jan 2003
    Location
    Denver, Colorado
    Posts
    1,488
    So why not pull the stream directly from the internet to the laptop? why the server in the middle?
    Slackware current (Dell Latitude D610)
    CentOS 5.2 (Servers)
    Registered Linux User # 375030

  3. #3
    Join Date
    Apr 2003
    Location
    Oklahoma
    Posts
    559
    Quote Originally Posted by spx2
    I have a laptop and a server.
    the server does not have a soundcard,I want to put on it a radio server
    so that it creates a stream to wich I could listen from the laptop.
    can I stream from the server if it has no soundcard ?
    how would I go about doing the playlist etc ?
    how can I do this in a simple way ?
    I've tried with icecast many times but I can't seem to get it right and the
    documentation is very poor.
    please help me out here,I'm in the dark
    It sounds like you want to stream your own mp3, etc., to your laptop, and not listen to some internet radio station. If that is the case, read on.

    The answers to your questions, in order:

    1. Yes, you can stream from a machine w/o a soundcard. Soundcards are for speakers, not networks.

    2. You can create your own playlists by hand, or have a program do it for you. I use Amarok to listen to music; if you do too, then just select Playlist-->Save Playlist As from the toolbar, and it will create a playlist for you.

    3. I recommend gnump3d. It is a small, password-protected (if you desire) music server that will stream your music to you. It allows you to browse your music via a web browser, and includes a search.

  4. #4
    Join Date
    Jan 2003
    Location
    Denver, Colorado
    Posts
    1,488
    I think this is actually asking about a network stream, but need clarification to be sure.

    For streaming own mp3 files, just create a samba or nfs share and mount it on the laptop, then play the files as if they were local.

    If it's a stream in real time, just tune to it via the laptop.

    If it's a stream with time shifting, then it requires streamcast or mplayer to tune to and dump the stream, then it can be accessed as above. (Or for a GUI, just use Rythmbox or Amarok to tune to the stream and then share the folder where they are stored...

    Anyway, not sure what the desired outcome is, need more details.
    Slackware current (Dell Latitude D610)
    CentOS 5.2 (Servers)
    Registered Linux User # 375030

  5. #5
    Join Date
    Mar 2005
    Location
    asdhsadgas
    Posts
    197
    @quip

    thanks allot.I tried gnump3d before I started this thread,it did not work,but now I insisted a little bit and with your indications and I also found this
    useful
    http://www.linuxtopia.org/online_boo...e/ch07s07.html
    I got gnump3d working,now I can listen to music wich is not stored on my
    computer,that was my main goal.

    @psych-major
    as samba is used to bridge windows to linux it's an un-natural solution.


    EDIT:

    I have one more proble,altough I forwarded 8888 on wich gnump3d works
    on my router gnump3 still is not accessible from outside my LAN.
    what should I do about this ?

    @quip
    how do I make a stream like all the radios have ?
    this stream seems to make the playlist inside the m3u wich is not
    very convenient... and not a real radio...
    Last edited by spx2; 12-27-2007 at 06:03 PM.
    i'm stupid

  6. #6
    Join Date
    Sep 2000
    Location
    N California
    Posts
    951
    SlimServer will stream music to be listened to on xmms, winamp, or mplayer.

  7. #7
    Join Date
    Sep 2000
    Location
    N California
    Posts
    951
    A quick search on Freshmeat produced this list...

    radio+streaming

    Maybe icecast or KDE Radio Station if that's your desktop of choice.

    Good Luck,

  8. #8
    Join Date
    Jan 2003
    Location
    Oregon
    Posts
    114
    I might have something you might like.

    When i first got into perl i found a mp3server script over at perlmonks.org

    it was nice and simple, but didnt have stuff i wanted, so i started adding my own features, such as custom playlists, and a better random file selector.
    alas i never uploaded it to the internet, but still have a copy on my computer

    now i re-found the link for the original mp3server but, as im 800 miles from my computer at my wife's family for christmas, i dont have a copy i can upload right now.

    if you're paitence enough i'll be home on the 3rd or4th and i can upload a copy if you wish
    Laptop: Pentium4 2.8Ghz ; 512Mb Ram ; SimplyMepis 6.0

    AppleGeeks | 8-Bit Theatre

  9. #9
    Join Date
    Mar 2005
    Location
    asdhsadgas
    Posts
    197
    @eyeceguy

    yeah that's very nice and I'll take some time soon to read the
    script as I find this a very nice use for perl.
    as for your additions to the script I am patient for you to upload
    them,meanwhile using a compromise(because I don't know how
    to properly set it up...slimserver
    i'm stupid

  10. #10
    Join Date
    Apr 2003
    Location
    Oklahoma
    Posts
    559
    Quote Originally Posted by spx2
    EDIT:

    I have one more proble,altough I forwarded 8888 on wich gnump3d works
    on my router gnump3 still is not accessible from outside my LAN.
    what should I do about this ?

    @quip
    how do I make a stream like all the radios have ?
    this stream seems to make the playlist inside the m3u wich is not
    very convenient... and not a real radio...
    Really can't say. I would say you probably need to make sure 8888 is the one gnump3d is using. If it is, and your router is properly configured, and your music player has the correct address (with :8888 on the end), then I would try another port.

    As far as the stream: gnump3d is not set up to do that easily, I believe. You can log into it and select "random" or make a custom playlist, but anyone you want to let listen to the music will need the addy/password. I assumed you wanted it just for yourself.

  11. #11
    Join Date
    Jan 2003
    Location
    Oregon
    Posts
    114
    Here ya go SPX2!

    One modified Perl MP3 Server as promised albit a tad late. ( sorry internet was down )

    ::EDIT::
    uggh forgot to tell you how to use it

    its not that much different from the original although i added some functionality

    1) run the mp3 server
    2) connect with your favorite MuiscApp (winamp,xmms,WinMedPlyr, whatever)

    use this url to connect

    {server}:{port}/{opt1=val1+opt2=val2}
    where options are
    plist: name of playlist file you want minus the '.pls' (just a simple list of mp3 filenames separated by newlines)
    skip: skip value for the randomness (nice prime numbers are best) default 83
    start: index of song you wish to start with eg 0,1,2....

    so example url would be
    127.0.0.1:1942/plist=rock+skip=11+start=12

    this would connect and load rock.pls with a skip of 11 starting with song 12

    other thing in the actual source code near the top (lines 14 & 16) are variables that hold the directories of the playlist and the mp3 collection

    hope this helps you!
    Attached Files Attached Files
    Last edited by eyceguy; 01-13-2008 at 01:22 PM.
    Laptop: Pentium4 2.8Ghz ; 512Mb Ram ; SimplyMepis 6.0

    AppleGeeks | 8-Bit Theatre

Posting Permissions

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