phpmp problem with mpd version 0.18.7
PHP Webclient Collection for MPD (music player daemon)
Brought to you by:
tswaehn
I found two problems in phpmp using mpd 0.18.7 (Debian Jessie). In the error.log there are error messages:
PHP Warning: Illegal string offset 'Last-Modified' in /var/www/html/phpmp/info.php on line 432
PHP Notice: Undefined index: xfade in /var/www/html/phpmp/playlist.php on line 185
The first error breaks the web interface beacuse the first letter of directory names is corrupted.
I submitted two patches here:
https://sourceforge.net/u/niccolo/phpmpreloaded/ci/2d1802376abe01c2ce9b2ea1cc938f8cc6fba646/
https://sourceforge.net/u/niccolo/phpmpreloaded/ci/eccdc6b84094cb5fc8e95d20ad1f737d2889ecc4/
You can download my forked code here:
https://sourceforge.net/u/niccolo/phpmpreloaded/
yeah, that is due to new PHP.
Thanks to your fixing idea!
=>fixed