evilhero/mylar — pull request #581 by Kalinon (2013-11-29 16:22:51+00:00)
Title: Update filechecker.py

Fixes issue with file names such as All-New_X-Men_2013_001.cbz. This causes subname to be '2013 001 cbr' which causes it to be registered as a decimal.

29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : All New X Men - watchlist match on : /media/yama/Comics/Marvel/All-New_X-Men_2013/All-New_X-Men_2013_001.cbr
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : we should remove 2 characters
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : detected 2 special characters
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : - appears in series title, ignoring.
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : - appears in series title, ignoring.
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : nonocount [2] cchk [All New X Men] length [13]
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : final jtd_len to prune [13]
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : before title removed from FILENAME [All-New_X-Men_2013_001.cbr]
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : after title removed from FILENAME [_2013_001.cbr]
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : creating just the digits using SUBNAME, pruning first [13] chars from [All New X Men 2013 001 cbr]
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : after title removed from SUBNAME [2013 001 cbr]
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : If the series has a decimal, this should be a number [001 cbr]
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : Removed extension - now we should just have a number [001]
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : DECIMAL ISSUE DETECTED [2013.001]
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : JUSTTHEDIGITS [2013.001]
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : DECIMAL ISSUE DETECTED
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : final justthedigits [2013.001]
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : numberinseries: False
29-Nov-2013 09:33:49 - DEBUG :: CP Server Thread-4 : subnm len : 1