syncNC return value, youtubelist path

This commit is contained in:
lucas committed 2026-10-24 15:20:23 +02:00
1 parent 07e24ad97e
commit a6bd1c2d1a
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ LIST=false
RETRIES=""
PL_NAME="Default"
LOG=1
youtubelist="/home/lucas/scripts/youtubelist.txt"
youtubelist="/home/lucas/scripts/media_editing/youtubelist.txt"
MUSIC=false
VIDEO=true
DATE="$(date +'%m%d%H%M%S')"
+2 -1
View File
@@ -264,12 +264,13 @@ main() {
if pgrep -x "nextcloudcmd" >/dev/null; then
echo "Nextcloud sync is already active, stopping."
return 0
return 1
fi
echo "Starting Nextcloud synchronization..."
sync_all
return $?
}
main "$@"