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

Hardcoded streamlink plugin path inside DOCKEFILE #81

Open
jenslys opened this issue Nov 2, 2023 · 0 comments
Open

Hardcoded streamlink plugin path inside DOCKEFILE #81

jenslys opened this issue Nov 2, 2023 · 0 comments

Comments

@jenslys
Copy link
Owner

jenslys commented Nov 2, 2023

Currently the path to the streamlink plugin folder is hardcoded, since I was not able to run the necessary command to get the path:

#* Install streamlink plugins
RUN wget  -O "/usr/lib/python3.10/site-packages/streamlink/plugins/kick.py" "https://raw.githubusercontent.com/nonvegan/streamlink-plugin-kick/master/kick.py"

what we want:

STREAMLINK_LOCATION=$(pip3 show streamlink | grep -E '^Location:' | awk '{print $2}') &&
      PLUGINS_DIR="${STREAMLINK_LOCATION}/streamlink/plugins" &&
      wget --progress=dot:giga -O "${PLUGINS_DIR}/kick.py" "https://raw.githubusercontent.com/nonvegan/streamlink-plugin-kick/master/kick.py"
@jenslys jenslys added docker Docker related Priority: High labels Nov 2, 2023
@jenslys jenslys self-assigned this Nov 2, 2023
@jenslys jenslys mentioned this issue Nov 2, 2023
5 tasks
@jenslys jenslys removed their assignment Nov 2, 2023
@stale stale bot added the wontfix label Jan 2, 2024
@jenslys jenslys added pinned and removed wontfix labels Jan 3, 2024
Repository owner deleted a comment from stale bot Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant