This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
I recently installed Absolute Series Scanner and Hama to get my anime recognized. I created a new library and folder for it to point to containing only the animes. This seems to be working fine. But Iâve noticed that since then, my new TV shows havenât been showing up in their library, Iâm assuming the two things are related. Iâve done the plex dance a number of times and double checked the naming (most of my series come from sonarr so that handles the naming anyway and normally has no problem). Logs attached
(File removed)
Hereâs a list of shows not appearing so you can look for them in the logs:
Dune (2000)
Children of Dune (2003)
Mythic Quest Ravenâs Banquet (2020)
I uninstalled ASS and Hama, deleted my series library, and then recreated it and everything showed up again. Not sure if ASS and Hama were the issue but it got fixed regardless.
Does anyone have any suggestions for my use case?
Iâm trying to download the Australian Free-to-air News with youtube-dl (From ABC iView, not youtube), I use a sub-translating script so my gf can watch and understandâŚ
Iâm trying to use ASS and https://github.com/JordyAlkema/Youtube-DL-Agent.bundle togetherâŚ
In the default Youtube-DL naming leads to files like this eg:
9_12_2020-NU2001H295S00.mp4
10_12_2020-NU2001H296S00.mp4
And this actually works for a bit, ASS sees it like this:
âABC News NSWâ s01e009 âWord Searchâ âNU2001H295S00â â9_12_2020-NU2001H295S00.mp4â
âABC News NSWâ s01e010 âWord Searchâ âNU2001H296S00â â10_12_2020-NU2001H296S00.mp4â
The problem is itâs using the day field for the episode so when the month wraps itâs starts creating duplicate episodesâŚ
I tried naming them like this:
âABC News NSW - 2020-11-10 - NU2001H270S00.mp4â
âABC News NSW - 2020-11-9 - NU2001H269S00.mp4â
And this gives weird results with many different versions⌠It looks like it recognises the date:
year: 2020, mont: 11, day: 29, ep: 2020-11-29 - NU2030H048S00, file: /downloads/OtherTV2/Youtube/ABC News NSW/ABC News NSW - 2020-11-29 - NU2030H048S00.mp4
But then it duplicates it later like this:
âABC News NSWâ s01e010-029 (Orig: s01e010-029) âANIDB_RX-5â âNU2001H260S00â âABC News NSW - 2020-10-29 - NU2001H260S00.mp4â
Iâm not sure whatâs going on, can anyone help?
Did you force a playlist ID or channel is the unspecified series folder?
Hi guys, I think I correctly followed the Hama.bundle guide from github but Absolute Series Scanner (ASS) doesnât find any file in plex media server.
This is the folder where I pasted the Hama.bundle folder on:
And on this other one I pasted the Absolute Serier Scanner .py file:
In plex media, if I pick the Absolute Series Scanner when creating a library,
it does not add a single item to my library:

If I edit my library and select instead the Plex Series Scanner, it load every single file from the indicated library folder. I think my video files are correctly renamed (I use FileBot and anidb matches every single file), and canât figure out whatâs the problem.
What am I missing? Did I skip any step?.
Thank you all and sorry for my bad English!.
log: Plex Media Scanner.log (12.3 KB)
Feb 14, 2021 22:30:39.793 [1488] ERROR - Error in Python: Running scanner:
Traceback (most recent call last):
File âC:\Users\LĂĄzaro\AppData\Local\Plex Media Server\Scanners\Series\Absolute Series Scanner.pyâ, line 496, in Scan
setup() # Call setup to get core info. If setup is already done, it just returns and does nothing.
File âC:\Users\LĂĄzaro\AppData\Local\Plex Media Server\Scanners\Series\Absolute Series Scanner.pyâ, line 171, in setup
PLEX_ROOT = os.path.expandvars(path_location[Platform.OS.lower()] if Platform.OS.lower() in path_location else â~â) # Platform.OS: Windows, MacOSX, or Linux
NameError: global name âPlatformâ is not defined
Python issue, it doesnât know Platform⌠Never had the case. Because it crashes, nothing is added. Not sure how to fixâŚ
Nah, I tried everything and repeated the full process several times, it always happens the same. what a pity, I have no clue of what to do.
Iâm trying to install Absolute Series Scanner on a new Windows install. I swear I have checked, rechecked, and checked about 50 more times that I have everything set up as it is in the instructions, but the scanner wonât show up anywhere. Open to any/all suggestions on where to go next in troubleshooting.
- Yes, the python file is a python file and it is at %APPLOCALDATA%\Plex\Plex Media Server\Scanners\Series
- Yes, I have restarted the server
- Yes, I have checked both the combo box for a specific TV show library and Settings > Server > Agents > Shows
- Yes, I have checked the permissions and the currently logged in user, which is the same as the one running PMS, has access to the folder and file
- Yes, I see three Python interpreter instances running via the task manager
- Yes, I tried deleting the Absolute Series Scanner.py file and downloading it again, and verifying for a second time it was actually a Python file
create plex token file and report
- Plex Media Server/X-Plex-Token.id containing the Plex token id by loggin on plex.tv/desktop, then https://plex.tv/devices.xml, it will be MediaContainer/Device ⌠token=âxxxxxxxxxxxxxxâ
Hi, I have successfully installed both Hama agent and ASS scanner. It works like a charm. I noticed that you can also decide Animes into arcs. I have read the wiki on the ASS Github page to try to understand how tvdb4 mode mapping works.
What I understand is that you need to place the TheTVDB ID next to the anime folder title:
Anime\Bleach [tvdb4-74796]
This will use the tvdb4.mapping.xml entries to devide the seasons into arcs
I know you can also create a non xml file tvdb4.mapping and set your entries there as well, and include the file in the anime folder:
Anime\Bleach [tvdb4-74796]\tvdb4.mapping
I am new to this and have been breaking my head in order to understand where I am going wrong. The mapping is not working for me. I get regular Season 1, Season 2, etc labels for my seasons.
I am not sure if the problem is in my file structure or the naming of the files:
Anime\Bleach [tvdb4-74796]\Bleach - S01E001
I have tried different variations of this. I have read a lot of the comments on forums related to tvdb4, but im not exactly sure what I am doing wrong.
Let me know what I need to share on order to get a better understanding.
Also apologies if you have already explained this and I am still missing something.
2021-02-25 15:45:01,385 - 7fb7eaffd700 - ==== common.PlexLog(file="/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.p>
2021-02-25 15:45:01,388 - 7fb7eaffd700 - Sending packed state data (104 bytes)
2021-02-25 15:45:01,388 - 7fb7eaffd700 - Response: [200] str, 648 bytes
2021-02-25 15:45:01,432 - 7fb7eaffd700 - Handling request GET /:/plugins/com.plexapp.agents.hama/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmx>
2021-02-25 15:45:01,432 - 7fb7eaffd700 - Received packed state data (80 bytes)
2021-02-25 15:45:01,433 - 7fb7eaffd700 - Found route matching /:/plugins/com.plexapp.agents.hama/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmx>
2021-02-25 15:45:01,434 - 7fb7eaffd700 - Loading model with GUID com.plexapp.agents.hama://tvdb4-74796?lang=en
2021-02-25 15:45:01,434 - 7fb7eaffd700 - Deserializing from /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/TV Shows/2/f2bbff2ba032e>
2021-02-25 15:45:01,492 - 7fb7eaffd700 - Requesting âhttp://127.0.0.1:32400/library/metadata/25850/treeâ
2021-02-25 15:45:01,501 - 7fb7eaffd700 - ==== common.PlexLog(file="/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.p>
2021-02-25 15:45:01,639 - 7fb7eaffd700 - ERROR: TVDBid â74796â is not found in posters file
2021-02-25 15:45:02,221 - 7fb7eaffd700 - Serializing to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/TV Shows/2/f2bbff2ba032e4719>
2021-02-25 15:45:02,222 - 7fb7eaffd700 - Sending packed state data (104 bytes)
2021-02-25 15:45:02,223 - 7fb7eaffd700 - Response: [200] str, 16 bytes
2021-02-25 15:46:20,715 - 7fb7eaffd700 - Handling request GET /:/plugins/com.plexapp.agents.hama/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMAp>
2021-02-25 15:46:20,716 - 7fb7eaffd700 - Received packed state data (80 bytes)
2021-02-25 15:46:20,717 - 7fb7eaffd700 - Found route matching /:/plugins/com.plexapp.agents.hama/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMAp>
2021-02-25 15:46:20,717 - 7fb7eaffd700 - Searching for matches for {âopenSubtitlesHashâ: â211bf6c4695d8f42â, âepisodeâ: â20â, ânameâ: None, âepisodicâ: â1â, âshowâ:>
2021-02-25 15:46:20,746 - 7fb7eaffd700 - Requesting âhttp://127.0.0.1:32400/library/metadata/25873/treeâ
2021-02-25 15:46:20,753 - 7fb7eaffd700 - ==== common.PlexLog(file="/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.p>
2021-02-25 15:46:20,755 - 7fb7eaffd700 - Sending packed state data (104 bytes)
2021-02-25 15:46:20,756 - 7fb7eaffd700 - Response: [200] str, 648 bytes
2021-02-25 15:46:20,781 - 7fb7eaffd700 - Handling request GET /:/plugins/com.plexapp.agents.hama/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmx>
2021-02-25 15:46:20,782 - 7fb7eaffd700 - Received packed state data (80 bytes)
2021-02-25 15:46:20,783 - 7fb7eaffd700 - Found route matching /:/plugins/com.plexapp.agents.hama/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmx>
2021-02-25 15:46:20,783 - 7fb7eaffd700 - Loading model with GUID com.plexapp.agents.hama://tvdb4-74796?lang=en
we need the custom series log located in {Plex Logs folder/ASS Scanner Logs/root folder name.scanner.log
S01E001 is not absolute numbering but season numbering, try â021â it should go to season 2
I have no doubt itâs âmeâ thatâs the issue. Iâve scoured the ASS read.me and github page, this thread, and also the youtube agent github and plex forum page as well as some reddit posts. Iâve reviewed my logs as best I could but not sure I can post them easily here. Want to start with outlining what Iâm looking to do.
Iâd like to grab videos from a few youtube channels. No playlists involved, would like to divide them but year if at all. My media folder is like this:
Web Shows\Spaceinvader One [UCZDfnUn74N0WeAPvMqTOrtA]\Spaceinvader One.20210401.The 2 Petabyte One Million Dollar Unraid Server.[n2CFCWtFvus].mp4
In Plex, it appears to display the channel as tv show âSpaceinvader One [UCZDfnUn74N0WeAPvMqTOrtA]â instead of just âSpaceinvader Oneâ. No poster/thumbnail for the TV show and no description or the channel. The episodes I have are sorted correctly by year in Plex, being displayed as Season 2020 and Season 2021 and each episode displays the appropriate thumbnail and description.
Iâve done the Plex Dance and the only time I get this to seemingly work properly is when I use the Plex Series Scanner instead of ASS. I change nothing else in my folder setup, and Plex displays the channel properly without the channel id, it downloads a poster for the channel, and displays a channel description.
1.) Any way to tell me what Iâm doing wrong as to why it appears to work with Plex Series Scanner but not ASS?
2.) Do I need ASS for this purpose or should I just stick with what works, Plex Series Scanner and Youtube Agent?
Thanks, I can try to include logs if need be. Iâm not the best at getting them.
Please help!
Apr 09, 2021 10:53:44.398 [14524] ERROR - Error in Python: Running scanner:
Traceback (most recent call last):
File "C:\Users\ĐдПиниŃŃŃаŃĐžŃ\AppData\Local\Plex Media Server\Scanners\Series\Absolute Series Scanner.py", line 487, in Scan
setup() # Call setup to get core info. If setup is already done, it just returns and does nothing.
File "C:\Users\ĐдПиниŃŃŃаŃĐžŃ\AppData\Local\Plex Media Server\Scanners\Series\Absolute Series Scanner.py", line 159, in setup
PLEX_ROOT = os.path.expandvars(path_location[Platform.OS.lower()] if Platform.OS.lower() in path_location else '~') # Platform.OS: Windows, MacOSX, or Linux
NameError: global name 'Platform' is not defined
Iâm on Windows Server 2019. Iâm not very good at programming. But as far as I understand, the script does not understand what OS/ platform is installed. And canât decide where the Plex directory is located.
So i change line 159
from
PLEX_ROOT = os.path.expandvars(path_location[Platform.OS.lower()] if Platform.OS.lower() in path_location else '~') # Platform.OS: Windows, MacOSX, or Linux
to
PLEX_ROOT = '%LOCALAPPDATA%\\Plex Media Server' # Platform.OS: Windows, MacOSX, or Linux
And it helped. I apologize for editing your script without permission.
@TBoneStaek Check first if the series is showing in plex with the right title (the forced Id needs passing to the agent search function so correct) is indicated and eps detected and at the right season, then the scanner did its job⌠And you should have posted in the agent threadâŚ
Look like the scanner did its job but the agent doesnât like the bracketsâŚ
The agent didnât match at 80% a accuracyâŚ
So you need to look at the agent log for the search() call⌠It may have crashedâŚ
Agent logs needed
The scanner adds at the right season. For youtube but series scanner will do that but no series metadata for you then since the channel Iâd is droppedâŚ
Ah, so thatâs what Iâve been confused about. So the series title is correct except itâs âSpaceinvader One [UCZDfnUn74N0WeAPvMqTOrtA]â so I thought that was the scanner issue.
The two episodes are divided into their correct âseasonsâ 2020 and 2021 respectively and the titles load.
Just because the channel name wasnât loading correctly, I thought that was the scanner. Iâll review the agent logs and post in the other sub if need be.
Thanks!
EDIT: Okay, so maybe I should keep the topic here for the moment. I just reviewed my plex system log and see a bunch of absolute scanner series errors.com.plexapp.system.log (111.8 KB)
The readme installation has two lines:
-
Save into [âŚ]/Plex Media Server/Scanners/Series/Absolute Series Scanner.py
The system tries to load â/config/Library/Application Support/Plex Media Server/Plug-ins/Absolute-Series-Scanner.bundleâ⌠Seem like you added the project as an agent when it is a scannerâŚ
Can you explain what is unclear about the installation instructions in ASS so i can amend the read-me, or please refer to âExhibit Aâ in it, no questions askedâŚ



