AMC script only processes one file in multi file directory

Support for Ubuntu and other Desktop Linux distributions
Post Reply
tip2tail
Posts: 2
Joined: 16 Jul 2017, 18:56

AMC script only processes one file in multi file directory

Post by tip2tail »

Hi,

I have just installed FileBot as a snap on Ubuntu 17.10. I am trying to get my automatic script running on Linux as I do on Windows. However FileBot seems to only want to process the first file in a multi episode directory.

The command given is:

Code: Select all

filebot -script fn:amc --log all --def movieFormat="$PATHMOVIES" --def seriesFormat="$PATHTV" --def musicFormat="$PATHMUSIC" --log-file "$FILELOG" --action move --conflict override -non-strict --def music=y artwork=n excludeList="$FILEEXCLUDE" "/home/mark/Downloads/Torrents/Doctor Foster Season 2 Complete 720p HDTV x264 [i_c]"
Variables are:

Code: Select all

LOGDIR="$HOME/filebot_logs"
FILEEXCLUDE="$LOGDIR/filebot_exclude_tmp.log"
FILELOG="$LOGDIR/filebot.log"
PATHMUSIC="/media/plex/libs/music/{n}/{album}/{pi.pad(2)+' - '}{artist} - {t}"
PATHMOVIES="/media/plex/libs/movies/{n} ({y})"
PATHTV="/media/plex/libs/tv/{n}/Season {s}/{n} - {s00e00} - {t}"
Output when run from the terminal was:

Code: Select all

Locking /home/mark/filebot_logs/2017/10/filebot.log
Run script [fn:amc] at [Fri Oct 06 22:30:05 BST 2017]
Parameter: movieFormat = /media/plex/libs/movies/{n} ({y})
Parameter: seriesFormat = /media/plex/libs/tv/{n}/Season {s}/{n} - {s00e00} - {t}
Parameter: musicFormat = /media/plex/libs/music/{n}/{album}/{pi.pad(2)+' - '}{artist} - {t}
Parameter: music = y
Parameter: artwork = n
Parameter: excludeList = /home/mark/filebot_logs/filebot_exclude_tmp.log
Argument[0]: /home/mark/Downloads/Torrents/Doctor Foster Season 2 Complete 720p HDTV x264 [i_c]
Use excludes: /home/mark/filebot_logs/filebot_exclude_tmp.log
Input: /home/mark/Downloads/Torrents/Doctor Foster Season 2 Complete 720p HDTV x264 [i_c]/Doctor Foster S02E01 Episode 1.mkv
Input: /home/mark/Downloads/Torrents/Doctor Foster Season 2 Complete 720p HDTV x264 [i_c]/Doctor Foster S02E02 Episode 2.mkv
Input: /home/mark/Downloads/Torrents/Doctor Foster Season 2 Complete 720p HDTV x264 [i_c]/Doctor Foster S02E03 Episode 3.mkv
Input: /home/mark/Downloads/Torrents/Doctor Foster Season 2 Complete 720p HDTV x264 [i_c]/Doctor Foster S02E04 Episode 4.mkv
Input: /home/mark/Downloads/Torrents/Doctor Foster Season 2 Complete 720p HDTV x264 [i_c]/Doctor Foster S02E05 Episode 5.mkv
Group: [tvs:doctor foster] => [Doctor Foster S02E01 Episode 1.mkv, Doctor Foster S02E02 Episode 2.mkv, Doctor Foster S02E03 Episode 3.mkv, Doctor Foster S02E04 Episode 4.mkv, Doctor Foster S02E05 Episode 5.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Doctor Foster]
Fetching episode data for [Doctor Foster]
[MOVE] From [/home/mark/Downloads/Torrents/Doctor Foster Season 2 Complete 720p HDTV x264 [i_c]/Doctor Foster S02E01 Episode 1.mkv] to [/media/plex/libs/tv/Doctor Foster/Season 2/Doctor Foster - S02E01 - Episode 1.mkv]
And thats it. Only one file is moved.

Any help appreciated! :)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC script only processes one file in multi file directory

Post by rednoah »

This is definitely not the complete console output. ;)

Option A: The process is still running and moving files is taking a long time. Wait longer.

Option B: The process has terminated with some sort of error message. Make sure that you're seeing the whole console output (including standard error).
:idea: Please read the FAQ and How to Request Help.
Post Reply