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:
parent
a7ea715836
commit
8466c7cb1b
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user