Absolute Series Scanner (for anime mainly)

@Munchkin_ all look good to me with ASS update from 6 days ago
Am a bit lost with all issues latelly. Any issue remaining on latest version ?

@ZeroQI - Did you work on the mapping issues? I can try it out again, haven’t taken a look in a while as I wasn’t sure if you had had a chance to work on fixing that. If so, is everything committed to master branch then on github, or should be we be testing with something different?

Pulled down latest master ASS from github and tried it out.

Strike Witches movie is still wrong, but that is not ASS’s fault, it is due to bad ScudLee mapping as we discussed earlier.

  <anime anidbid="8272" tvdbid="82484" defaulttvdbseason="0" imdbid="tt2322603">
    <name>Strike Witches Gekijouban</name>
    <mapping-list>
      <mapping anidbseason="0" tvdbseason="0">;1-2;</mapping>
    </mapping-list>
  </anime>

anidbseason should =“1” in the above to map the movie to s0e02.

I’ll probably have to use tvdb-82484-s0e2 tag instead of anidb2-8272 to override that for now, until we get ability to override ScudLee with a local file anyway (hint hint)! :smiley: Btw, I checked github issues on ScudLee and my changes/updates are still sitting there with no action almost 3 weeks later. It is pretty laughable. I do appreciate the work that went into it, but if they aren’t going to keep it updated then it gets pointless to use it. Hoping @ZeroQI will be able to allow us to use our own like with tvdb4-xxxx mappings to override the online one when needed.

SAO appears to be working as far as the mappings, but they are still not ordering correctly. s0e11 shows up between s0e14 and e15 for some reason. Any ideas on that??

Also attaching logs in case you need them.

@ZeroQI said:
Tick theme songs in agent settings and plex settings

So I took a look and when I look at say TheTVDB I see “Plex Theme Music” (my regular tv shows use this agent and the theme music does play)

but under HamaTV I do not see that option

@Blindsay said:

@ZeroQI said:
Tick theme songs in agent settings and plex settings

So I took a look and when I look at say TheTVDB I see “Plex Theme Music” (my regular tv shows use this agent and the theme music does play)

but under HamaTV I do not see that option

The option is titled “Download Themes from PLEX”, it should be the very last checkbox option.

@KJKingJ said:

@Blindsay said:

@ZeroQI said:
Tick theme songs in agent settings and plex settings

So I took a look and when I look at say TheTVDB I see “Plex Theme Music” (my regular tv shows use this agent and the theme music does play)

but under HamaTV I do not see that option

The option is titled “Download Themes from PLEX”, it should be the very last checkbox option.

Alright that seemed to do the trick only for one anime that had a new episode in it from this week that it hadn’t scanned yet. all of the rest didn’t. I need to figure out how to force it to update all the others

EDIT: “Refresh All” did the trick.

Thank you!

@deusxanime check https://github.com/ZeroQI/Absolute-Series-Scanner/pull/68 have added support for the custom file in library root folder. it does not match hama location yet, so you need it at both locations for now until you confirm it works

@ZeroQI - awesome! few questions though:

  • Since this goes in the library root folder, assuming I need one custom xml file in each root folder that I have (such as if I have multiple root folders for series groupings)?
  • Do I need to put EVERYTHING (entire copy of scudlee xml) in the custom xml, or if it doesn’t find the series in the custom xml will it then continue on and look at the scudlee xml from the internet?
  • Not sure on how HAMA plays into this, I though only ASS did the episode assigning? Do I need to do anything with HAMA in the meantime while I test this out?

@deusxanime :

  • since scanner have no access to agent data folders, the only known path was the root or serie folder
 yes one file per root, and it search for entries in that then sculee’s file.
  • just the whole serie entry that is changed
  • ass does ep assigning but hama needs mapping the ep to the right metadata too to pull the right info and also use scudLee’s as the scanner does. if you just do for ASS it willl get right ep number but not meta. put all entries in a ‘anime-list-custom.xml’ file in agent data folder also for now anf if works i edit hama

So basically I need to keep the custom xml in 2 places, the root of the folder for ASS, and the agent folder for HAMA, and keep them the same? Hopefully I’ll have time to give it a spin tonight. Thanks for you work as always @ZeroQI!

@deusxanime yes. Would you prefer for ASS custom xml location to be logs folder so you have 1 custom xml only instead of 1 per root folder ? hama loads it when it starts so could not use root folder and could modify hama then but could in that case


