Consistent Mis-match using AMC Script

Any questions? Need some help?
Post Reply
kj1005
Posts: 2
Joined: 31 May 2021, 01:27

Consistent Mis-match using AMC Script

Post by kj1005 »

I'm trying to use the AMC script to process all of the Rocky movies, but FB is consistently matching these against a TV series called Rocky and the Dodos. I have attempted renaming the original files a few different ways and also tried processing them manually one by one, but every time the script will match against this TV series.

Any assistance would be appreciated :)

FB script I'm using:

Code: Select all

filebot -script fn:amc --output "/media01/media" --action hardlink --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y excludeList=".excludes" ut_dir="MEDIA_PATH" ut_kind="multi" --def minLengthMS=0
File names (Original)

Code: Select all

Rocky 1-6 1976-2006 BDRip 1080p DTS- HighCode/
├── INFO.nfo
├── Rocky 1 (1976) BDRip 1080p DTS- HighCode.mkv
├── Rocky 2 (1979) BDRip 1080p DTS- HighCode.mkv
├── Rocky 3 (1982) BDRip 1080p DTS- HighCode.mkv
├── Rocky 4 (1985) BDRip 1080p DTS- HighCode.mkv
├── Rocky 5 (1990) BDRip 1080p DTS- HighCode.mkv
└── Rocky 6 (2006) BDRip 1080p DTS multisub- HighCode.mkv
I also tried:

Code: Select all

Rocky/
├── Rocky (1976).mkv
├── Rocky II (1979).mkv
├── Rocky III (1982).mkv
├── Rocky IV (1985).mkv
├── Rocky V (1990).mkv
└── Rocky Balboa (2006).mkv
And:

Code: Select all

Rocky (1976)/
└── Rocky (1976).mkv
FB Output:

Code: Select all

