Absolute Series Scanner (for anime mainly)

IGNORE_FILES_RX = [’[-._ ]sample’, ‘sample[-._ ]’, ‘-Recap.’, ‘OST’, ‘soundtrack’, ‘Thumbs.db’, ‘.plexignore’]
for file in files:
LogFileList(file) #add to filelist
ext = os.path.splitext(file)[1].lstrip(’.’).lower()
if ext in VIDEO_EXTS:
for rx in IGNORE_FILES_RX: # Filter trailers and sample files
if re.match(rx, file, re.IGNORECASE): Log.info(“File: ‘%s’ match IGNORE_FILES_RX: ‘%s’” % (file, rx)); files_to_remove.append(file); break
else: Log.info(“file: ‘%s’, ext: ‘%s’ not in video_ext” % (file, ext)); files_to_remove.append(file); continue

https://docs.python.org/2/library/re.html#re.match indicate the match is done in the string not necessarily the beginning of it… follow regex rules
‘Creditless (ED|EP)[0-9]{1-2}?’ seem to foot the bill…

@ZeroQI said:
IGNORE_FILES_RX = [‘[-._ ]sample’, ‘sample[-._ ]’, ‘-Recap.’, ‘OST’, ‘soundtrack’, ‘Thumbs.db’, ‘.plexignore’]
for file in files:
LogFileList(file) #add to filelist
ext = os.path.splitext(file)[1].lstrip(‘.’).lower()
if ext in VIDEO_EXTS:
for rx in IGNORE_FILES_RX: # Filter trailers and sample files
if re.match(rx, file, re.IGNORECASE): Log.info(“File: ‘%s’ match IGNORE_FILES_RX: ‘%s’” % (file, rx)); files_to_remove.append(file); break
else: Log.info(“file: ‘%s’, ext: ‘%s’ not in video_ext” % (file, ext)); files_to_remove.append(file); continue

7.2. re — Regular expression operations — Python 2.7.18 documentation indicate the match is done in the string not necessarily the beginning of it… follow regex rules
‘Creditless (ED|EP)[0-9]{1-2}?’ seem to foot the bill…

Hi,

Thanks the fast answer, i tried your version, but also nothing happened :frowning:
This is the files:
[ANK-Raws] Guilty Crown (Creditless ED10) (BDrip 1920x1080 x264 FLAC Hi10P).mkv
[ANK-Raws] Guilty Crown (Creditless OP3) (BDrip 1920x1080 x264 FLAC Hi10P).mkv
So i wrote this into the scanner:
IGNORE_FILES_RX = [ ‘Creditless (ED|OP)[0-9]{1-2}?’, ‘[-._ ]sample’, ‘sample[-._ ]’, ‘-Recap.’, ‘OST’, ‘soundtrack’, ‘Thumbs.db’, ‘.plexignore’] # Skipped files (samples, trailers)
Maybe the scanner reinstall will help for me.

since you already scanned, and the folder didn’t change, it’s not changing the behavior…
That is why it was extremelly frustating to write the scanner…
remove both files, rescan, add them back in and it should behave normally…

@ZeroQI said:
since you already scanned, and the folder didn’t change, it’s not changing the behavior…
That is why it was extremelly frustating to write the scanner…
remove both files, rescan, add them back in and it should behave normally…

I removed all these files, restart plex and rescan(this point show what i want), i redownload the deleted files, after that i rescan but again put one file, so it scanned :frowning:

This is in the log:
2016-11-02 21:21:07,832 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED1) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,834 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED2) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,834 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED3) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,835 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED4) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,835 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED5) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,836 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED6) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,838 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED7) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,838 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED8) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,838 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED9) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,839 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED10) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,841 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED11) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,842 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED12) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,842 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED13) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,844 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED14) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,844 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless ED15) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,845 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless OP2) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,845 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless OP3) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,846 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless OP4) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”
2016-11-02 21:21:07,848 - ASS : INFO - “Guilty Crown (BD_1920x1080) [tvdb-252471]” s0001e001 “[ANK-Raws] Guilty Crown (Creditless OP) (BDrip 1920x1080 x264 FLAC Hi10P).mkv”