use
scudlee_filename_custom = os.path.join(LOGS_PATH, ANIDB_TVDB_MAPPING_CUSTOM)
instead of
scudlee_filename_custom = os.path.join(root, ANIDB_TVDB_MAPPING_CUSTOM)
then to load from logs folder then and will find how to do for hama then

@ZeroQI - I think it makes the most sense to keep it with the videos, like the *.id and tvdb4 mapping files. Either in the root of the library as you said, or even a file per series? For now you have it set to look in the root though, so I’ll try it out that way on a couple series (start with SAO and Strike Witches probably). Got busy today doing xmas stuff with kids, but I’ll try it out as soon as I can.

@deusxanime moved custom file location to series folder, was more consistent. did code reduction as well uploaded there:


for now still need hama’s custom file in agent data folder. will work on that when confirmed working
Tested with strike witches and seem ok but please test

@ZeroQI - Here’s what I did for Strike Witches, let me know if I got any part of this wrong


I have 5 folders/series for SW, 3 of which have incorrect mappings in the ScudLee xml. For the ones I had “fixed” this previously using [tvdb-XXXX-sXeY] tagging, I switched them back to [anidb2-XXXX] tags in the folder name.

[2007-01-01] Strike Witches [tvdb-82484-s0e1] => [2007-01-01] Strike Witches [anidb2-4530]
[2014-09-20] Strike Witches - Operation Victory Arrow [tvdb-82484-s0e3] => [2014-09-20] Strike Witches - Operation Victory Arrow [anidb2-10198]

The others were already using anidb2 tags. For the 3 that I want to override, I put a custom xml file in each series folder.

[2007-01-01] Strike Witches [anidb2-4530]/anime-list-custom.xml

<?xml version="1.0" encoding="utf-8"?>
<anime-list>
  <anime anidbid="4530" tvdbid="82484" defaulttvdbseason="0">
    <name>Strike Witches</name>
  </anime>
</anime-list>

[2012-03-17] Strike Witches the Movie [anidb2-8272]/anime-list-custom.xml

<?xml version="1.0" encoding="utf-8"?>
<anime-list>
  <anime anidbid="8272" tvdbid="82484" defaulttvdbseason="0" imdbid="tt2322603">
    <name>Strike Witches Gekijouban</name>
    <mapping-list>
      <mapping anidbseason="1" tvdbseason="0">;1-2;</mapping>
    </mapping-list>
  </anime>
</anime-list>

[2014-09-20] Strike Witches - Operation Victory Arrow [anidb2-10198]/anime-list-custom.xml

<?xml version="1.0" encoding="utf-8"?>
<anime-list>
  <anime anidbid="10198" tvdbid="82484" defaulttvdbseason="0">
    <name>Strike Witches: Operation Victory Arrow</name>
    <mapping-list>
      <mapping anidbseason="1" tvdbseason="0">;1-3;2-4;3-5;</mapping>
    </mapping-list>
  </anime>
</anime-list>

I also created a custom xml file under the HAMA agent data folder.

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems/anime-list-custom.xml

<?xml version="1.0" encoding="utf-8"?>
<anime-list>
  <anime anidbid="4530" tvdbid="82484" defaulttvdbseason="0">
    <name>Strike Witches</name>
  </anime>
  <anime anidbid="8272" tvdbid="82484" defaulttvdbseason="0" imdbid="tt2322603">
    <name>Strike Witches Gekijouban</name>
    <mapping-list>
      <mapping anidbseason="1" tvdbseason="0">;1-2;</mapping>
    </mapping-list>
  </anime>
  <anime anidbid="10198" tvdbid="82484" defaulttvdbseason="0">
    <name>Strike Witches: Operation Victory Arrow</name>
    <mapping-list>
      <mapping anidbseason="1" tvdbseason="0">;1-3;2-4;3-5;</mapping>
    </mapping-list>
  </anime>
</anime-list>

I updated ASS using the link you provided in the previous post (this raw link). To be sure I also updated HAMA to the latest master, which looks to be from yesterday.

I cleared out all the logs, then created a new test library with the SW folder as root and ASS/HAMA of course as scanner/agent.

It looks like I did something wrong though as the library didn’t seem to match anything. They are all showing up as separate entries with no match or metadata.

Attaching logs of filelist, ASS, and HAMA also. (For some reason the filelist didn’t append the library or root folder name). Obviously it seems like I missed something or didn’t understand where to put files, so let me know.

