From a4ca103eea60656a09015d425ce851f747210f53 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Wed, 23 Nov 2022 19:48:05 +0100 Subject: [PATCH] Disable youtube transfer for the moment --- arch-config/scripts/in_path/sc-jellyfin-update | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch-config/scripts/in_path/sc-jellyfin-update b/arch-config/scripts/in_path/sc-jellyfin-update index 68a4f4b4..3f3c7529 100755 --- a/arch-config/scripts/in_path/sc-jellyfin-update +++ b/arch-config/scripts/in_path/sc-jellyfin-update @@ -14,7 +14,8 @@ if ! ssh-add -T "${sshkeypath}.pub" &>/dev/null; then fi # transfer to nas -rsync -uvr --progress /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows,YouTube} /mnt/lan1nas1/ +#rsync -uvr --progress /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows,YouTube} /mnt/lan1nas1/ +rsync -uvr --progress /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows} /mnt/lan1nas1/ rsync -uvrL --progress /home/marc/Musik /mnt/lan1nas1/ @@ -36,7 +37,7 @@ rsync -uvr --progress --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas # transfer downloaded YouTube videos #rsync -uvr --progress --bwlimit=4M -e "ssh -i $sshkeypath -p $port" /mnt/storage/MediaLibrary/YouTube/ ${user}@${server}:/mnt/media/YouTube/ -rsync -uvr --progress --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas1/YouTube/ ${user}@${server}:/mnt/media/YouTube/ +#rsync -uvr --progress --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas1/YouTube/ ${user}@${server}:/mnt/media/YouTube/ # NOTE wait to make sure the transfer to the nas is complete as well # https://stackoverflow.com/a/41791336