Open jenslys opened 11 months ago
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"
Currently the path to the streamlink plugin folder is hardcoded, since I was not able to run the necessary command to get the path:
what we want: