@ZeroQI said:
@saitoh183 : you use latest normal scanner. does the issue still happens with https://gist.github.com/ZeroQI/26d26f91af04c876b1a0 ? create other library pointing to same folder
āPlace correct Plex token in X-Plex-Token.id file in logs folder or in PLEX_LIBRARY_URL variable to have a log per library - https://support.plex.tv/hc/en-us/articles/204059436-Finding-your-account-token-X-Plex-Tokenā
this above is when scanner imported and it failed getting the library names and root folder to rename logs.
multiple times this means it is imported multiple times (should be once when plex starts) hence the scanner crashes. Plex Media Scanner.log should have errors but cannot see anything in the one you have
@ZeroQI
Using the alpha script i get the following when i add new content and it auto detects:
Plex scanner log:
Dec 31, 2015 09:14:34:330 [8660] INFO - Plex Media Scanner v0.9.14.6.1620-e0b7243 - Microsoft PC - build: windows-i386
Dec 31, 2015 09:14:34:330 [8660] INFO - Windows version: 6.3 (Build 9600), language en-US
Dec 31, 2015 09:14:34:330 [8660] INFO - 2 3000 MHz processor(s): Architecture=0, Level=6, Revision=15363 Processor Identifier=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
Dec 31, 2015 09:14:34:330 [8660] DEBUG - "C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Scanner.exe" --scan --refresh --section 10 --directory "D:\Videos\Animetest\Love Hina Again"
Dec 31, 2015 09:14:34:330 [8624] DEBUG - Opening 20 database sessions to library, SQLite 3.8.9, threadsafe=1
Dec 31, 2015 09:14:34:415 [8624] DEBUG - Scanning Anime test using en(Absolute Series Scanner) with 0 current media items in the database...
Dec 31, 2015 09:14:34:419 [5820] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/cullTimeline?librarySectionID=10&sinceTime=1451570074
Dec 31, 2015 09:14:35:484 [8624] DEBUG - Performing a scan with 'Absolute Series Scanner' (language: en virtual: 0).
Dec 31, 2015 09:14:35:484 [8624] DEBUG - * Scanning D:\Videos\Animetest\Love Hina Again
Dec 31, 2015 09:14:35:575 [8624] DEBUG - * Scanning directory D:\Videos\Animetest\Love Hina Again (parent: yes)
Dec 31, 2015 09:14:35:577 [8624] VERBOSE - * Noting that 'Love Hina Again' was updated at 2015-12-31 09:00:12
Dec 31, 2015 09:14:35:577 [8624] VERBOSE - * Taking directory 'Love Hina Again' (3414) out of the map (0 left)
Dec 31, 2015 09:14:35:577 [8624] DEBUG - Adding file for scanner: D:\Videos\Animetest\Love Hina Again\banner.jpg
Dec 31, 2015 09:14:35:577 [8624] DEBUG - Adding file for scanner: D:\Videos\Animetest\Love Hina Again\clearart.png
Dec 31, 2015 09:14:35:577 [8624] DEBUG - Adding file for scanner: D:\Videos\Animetest\Love Hina Again\fanart.jpg
Dec 31, 2015 09:14:35:577 [8624] DEBUG - Adding file for scanner: D:\Videos\Animetest\Love Hina Again\logo.png
Dec 31, 2015 09:14:35:577 [8624] DEBUG - Adding file for scanner: D:\Videos\Animetest\Love Hina Again\Love Hina Again - 01 - Kanako .mpg
Dec 31, 2015 09:14:35:577 [8624] DEBUG - Adding file for scanner: D:\Videos\Animetest\Love Hina Again\Love Hina Again - 01 - Kanako-thumb.jpg
Dec 31, 2015 09:14:35:577 [8624] DEBUG - Adding file for scanner: D:\Videos\Animetest\Love Hina Again\Love Hina Again - 02 - Keitarou .mpg
Dec 31, 2015 09:14:35:577 [8624] DEBUG - Adding file for scanner: D:\Videos\Animetest\Love Hina Again\Love Hina Again - 02 - Keitarou-thumb.jpg
Dec 31, 2015 09:14:35:577 [8624] DEBUG - Adding file for scanner: D:\Videos\Animetest\Love Hina Again\Love Hina Again - 03 - Naru [E-D].mkv
Dec 31, 2015 09:14:35:577 [8624] DEBUG - Adding file for scanner: D:\Videos\Animetest\Love Hina Again\Love Hina Again - 03 - Naru [E-D]-thumb.jpg
Dec 31, 2015 09:14:35:577 [8624] DEBUG - Adding file for scanner: D:\Videos\Animetest\Love Hina Again\poster.jpg
Dec 31, 2015 09:14:35:577 [8624] DEBUG - Adding file for scanner: D:\Videos\Animetest\Love Hina Again\season01-poster.jpg
Dec 31, 2015 09:14:35:577 [8624] DEBUG - Adding file for scanner: D:\Videos\Animetest\Love Hina Again\Thumbs.db
Dec 31, 2015 09:14:35:593 [8624] DEBUG - Directory had 3 files, database had 0 files, can't skip.
Dec 31, 2015 09:14:35:593 [8624] ERROR - No module in Absolute Series Scanner
Dec 31, 2015 09:14:35:593 [8624] ERROR - Error in Python: Looking up module:
Traceback (most recent call last):
File "P:\Data\Plex Media Server\Scanners\Series\Absolute Series Scanner.py", line 101, in <module>
except: Log("Place correct Plex token in X-Plex-Token.id file in logs folder or in PLEX_LIBRARY_URL variable to have a log per library - https://support.plex.tv/hc/en-us/articles/204059436-Finding-your-account-token-X-Plex-Token")
File "P:\Data\Plex Media Server\Scanners\Series\Absolute Series Scanner.py", line 92, in Log
file.write(("" if no_timestamp else time.strftime("%Y-%m-%d %H:%M:%S") + " ") + entry + "
")
NameError: global name āno_timestampā is not defined
Dec 31, 2015 09:14:35:593 [8624] ERROR - We got an error scanning in D:\Videos\Animetest\Love Hina Again
Dec 31, 2015 09:14:35:648 [8624] ERROR - There were errors scanning location: D:\Videos\Animetest
Dec 31, 2015 09:14:35:648 [8624] DEBUG - Since it was an incomplete scan, we are not going to whack missing media.
Dec 31, 2015 09:14:35:648 [8624] DEBUG - Refreshing section 10 of type: 2
It doesnt add anything , the plex scanner ass log is empty and the hama agent log doesnt have a new entry for the scan. Same deal if i do a manual scan