> I've got this server at home now with some printers, some samba > shares, and apache (to run gallery). I'd like to add a music player > with a web-interface.
I wrote one called oggserv. It probably sucks compared to mpd, but I thought I would mention it anyways. It's extremely stripped down. It uses ogg123 and mpg123 to do all the real work. It's just a single perl script that you run as a daemon. You connect to it on a given port and send commands like "play", "pause", "stop", "next", "prev", "vol", "help", etc. It does support playlists, shuffle, and repeat, but that's pretty much it. Oh, and I did write a client for windows, but I haven't written one for linux yet. It doesn't have a web interface either, sorry. If anyone is interested let me know, Phillip P.S. This is what the config file for oggserv looks like: log=/var/log/oggserv.log port=7890 ogg123=/usr/bin/ogg123 mpg123=/usr/bin/mpg123 playlist_dir=/var/lib/oggserv/playlists tmpdir=/tmp vol=/usr/local/bin/vol mute=/usr/local/bin/mute netcat=/bin/nc P.S.S. This is what oggserv prints out when you send it a "help" command: QUIT - Close connection HELP - Show this message LIST - List items in playlist LISTCOUNT - Get number of items in playlist ADD - Add item to playlist REMOVE - Remove item from playlist CLEAR - Clear playlist LOAD - Load playlist from file SAVE - Save playlist to file PLAYLISTS - Print available playslists CURRENT - Get or set current playlist item NEXT - Move to next item in playlist PREV - Move to previous item in playlist PLAY - Start or resume playing music PAUSE - Pause music STOP - Stop music STATUS - Get play/pause/stop status VOL - Get or set volume SHUFFLE - Turn on/off shuffle mode REPEAT - Turn on/off repeat mode 130 Listing finished -- Phillip Hellewell <phillip AT hellewell.homeip.net> -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
