mp3/ogg server?

Discussion in 'OT Technology' started by Shibboleth, May 12, 2005.

  1. Shibboleth

    Shibboleth teh mad Plato skillz

    Joined:
    Sep 29, 2004
    Messages:
    1,769
    Likes Received:
    0
    so I just put linux on my computer with all of my MP3s on it. I'm running amaroK which loads all my files/lyrics/cover images/etc to a mySql database. Optimally I would like to just get something that can read that database and run over apache, dynamically creating and serving up playlist files as users please. The problem is I haven't been able to find anything like that, just broken stand-alone perl/python scripts. Does anyone know of something that could do what I need?
     
  2. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    There's a nice apache module called modmusicindex which does something like this. It creates a nice listing of all your music (categorized, searchable, etc) then allows you to stream it using an icecast server. I never managed to get it working with icecast, but I didn't try very hard.
     
  3. Shibboleth

    Shibboleth teh mad Plato skillz

    Joined:
    Sep 29, 2004
    Messages:
    1,769
    Likes Received:
    0
    thanks, I noticed that but it did not seem like what I was looking for, and I may be too big a newbie to get it to work. Right now I'm trying daapd which looks promising, I'll post if it ends up working.
     
  4. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    :coold:
     
  5. Shibboleth

    Shibboleth teh mad Plato skillz

    Joined:
    Sep 29, 2004
    Messages:
    1,769
    Likes Received:
    0
    ok, I got it all working and it is fucking sweet. I'm using musicindex and icecast2. The only problem is that it's not very configurable, ie I would like to make it so some people can't view certain things, and I'd like to supply an optional method for retrieving cover images (it only allows for "cover.jpg/gif/png" in the directory of the album), it's also very directory hierarchy dependant. Other then that though it's awsome.

    here are some pics

    [​IMG]
    [​IMG]
    [​IMG]


    now here is my apache2 config file for musicindex, it was a bit counterintuitive, but easy none the less

    Code:
      <Directory /var/www/MP3/>
      	Options Indexes MultiViews FollowSymlinks
      	AllowOverride	Indexes
      	MusicLister		On
     	MusicSortOrder	 album disc track artist title length bitrate filetype filename uri
      	MusicFields		title artist length bitrate
      	MusicAllowDownload	Off
      	MusicAllowStream	On
      	MusicAllowSearch	On
      #	MusicRssItems	20
      	MusicPageTitle	Home
      	MusicCssDefault	musicindex.css
      	MusicCachePath	/tmp/musicindex
      #	MusicIceServer	192.168.0.101:8000
      #	MusicCookieLife	300
      </Directory>
      
    I put that in a file called MP3 in the sites-available directory and used the a2ensite command to enable it at localhost/MP3/.
     
  6. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    Sweet, good to hear you got it working. If I had tons of bandwidth to burn, I'd play with it and get it setup right so I could stream my music from home when at school.
     
  7. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    what's wrong with nfs?
     
  8. Shibboleth

    Shibboleth teh mad Plato skillz

    Joined:
    Sep 29, 2004
    Messages:
    1,769
    Likes Received:
    0
    supprisingly I streamed 128-196kbps MP3s using my DSL with an UL of 20k without much trouble. you might be fine.
     
  9. Shibboleth

    Shibboleth teh mad Plato skillz

    Joined:
    Sep 29, 2004
    Messages:
    1,769
    Likes Received:
    0
    what's your point
     
  10. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    my point is that nfs would accomplish sharing the files...
     
  11. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    But it doesn't provide a nice interface for building playlists and streaming in a publicly-accessible way.
     
  12. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    NFS is very secure -- even when used over the internet. Creating a share would let you access the music as if it were a second hard drive... Thus you could use any normal mp3 player and it's built-in playlist/library support. Windows Media Player, Winamp, and iTunes all have excellent library support.
     
  13. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    Which obviously provides a nice searchable interface and a way to let other people listen to what you've selected :rolleyes:
     
  14. Rob

    Rob OT Supporter

    Joined:
    Jul 6, 2002
    Messages:
    88,626
    Likes Received:
    41
    Location:
    Atlanta, GA
    Using nfs vs. modmusicindex or something similar isn't even an argument.

    They are two different things with greatly differing features.
     
  15. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    um, that's what the player's library is for :mamoru:

    have you ever used itunes, winamp, or windows media player?
     
  16. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    I've used all of them, none of them do what modmusicindex does. Like Rob said, they acheive completely different purposes.
     

Share This Page