I renamed the file:
[ANK-Raws] Guilty Crown (Creditless ED1) (BDrip 1920x1080 x264 FLAC Hi10P).mkv
to
[ANK-Raws] Guilty Crown Creditless ED1 (BDrip 1920x1080 x264 FLAC Hi10P).mkv
and it went to the specials beacuse of this row in the scanner:
‘(^|(?P.?)[ _.-]+)(ED|NCED|ENDING) ?(?P\d{1,2}[a-z]?)? ?(v2|v3|v4|v5)?([ _.-]+(?P.))?$’, # 8 # 150-199 Endings
So now only i need to figure out somehow how work with (), for less work :slight_smile:

for rx in IGNORE_FILES_RX: if re.match(rx, file, re.IGNORECASE):
re.match search from the beginning of the string. Try with re.search or use the following: ‘.?Creditless (ED|OP)[0-9]{1-2}?.?’

@ZeroQI said:
for rx in IGNORE_FILES_RX: if re.match(rx, file, re.IGNORECASE):
re.match search from the beginning of the string. Try with re.search or use the following: ‘.?Creditless (ED|OP)[0-9]{1-2}?.?’

Sry for give another bad news, but it wont work at all :frowning: so i will rename all future anime op/ed file
Sorry for take a lot of your time, if you have any idea for this problem i will try

Hi,

I’m having an issue with the scanner not picking up any of the files.
Looking in the logs it seems there is an error with scanning as files variable is undefined or something:

ERROR - Error in Python: Looking up module:
Traceback (most recent call last):
File “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners/Series/Absolute Series Scanner.py”, line 497, in
Stack.Scan(path, files, mediaList, subdirs) if “Stack” in sys.modules else Log.info(“Stack.Scan() doesn’t exists”)
NameError: name ‘files’ is not defined

Tried all the permissions commands in case it was caused by that, but still nothing.

Any help is appreciated

It’s not permission related since it started running

Nov 12, 2016 11:59:01.890 [0x7f6f91992800] ERROR - Error in Python: Looking up module:
Traceback (most recent call last):
  File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners/Series/Absolute Series Scanner.py", line 497, in <module>
    Stack.Scan(path, files, mediaList, subdirs) if "Stack" in sys.modules else Log.info("Stack.Scan() doesn't exists")
NameError: name 'files' is not defined

Line 273
def Scan(path, files, mediaList, subdirs, language=None, root=None, **kwargs): #get called for root and each root folder