@deusxanime : going on holidays back to France from the 21st December to the 1st of January so will have time to reproduce on my Synology NAS. I have your filenames, and will need to tweak the handling of the custom mapping and how it handles season 0, as i believe i got it wrong. Thanks to your filelist i have a dummy library set up so leave it with me i nthe time being

Thanks @ZeroQI. So it sounds like my placement and formatting of the custom xml files was ok and this was just a bug in the scanner?

@deusxanime honestly you documented so well i just reproduced your folders, then worked on the code, all was good on your side, but it’s kinda complex for the scanner, then even if i fix at times have to recreate the library since it won’t rescan since nothing changed in the folder, and if there is an error, it doesn’t always displays it
 it is longer than with the agent to fix things
 Had 20 minutes at lunch and managed to solve few issues, i used the code i was working on and look like it’s good. Lucky since yesterday i passed 3 hours to get to a non workign scanner with no error message

Managed to spot few issues,:

  • had eps showing as season 2008
  • put as relative path the filelist
  • fixed mapping, defaultseason 0 caused issues.

https://raw.githubusercontent.com/ZeroQI/Absolute-Series-Scanner/0277dcc4392b22237fac7a9d0f2ebe06ca46ed52/Scanners/Series/Absolute%20Series%20Scanner.py

Tell me what you think: (copy in notepad or notepad++)

