think tank forum

technology » audio player with web interface

lucas's avatar
16 years ago
link
lucas
i ❤ demo
so i have my seedbox/server in the corner, all neatly organized.

i'd like to put a nice audio card in it, and run some kind of audio player that has a web interface.

ideally, the web interface would be intuitive, have an indexing library of all the music available, and a playlist.

can anyone recommend such software to run on freebsd 7.0? thanks!
lucas's avatar
16 years ago
link
lucas
i ❤ demo
sigh.. when i ran:
euterpe% sudo kldload snd_driver


i got a kernel loop:
http://www.clanbbw.com/publicimg/data/images/kernel_loop.jpg

gross.
DaGr8Gatzby's avatar
16 years ago
link
DaGr8Gatzby
Drunk by Myself
MPD should take care o fthat
DaGr8Gatzby's avatar
16 years ago
r1, link
DaGr8Gatzby
Drunk by Myself
this post has been archived.
DaGr8Gatzby's avatar
16 years ago
link
DaGr8Gatzby
Drunk by Myself
FreeBSD 7.0?
bluet's avatar
16 years ago
link
bluet
mpd is great, it even does gapless playback. are you sure you want a web interface? there are also lots of non-web mpd clients around
lucas's avatar
16 years ago
link
lucas
i ❤ demo
gatz> FreeBSD 7.0?

what?

bluet> it even does gapless playback.

cool

bluet> are you sure you want a web interface?

no. i could do some console styles, i suppose. i just want it very quick to use.
DaGr8Gatzby's avatar
16 years ago
link
DaGr8Gatzby
Drunk by Myself
Oh I was asking what version of FreeBSD :)
lucas's avatar
16 years ago
link
lucas
i ❤ demo
yeah, 7.
bluet's avatar
16 years ago
link
bluet
check this out then: http://musicpd.org/clients.shtml

i use mpc, ncmpc and sonata myself
lucas's avatar
16 years ago
link
lucas
i ❤ demo
ncmpc looks nice. i'm a fan of ncurses.
Carpetsmoker's avatar
16 years ago
r1, link
Carpetsmoker
Martin
this post has been archived.
Carpetsmoker's avatar
16 years ago
r1, link
Carpetsmoker
Martin
this post has been archived.
Carpetsmoker's avatar
16 years ago
r1, link
Carpetsmoker
Martin
this post has been archived.
Carpetsmoker's avatar
16 years ago
link
Carpetsmoker
Martin
> sigh.. when i ran:
> euterpe% sudo kldload snd_driver
>
> i got a kernel loop:
> http://www.clanbbw.com/publicimg/data/images/kernel_loop.jpg
>
> gross.

I've had similair problems using snd_all ... You can use a script.

#!/bin/sh
#
# Detect sound driver

for driver in /boot/kernel/snd_*; do
  driver=$(echo ${driver} | sed 's|/boot/kernel/snd_||')
  if [ ${driver} = "driver.ko" ]; then
    continue;
  fi

  kldload snd_${driver}
  if [ -c /dev/mixer0 ]; then
    echo "I'm smelling 'snd_${driver}'"
    echo "snd_${driver}_load=\"YES\"" >> /boot/loader.conf
    exit 0
  fi
  kldunload snd_${driver}
done
lucas's avatar
16 years ago
link
lucas
i ❤ demo
thanks, cs, i'll try it out later.
 
16 years ago
link
dbrown
@lucas: i'm looking for the same thing myself. the main problem i've found is that most web based clients want to stream and not output the sound on the server itself. the closest thing i've found to that is mpd, as was already suggested. ideally i've got a handheld that would serve as a remote to it, eventually branching out to video as well...
bluet's avatar
15 years ago
link
bluet
i'm now doing this with mpd, icecast (streaming) and wymypy (web interface). works nicely :)
asemisldkfj's avatar
15 years ago
link
asemisldkfj
the law is no protection
I have been thinking about doing something like this. I want my roommates and me to put all of our music on one server, but in separate directories for each of us. but I want each of us to be able to stream each other's music and also (this is key) be able to download each other's music.

I wonder how hard it would be to write a simple web interface for this? the streaming could be done via icecast maybe? I don't know anything about this streaming music business.
bluet's avatar
15 years ago
link
bluet
wymypy is a nice web interface for mpd control. you could use any ordinary web server for serving the static files. i can help you with configuring stuff if you want
asemisldkfj's avatar
15 years ago
link
asemisldkfj
the law is no protection
I may indeed have some questions.

so mpd essentially just plays music on the server, right? it doesn't actually stream the output to clients, it just allows client control? and then icecast is for the streaming of course. so from the client machine you would listen via an icecast client and then control what is streaming via the mpd client interface? I hope I am understanding this correctly.

foreseeable issues for myself: how to do multiple listeners. is icecast able to do multiple streams and is mpd able to do multiple instances or something?
bluet's avatar
15 years ago
r2, link
bluet
mpd can output to audio cards and icecast servers at the same time. probably several audio cards and icecast servers at the same time too. the icecast server receives streams from mpd, and relays it to clients. the number of clients is limited only by bandwidth and icecast settings. there are no "icecast clients", you can use mplayer or any other program that supports http streams (you can even connect to the stream as a client with mpd). mpd can be controlled through a web interface that is a web server on one end and an mpd client on the other, or through an mpd client with a text, gtk or other interface

hope this helps :)
dannyp's avatar
13 years ago
link
dannyp
dʎuuɐp
was this ever done? i'm interested in listening or playing my atlassian choons :D
asemisldkfj's avatar
13 years ago
link
asemisldkfj
the law is no protection
I never did this. but I might at my new house. definitely want to set up a media center type computer so we can watch youtube and stuff in the living room.
dannyp's avatar
13 years ago
link
dannyp
dʎuuɐp
if you decide to make it internet stream enabled (with dp share-abilities) let me know!