“files” is the filenames list received by the scanner, so it doesn’t make sense
should be no spaces i nfrom og line 273 “def Scan(…” and 2 spaced in front of " Stack.Scan(…"
try to comment the line with “#” but multi part fiels won’t be stacked anymore, an acceptable loss

That seems to have worked, thanks very much

I am trying to get this working on a clean install of plex but its not adding anything to the library. I don’t have a ‘Plex Media Scanner (custom ASS).log’
I installed everything and made the library with the hama agent.

Nov 14, 2016 22:02:49.422 [0x7f84aa707800] ERROR - Error scanning directory Dragons [tvdb-261202]/Season 2.
Nov 14, 2016 22:02:49.423 [0x7f84aa707800] ERROR - Error in Python: Running scanner:
Traceback (most recent call last):
File “/usr/lib/plexmediaserver/Resources/Plug-ins-1bef33a/Scanners.bundle/Contents/Resources/Series/Plex Series Scanner.py”, line 46, in Scan
VideoFiles.Scan(path, files, mediaList, subdirs, root)
File “/usr/lib/plexmediaserver/Resources/Plug-ins-1bef33a/Scanners.bundle/Contents/Resources/Common/VideoFiles.py”, line 192, in Scan
Filter.Scan(path, files, mediaList, subdirs, video_exts, root)
File “/usr/lib/plexmediaserver/Resources/Plug-ins-1bef33a/Scanners.bundle/Contents/Resources/Common/Filter.py”, line 103, in Scan
ignore_list = glob.glob(pattern)
File “/data/jenkins/pms-deps-universal-v2/BUILD_TAG/linux-ubuntu-x86_64/output/pms-depends-linux-ubuntu-x86_64-release-494956e/lib/python2.7/glob.py”, line 27, in glob
File “/data/jenkins/pms-deps-universal-v2/BUILD_TAG/linux-ubuntu-x86_64/output/pms-depends-linux-ubuntu-x86_64-release-494956e/lib/python2.7/glob.py”, line 58, in iglob
File “/data/jenkins/pms-deps-universal-v2/BUILD_TAG/linux-ubuntu-x86_64/output/pms-depends-linux-ubuntu-x86_64-release-494956e/lib/python2.7/glob.py”, line 58, in iglob
File “/data/jenkins/pms-deps-universal-v2/BUILD_TAG/linux-ubuntu-x86_64/output/pms-depends-linux-ubuntu-x86_64-release-494956e/lib/python2.7/glob.py”, line 59, in iglob
File “/data/jenkins/pms-deps-universal-v2/BUILD_TAG/linux-ubuntu-x86_64/output/pms-depends-linux-ubuntu-x86_64-release-494956e/lib/python2.7/glob.py”, line 78, in glob1
File “/data/jenkins/pms-deps-universal-v2/BUILD_TAG/linux-ubuntu-x86_64/output/pms-depends-linux-ubuntu-x86_64-release-494956e/lib/python2.7/fnmatch.py”, line 54, in filter
File “/data/jenkins/pms-deps-universal-v2/BUILD_TAG/linux-ubuntu-x86_64/output/pms-depends-linux-ubuntu-x86_64-release-494956e/lib/python2.7/re.py”, line 190, in compile
File “/data/jenkins/pms-deps-universal-v2/BUILD_TAG/linux-ubuntu-x86_64/output/pms-depends-linux-ubuntu-x86_64-release-494956e/lib/python2.7/re.py”, line 242, in _compile
error: bad character range

Bad character range inside a regular expression. Character ranges are things like [a-z0-9] (accepts a lower-case letter or number). re.compile(’[a-0]’) for exemple will cause this error as the range is incorrect

Not sure it’s due to my scanner code.
Does Plex series scanner for the same library show the same errors in “Plex Media Scanner.log” ?

It dose but I’m scanning your ZeroQI.test.Library.7z

I have this installed on live server as well but its also not adding things to the Library, but dose not have errors like the above.

Seems regex related but if you are the ony one impacted it’s the python runtime version that is the issue possibly

The server I want this working on has Python 2.7.12 and Python 3.5.2

Edit
Did a clean install of Ubuntu 16.04 on a test server still not adding. Python 3.5.2
logs are from clean install
What I did to install hama and scanner
service plexmediaserver stop mkdir -p '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners/Series' wget -O '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/master.zip' https://github.com/ZeroQI/Hama.bundle/archive/master.zip wget -O '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in.Support.folders.zip' https://github.com/ZeroQI/Hama.bundle/releases/download/v1.0/Plug-in.Support.folders.zip wget -O '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners/Series/Absolute Series Scanner.py' https://github.com/ZeroQI/Absolute-Series-Scanner/blob/master/Scanners/Series/Absolute%20Series%20Scanner.py unzip '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/master.zip' -d '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/' unzip '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in.Support.folders.zip' -d '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/' mv '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Hama.bundle-master' '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Hama.bundle' chown -R plex:plex '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/' chmod 775 -R '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/' service plexmediaserver restart

https://support.plex.tv/hc/en-us/articles/200375666-Plex-Media-Server-Requirements

i did check the “Plex Media Scanner.log” and it doesn’t give an error on my code but a more generic one “ERROR - No module in VideoFiles”. If plex own scanner is ok, then there is a runtime or right issues with the scanner

Please check the scanner code manually and if you have some HTML/XML tags in it you know why it doesn’t work (ps: this check is indicated in the readme)

Ah I was downloading the webpage and not just the py file. It’s now working. I changed the URL to the raw file now, didn’t check it as I used this setup before I moved to a new server and it worked fine. Guess I ran into the issue and read the readme and didn’t change my copy pastea so this time around I was thinking this should work.

I have another question for the advanced mode for anidb2 dose it have to look like this

/anime/anime_name/bla bla [anidb2-xxxx]/file.mkv
or is it like this
/anime/anime_name [anidb2-xxxx]/file.mkv

If you want you can change the readme for Ubuntu installs to this below it should install and set perms for 16.04. Requires unzip (apt-get install unzip) to be installed the the user.

service plexmediaserver stop mkdir -p '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners/Series' wget -O '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/master.zip' https://github.com/ZeroQI/Hama.bundle/archive/master.zip wget -O '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in.Support.folders.zip' https://github.com/ZeroQI/Hama.bundle/releases/download/v1.0/Plug-in.Support.folders.zip wget -O '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners/Series/Absolute Series Scanner.py' https://raw.githubusercontent.com/ZeroQI/Absolute-Series-Scanner/master/Scanners/Series/Absolute%20Series%20Scanner.py unzip '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/master.zip' -d '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/' unzip '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in.Support.folders.zip' -d '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/' mv '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Hama.bundle-master' '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Hama.bundle' rm '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in.Support.folders.zip' rm '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/master.zip' chown -R plex:plex '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners' chmod 775 -R '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners' chown -R plex:plex '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins' chmod 775 -R '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins' chown -R plex:plex '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support' chmod 775 -R '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support' service plexmediaserver restart

/anime/anime_name [anidb2-xxxx]/file.mkv

Hey @ZeroQI haven’t checked back on ASS/HAMA in a while (6+ months, maybe more…). Finally getting back to re-sorting my anime in Plex and about to embark on updating ASS & HAMA after a long hiatus. Looking to take advantage of the new sorting features (anidb2, tvdb2, etc) to group series in Plex and par down the number of items in there for my own sanity!

Looks like you took out support for grouping/nesting related series inside another folder? That was one of my favorite parts so sad to see that go, though I’m sure there is a good reason you decided to drop support for it. So the go-forward is to just add any grouping folder into the source paths for the Library? Can I put those folders under the main anime folder? So could I have both these paths as source folders in my library?

/mnt/videos/anime
/mnt/videos/anime/Another

With the Another series and OVA nested under “Another”, like this:

/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]
/mnt/videos/anime/Another/[2012-05-26] Another - The Other - Inga [anidb2-8625]