Run script [fn:amc] at [Mon May 31 01:40:04 UTC 2021]
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: excludeList = .excludes
Parameter: ut_dir = /media01/torrent/Rocky 1-6 1976-2006 BDRip 1080p DTS- HighCode/
Parameter: ut_kind = multi
Parameter: minLengthMS = 0
Use excludes: /media01/media/.excludes (296)
Input: /media01/torrent/Rocky 1-6 1976-2006 BDRip 1080p DTS- HighCode/Rocky 1 (1976) BDRip 1080p DTS- HighCode.mkv
Input: /media01/torrent/Rocky 1-6 1976-2006 BDRip 1080p DTS- HighCode/Rocky 2 (1979) BDRip 1080p DTS- HighCode.mkv
Input: /media01/torrent/Rocky 1-6 1976-2006 BDRip 1080p DTS- HighCode/Rocky 3 (1982) BDRip 1080p DTS- HighCode.mkv
Input: /media01/torrent/Rocky 1-6 1976-2006 BDRip 1080p DTS- HighCode/Rocky 4 (1985) BDRip 1080p DTS- HighCode.mkv
Input: /media01/torrent/Rocky 1-6 1976-2006 BDRip 1080p DTS- HighCode/Rocky 5 (1990) BDRip 1080p DTS- HighCode.mkv
Input: /media01/torrent/Rocky 1-6 1976-2006 BDRip 1080p DTS- HighCode/Rocky 6 (2006) BDRip 1080p DTS multisub- HighCode.mkv
xattr: [Rocky 1 (1976) BDRip 1080p DTS- HighCode.mkv] => [Rocky and the Dodos - 1x08 - On the Rocks]
xattr: [Rocky 2 (1979) BDRip 1080p DTS- HighCode.mkv] => [Rocky and the Dodos - 2x09 - Listen With Rocky]
xattr: [Rocky 3 (1982) BDRip 1080p DTS- HighCode.mkv] => [Rocky and the Dodos - 1x03 - Eggs Stink]
xattr: [Rocky 4 (1985) BDRip 1080p DTS- HighCode.mkv] => [Rocky and the Dodos - 1x04 - Eye of the Dodo]
xattr: [Rocky 5 (1990) BDRip 1080p DTS- HighCode.mkv] => [Rocky and the Dodos - 2x05 - Double O' Dodo]
xattr: [Rocky 6 (2006) BDRip 1080p DTS multisub- HighCode.mkv] => [Rocky and the Dodos - 2x06 - A Creep in the Night]
Group: {Series=rocky and the dodos} => [Rocky 1 (1976) BDRip 1080p DTS- HighCode.mkv, Rocky 2 (1979) BDRip 1080p DTS- HighCode.mkv, Rocky 3 (1982) BDRip 1080p DTS- HighCode.mkv, Rocky 4 (1985) BDRip 1080p DTS- HighCode.mkv, Rocky 5 (1990) BDRip 1080p DTS- HighCode.mkv, Rocky 6 (2006) BDRip 1080p DTS multisub- HighCode.mkv]
Rename episodes using [TheTVDB] with [Airdate]
Lookup via [Rocky and the Dodos]
Fetching episode data for [Rocky and the Dodos]
[HARDLINK] from [/media01/torrent/Rocky 1-6 1976-2006 BDRip 1080p DTS- HighCode/Rocky 1 (1976) BDRip 1080p DTS- HighCode.mkv] to [/media01/media/TV Shows/Rocky and the Dodos/Season 01/Rocky and the Dodos - S01E08 - On the Rocks.mkv]
[HARDLINK] from [/media01/torrent/Rocky 1-6 1976-2006 BDRip 1080p DTS- HighCode/Rocky 2 (1979) BDRip 1080p DTS- HighCode.mkv] to [/media01/media/TV Shows/Rocky and the Dodos/Season 02/Rocky and the Dodos - S02E09 - Listen With Rocky.mkv]
[HARDLINK] from [/media01/torrent/Rocky 1-6 1976-2006 BDRip 1080p DTS- HighCode/Rocky 3 (1982) BDRip 1080p DTS- HighCode.mkv] to [/media01/media/TV Shows/Rocky and the Dodos/Season 01/Rocky and the Dodos - S01E03 - Eggs Stink.mkv]
[HARDLINK] from [/media01/torrent/Rocky 1-6 1976-2006 BDRip 1080p DTS- HighCode/Rocky 4 (1985) BDRip 1080p DTS- HighCode.mkv] to [/media01/media/TV Shows/Rocky and the Dodos/Season 01/Rocky and the Dodos - S01E04 - Eye of the Dodo.mkv]
[HARDLINK] from [/media01/torrent/Rocky 1-6 1976-2006 BDRip 1080p DTS- HighCode/Rocky 5 (1990) BDRip 1080p DTS- HighCode.mkv] to [/media01/media/TV Shows/Rocky and the Dodos/Season 02/Rocky and the Dodos - S02E05 - Double O' Dodo.mkv]
[HARDLINK] from [/media01/torrent/Rocky 1-6 1976-2006 BDRip 1080p DTS- HighCode/Rocky 6 (2006) BDRip 1080p DTS multisub- HighCode.mkv] to [/media01/media/TV Shows/Rocky and the Dodos/Season 02/Rocky and the Dodos - S02E06 - A Creep in the Night.mkv]
Processed 6 files
Fetching series artwork for [Rocky and the Dodos / Season 1] to [/media01/media/TV Shows/Rocky and the Dodos/Season 01]
Generate Series NFO: Rocky and the Dodos [275154]
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/poster.jpg / poster:680x1000
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/poster.jpg / poster:null
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/banner.jpg / series:graphical
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/banner.jpg / series:null
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/fanart.jpg / fanart:1920x1080
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/fanart.jpg / fanart:1280x720
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/fanart.jpg / fanart:null
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/Season 01/poster.jpg / season:season
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/Season 01/banner.jpg / seasonwide:seasonwide
Fanart not found: /media01/media/TV Shows/Rocky and the Dodos/clearart.png / hdclearart
Fanart not found: /media01/media/TV Shows/Rocky and the Dodos/clearart.png / clearart
Fanart not found: /media01/media/TV Shows/Rocky and the Dodos/logo.png / hdtvlogo
Fanart not found: /media01/media/TV Shows/Rocky and the Dodos/logo.png / clearlogo
Fanart not found: /media01/media/TV Shows/Rocky and the Dodos/landscape.jpg / tvthumb
Fanart not found: /media01/media/TV Shows/Rocky and the Dodos/Season 01/landscape.jpg / seasonthumb
Fetching series artwork for [Rocky and the Dodos / Season 2] to [/media01/media/TV Shows/Rocky and the Dodos/Season 02]
Generate Series NFO: Rocky and the Dodos [275154]
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/poster.jpg / poster:680x1000
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/poster.jpg / poster:null
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/banner.jpg / series:graphical
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/banner.jpg / series:null
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/fanart.jpg / fanart:1920x1080
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/fanart.jpg / fanart:1280x720
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/fanart.jpg / fanart:null
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/Season 02/poster.jpg / season:season
Banner not found: /media01/media/TV Shows/Rocky and the Dodos/Season 02/banner.jpg / seasonwide:seasonwide
Fanart not found: /media01/media/TV Shows/Rocky and the Dodos/clearart.png / hdclearart
Fanart not found: /media01/media/TV Shows/Rocky and the Dodos/clearart.png / clearart
Fanart not found: /media01/media/TV Shows/Rocky and the Dodos/logo.png / hdtvlogo
Fanart not found: /media01/media/TV Shows/Rocky and the Dodos/logo.png / clearlogo
Fanart not found: /media01/media/TV Shows/Rocky and the Dodos/landscape.jpg / tvthumb
Fanart not found: /media01/media/TV Shows/Rocky and the Dodos/Season 02/landscape.jpg / seasonthumb
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 19804
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Consistent Mis-match using AMC Script

Post by rednoah »

You may need to force Movie Mode in this particular case:

Code: Select all

--def ut_label=Movie

:idea: Alternatively, putting movies in a folder called Movies will also do the trick.


:arrow: Please read Common Problems and Advanced Fine-Tuning for details.



EDIT:


This was a good idea, and might have worked:
kj1005 wrote: 31 May 2021, 01:43 I also tried:

Code: Select all

Rocky/
├── Rocky (1976).mkv
├── Rocky II (1979).mkv
├── Rocky III (1982).mkv
├── Rocky IV (1985).mkv
├── Rocky V (1990).mkv
└── Rocky Balboa (2006).mkv
And:

Code: Select all

Rocky (1976)/
└── Rocky (1976).mkv
But files were already tagged as TV Series Episode at this point, thus forcing TV Mode in subsequent calls:

Code: Select all

xattr: [Rocky 1 (1976) BDRip 1080p DTS- HighCode.mkv] => [Rocky and the Dodos - 1x08 - On the Rocks]
 ...
:idea: Please read Metadata and Extended Attributes for details.

:idea: Use filebot -revert to revert files. This will delete the erroneously created hardlinks and clear xattr correctly and allow you to try again cleanly.
:idea: Please read the FAQ and How to Request Help.
kj1005
Posts: 2
Joined: 31 May 2021, 01:27

Re: Consistent Mis-match using AMC Script

Post by kj1005 »

Thank you for the quick response, I've used ut_label=Movies to work around this, as filebot -revert didn't appear to have any affect.

Appreciate the great support! :)
User avatar
rednoah
The Source
Posts: 19804
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Consistent Mis-match using AMC Script

Post by rednoah »

Here's how -revert works:

1. Process files:

Code: Select all

$ filebot -rename *.mp4 --db TheMovieDB --action HARDLINK --log INFO
[HARDLINK] from [Avatar.2009.mp4] to [Avatar (2009).mp4]
2. View xattr metadata:

Code: Select all

$ filebot -mediainfo *.mp4 --db xattr --format "{f.name} | {json}"
Avatar (2009).mp4 | {"@type":"Movie","year":2009,"imdbId":499549,"tmdbId":19995,"language":"en","id":19995,"name":"Avatar","aliasNames":[]}
Avatar.2009.mp4 | {"@type":"Movie","year":2009,"imdbId":499549,"tmdbId":19995,"language":"en","id":19995,"name":"Avatar","aliasNames":[]}
3. Revert files:

Code: Select all

$ filebot -revert
Revert [Avatar (2009).mp4] to [Avatar.2009.mp4]
Reverted 1 file
4. Confirm that the newly created hardlink has been deleted, and that xattr metadata have been removed:

Code: Select all

$ filebot -mediainfo *.mp4 --db xattr --format "{f.name} | {json}"
Avatar.2009.mp4 |
:idea: Please read the FAQ and How to Request Help.
Post Reply