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:
- Download a standalone Linux version of yt-dlp. Download the correct version for your architecture (x64, armv7l, aarch64)
- 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.
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 directoryThe 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.