Here’s all the files I’m currently messing with (just testing one series to start with to try it out):

/mnt/videos/anime/Another/[2012-05-26] Another - The Other - Inga [anidb2-8625]/Another - The Other - Inga - Ep 01 [Ep 00 OVA] (BD 1280x720 Hi10P) [Flep] [A522E16C].mkv
/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]/Another - Ep 01 (BD 1280x720, JPN+ENG) [CBM] [35ED63AE].mkv
/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]/Another - Ep 02 (BD 1280x720, JPN+ENG) [CBM] [578A07B1].mkv
/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]/Another - Ep 03 (BD 1280x720, JPN+ENG) [CBM] [3B7F036F].mkv
/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]/Another - Ep 04 (BD 1280x720, JPN+ENG) [CBM] [339B8625].mkv
/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]/Another - Ep 05 (BD 1280x720, JPN+ENG) [CBM] [69F02E77].mkv
/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]/Another - Ep 06 (BD 1280x720, JPN+ENG) [CBM] [255CEF5F].mkv
/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]/Another - Ep 07 (BD 1280x720, JPN+ENG) [CBM] [C5623BC6].mkv
/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]/Another - Ep 08 (BD 1280x720, JPN+ENG) [CBM] [1312D980].mkv
/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]/Another - Ep 09 (BD 1280x720, JPN+ENG) [CBM] [F807C7B9].mkv
/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]/Another - Ep 10 (BD 1280x720, JPN+ENG) [CBM] [938CDAB9].mkv
/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]/Another - Ep 11 v2 (BD 1280x720, JPN+ENG) [CBM] [25795457].mkv
/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]/Another - Ep 12 (BD 1280x720, JPN+ENG) [CBM] [46D91E07].mkv
/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]/specials/Another - Special 02 - Flash Animation (BD 1280x720) [CBM] [012551F0].mkv

Funnily enough if I only put “/mnt/videos/anime” in my library sources it still does seem to pick up only the Special and nothing else, and maps it to s00e02 (The Live Action film) on TVDB 48037.

If I then add in “/mnt/videos/anime/Another” to the sources for the library, it does pick up the rest but I also get some strange oddities.

  • First is the mapping of AniDB (the way I generally follow when number as I use JMM to manage/rename my anime) Special 02 for Another AniDB 8556 (Flash Animation), which just seems to translate over to the TVDB 48037 s00e02 (Live Action film). Is this due to specials not being translated by ScudLee file, or if not found in that file just tries to pull them over? Anyway to fix this if that is the expected behavior?

  • It also seems to be mapping “/mnt/videos/anime/Another/[2012-01-10] Another [anidb2-8556]/Another - Ep 01 (BD 1280x720, JPN+ENG) [CBM] [35ED63AE].mkv” over to s00e02 which is really odd. This is from looking at the Info on s00e02.

  • Also everytime I refresh metadata is seem to be adding another entry under Specials for s00e02, pointing at the same as above.

Not sure if I’m doing something wrong or mapping is going wonky or what. I’ll attach logs too. They are pretty short since I’m just working on the one series right now. Maybe issue is I shouldn’t be mixing multiple root folders that are also subdirectories under other root folders for library source paths?

