You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Error 2 File not found" is reported. Changing screensaver.py to contain the full path "/opt/vc/bin/vcgencmd" makes it work, so this path might not be included in the command search path.
The text was updated successfully, but these errors were encountered:
Not adding the full path to the vcgencmd command is the right call. The problem is that the environment variable PATH seems to not have the correct value when the plugin runs. Not sure why or where is the right place to change that. On OSMC Released 2022-03-14 with a Pi 4 when I ssh the $PATH includes: /usr/osmc/bin:/opt/vc/bin while PATH from inside the plugin python code does not include those.
Given OSMC is quite popular on RPi, consider altering PATH to include those paths in the plugin code, something like:
"Error 2 File not found" is reported. Changing screensaver.py to contain the full path "/opt/vc/bin/vcgencmd" makes it work, so this path might not be included in the command search path.
The text was updated successfully, but these errors were encountered: