Browse Source

No update if no update

main
Jeroen De Meerleer 1 year ago
parent
commit
3c0de3529a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      music-sync.sh

+ 1
- 1
music-sync.sh View File

@ -329,7 +329,7 @@ CreateFileList() {
echo ${3}$origfile >> /tmp/music-sync-filelist
VerboseOutput 0 "${origfile} is newer in source"
VerboseOutput 2 "Added: ${3}${origfile}"
elif [[ $playlists == true ]] && [[ "${1}/$origfile" == *".m3u" ]]; then
elif [[ $playlists == true ]] && [[ "${1}/$origfile" == *".m3u" ]] && [[ "${1}/$origfile" -nt "${2}/$mp3file" ]]; then
echo ${3}$origfile >> /tmp/music-sync-filelist
VerboseOutput 0 "${origfile} is newer in source"
VerboseOutput 2 "Added playlist: ${3}${origfile}"


Loading…
Cancel
Save