Another (heh) oddity. Trying to add Strike Witches various seasons/OVAs/movies. At first I tried using anidb2-#### but that was really messy and not working. So I tried changing it to tvdb-####-sXeY type classification. Here’s what I have for naming:

/mnt/videos/anime series/Strike Witches/[2012-03-17] Strike Witches the Movie [tvdb-82484-s0e2]/Strike Witches the Movie 01 (BD 1280x720 Hi10P, AAC 6ch) [Underwater] [BB288877].mkv
/mnt/videos/anime series/Strike Witches/[2014-09-20] Strike Witches - Operation Victory Arrow [tvdb-82484-s0e3]/Strike Witches - Operation Victory Arrow - Ep 01 (BD 1280x720 Hi10P) [Coalgirls] [BCC4FBCD].mkv
/mnt/videos/anime series/Strike Witches/[2014-09-20] Strike Witches - Operation Victory Arrow [tvdb-82484-s0e3]/Strike Witches - Operation Victory Arrow - Ep 02 (BD 1280x720 Hi10P) [Coalgirls] [52E51A59].mkv
/mnt/videos/anime series/Strike Witches/[2014-09-20] Strike Witches - Operation Victory Arrow [tvdb-82484-s0e3]/Strike Witches - Operation Victory Arrow - Ep 03 (BD 1280x720 Hi10P) [Coalgirls] [DD6E3C0D].mkv
/mnt/videos/anime series/Strike Witches/[2008-07-04] Strike Witches (2008) [tvdb-82484-s1]/Strike Witches (2008) - Ep 01 v2 (DVD 720x480) [StrikeS] [501F63E5].mkv
/mnt/videos/anime series/Strike Witches/[2008-07-04] Strike Witches (2008) [tvdb-82484-s1]/Strike Witches (2008) - Ep 02 v2 (DVD 720x480) [StrikeS] [0AC112E0].mkv
/mnt/videos/anime series/Strike Witches/[2008-07-04] Strike Witches (2008) [tvdb-82484-s1]/Strike Witches (2008) - Ep 03 (DVD 720x480) [StrikeS] [CE73D35D].mkv
/mnt/videos/anime series/Strike Witches/[2008-07-04] Strike Witches (2008) [tvdb-82484-s1]/Strike Witches (2008) - Ep 04 (DVD 720x480) [StrikeS] [7BD8F9CD].mkv
/mnt/videos/anime series/Strike Witches/[2008-07-04] Strike Witches (2008) [tvdb-82484-s1]/Strike Witches (2008) - Ep 05 (DVD 720x480) [StrikeS] [1E61440D].mkv
/mnt/videos/anime series/Strike Witches/[2008-07-04] Strike Witches (2008) [tvdb-82484-s1]/Strike Witches (2008) - Ep 06 (DVD 720x480) [StrikeS] [49D1534E].mkv
/mnt/videos/anime series/Strike Witches/[2008-07-04] Strike Witches (2008) [tvdb-82484-s1]/Strike Witches (2008) - Ep 07 (DVD 720x480) [uncensored by StrikeS] [4C3FBB96].mkv
/mnt/videos/anime series/Strike Witches/[2008-07-04] Strike Witches (2008) [tvdb-82484-s1]/Strike Witches (2008) - Ep 08 (DVD 720x480) [StrikeS] [7CF51ABB].mkv
/mnt/videos/anime series/Strike Witches/[2008-07-04] Strike Witches (2008) [tvdb-82484-s1]/Strike Witches (2008) - Ep 09 (DVD 720x480) [StrikeS] [C8FF08DE].mkv
/mnt/videos/anime series/Strike Witches/[2008-07-04] Strike Witches (2008) [tvdb-82484-s1]/Strike Witches (2008) - Ep 10 (DVD 720x480) [StrikeS] [47707EE7].mkv
/mnt/videos/anime series/Strike Witches/[2008-07-04] Strike Witches (2008) [tvdb-82484-s1]/Strike Witches (2008) - Ep 11 (DVD 720x480) [StrikeS] [D7ABF7A0].mkv
/mnt/videos/anime series/Strike Witches/[2008-07-04] Strike Witches (2008) [tvdb-82484-s1]/Strike Witches (2008) - Ep 12 (DVD 720x480) [StrikeS] [D1B31644].mkv
/mnt/videos/anime series/Strike Witches/[2010-06-19] Strike Witches 2 [tvdb-82484-s2]/Strike Witches 2 - Ep 01 (BD 1280x720) [Coalgirls] [EA8528A1].mkv
/mnt/videos/anime series/Strike Witches/[2010-06-19] Strike Witches 2 [tvdb-82484-s2]/Strike Witches 2 - Ep 02 (BD 1280x720) [Coalgirls] [89B70762].mkv
/mnt/videos/anime series/Strike Witches/[2010-06-19] Strike Witches 2 [tvdb-82484-s2]/Strike Witches 2 - Ep 03 (BD 1280x720) [Coalgirls] [07598ED3].mkv
/mnt/videos/anime series/Strike Witches/[2010-06-19] Strike Witches 2 [tvdb-82484-s2]/Strike Witches 2 - Ep 04 (BD 1280x720) [Coalgirls] [D5D6C724].mkv
/mnt/videos/anime series/Strike Witches/[2010-06-19] Strike Witches 2 [tvdb-82484-s2]/Strike Witches 2 - Ep 05 (BD 1280x720) [Coalgirls] [478D2C73].mkv
/mnt/videos/anime series/Strike Witches/[2010-06-19] Strike Witches 2 [tvdb-82484-s2]/Strike Witches 2 - Ep 06 (BD 1280x720) [Coalgirls] [D7103648].mkv
/mnt/videos/anime series/Strike Witches/[2010-06-19] Strike Witches 2 [tvdb-82484-s2]/Strike Witches 2 - Ep 07 (BD 1280x720) [Coalgirls] [D6E14336].mkv
/mnt/videos/anime series/Strike Witches/[2010-06-19] Strike Witches 2 [tvdb-82484-s2]/Strike Witches 2 - Ep 08 (BD 1280x720) [Coalgirls] [248A9D19].mkv
/mnt/videos/anime series/Strike Witches/[2010-06-19] Strike Witches 2 [tvdb-82484-s2]/Strike Witches 2 - Ep 09 (BD 1280x720) [Coalgirls] [FAD4CFA7].mkv
/mnt/videos/anime series/Strike Witches/[2010-06-19] Strike Witches 2 [tvdb-82484-s2]/Strike Witches 2 - Ep 10 v2 (BD 1280x720) [Coalgirls] [726221A0].mkv
/mnt/videos/anime series/Strike Witches/[2010-06-19] Strike Witches 2 [tvdb-82484-s2]/Strike Witches 2 - Ep 11 (BD 1280x720) [Coalgirls] [12A78958].mkv
/mnt/videos/anime series/Strike Witches/[2010-06-19] Strike Witches 2 [tvdb-82484-s2]/Strike Witches 2 - Ep 12 (BD 1280x720) [Coalgirls] [1105C811].mkv
/mnt/videos/anime series/Strike Witches/[2007-01-01] Strike Witches [tvdb-82484-s0e1]/Strike Witches - Ep 01 (DVD 720x480) [StrikeS] [25A3DAAF].mkv

