From 778437da354df3027850f8299862d1c59ddcdcd5 Mon Sep 17 00:00:00 2001 From: Sli Date: Wed, 21 Jan 2026 00:46:07 +0100 Subject: [PATCH] Fix crash when playlist.pls exists but not the json one --- entrypoint.sh | 2 ++ ultrasync.sh | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3c6c71a..231d8a5 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,6 +6,8 @@ touch /songs/playlist.pls /jingles/playlist.pls # fallback python /opt/je_te_met_en_pls.py /air-support +python /opt/je_te_met_en_pls.py /songs +python /opt/je_te_met_en_pls.py /jingles # Start background sync process /opt/ultrasync.sh & diff --git a/ultrasync.sh b/ultrasync.sh index eb774bf..66803d0 100644 --- a/ultrasync.sh +++ b/ultrasync.sh @@ -2,9 +2,6 @@ while true; do pip3 install -U yt-dlp - /opt/je_te_met_en_pls.py /songs || true - /opt/je_te_met_en_pls.py /jingles || true - /opt/yt_sync.py || true /opt/je_te_met_en_pls.py /songs || true