1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00

* skip notifications if nothing was renamed anyway

This commit is contained in:
Reinhard Pointner 2013-01-06 04:03:59 +00:00
parent a7ea715836
commit 8466c7cb1b

View File

@ -187,7 +187,10 @@ groups.each{ group, files ->
}
}
// skip notifications if nothing was renamed anyway
if (getRenameLog().isEmpty()) {
return
}
// make xbmc or plex scan for new content
xbmc?.each{
@ -207,7 +210,7 @@ if (myepisodes) {
}
// send status email
if (gmail && !getRenameLog().isEmpty()) {
if (gmail) {
// ant/mail utility
include('fn:lib/ant')