diff --git a/Dockerfile b/Dockerfile
index 2244c78..6c70cc8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,13 +8,10 @@ RUN apk add --no-cache --upgrade python3 tar wget bash jq rclone curl \
&& python3 -m ensurepip \
&& pip3 install --no-cache-dir --upgrade streamlink cloudscraper
-#* Install streamlink plugins
-RUN wget --progress=dot:giga -O "/usr/lib/python3.10/site-packages/streamlink/plugins/kick.py" "https://raw.githubusercontent.com/nonvegan/streamlink-plugin-kick/master/kick.py"
-
#* Install youtubeuploader
-RUN wget --progress=dot:giga https://github.com/porjo/youtubeuploader/releases/download/23.03/youtubeuploader_23.03_Linux_x86_64.tar.gz \
- && tar -xvf youtubeuploader_23.03_Linux_x86_64.tar.gz \
- && rm youtubeuploader_23.03_Linux_x86_64.tar.gz \
+RUN wget --progress=dot:giga https://github.com/porjo/youtubeuploader/releases/download/24.01/youtubeuploader_24.01_Linux_x86_64.tar.gz \
+ && tar -xvf youtubeuploader_24.01_Linux_x86_64.tar.gz \
+ && rm youtubeuploader_24.01_Linux_x86_64.tar.gz \
&& mv youtubeuploader /usr/local/bin/youtubeuploader
#* Copy the required files
diff --git a/README.md b/README.md
index 5b4a858..dbae191 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ Current available upload options:
- **Youtube** (Needs no transcoding, so no file is stored on the disc.)
- **Direct Upload**
- **Re-stream**
-- **Rclone** - *Should* work with supported all [providers](https://rclone.org/#providers)
+- **Rclone** - _Should_ work with supported all [providers](https://rclone.org/#providers)
- **Direct upload** (Needs transcoding, so the stream is **temporally stored** on the disc before uploading)
- **Local**
- **Local file** (Downloads the stream locally to your machine)
@@ -98,23 +98,6 @@ apt-get install ffmpeg
-#### Kick Plugin
-
-If you want to use kick.com as your source
-
-
-Instructions
-
-
-```bash
-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"
-```
-
-
-
-
#### AutoVOD
```bash
@@ -147,13 +130,14 @@ Set up your credentials to allow YouTubeUploader to upload videos to YouTube.
1. Go to the [Credentials](https://console.cloud.google.com/apis/api/youtube.googleapis.com/credentials) section, click "Create credentials" and select "OAuth client ID", select Application Type 'Web Application'. Add a 'Authorised redirect URI' of `http://localhost:8080/oauth2callback`
1. Once created click the download (JSON) button in the list and save it as `client_secrets.json`
1. Getting token from YouTube:
- 1. Due to [recent changes](https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html#disallowed-oob) to the Google TOS, if you are running this utility for the first time and want to run it on a Headless server, you have to first run `youtubeuploader` on your local machine (Somewhere with a web browser)
- ```bash
- youtubeuploader -filename sample.mp4
- ```
+ 1. Due to [recent changes](https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html#disallowed-oob) to the Google TOS, if you are running this utility for the first time and want to run it on a Headless server, you have to first run `youtubeuploader` on your local machine (Somewhere with a web browser)
- 1. and then simply copy/move `request.token` and `client_secrets.json` to the remote host. Make sure these are placed inside the `autovod` folder.
+ ```bash
+ youtubeuploader -filename sample.mp4
+ ```
+
+ 1. and then simply copy/move `request.token` and `client_secrets.json` to the remote host. Make sure these are placed inside the `autovod` folder.
> **Note**
> To be able to upload videos as either "Unlisted or Public" and upload multiple videos a day, you will have to request an [API audit](https://support.google.com/youtube/contact/yt_api_form) from YouTube. Without an audit your videos will be locked as private and you are limited to how many videos you can upload before you reach a quota.
@@ -170,6 +154,7 @@ I have applied for the audit twice (for two separate projects).
Both times I was accepted fairly easily.
Since this tool isn't very complex, I typed almost the same thing on all fields, along the lines of:
+
> "I am going to upload a certain twitch user VODS to YouTube and need a higher quote because the streamer streams multiple times a week for x amount of hours. The tool is internal, so the only person that is authenticating through it is me. This is using Youtube Data API to upload to videos."
I also linked/referenced this GitHub page (Don't know if that helped my case).
@@ -232,13 +217,14 @@ If you want to add stream metadata to your video, you will need to deploy an api
Disable ads
-##### Fetching the OAuth token from
+##### Fetching the OAuth token from
Follow the instructions [here](https://streamlink.github.io/cli/plugins/twitch.html#authentication) to get your OAuth token.
Then add the OAuth token: `--twitch-api-header=Authorization=OAuth YOURCODEHERE` to the `STREAMLINK_OPTIONS` field in the config file.
##### Other options
+
Other options can be found [here](https://streamlink.github.io/cli.html#twitch)
@@ -295,7 +281,7 @@ There are multiple reasons this error can occur, check the following
- That you have not reached your [YouTube quota limit](https://developers.google.com/youtube/v3/guides/quota_and_compliance_audits#:~:text=Projects%20that%20enable%20the%20YouTube,majority%20of%20our%20API%20users.)
- That your YouTube credential files have not expired
- You can check these by running `youtubeuploader --filename sample.mp4`
- then checking the output.
+ then checking the output.
#### Rclone
@@ -345,6 +331,7 @@ The following files are required for the script to work:
It should look something like this:
![Screenshot](https://cdn.lystad.io/autovod_folder.jpeg)
+
## Credit
diff --git a/install.sh b/install.sh
index 676267d..990a5d6 100755
--- a/install.sh
+++ b/install.sh
@@ -70,8 +70,8 @@ printf "${g}[$now] Install YouTubeUploader [Y/N]? ${c}\n"
read -r answer
if [ "$answer" = "Y" ]; then
if [ ! -f "/usr/local/bin/youtubeuploader" ]; then
- wget https://github.com/porjo/youtubeuploader/releases/download/23.03/youtubeuploader_23.03_Linux_x86_64.tar.gz
- tar -xvf youtubeuploader_23.03_Linux_x86_64.tar.gz && rm youtubeuploader_23.03_Linux_x86_64.tar.gz
+ wget https://github.com/porjo/youtubeuploader/releases/download/24.01/youtubeuploader_24.01_Linux_x86_64.tar.gz
+ tar -xvf youtubeuploader_24.01_Linux_x86_64.tar.gz && rm youtubeuploader_24.01_Linux_x86_64.tar.gz
mv youtubeuploader /usr/local/bin/youtubeuploader
else
printf "${g}[$now] YouTubeUploader is already installed. Skipping...${c}\n"
@@ -92,20 +92,6 @@ else
printf "${g}[$now] Skipping Rclone installation...${c}\n"
fi
-printf "${g}[$now] Install Kick Plugin [Y/N]? ${c}\n"
-read -r answer
-if [ "$answer" = "Y" ]; then
- if ! [ -x "$(command -v streamlink)" ]; then
- printf "${g}[$now] Streamlink is missing. Skipping...${c}\n"
- else
- 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"
- fi
-else
- printf "${g}[$now] Skipping Kick Plugin installation...${c}\n"
-fi
-
printf "${g}[$now] Installing AutoVOD${c}\n"
if [ ! -d "./autovod" ]; then
git clone https://github.com/jenslys/autovod.git && cd autovod || exit