03-17-2021, 12:02 PM
(This post was last modified: 03-17-2021, 12:40 PM by neuronestanco.)
(03-17-2021, 10:23 AM)vinnn Wrote: Don't use sudo in a script or non-interactive session. Doesn't lircd run as root anyway?
Also your python script is attempting to import an MPDClient library from an mpd python module, have you installed this module?
thanks for the answer ... ok I remove sudo before calling the script in lircrc; i installed python-mpd2 before the script ... but it doesn't work! I'm going crazy on it !!! alternatively it would be enough for me to emulate the command that moode executes when clicking on the "heart" icon to add to favorites from the moode player, do you know how that command can be?