Show "9-1-1" not getting processed

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Paldran
Posts: 2
Joined: 07 Jan 2018, 23:11

Show "9-1-1" not getting processed

Post by Paldran »

I use Deluge to call a filebot AMC script to sort my media. I started grabbing the show 9-1-1 and it keeps dumping it into unsorted.

Below is my script, and the output when I run the script manually, any tips on getting it to recognize this show properly would be appreciated.

Code: Select all

#!/bin/sh -xu

# Input Parameters
ARG_PATH="$3/$2"
ARG_NAME="$2"
ARG_LABEL="N/A"

# Configuration
#CONFIG_OUTPUT="/PlexData/media" # if this script is called by the deluge user, then $HOME will NOT refer to YOUR user home, but paths such as /var/lib/deluge instead

/usr/bin/filebot -script fn:amc --output "/PlexData/media" --action duplicate --conflict auto -non-strict --log-file /PlexData/filebotlogs/amc.log --def "exec=chmod 775 -R '{folder}'" --def subtitles=en movieFormat="Movies/{collection+'/'}{n} ({y}){'['+source+']'}/{n} ({y}) [{fn.match(/3D/)+', '}{vf}.{ac}-{channels}]" seriesFormat="TV Shows/{n}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}.{vf}.{ac}" excludeList=/PlexData/filebotlogs/amc.excludes unsorted=y music=y ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL"

chmod -R 777 /PlexData/media

Code: Select all

sudo ./deluge-postprocess.sh ef66118419d049de86b63aae106a6e0162cf9bb5 9-1-1.S01E01.1080p.HEVC.x265-MeGusta /PlexData/complete
+ ARG_PATH=/PlexData/complete/9-1-1.S01E01.1080p.HEVC.x265-MeGusta
+ ARG_NAME=9-1-1.S01E01.1080p.HEVC.x265-MeGusta
+ ARG_LABEL=N/A
+ /usr/bin/filebot -script fn:amc --output /PlexData/media --action duplicate --conflict auto -non-strict --log-file /PlexData/filebotlogs/amc.log --def exec=chmod 775 -R '{folder}' --def subtitles=en movieFormat=Movies/{collection+'/'}{n} ({y}){'['+source+']'}/{n} ({y}) [{fn.match(/3D/)+', '}{vf}.{ac}-{channels}] seriesFormat=TV Shows/{n}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}.{vf}.{ac} excludeList=/PlexData/filebotlogs/amc.excludes unsorted=y music=y ut_dir=/PlexData/complete/9-1-1.S01E01.1080p.HEVC.x265-MeGusta ut_kind=multi ut_title=9-1-1.S01E01.1080p.HEVC.x265-MeGusta ut_label=N/A
Locking /PlexData/filebotlogs/amc.log
Run script [fn:amc] at [Thu Feb 15 13:49:51 CST 2018]
Parameter: exec = chmod 775 -R '{folder}'
Parameter: subtitles = en
Parameter: movieFormat = Movies/{collection+'/'}{n} ({y}){'['+source+']'}/{n} ({y}) [{fn.match(/3D/)+', '}{vf}.{ac}-{channels}]
Parameter: seriesFormat = TV Shows/{n}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}.{vf}.{ac}
Parameter: excludeList = /PlexData/filebotlogs/amc.excludes
Parameter: unsorted = y
Parameter: music = y
Parameter: ut_dir = /PlexData/complete/9-1-1.S01E01.1080p.HEVC.x265-MeGusta
Parameter: ut_kind = multi
Parameter: ut_title = 9-1-1.S01E01.1080p.HEVC.x265-MeGusta
Parameter: ut_label = N/A
Use excludes: /PlexData/filebotlogs/amc.excludes (0)
Input: /PlexData/complete/9-1-1.S01E01.1080p.HEVC.x265-MeGusta/9-1-1.S01E01.1080p.HEVC.x265-MeGusta.mkv
Group: [tvs:9 1 1] => [9-1-1.S01E01.1080p.HEVC.x265-MeGusta.mkv]
Get [English] subtitles for 1 files
CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
Rename episodes using [TheTVDB]
Auto-detected query: [9 1 1]
Failed to fetch episode data: [9 1 1]
CmdlineException: Failed to match files to episode data
Processing 1 unsorted files
Skipped [/PlexData/complete/9-1-1.S01E01.1080p.HEVC.x265-MeGusta/9-1-1.S01E01.1080p.HEVC.x265-MeGusta.mkv] because [/PlexData/media/Unsorted/9-1-1.S01E01.1080p.HEVC.x265-MeGusta/9-1-1.S01E01.1080p.HEVC.x265-MeGusta.mkv] already exists
Processed 0 files
Finished without processing any files
Failure (°_°)
User avatar
rednoah
The Source
Posts: 22975
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Show "9-1-1" not getting processed

Post by rednoah »

This one works for me:

Code: Select all

$ filebot -rename 9-1-1.S01E01.1080p.HEVC.x265-MeGusta.mkv
Rename episodes using [TheTVDB]
Auto-detected query: [9 1 1]
Fetching episode data for [9-1-1]
[MOVE] from [9-1-1.S01E01.1080p.HEVC.x265-MeGusta.mkv] to [9-1-1 - 1x01 - Pilot.mkv]
Processed 1 files
Please try again after a few days and then it'll probably magically start working on your side as well. That's most likely due to caching because this show seems to be quite new and not well-known yet.
:idea: Please read the FAQ and How to Request Help.
Post Reply