06-26-2022, 09:44 AM
(This post was last modified: 07-13-2022, 05:23 AM by Hiroshi Aiko.)
Hello,
I have recently updated my moOde to 8.1.1 then found moOde no longer show album art when used as upnp renderer.
I tried fresh install (from 64bit image) but did not change the problem above, so I tried to dig into what is happening...
I found moOde got album art url thru getUpnpCoverUrl() in inc/mpd.php then have found that the sysCmd is wrongly hard-coded and is returning "sudo: /var/www/util/upnp_albumart.py: command not found"
Believe..the below in the original function getUpnpCoverUrl() in inc/mpd.php
should be...
I modified the file inc/mpd.php to reflect the above then it seems it is working as expected (album art shows correctly when upnp renderer).
The usage of upnp renderer might not be your preferences but hope this helps to fix the problem as I still believe moOde is one of the best renderer package for rpi.
Best regards,
Hiroshi
I have recently updated my moOde to 8.1.1 then found moOde no longer show album art when used as upnp renderer.
I tried fresh install (from 64bit image) but did not change the problem above, so I tried to dig into what is happening...
I found moOde got album art url thru getUpnpCoverUrl() in inc/mpd.php then have found that the sysCmd is wrongly hard-coded and is returning "sudo: /var/www/util/upnp_albumart.py: command not found"
Believe..the below in the original function getUpnpCoverUrl() in inc/mpd.php
Quote:$result = sysCmd('/var/www/util/upnp_albumart.py ...(...omit...)
should be...
Quote:$result = sysCmd('/var/www/util/upnp-albumart.py ...(...omit...)
I modified the file inc/mpd.php to reflect the above then it seems it is working as expected (album art shows correctly when upnp renderer).
The usage of upnp renderer might not be your preferences but hope this helps to fix the problem as I still believe moOde is one of the best renderer package for rpi.
Best regards,
Hiroshi