04-18-2019, 11:40 PM
(04-18-2019, 08:51 PM)duke.g Wrote: Hello,
we had that topic a while ago. So here is what to do (It's not from me, I think it was TheOldPresbyope):
sh into moode
cd /var/www/command
sudo nano worker.php
In /var/www/command/worker.php, at or around line 242, you should find this section:
// ensure certain files exist
if (!file_exists('/var/www/cover')) {SysCmd('ln -s /var/lib/mpd/music /var/www/cover');} <- this is the new line you have to insert
if (!file_exists('/var/local/www/currentsong.txt')) {sysCmd('touch /var/local/www/currentsong.txt');} <- this line should be already there
Save the file and reboot.
For example in M.A.L.P. the path for the covers then is: "http://moode/cover/%d/folder.jpg"
In MpDroid use: http://moode/cover/
In Soundirok it should be: http://moode/cover/
instead of "moode" use the name of your player or the IP-Address of your installation.
@Tim: Would it be possible to add that one line in the future version. It would be very helpful. Many thanks in advance.
Have fun
duke.g
Thanks, that did the job. I agree it would be great if @Tim could include this in future images.