2016-12-19 15:06:58,385 - ASS : INFO - === Library "test deusxanime", Root: "/volume1/downloads/_Plex test deusxanime",  Launched: '2016-12-19 15:06:58'============================================
2016-12-19 15:06:58,385 - ASS : INFO - =============================================================================================================================================================
2016-12-19 15:06:58,386 - ASS : INFO - Scanner call - root: '/volume1/downloads/_Plex test deusxanime', path: '', dirs: '5', files: '0'
2016-12-19 15:06:58,386 - ASS : INFO - =============================================================================================================================================================
2016-12-19 15:06:58,394 - ASS : INFO - =============================================================================================================================================================
2016-12-19 15:06:58,394 - ASS : INFO - Scanner call - root: '/volume1/downloads/_Plex test deusxanime', path: '[2008-07-04] Strike Witches (2008) [anidb2-5970]', dirs: '0', files: '12'
2016-12-19 15:06:58,395 - ASS : INFO - =============================================================================================================================================================
2016-12-19 15:06:58,415 - ASS : INFO - Use existing: '/volume1/Plex/tmp_transcoding/ASS-tmp-anime-list-master.xml'
2016-12-19 15:06:58,615 - ASS : INFO - anidbTvdbMapping() - anidb: '5970', tvbdid: '82484', defaulttvdbseason: '1', name: 'Strike Witches (2008)', mappingList: '{'episodeoffset': ''}'
2016-12-19 15:06:58,637 - ASS : INFO - "[2008-07-04] Strike Witches (2008) [tvdb-82484]" s0001e001 "Strike Witches (2008) - Ep 01 v2 (DVD 720x480) [StrikeS] [501F63E5].mkv"
2016-12-19 15:06:58,640 - ASS : INFO - "[2008-07-04] Strike Witches (2008) [tvdb-82484]" s0001e002 "Strike Witches (2008) - Ep 02 v2 (DVD 720x480) [StrikeS] [0AC112E0].mkv"
2016-12-19 15:06:58,643 - ASS : INFO - "[2008-07-04] Strike Witches (2008) [tvdb-82484]" s0001e003 "Strike Witches (2008) - Ep 03 (DVD 720x480) [StrikeS] [CE73D35D].mkv"
2016-12-19 15:06:58,645 - ASS : INFO - "[2008-07-04] Strike Witches (2008) [tvdb-82484]" s0001e004 "Strike Witches (2008) - Ep 04 (DVD 720x480) [StrikeS] [7BD8F9CD].mkv"
2016-12-19 15:06:58,648 - ASS : INFO - "[2008-07-04] Strike Witches (2008) [tvdb-82484]" s0001e005 "Strike Witches (2008) - Ep 05 (DVD 720x480) [StrikeS] [1E61440D].mkv"
2016-12-19 15:06:58,650 - ASS : INFO - "[2008-07-04] Strike Witches (2008) [tvdb-82484]" s0001e006 "Strike Witches (2008) - Ep 06 (DVD 720x480) [StrikeS] [49D1534E].mkv"
2016-12-19 15:06:58,653 - ASS : INFO - "[2008-07-04] Strike Witches (2008) [tvdb-82484]" s0001e007 "Strike Witches (2008) - Ep 07 (DVD 720x480) [uncensored by StrikeS] [4C3FBB96].mkv"
2016-12-19 15:06:58,656 - ASS : INFO - "[2008-07-04] Strike Witches (2008) [tvdb-82484]" s0001e008 "Strike Witches (2008) - Ep 08 (DVD 720x480) [StrikeS] [7CF51ABB].mkv"
2016-12-19 15:06:58,658 - ASS : INFO - "[2008-07-04] Strike Witches (2008) [tvdb-82484]" s0001e009 "Strike Witches (2008) - Ep 09 (DVD 720x480) [StrikeS] [C8FF08DE].mkv"
2016-12-19 15:06:58,661 - ASS : INFO - "[2008-07-04] Strike Witches (2008) [tvdb-82484]" s0001e010 "Strike Witches (2008) - Ep 10 (DVD 720x480) [StrikeS] [47707EE7].mkv"
2016-12-19 15:06:58,664 - ASS : INFO - "[2008-07-04] Strike Witches (2008) [tvdb-82484]" s0001e011 "Strike Witches (2008) - Ep 11 (DVD 720x480) [StrikeS] [D7ABF7A0].mkv"
2016-12-19 15:06:58,666 - ASS : INFO - "[2008-07-04] Strike Witches (2008) [tvdb-82484]" s0001e012 "Strike Witches (2008) - Ep 12 (DVD 720x480) [StrikeS] [D1B31644].mkv"
2016-12-19 15:06:58,667 - ASS : INFO - 
2016-12-19 15:06:59,811 - ASS : INFO - =============================================================================================================================================================
2016-12-19 15:06:59,811 - ASS : INFO - Scanner call - root: '/volume1/downloads/_Plex test deusxanime', path: '[2007-01-01] Strike Witches [anidb2-4530]', dirs: '0', files: '2'
2016-12-19 15:06:59,811 - ASS : INFO - =============================================================================================================================================================
2016-12-19 15:06:59,812 - ASS : INFO - file: '/volume1/downloads/_Plex test deusxanime/[2007-01-01] Strike Witches [anidb2-4530]/anime-list-custom.xml', ext: 'xml' not in video_ext
2016-12-19 15:06:59,813 - ASS : INFO - Loading local custom mapping - url: '/volume1/downloads/_Plex test deusxanime/anime-list-custom.xml'
2016-12-19 15:06:59,813 - ASS : INFO - anidbTvdbMapping() - anidb: '4530', tvbdid: '82484', defaulttvdbseason: '0', name: 'Strike Witches', mappingList: '{'episodeoffset': None}'
2016-12-19 15:06:59,820 - ASS : INFO - "[2007-01-01] Strike Witches [tvdb-82484]" s0000e001 (Orig: s1e1) "Strike Witches - Ep 01 (DVD 720x480) [StrikeS] [25A3DAAF].mkv"
2016-12-19 15:06:59,821 - ASS : INFO - 
2016-12-19 15:06:59,894 - ASS : INFO - =============================================================================================================================================================
2016-12-19 15:06:59,895 - ASS : INFO - Scanner call - root: '/volume1/downloads/_Plex test deusxanime', path: '[2014-09-20] Strike Witches - Operation Victory Arrow [anidb2-10198]', dirs: '0', files: '4'
2016-12-19 15:06:59,895 - ASS : INFO - =============================================================================================================================================================
2016-12-19 15:06:59,896 - ASS : INFO - file: '/volume1/downloads/_Plex test deusxanime/[2014-09-20] Strike Witches - Operation Victory Arrow [anidb2-10198]/anime-list-custom.xml', ext: 'xml' not in video_ext
2016-12-19 15:06:59,897 - ASS : INFO - Loading local custom mapping - url: '/volume1/downloads/_Plex test deusxanime/anime-list-custom.xml'
2016-12-19 15:06:59,898 - ASS : INFO - anidbTvdbMapping() - anidb: '10198', tvbdid: '82484', defaulttvdbseason: '0', name: 'Strike Witches: Operation Victory Arrow', mappingList: '{'s1e3': 's0e5', 's1e2': 's0e4', 's1e1': 's0e3', 'episodeoffset': None}'
2016-12-19 15:06:59,905 - ASS : INFO - "[2014-09-20] Strike Witches - Operation Victory Arrow [tvdb-82484]" s0000e003 (Orig: s1e1) "Strike Witches - Operation Victory Arrow - Ep 01 (BD 1280x720 Hi10P) [Coalgirls] [BCC4FBCD].mkv"
2016-12-19 15:06:59,908 - ASS : INFO - "[2014-09-20] Strike Witches - Operation Victory Arrow [tvdb-82484]" s0000e004 (Orig: s1e2) "Strike Witches - Operation Victory Arrow - Ep 02 (BD 1280x720 Hi10P) [Coalgirls] [52E51A59].mkv"
2016-12-19 15:06:59,911 - ASS : INFO - "[2014-09-20] Strike Witches - Operation Victory Arrow [tvdb-82484]" s0000e005 (Orig: s1e3) "Strike Witches - Operation Victory Arrow - Ep 03 (BD 1280x720 Hi10P) [Coalgirls] [DD6E3C0D].mkv"
2016-12-19 15:06:59,911 - ASS : INFO - 
2016-12-19 15:07:00,144 - ASS : INFO - =============================================================================================================================================================
2016-12-19 15:07:00,145 - ASS : INFO - Scanner call - root: '/volume1/downloads/_Plex test deusxanime', path: '[2012-03-17] Strike Witches the Movie [anidb2-8272]', dirs: '0', files: '2'
2016-12-19 15:07:00,145 - ASS : INFO - =============================================================================================================================================================
2016-12-19 15:07:00,146 - ASS : INFO - file: '/volume1/downloads/_Plex test deusxanime/[2012-03-17] Strike Witches the Movie [anidb2-8272]/anime-list-custom.xml', ext: 'xml' not in video_ext
2016-12-19 15:07:00,146 - ASS : INFO - Loading local custom mapping - url: '/volume1/downloads/_Plex test deusxanime/anime-list-custom.xml'
2016-12-19 15:07:00,147 - ASS : INFO - anidbTvdbMapping() - anidb: '8272', tvbdid: '82484', defaulttvdbseason: '0', name: 'Strike Witches Gekijouban', mappingList: '{'s1e1': 's0e2', 'episodeoffset': None}'
2016-12-19 15:07:00,152 - ASS : INFO - "[2012-03-17] Strike Witches the Movie [tvdb-82484]" s0000e002 (Orig: s1e1) "Strike Witches the Movie 01 (BD 1280x720 Hi10P, AAC 6ch) [Underwater] [BB288877].mkv"
2016-12-19 15:07:00,152 - ASS : INFO - 
2016-12-19 15:07:00,229 - ASS : INFO - =============================================================================================================================================================
2016-12-19 15:07:00,230 - ASS : INFO - Scanner call - root: '/volume1/downloads/_Plex test deusxanime', path: '[2010-06-19] Strike Witches 2 [anidb2-7542]', dirs: '0', files: '12'
2016-12-19 15:07:00,230 - ASS : INFO - =============================================================================================================================================================
2016-12-19 15:07:00,234 - ASS : INFO - Use existing: '/volume1/Plex/tmp_transcoding/ASS-tmp-anime-list-master.xml'
2016-12-19 15:07:00,438 - ASS : INFO - anidbTvdbMapping() - anidb: '7542', tvbdid: '82484', defaulttvdbseason: '2', name: 'Strike Witches 2', mappingList: '{'episodeoffset': ''}'
2016-12-19 15:07:00,450 - ASS : INFO - "[2010-06-19] Strike Witches 2 [tvdb-82484]" s0002e001 (Orig: s1e1) "Strike Witches 2 - Ep 01 (BD 1280x720) [Coalgirls] [EA8528A1].mkv"
2016-12-19 15:07:00,453 - ASS : INFO - "[2010-06-19] Strike Witches 2 [tvdb-82484]" s0002e002 (Orig: s1e2) "Strike Witches 2 - Ep 02 (BD 1280x720) [Coalgirls] [89B70762].mkv"
2016-12-19 15:07:00,456 - ASS : INFO - "[2010-06-19] Strike Witches 2 [tvdb-82484]" s0002e003 (Orig: s1e3) "Strike Witches 2 - Ep 03 (BD 1280x720) [Coalgirls] [07598ED3].mkv"
2016-12-19 15:07:00,458 - ASS : INFO - "[2010-06-19] Strike Witches 2 [tvdb-82484]" s0002e004 (Orig: s1e4) "Strike Witches 2 - Ep 04 (BD 1280x720) [Coalgirls] [D5D6C724].mkv"
2016-12-19 15:07:00,461 - ASS : INFO - "[2010-06-19] Strike Witches 2 [tvdb-82484]" s0002e005 (Orig: s1e5) "Strike Witches 2 - Ep 05 (BD 1280x720) [Coalgirls] [478D2C73].mkv"
2016-12-19 15:07:00,463 - ASS : INFO - "[2010-06-19] Strike Witches 2 [tvdb-82484]" s0002e006 (Orig: s1e6) "Strike Witches 2 - Ep 06 (BD 1280x720) [Coalgirls] [D7103648].mkv"
2016-12-19 15:07:00,466 - ASS : INFO - "[2010-06-19] Strike Witches 2 [tvdb-82484]" s0002e007 (Orig: s1e7) "Strike Witches 2 - Ep 07 (BD 1280x720) [Coalgirls] [D6E14336].mkv"
2016-12-19 15:07:00,468 - ASS : INFO - "[2010-06-19] Strike Witches 2 [tvdb-82484]" s0002e008 (Orig: s1e8) "Strike Witches 2 - Ep 08 (BD 1280x720) [Coalgirls] [248A9D19].mkv"
2016-12-19 15:07:00,471 - ASS : INFO - "[2010-06-19] Strike Witches 2 [tvdb-82484]" s0002e009 (Orig: s1e9) "Strike Witches 2 - Ep 09 (BD 1280x720) [Coalgirls] [FAD4CFA7].mkv"
2016-12-19 15:07:00,473 - ASS : INFO - "[2010-06-19] Strike Witches 2 [tvdb-82484]" s0002e010 (Orig: s1e10) "Strike Witches 2 - Ep 10 v2 (BD 1280x720) [Coalgirls] [726221A0].mkv"
2016-12-19 15:07:00,476 - ASS : INFO - "[2010-06-19] Strike Witches 2 [tvdb-82484]" s0002e011 (Orig: s1e11) "Strike Witches 2 - Ep 11 (BD 1280x720) [Coalgirls] [12A78958].mkv"
2016-12-19 15:07:00,478 - ASS : INFO - "[2010-06-19] Strike Witches 2 [tvdb-82484]" s0002e012 (Orig: s1e12) "Strike Witches 2 - Ep 12 (BD 1280x720) [Coalgirls] [1105C811].mkv"
2016-12-19 15:07:00,479 - ASS : INFO -

