Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Moode 4.4 /cover art in remote app
#9
Hi Kent,

you're absolutely right concerning the creation of a loop. I just tested it. I was not aware of this.
I think the solution within the worker.php is the better one, at least it is easier to implement.

@Tim
Would it be possible that you add this one line to the worker.php? This way we would get the Symlink?
if (!file_exists('/var/www/cover')) {SysCmd('ln -s /var/lib/mpd/music /var/www/cover');}

As Kent pointed out, it should be in the section around line 242:
// ensure certain files exist

if (!file_exists('/var/www/cover')) {SysCmd('ln -s /var/lib/mpd/music /var/www/cover');}
if (!file_exists('/var/local/www/currentsong.txt')) {sysCmd('touch /var/local/www/currentsong.txt');}

Kind regards
   Duke.G

1x RPi 3B, 1x RPi 4, 1x RPi 5, Moode 9; 6k flac Songs; 180k MP3 Songs; Asset-UpnP 186k Songs
The blues has got a hold of me, I believe I'm gettin' dizzy - ZZ Top
Reply


Messages In This Thread
Moode 4.4 /cover art in remote app - by Herman - 12-17-2018, 09:12 PM
RE: Moode 4.4 /cover art in remote app - by duke.g - 12-20-2018, 09:49 PM
RE: Moode 4.4 /cover art in remote app - by Gil53 - 06-23-2019, 09:04 AM

Forum Jump: