From d44ec275798ad3e3095342bcefa48d06644d8a26 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sun, 13 Aug 2023 18:54:06 -0400 Subject: [PATCH] v1.4 - bug fix for failed downloads --- lidarr/TidalVideoDownloader.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lidarr/TidalVideoDownloader.bash b/lidarr/TidalVideoDownloader.bash index eb60783..3f0b7f6 100644 --- a/lidarr/TidalVideoDownloader.bash +++ b/lidarr/TidalVideoDownloader.bash @@ -1,5 +1,5 @@ -#!/usr/bin/env bash -scriptVersion="1.3" +#!/usr/bin/with-contenv bash +scriptVersion="1.4" scriptName="TidalVideoDownloader" #### Import Settings @@ -333,7 +333,7 @@ VideoProcess () { downloadFailed=false log "$processCount/$lidarrArtistCount :: $lidarrArtistName :: $tidalVideoProcessNumber/$tidalVideoIdsCount :: $videoTitle :: Downloading..." TidaldlStatusCheck - tidal-dl -q HiFi -o "$videoDownloadPath/incomplete" -l "$videoUrl" 2>&1 | tee -a /config/logs/$scriptName.txt + tidal-dl -r P1080 -o "$videoDownloadPath/incomplete" -l "$videoUrl" 2>&1 | tee -a /config/logs/$scriptName.txt find "$videoDownloadPath/incomplete" -type f -exec mv "{}" "$videoDownloadPath/incomplete"/ \; find "$videoDownloadPath/incomplete" -mindepth 1 -type d -exec rm -rf "{}" \; &>/dev/null find "$videoDownloadPath/incomplete" -type f -regex ".*/.*\.\(mkv\|mp4\)" -print0 | while IFS= read -r -d '' video; do