This commit is contained in:
Piero 2022-12-06 10:52:44 -05:00
commit f025cb4ac9
5 changed files with 78 additions and 76 deletions

View file

@ -1,2 +1,3 @@
./bin/TwitchDownloaderCLI -m ChatDownload --id $1 -o $2 --embed-emotes
./bin/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/sh
$(dirname "$0")/TwitchDownloaderCLI -m ChatDownload --id $1 -o $2 --embed-emotes
$(dirname "$0")/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 $(dirname "$0")/ffmpeg --temp-path $(dirname "$0")/temp

View file

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

View file

@ -1,2 +1,2 @@
export $(grep -v '^#' .env | xargs -d '\n') > /dev/null 2>&1
rclone copy $1/$2 $remote/$1/$2 --progress
#!/bin/sh
rclone copy $1/$2 gd:VODS/$(basename $1)/$2 --progress