Code: Select all
{f =~ /Kids/ ? 'Kids Movies' : 'Normal Movies'}
Code: Select all
{f =~ /Kids/ ? 'Kids Movies' : 'Normal Movies'}
Code: Select all
/mnt/user/Film (Movies)
/mnt/user/KidsFilm (Kids Movies)
/mnt/user/Serier (Series)
/mnt/user/KidsSerier (Kids Series)
Code: Select all
/mnt/user/downloads/complete/film (Movies)
/mnt/user/downloads/complete/serier (Series)
Code: Select all
/opt/filebot/filebot -script fn:amc /mnt/disks/WDC_WD30EZRX-00D8PB0_WD-WCC4N7VXZ3TR/downloads/complete/film --output /mnt/user/Film/ --action test -non-strict --conflict override --lang da --def "ut_label=movie" --def movieFormat="/mnt/user/Film/{n} ({y})/{n} ({y}){' CD'+pi}{'.'+lang}" --def artwork=y --def subtitles=da,en --log-file amc.log --def root=y --def clean=y {f =~ /Kids/ ? 'Kids Movies' : 'Normal Movies'}
Code: Select all
Illegal Argument: java.nio.file.NoSuchFileException: /tmp/{f ({f)
Illegal Argument: java.nio.file.NoSuchFileException: /tmp/=~ (=~)
Illegal Argument: java.nio.file.NoSuchFileException: /Kids (/Kids)
Illegal Argument: java.nio.file.NoSuchFileException: /tmp/? (?)
Illegal Argument: java.nio.file.NoSuchFileException: /tmp/Kids Movies (Kids Movies)
Illegal Argument: java.nio.file.NoSuchFileException: /tmp/: (:)
Illegal Argument: java.nio.file.NoSuchFileException: /tmp/Normal Movies} (Normal Movies})
Run script [fn:amc] at [Thu Mar 12 10:02:30 CET 2020]
Parameter: ut_label = movie
Parameter: movieFormat = /mnt/user/Film/{n} ({y})/{n} ({y}){' CD'+pi}{'.'+lang}
Parameter: artwork = y
Parameter: subtitles = da,en
Parameter: root = y
Parameter: clean = y
Argument[0]: /mnt/disks/WDC_WD30EZRX-00D8PB0_WD-WCC4N7VXZ3TR/downloads/complete/film
Argument[1]: File does not exist: {f
Argument[2]: File does not exist: =~
Argument[3]: File does not exist: /Kids
Argument[4]: File does not exist: ?
Argument[5]: File does not exist: Kids Movies
Argument[6]: File does not exist: :
Argument[7]: File does not exist: Normal Movies}
Code: Select all
/opt/filebot/filebot -script fn:amc /mnt/disks/WDC_WD30EZRX-00D8PB0_WD-WCC4N7VXZ3TR/downloads/complete/film --output /mnt/user/Film/ --action test -non-strict --conflict override --lang da --def movieFormat="/mnt/user/{label}/{n} ({y})/{n} ({y}){' CD'+pi}{'.'+lang}" --def artwork=y --def subtitles=da,en --log-file amc.log --def root=y --def clean=y --def "ut_label=Børn" --def "ut_label=Film"
Code: Select all
/opt/filebot/filebot -script fn:amc /mnt/disks/WDC_WD30EZRX-00D8PB0_WD-WCC4N7VXZ3TR/downloads/complete/ --output /mnt/user/ --action test -non-strict --conflict override --lang da --def "movieFormat=/mnt/user/{f =~ /KidsFilm/ ? 'KidsFilm' : 'Film'}/{n} ({y})/{n} ({y}){' CD'+pi}{'.'+lang}" --def "seriesFormat=/mnt/user/Serier/{n}/Season {s}/{n} {sxe} {t}" --def artwork=y --def subtitles=da,en --log-file amc.log --def root=y --def clean=y
Code: Select all
time find /Media -mtime -1
Code: Select all
filebot -script fn:amc --action copy --conflict auto -non-strict --log-file amc.log --lang da --def movieFormat="V:/drev/Movie/{az}/{n}.({y})/{n} - {t}{any{subt}{if (f.subtitle) '.eng-forced'}}" seriesFormat="V:/drev/{if ('Familie' in genres) {'Kids Series'} else if ('Children' in genres) {'Kids Series'} else 'Series'}/{az}/{n}.({y})/Season {s00}/{n} - {s00e00} - {t}{any{subt}{if (f.subtitle) '.eng-forced'}}" --def subtitles=en,da "ut_label=none" "ut_title=%N" "ut_kind=multi" "ut_dir=%F"
Code: Select all
V:/drev/Movie/{az}/{n}.({y})/{n} - {t}{any{subt}{if (f.subtitle) '.eng-forced'}}
Code: Select all
V:/drev/{if ('Familie' in genres) {'Kids Series'} else if ('Children' in genres) {'Kids Series'} else 'Series'}/{az}/{n}.({y})/Season {s00}/{n} - {s00e00} - {t}{any{subt}{if (f.subtitle) '.eng-forced'}}