The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


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


Solved: (8.1.0 or later) No album art when used as upnp renderer
#1
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

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
Reply


Messages In This Thread
(8.1.0 or later) No album art when used as upnp renderer - by Hiroshi Aiko - 06-26-2022, 09:44 AM

Forum Jump: