Page 1 of 1

[SOLVED] Can AMC not try to always move a movie to "Movies"?

Posted: 08 Jan 2018, 01:49
by kodiuser
I'm using Radarr and it already downloads to /mnt/HD/Movies, so I need AMC just to rename the movie and download all the metadata, but everytime I run it it creates the "Movies" folder somewhere and if I try to set the --output variable from where the movie is already correctly set:

Code: Select all

filebot -script fn:amc --output="/mnt/HD/" --conflict auto --def artwork=y --def extras=y --def kodi=localhost[:8080] moviefile.mkv
Nothing is done:

Code: Select all

Run script [fn:amc] at [Mon Jan 08 01:08:08 GMT 2018]
Parameter: artwork = y
Parameter: extras = y
Parameter: kodi = *****
Argument[0]: /mnt/HD/Movies/Movie (2017)/Movie (2017).mkv
Input: /mnt/HD/Movies/Movie (2017)/Movie (2017).mkv
xattr: [Movie (2017).mkv] => [Movie (2017)]
Group: [mov:movie 2017] => [Movie (2017).mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/mnt/HD/Movies/Movie (2017)/Movie (2017).mkv]
Skipped [/mnt/HD/Movies/Movie (2017)/Movie (2017).mkv] because [/mnt/HD/Movies/Movie (2017)/Movie (2017).mkv] already exists
Processed 0 files
Finished without processing any files
Failure (°_°)
Is there anyway to AMC just process the file that is already in the right place?

Re: Can AMC not try to always move a movie to "Movies"?

Posted: 08 Jan 2018, 04:40
by kim
short answer, NO.

then you need to use
artwork.tmdb
(artwork.tmdb.groovy)

also you want to look into using a format
http://www.filebot.net/forums/viewtopic.php?f=4&t=215

default is

Code: Select all

{plex}
you want -"Movies" =

Code: Select all

{plex.tail}

Re: Can AMC not try to always move a movie to "Movies"?

Posted: 08 Jan 2018, 16:26
by rednoah
The amc script is designed to process a set of files from one location to another. Processing files in place is explicitly not supported. You can use simple filebot -rename calls for that.

You could try to set a custom format that retains the original folder location, but I'm not sure if the amc script will be happy with that. The {folder} binding would help with that.

Re: Can AMC not try to always move a movie to "Movies"?

Posted: 08 Jan 2018, 16:48
by kodiuser
rednoah wrote: 08 Jan 2018, 16:26 You could try to set a custom format that retains the original folder location, but I'm not sure if the amc script will be happy with that. The {folder} binding would help with that.
That's what I tried, it complains that the mkv already exists.

If it's no possible, than I need to manually call the -rename option, check somehow if it's tv or movie to manually call the artwork.tmdb or tv script and then a manual call to my kodi telling to update it's database.

Can you add the same --def kodi parameter that we have in the amc script to the other scripts that download metadata such as artwork.tmdb?

Re: Can AMC not try to always move a movie to "Movies"?

Posted: 08 Jan 2018, 17:17
by rednoah
I see. The amc script has additional checks to avoid processing the same files indefinitely. Bottomline, if you're not processing any files (i.e. they already have the right name) then you can't use the amc script.

The artwork.* scripts you can use standalone. There's no such script for Kodi updates because it's like a single line of code. curl is your friend.

Re: Can AMC not try to always move a movie to "Movies"?

Posted: 08 Jan 2018, 17:43
by kodiuser
Thanks kim, your post gave me the idea of callong multiple commands: and rednoah for this software.