Monocle Radio
What it is
Back in the day I decided that making some kind of internet jukebox or radio of some kind would be cool. Also I wanted to have my music collection accessible from anywhere. The Music Player Daemon was a great backend which was already very feature complete and had support for streaming to Icecast servers in the SVN. I used a PHP interface class written by Ben Carlisle and created Monocle Radio.
What you need
- A web server with PHP
- A computer with MPD 0.12.0 or later and a music collection
- (optionally) An icecast server. This is where the radio part comes in. Also MPD needs to be configured to output to the icecast server. Look in /usr/share/docs/mpd/examples/ to see how to do that.
- (optionally) A MySQL server
Features
- Browse and update the database
- Search the database
- Add music to the playlist from the database
- Navigate through the playlist
- Play, stop, pause the music
- Basic privileged login
- Optional user management
- View a song's information
Installation
- Configure MPD to work with Icecast.
- Download the latest version of Monocle Radio (link below)
- Edit include/config.php completely.
- Navigate to http://www.domain.com/radio/install.php
- Delete the install.php file
- Profit
Download
Latest Version: Monocle Radio 1.4.1
Screenshots: 1 2 3 4 5 6 7
Changelog
######################################### # Monocle Radio - Web frontend to the MPD Music Player Daemon # CHANGELOG # Copyright (C) 2005 Kurt Gallagher (proteankungfu@gmail.com) # http://proteankungfu.com/ ######################################### v1.4.1 * Somehow the .htaccess file was left out of 1.4, fixed * Clarified explanation of some options in config.php * Added meta tag to indicate unicode v1.4 * Fixed layout bug on folders in the database. * Added data sanitation to the audit function. That could have been nasty. * Fixed a bug causing directories with [ and ] in them to go berserk * Since if you have an html-breaking file in your collection you should fix it anyway, html sanitation has been toned down which allows display of Japanese and other unicode characters. v1.3 * Added an install page, no more structure.sql * Changed ADOdb code to use the older data retrieval system * Minor change in a RewriteRule regex in .htaccess which didn't work under Apache 1.3.33 * Made a front page optional. See README * Minor bug fixes v1.2 * Removed "Parent Directory" link in favor of links to each of the ancestral directories * Users can change their own passwords now * Added moving songs around in playlist * Added user auditing system * Removed extra tr on directory listings for privileged users * Removed instaplay because it was causing mpd to request duplicate mount and not play until restarted * Added user tracking system * Fixed a minor bug in the database page that relied on the configuration of my server v1.1 - Released 08/22/2005 * Added basic user management system with two levels of access * Fixed the database status display * Broke index.php into separate files for each page for less insanity * Changed some minor layout stuff * Moved the icecast server configuration into $cfg in config.php v1.0 - Released 08/01/2005 # Initial release