Implemented track download skip if file already exists. A few Linux support changes. Implemented caching cookies to profile cookies path.
26 lines
663 B
Bash
26 lines
663 B
Bash
git clone -b dev --single-branch https://github.com/chu23465/VT-PR
|
|
cd VT-PR
|
|
python -m pip install poetry==1.8.5
|
|
poetry config virtualenvs.in-project true
|
|
poetry lock --no-update
|
|
poetry install
|
|
sudo apt update
|
|
sudo apt install ffmpeg
|
|
sudo apt-get install aria2
|
|
sudo apt install mkvtoolnix
|
|
ffmpeg --version
|
|
ffprobe --version
|
|
ffplay --version
|
|
aria2c --version
|
|
mkvmerge --version
|
|
rm -r ./binaries/
|
|
mkdir ./binaries/
|
|
mv -v ./linux_binaries/* ./binaries/
|
|
cp aria2c ./binaries/
|
|
cp ffmpeg ./binaries/
|
|
cp ffprobe ./binaries/
|
|
cp ffplay ./binaries/
|
|
cp mkvtoolnix ./binaries/
|
|
cd ./binaries/
|
|
find . -type f -print0 | xargs -0 chmod +x
|
|
chmod +x /home/hidden/VT/VT-PR/binaries/* |