No update if no update
This commit is contained in:
parent
f4c71cd38e
commit
3c0de3529a
@ -329,7 +329,7 @@ CreateFileList() {
|
|||||||
echo ${3}$origfile >> /tmp/music-sync-filelist
|
echo ${3}$origfile >> /tmp/music-sync-filelist
|
||||||
VerboseOutput 0 "${origfile} is newer in source"
|
VerboseOutput 0 "${origfile} is newer in source"
|
||||||
VerboseOutput 2 "Added: ${3}${origfile}"
|
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
|
echo ${3}$origfile >> /tmp/music-sync-filelist
|
||||||
VerboseOutput 0 "${origfile} is newer in source"
|
VerboseOutput 0 "${origfile} is newer in source"
|
||||||
VerboseOutput 2 "Added playlist: ${3}${origfile}"
|
VerboseOutput 2 "Added playlist: ${3}${origfile}"
|
||||||
|
Loading…
Reference in New Issue
Block a user