@ZeroQI - Looking good! All I did was update the scanner to the newest one you linked (no changes to xml files content or locations), and SW all went in correctly from what I can see. The only thing still not quite working right is the filelist output does not include the root folder or library name, it just is blank (as you can see from the filename of the attached filelist).

Attaching logs also in case you want to see them. Next I’ll probably give SAO a turn to see if any issues loading with correct mappings, though I don’t think there are any custom mappings needed, wonder if I’ll still get the issue where specials are number correctly but ordered wrong. Also SAO S2 has offset mapping rather than direct episode-to-episode, so a good test of that.

Still have issue with season art not loading right also, as you can see in the screenshot all seasons just use the series art. Going to try to delete all anime/ass/hama libraries and see if that will clear out corruption or whatever is causing that.

I deleted all ASS/HAMA related libraries in Plex and then cleaned bundles/empty trash/optimize db to try to clear out anything that might have been cached, and then recreated my test library, but still getting the issue where seasons don’t load their artwork. =/ Next step might be to delete HAMA directories completely and then redo the agent, if you think that might clear out the gremlins?

Also, looks like an issue/regression still with SAO mapping, specifically the Extra Edition episode and special. ScudLee github master xml file looks correct for this one, so I didn’t add any custom mapping xml to it. Here’s what is in there for SAO EE:

  <anime anidbid="10022" tvdbid="259640" defaulttvdbseason="0">
    <name>Sword Art Online: Extra Edition</name>
    <mapping-list>
      <mapping anidbseason="0" tvdbseason="0">;1-11;</mapping>
      <mapping anidbseason="1" tvdbseason="0">;1-10;</mapping>
    </mapping-list>
  </anime>

