@ZeroQI - I think I see part of the problem. It doesn’t seem to apply the custom xml to the specials located in the specials folder. Looking at the scanner log, I see a couple places this happens. For Another:
Scanner call - root: '/mnt/videos/anime', path: 'Another [anidb2-8556]', dirs: '1', files: '13'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
file: '/mnt/videos/anime/Another [anidb2-8556]/anime-list-custom.xml', ext: 'xml' not in video_ext
Loading local custom mapping - url: '/mnt/videos/anime/anime-list-custom.xml'
anidbTvdbMapping() - anidb: '8556', tvbdid: '254349', defaulttvdbseason: '1', name: 'Another', mappingList: '{'s0e2': 's0e3', 'episodeoffset': None}'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
"Another [tvdb-254349]" s0001e001 "Another - Ep 01 (BD 1280x720, JPN+ENG) [CBM] [35ED63AE].mkv" "(, Jpn+Eng)"
"Another [tvdb-254349]" s0001e002 "Another - Ep 02 (BD 1280x720, JPN+ENG) [CBM] [578A07B1].mkv" "(, Jpn+Eng)"
"Another [tvdb-254349]" s0001e003 "Another - Ep 03 (BD 1280x720, JPN+ENG) [CBM] [3B7F036F].mkv" "(, Jpn+Eng)"
"Another [tvdb-254349]" s0001e004 "Another - Ep 04 (BD 1280x720, JPN+ENG) [CBM] [339B8625].mkv" "(, Jpn+Eng)"
"Another [tvdb-254349]" s0001e005 "Another - Ep 05 (BD 1280x720, JPN+ENG) [CBM] [69F02E77].mkv" "(, Jpn+Eng)"
"Another [tvdb-254349]" s0001e006 "Another - Ep 06 (BD 1280x720, JPN+ENG) [CBM] [255CEF5F].mkv" "(, Jpn+Eng)"
"Another [tvdb-254349]" s0001e007 "Another - Ep 07 (BD 1280x720, JPN+ENG) [CBM] [C5623BC6].mkv" "(, Jpn+Eng)"
"Another [tvdb-254349]" s0001e008 "Another - Ep 08 (BD 1280x720, JPN+ENG) [CBM] [1312D980].mkv" "(, Jpn+Eng)"
"Another [tvdb-254349]" s0001e009 "Another - Ep 09 (BD 1280x720, JPN+ENG) [CBM] [F807C7B9].mkv" "(, Jpn+Eng)"
"Another [tvdb-254349]" s0001e010 "Another - Ep 10 (BD 1280x720, JPN+ENG) [CBM] [938CDAB9].mkv" "(, Jpn+Eng)"
"Another [tvdb-254349]" s0001e011 "Another - Ep 11 v2 (BD 1280x720, JPN+ENG) [CBM] [25795457].mkv" "(, Jpn+Eng)"
"Another [tvdb-254349]" s0001e012 "Another - Ep 12 (BD 1280x720, JPN+ENG) [CBM] [46D91E07].mkv" "(, Jpn+Eng)"
Scanner call - root: '/mnt/videos/anime', path: 'Another [anidb2-8556]/specials', dirs: '0', files: '1'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Use existing: '/tmp/ASS-tmp-anime-list-master.xml'
anidbTvdbMapping() - anidb: '8556', tvbdid: '254349', defaulttvdbseason: '1', name: 'Another', mappingList: '{'episodeoffset': ''}'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
"Another [tvdb-254349]" s0000e002 "Another - Special 02 - Flash Animation (BD 1280x720) [CBM] [012551F0].mkv" "7" "Flash Animation"
And for Sound! Euphonium S1
Scanner call - root: '/mnt/videos/anime', path: 'Sound! Euphonium [anidb2-10889]', dirs: '1', files: '14'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
file: '/mnt/videos/anime/Sound! Euphonium [anidb2-10889]/anime-list-custom.xml', ext: 'xml' not in video_ext
Loading local custom mapping - url: '/mnt/videos/anime/anime-list-custom.xml'
anidbTvdbMapping() - anidb: '10889', tvbdid: '289884', defaulttvdbseason: '1', name: 'Hibike! Euphonium', mappingList: '{'s0e8': 's0e7', 's0e6': 's0e5', 's0e7': 's0e6', 's0e4': 's0e3', 's0e5': 's0e4', 's0e2': 's0e1', 's0e3': 's0e2', 's0e1': 's0e8', 'episodeoffset': None}'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
"Sound! Euphonium [tvdb-289884]" s0001e001 "Sound! Euphonium - Ep 01 (BD 1280x720 Hi10P) [FFF] [E2A58F25].mkv"
"Sound! Euphonium [tvdb-289884]" s0001e002 "Sound! Euphonium - Ep 02 (BD 1280x720 Hi10P) [FFF] [537FA6EC].mkv"
"Sound! Euphonium [tvdb-289884]" s0001e003 "Sound! Euphonium - Ep 03 (BD 1280x720 Hi10P) [FFF] [B7EA41E3].mkv"
"Sound! Euphonium [tvdb-289884]" s0001e004 "Sound! Euphonium - Ep 04 (BD 1280x720 Hi10P) [FFF] [0E3431A4].mkv"
"Sound! Euphonium [tvdb-289884]" s0001e005 "Sound! Euphonium - Ep 05 (BD 1280x720 Hi10P) [FFF] [EA161304].mkv"
"Sound! Euphonium [tvdb-289884]" s0001e006 "Sound! Euphonium - Ep 06 (BD 1280x720 Hi10P) [FFF] [74881146].mkv"
"Sound! Euphonium [tvdb-289884]" s0001e007 "Sound! Euphonium - Ep 07 (BD 1280x720 Hi10P) [FFF] [F0EA3210].mkv"
"Sound! Euphonium [tvdb-289884]" s0001e008 "Sound! Euphonium - Ep 08 (BD 1280x720 Hi10P) [FFF] [0594B295].mkv"
"Sound! Euphonium [tvdb-289884]" s0001e009 "Sound! Euphonium - Ep 09 (BD 1280x720) [FFF] [3A46D94F].mkv"
"Sound! Euphonium [tvdb-289884]" s0001e010 "Sound! Euphonium - Ep 10 (BD 1280x720) [FFF] [B9D6DAA3].mkv"
"Sound! Euphonium [tvdb-289884]" s0001e011 "Sound! Euphonium - Ep 11 (BD 1280x720 Hi10P) [FFF] [7CFDF245].mkv"
"Sound! Euphonium [tvdb-289884]" s0001e012 "Sound! Euphonium - Ep 12 (BD 1280x720 Hi10P) [FFF] [4BFB6690].mkv"
"Sound! Euphonium [tvdb-289884]" s0001e013 "Sound! Euphonium - Ep 13 (BD 1280x720 Hi10P) [FFF] [C7044438].mkv"
Scanner call - root: '/mnt/videos/anime', path: 'Sound! Euphonium [anidb2-10889]/specials', dirs: '0', files: '8'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Use existing: '/tmp/ASS-tmp-anime-list-master.xml'
anidbTvdbMapping() - anidb: '10889', tvbdid: '289884', defaulttvdbseason: '1', name: 'Hibike! Euphonium', mappingList: '{'episodeoffset': ''}'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
"Sound! Euphonium [tvdb-289884]" s0000e001 "Sound! Euphonium - Special 01 [Ep 14 OVA] - Ready, Set, Monaka (BD 1280x720) [Waku] [6DBAB735].mkv" "7" "Ready, Set, Monaka"
"Sound! Euphonium [tvdb-289884]" s0000e002 "Sound! Euphonium - Special 02 - The Everyday Life of Band 1 (BD 1280x720 Hi10P) [FFF] [444B00EC].mkv" "7" "The Everyday Life of Band 1"
"Sound! Euphonium [tvdb-289884]" s0000e003 "Sound! Euphonium - Special 03 - The Everyday Life of Band 2 (BD 1280x720 Hi10P) [FFF] [B71B6CD1].mkv" "7" "The Everyday Life of Band 2"
"Sound! Euphonium [tvdb-289884]" s0000e004 "Sound! Euphonium - Special 04 - The Everyday Life of Band 3 (BD 1280x720 Hi10P) [FFF] [C472400A].mkv" "7" "The Everyday Life of Band 3"
"Sound! Euphonium [tvdb-289884]" s0000e005 "Sound! Euphonium - Special 05 - The Everyday Life of Band 4 (BD 1280x720 Hi10P) [FFF] [164247B9].mkv" "7" "The Everyday Life of Band 4"
"Sound! Euphonium [tvdb-289884]" s0000e006 "Sound! Euphonium - Special 06 - The Everyday Life of Band 5 (BD 1280x720) [FFF] [9F26A0C9].mkv" "7" "The Everyday Life of Band 5"
"Sound! Euphonium [tvdb-289884]" s0000e007 "Sound! Euphonium - Special 07 - The Everyday Life of Band 6 (BD 1280x720 Hi10P) [FFF] [FD5410C4].mkv" "7" "The Everyday Life of Band 6"
"Sound! Euphonium [tvdb-289884]" s0000e008 "Sound! Euphonium - Special 08 - The Everyday Life of Band 7 (BD 1280x720 Hi10P) [FFF] [90DAB6E6].mkv" "7" "The Everyday Life of Band 7"
As you can see for both of those, it loads the custom xml mapping file for the main series, but seems to skip/miss it for the specials folder and just use the main /tmp xml, which causes it not to use the custom mappings.
For the Index movie I’m still having some trouble. I believe I figured out why it was treating the special as the main movie episode. It was previously named “A Certain Magical Index - The Miracle of Endymion - Special 01 - Index-tan The Movie (BD 1280x720 Hi10P) [UTW & Mazui] [A26D6D00].mkv” and I think it was picking up the “Movie” word and thus thinking it was the main movie. After removing that and just changing the name to “A Certain Magical Index - The Miracle of Endymion - Special 01 - Index-tan (BD 1280x720 Hi10P) [UTW & Mazui] [A26D6D00].mkv” it is now properly treating it as a special. But it is still running into 2 problems - it is not using the custom mapping xml again in the specials directory, so it just sets it now as s0e01 and not s0e06 as it should, and it is still for some reason completely dropping the main movie file for reasons I can’t figure out. Here is the scanner log and you can see there is no mention of the main movie file “A Certain Magical Index - The Miracle of Endymion 01 (BD 1280x720 Hi10P, AAC 6ch) [UTW & Mazui] [D77968AE].mkv” in there:
Scanner call - root: '/mnt/videos/anime', path: 'A Certain Magical Index - The Miracle of Endymion [anidb2-8694]', dirs: '1', files: '2'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
file: '/mnt/videos/anime/A Certain Magical Index - The Miracle of Endymion [anidb2-8694]/anime-list-custom.xml', ext: 'xml' not in video_ext
Scanner call - root: '/mnt/videos/anime', path: 'A Certain Magical Index - The Miracle of Endymion [anidb2-8694]/specials', dirs: '0', files: '1'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Use existing: '/tmp/ASS-tmp-anime-list-master.xml'
anidbTvdbMapping() - anidb: '8694', tvbdid: '83322', defaulttvdbseason: '0', name: 'Gekijouban Toaru Majutsu no Index: Endymion no Kiseki', mappingList: '{'s1e1': 's0e5', 'episodeoffset': ''}'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
"A Certain Magical Index - The Miracle of Endymion [tvdb-83322]" s0000e001 "A Certain Magical Index - The Miracle of Endymion - Special 01 - Index-tan (BD 1280x720 Hi10P) [UTW & Mazui] [A26D6D00].mkv" "7" "Index-tan"
Here’s the custom xml mapping for it again, in case you want to see:
<?xml version="1.0" encoding="utf-8"?>
<anime-list>
<anime anidbid="8694" tvdbid="83322" defaulttvdbseason="0" imdbid="unknown">
<name>Gekijouban Toaru Majutsu no Index: Endymion no Kiseki</name>
<mapping-list>
<mapping anidbseason="0" tvdbseason="0">;1-6;</mapping>
<mapping anidbseason="1" tvdbseason="0">;1-5;</mapping>
</mapping-list>
</anime-list>