Skip to content

Commit

Permalink
Recreate artwork/nfo when --action override is used to replace files …
Browse files Browse the repository at this point in the history
  • Loading branch information
rednoah committed Apr 11, 2016
1 parent 58e5cd4 commit 112f1cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions amc.groovy
Expand Up @@ -377,7 +377,7 @@ groups.each{ group, files ->
}
def series = options.sortBySimilarity(seriesName, { s -> s.name }).get(0)
log.fine "Fetching series artwork for [$series] to [$dir]"
fetchSeriesArtworkAndNfo(hasSeasonFolder ? dir.dir : dir, dir, series, sxe && sxe.season > 0 ? sxe.season : 1, false, _args.locale)
fetchSeriesArtworkAndNfo(hasSeasonFolder ? dir.dir : dir, dir, series, sxe && sxe.season > 0 ? sxe.season : 1, true, _args.locale)
}
}
} else if (failOnError) {
Expand All @@ -398,7 +398,7 @@ groups.each{ group, files ->
if (movieFile != null) {
def movie = detectMovie(movieFile, false)
log.fine "Fetching movie artwork for [$movie] to [$dir]"
fetchMovieArtworkAndNfo(dir, movie, movieFile, extras, false, _args.locale)
fetchMovieArtworkAndNfo(dir, movie, movieFile, extras, true, _args.locale)
}
}
}
Expand Down

0 comments on commit 112f1cf

Please sign in to comment.