correct application of playlists rules
This commit is contained in:
@@ -18,9 +18,9 @@ mkdir -p "$DOSSIER_PLAYLIST"
|
||||
|
||||
# Pour chaque playlist, créer un dossier et ajouter les liens symboliques
|
||||
sqlite3 -separator '|' "$DANCE_VIDEOS_DB" "
|
||||
SELECT playlist_id, playlist_name, video_file_name, rotated_file
|
||||
FROM playlist_videos
|
||||
WHERE rotated_file IS NOT NULL;
|
||||
SELECT pv.playlist_id, pv.playlist_name, pv.video_file_name, v.rotated_file
|
||||
FROM playlist_videos pv JOIN videos v ON pv.video_file_name=v.file_name
|
||||
WHERE v.rotated_file IS NOT NULL;
|
||||
" | while IFS='|' read -r playlist_id playlist_name video_file_name rotated_file; do
|
||||
# Sauter l'en-tête
|
||||
if [[ "$playlist_id" == "playlist_id" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user