MrBrax / LiveStreamDVR

An automatic livestream recorder
MIT License
309 stars 24 forks source link

Streamlink not found/ can't change Streamlink PATH from settings #497

Closed 111100001 closed 4 months ago

111100001 commented 4 months ago

Describe the bug A clear and concise description of what the bug is. i'm getting this error : Failed to find streamlink i looked in the settings to see if i can give it the path myself (using the command which stremlink it gave me : /home/rebyc/.local/bin/streamlink)

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Logs Please attach logs for both the main server and capture if applicable, can be found in data/logs/ and data/logs/software/ respectively. Please also use code tags and try to keep line breaks if possible.

Server:

Additional context Add any other context about the problem here.

111100001 commented 4 months ago

it looks like it is installing streamlink in /home/rebyc/.local/bin/streamlink while this webapp is looking for it in /usr/bin/python3/streamlink

i cant symlink it or make pip install in system-wide path

111100001 commented 4 months ago

i'm also using linux ubuntu wsl2 sorry forgot to say

111100001 commented 4 months ago

solved the issue by creating a venv and installing streamlink in it and adding that to the settings

MrBrax commented 4 months ago

you can change the python directory in settings, but i would just recommend using docker instead. venv would work too yes.