It pulled it in but mysteriously Season 1 (aka “Strike Witches (2008)”) was missing. I tried scanning again but it didn’t show up. Then on a hunch I tried removing the “(2008)” from the folder name so that it was just “[2008-07-04] Strike Witches [tvdb-82484-s1]” and it picked it up! On a whim I added the “(2008)” back in and magically it found it this time… confused

Here’s logs from scanner and that library.

edit: oh yeah of course I had to add “/mnt/videos/anime series/Strike Witches” as a source path for the library before I did all this. That’s going to get painful for every series “grouping”. =( Is there a limit to how many source paths there can be for a library?

edit2: So I was thinking these should actually be done as tvdb2-#### and NOT tvdb-#### since they are using normal anime absolute numbering and not tvdb style numbering, so I switched all the names to tvdb2-#### in the folders name. Then I rescanned and for some reason it split into 2 series both named “Strike Witches” with some in one and some in the other. Very weird. So I thought something was screwy so I thought I’d just do the “Plex dance” and moved them out of the folder and rescanned to clear them out. But weirdly they seem to be stuck in the library now, with 2 entries! ACK! @_@ I could probably delete the library and recreate to fix it, but that would get really messy once I start having 100s of series in there, especially if I have to add so many grouping root/source folders…

edit3: I did an “unmatch” and then “match” on one of the Strike Witches and that seems to have forced it to resolve itself and recombine. Is that what you mean by “manually merging” series in the readme?