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
Trying to play a Mixcloud stream on LMS running on the official docker image gives an error message: /usr/bin/env: python3: No such file or directory
The official docker image does not contain python 3, but python 3.8 is required by the bundled version of the helper application (yt-dlp). Instead of installing python every time the docker image is updated, follow the following steps:
Save/copy the download to a folder that is mounted inside the docker image, for example the music folder at /music, so the binary path becomes /music/yt-dlp.
Make it executable by running from a terminal chmod +x /music/yt-dlp (can be done outside the contain, on the host).
In the Mixcloud settings, change the helper application from bundled to system, and in the path text box set /music/yt-dlp.
The Mixcloud plugin will now always use this version, and the docker image can be updated without issue.
The text was updated successfully, but these errors were encountered:
This is great advice for improving the user experience of this excellent plugin! It should be possible to mount the stand-alone yt-dlp directly off the host into the container. Something like:
podman run -it \
...
-v /local/version/of/yt-dlp:/srv/squeezebox/cache/InstalledPlugins/Plugins/MixCloud/Bin/yt_dlp \
...
(I haven't tested this myself, as I'm using: custom-init-sh to install python3 (and ffmpeg))
Trying to play a Mixcloud stream on LMS running on the official docker image gives an error message:
/usr/bin/env: python3: No such file or directory
The official docker image does not contain python 3, but python 3.8 is required by the bundled version of the helper application (yt-dlp). Instead of installing python every time the docker image is updated, follow the following steps:
/music
, so the binary path becomes/music/yt-dlp
.chmod +x /music/yt-dlp
(can be done outside the contain, on the host)./music/yt-dlp
.The Mixcloud plugin will now always use this version, and the docker image can be updated without issue.
The text was updated successfully, but these errors were encountered: