Skip to content

remjey/phpMpUd

Repository files navigation

                                    phpMpUd
                       https://github.com/remjey/phpMpUd

phpMpUd is a web interface (written in PHP) for the Music Player Daemon (MPD).
It is based on the unmaintained phpMp v0.12.0. It has not much code changed but
it works with the PHP interpreter and MPD server available in Debian Stable.

I want to keep it alive because I use it on my Raspberry Pi because it’s very
light and simple.

To install phpMpUd, see INSTALL.


Below is the original content of the phpMp README.


inline=
----------------------------------------------------------------------------

If you want to use phpMp as a search engine in your browser of choice you
obviously need to do a little URL constuction. This is not an issue as 
phpMp makes it pretty simple, here's how to set it up.

The url will take up to three arguments: inline, search and server

* inline would be the search term, this is required.
* search would be anything you have in $search_fields in config.php or any.
	This is optional and defaults to "any".
* server in the case you have more than one server in config.php, ordered
	by number. This defaults to '0'.

In Konqueror you would set this search URL to:
http://myserver/phpMp/index.php?inline=\{@}&search=any&server=0


stream_browser
--------------------------------------------------------------------------

To use the stream browser updating you need to have 'allow_url_fopen' set 
to 'On' in your php.ini. This is required only if you want to be able to 
download and update the file from within phpMp. Otherwise you could have 
it as a cronjob. The stream browser will not show up (at all) unless the
following file(s) exist.

It needs to go into the cache/ directory with the name stream-icy.xml or 
stream-shout.xml, respectively. While I host a shoutcast xml file, which 
updated tri-daily you can generate your own using contrib/shoutcast.pl, 
which could also be setup as a cronjob.


MiniFAQ
-------

Q. Can you put the Playing Song or the Status in the Topic?

A. Yes and no, Of course, it's possible. It won't happen here because
   it would require the full page to reload rather than just the playlist,
   or javascript.

phpMp is released under the GNU Public License.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
For the full license, see COPYING.

About

Revival of the original phpMp

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages