* work with effective movie folder

This commit is contained in:
Reinhard Pointner 2012-07-27 02:14:49 +00:00
parent 5e359d0b11
commit 6c744550a6
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def groups = input.groupBy{ f ->
// DECIDE EPISODE VS MOVIE (IF NOT CLEAR)
if (tvs && mov) {
def norm = { s -> s.lower().space(' ') }
def dn = norm(f.dir.name)
def dn = norm(guessMovieFolder(f)?.name ?: '')
def fn = norm(f.nameWithoutExtension)
def sn = norm(tvs)
def mn = norm(mov.name)