This commit is contained in:
Piero 2022-12-05 11:21:39 -05:00
commit 27eef3d714
19 changed files with 236 additions and 216 deletions

BIN
bin/TwitchDownloaderCLI (Stored with Git LFS) Normal file

Binary file not shown.

BIN
bin/TwitchDownloaderCLI.exe (Stored with Git LFS) Normal file

Binary file not shown.

7
bin/chat.bat Normal file
View file

@ -0,0 +1,7 @@
@echo off
set vodid=%1
set json=%2
set mp4=%3
CD %~dp0
TwitchDownloaderCLI.exe chatdownload --id %vodid% -o %json% -E
TwitchDownloaderCLI.exe chatrender -i %json% -o %mp4% --background-color #FF111111 -w 500 -h 1080 --outline true -f Arial --font-size 22 --update-rate 1.0 --offline --ffmpeg-path ./ffmpeg.exe --temp-path ./temp

2
bin/chat.sh Normal file
View file

@ -0,0 +1,2 @@
./tools-ubuntu/TwitchDownloaderCLI -m ChatDownload --id $1 -o $2 --embed-emotes
./tools-ubuntu/TwitchDownloaderCLI -m ChatRender -i $2 -o $3 --background-color "#FF111111" -w 500 -h 1080 --outline true -f Arial --font-size 22 --update-rate 1.0 --ffmpeg-path ./bin/ffmpeg --temp-path ./bin/temp

BIN
bin/ffmpeg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
bin/ffmpeg.exe (Stored with Git LFS) Normal file

Binary file not shown.

BIN
bin/rclone.exe Normal file

Binary file not shown.

6
bin/upload.bat Normal file
View file

@ -0,0 +1,6 @@
@echo off
set root_path=%1
set user=%2
FOR /F "eol=# tokens=*" %%i in (%~dp0\..\.env) do SET %%i
CD %~dp0
rclone.exe copy ../%root_path%/%user% %remote%/%root_path%/%user% --progress

2
bin/upload.sh Normal file
View file

@ -0,0 +1,2 @@
export $(grep -v '^#' .env | xargs -d '\n') > /dev/null 2>&1
rclone copy $1/$2 $remote/$1/$2 --progress