From d8751ea088869051eceabd13d0dde2e4f02e0540 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 23 Nov 2013 04:32:09 +0000 Subject: [PATCH] * force online dependencies in AMC script --- website/scripts/amc.groovy | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/scripts/amc.groovy b/website/scripts/amc.groovy index a08ed083..fbfdf411 100644 --- a/website/scripts/amc.groovy +++ b/website/scripts/amc.groovy @@ -138,7 +138,7 @@ if (excludeList) { input.each{ f -> _log.finest("Input: $f") } // artwork/nfo utility -if (artwork || xbmc || plex) { include('lib/htpc') } +if (artwork || xbmc || plex) { include('fn:lib/htpc') } // group episodes/movies and rename according to XBMC standards def groups = input.groupBy{ f -> @@ -299,12 +299,12 @@ if (plex) { // mark episodes as 'acquired' if (myepisodes) { _log.info 'Update MyEpisodes' - executeScript('update-mes', [login:myepisodes.join(':'), addshows:true], getRenameLog().values()) + executeScript('fn:update-mes', [login:myepisodes.join(':'), addshows:true], getRenameLog().values()) } if (pushover) { // include webservice utility - include('lib/ws') + include('fn:lib/ws') _log.info 'Sending Pushover notification' Pushover(pushover).send("Finished processing ${tryQuietly { ut_title } ?: input*.dir.name.unique()} (${getRenameLog().size()} files).") @@ -313,7 +313,7 @@ if (pushover) { // send status email if (gmail) { // ant/mail utility - include('lib/ant') + include('fn:lib/ant') // send html mail def renameLog = getRenameLog() @@ -369,7 +369,7 @@ if (clean) { cleanerInput = cleanerInput.findAll{ f -> f.exists() } if (cleanerInput.size() > 0) { _log.info 'Clean clutter files and empty folders' - executeScript('cleaner', args.empty ? [root:true] : [root:false], cleanerInput) + executeScript('fn:cleaner', args.empty ? [root:true] : [root:false], cleanerInput) } } }