But the SAO EE special is mapping to s0e10 (same as main movie), rather than to s0e11 as it should.

I deleted all logs before starting so they would be clean and easy to read. Attaching logs and filelist again for you to look over. Oddly there is no “com.plexapp.agents.hama.log” file under the “PMS Plugin Logs” directory. Is this because the series are being mapped to TVDB and HAMA isn’t actually being used?

Sorry for yet another post, but I got ansy and ambitious and I tried deleting the all ASS/HAMA libraries, then the entire HAMA Data and Caches folders, recreated the necessary folders (TVDB and subfolders, TMDB, etc), restarted Plex just to be safe, and then tried to set it up again along with a library.

Still no go and not downloading season artwork (and maybe others?). The artwork should be going in the TVDB/posters and other directories correct? After creating the library it almost seems like stuff isn’t being written to them as they are still all empty, if that is where they are supposed to go to. I have verified the account Plex runs under “mediapc” has full rights to the directories.

[mediapc@chrono TVDB]$ pwd
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems/TVDB
[mediapc@chrono TVDB]$ cd posters/
[mediapc@chrono posters]$ ll
total 0
[mediapc@chrono posters]$ cd 
/graphical/
[mediapc@chrono graphical]$ ll
total 0
[mediapc@chrono graphical]$ cd 
/episodes/
[mediapc@chrono episodes]$ ll
total 0
[mediapc@chrono episodes]$ cd 

