* fix issues related to fetching missing artwork ONLY
This commit is contained in:
parent
e090e76afd
commit
1386952ef8
|
@ -8,9 +8,9 @@
|
||||||
include("lib/htpc")
|
include("lib/htpc")
|
||||||
|
|
||||||
|
|
||||||
args.eachMediaFolder { dir ->
|
args.eachMediaFolder{ dir ->
|
||||||
// fetch only missing artwork by default
|
// fetch only missing artwork by default
|
||||||
if (_args.conflict == "skip" && dir.hasFile{it =~ /movie.nfo$/} && dir.hasFile{it =~ /folder.jpg$/} && dir.hasFile{it =~ /backdrop.jpg$/}) {
|
if (_args.conflict == "skip" && dir.hasFile{it =~ /movie.nfo$/} && dir.hasFile{it =~ /poster.jpg$/} && dir.hasFile{it =~ /fanart.jpg$/}) {
|
||||||
println "Skipping $dir"
|
println "Skipping $dir"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
include("lib/htpc")
|
include("lib/htpc")
|
||||||
|
|
||||||
|
|
||||||
args.eachMediaFolder { dir ->
|
args.eachMediaFolder{ dir ->
|
||||||
// fetch only missing artwork by default
|
// fetch only missing artwork by default
|
||||||
if (_args.conflict == "skip" && dir.hasFile{it =~ /tvshow.nfo$/} && dir.hasFile{it =~ /folder.jpg$/} && dir.hasFile{it =~ /banner.jpg$/}) {
|
if (_args.conflict == "skip" && [dir, dir.dir].find{ it.hasFile{it =~ /banner.jpg$/} }) {
|
||||||
println "Skipping $dir"
|
println "Skipping $dir"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue