* work with effective movie folder
This commit is contained in:
parent
5e359d0b11
commit
6c744550a6
|
@ -41,7 +41,7 @@ def groups = input.groupBy{ f ->
|
||||||
// DECIDE EPISODE VS MOVIE (IF NOT CLEAR)
|
// DECIDE EPISODE VS MOVIE (IF NOT CLEAR)
|
||||||
if (tvs && mov) {
|
if (tvs && mov) {
|
||||||
def norm = { s -> s.lower().space(' ') }
|
def norm = { s -> s.lower().space(' ') }
|
||||||
def dn = norm(f.dir.name)
|
def dn = norm(guessMovieFolder(f)?.name ?: '')
|
||||||
def fn = norm(f.nameWithoutExtension)
|
def fn = norm(f.nameWithoutExtension)
|
||||||
def sn = norm(tvs)
|
def sn = norm(tvs)
|
||||||
def mn = norm(mov.name)
|
def mn = norm(mov.name)
|
||||||
|
|
Loading…
Reference in New Issue