[mediapc@chrono TVDB]$ ll
total 224
-rw-r–r--. 1 mediapc smbusers 142649 Dec 19 17:31 259640.xml
-rw-r–r--. 1 mediapc smbusers 46465 Dec 19 17:31 82484.xml
drwxrwxr-x. 2 mediapc smbusers 4096 Dec 19 17:15 blank
drwxrwxr-x. 3 mediapc smbusers 4096 Dec 19 17:15 _cache
drwxrwxr-x. 2 mediapc smbusers 4096 Dec 19 17:15 episodes
drwxrwxr-x. 4 mediapc smbusers 4096 Dec 19 17:15 fanart
drwxrwxr-x. 2 mediapc smbusers 4096 Dec 19 17:15 graphical
drwxrwxr-x. 2 mediapc smbusers 4096 Dec 19 17:15 posters
drwxrwxr-x. 2 mediapc smbusers 4096 Dec 19 17:15 seasons
drwxrwxr-x. 2 mediapc smbusers 4096 Dec 19 17:15 seasonswide
drwxrwxr-x. 2 mediapc smbusers 4096 Dec 19 17:15 text
[mediapc@chrono TVDB]$

Looking at the HAMA log (it did create one this time, maybe didn’t last time because nothing new was needed), it looks like it is trying to write jpg files into those directories, if I’m reading it correctly. Actually if that is correct I’m surprised it even has series posters since it doesn’t seem to put anything in that directory. *confused*

2016-12-19 17:31:49,813 - com.plexapp.agents.hama (7fcd697fa700) : INFO (init/metadata_download:915) - url: ‘http://thetvdb.com/banners/posters/259640-7.jpg’, num: ‘2’, filename: ‘TVDB/posters/259640-7.jpg’*
2016-12-19 17:31:49,813 - com.plexapp.agents.hama (7fcd697fa700) : INFO (init/metadata_download:915) - url: ‘http://thetvdb.com/banners/posters/259640-6.jpg’, num: ‘3’, filename: ‘TVDB/posters/259640-6.jpg’*
2016-12-19 17:31:49,814 - com.plexapp.agents.hama (7fcd697fa700) : INFO (init/metadata_download:915) - url: ‘http://thetvdb.com/banners/posters/259640-10.jpg’, num: ‘4’, filename: ‘TVDB/posters/259640-10.jpg’*
2016-12-19 17:31:49,814 - com.plexapp.agents.hama (7fcd697fa700) : INFO (init/metadata_download:915) - url: ‘http://thetvdb.com/banners/posters/259640-5.jpg’, num: ‘5’, filename: ‘TVDB/posters/259640-5.jpg’*
2016-12-19 17:31:49,815 - com.plexapp.agents.hama (7fcd697fa700) : INFO (init/metadata_download:915) - url: ‘http://thetvdb.com/banners/posters/259640-1.jpg’, num: ‘6’, filename: ‘TVDB/posters/259640-1.jpg’*

Attaching full HAMA log as well, in case it helps. Sorry @ZeroQI, I’ll quite posting and let you catch up. =)