Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"/usr/bin/env: python3: No such file or directory" on docker image #36

Open
danielvijge opened this issue Apr 19, 2024 · 0 comments
Open

Comments

@danielvijge
Copy link
Owner

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:

  1. Download a standalone Linux version of yt-dlp. Download the correct version for your architecture (x64, armv7l, aarch64)
  2. 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.
  3. Make it executable by running from a terminal chmod +x /music/yt-dlp (can be done outside the contain, on the host).
  4. 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.

@danielvijge danielvijge pinned this issue Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant