Closed ksurl closed 4 years ago
So the two series (seasons) are assigned to the same series I need
ASS log
Hama log
no scan log since it was added over a year ago. but there is a different series add this week that worked fine, Maou Gakuin no Futekigousha
ASS log
Hama log
hama agent logs in Plug-in Support folder have not been modified since last year so new files scanned did not affect them.
The series name are different and no grouping folders, so it is an agent matching issue (search) that assign the same id to both series The hama logs contain nothing usable as i redirect logs to a log file per series... Create the token file as per ASS readme and see if agent logs created after metadata refresh
after token file created and refreshing metadata on the library, it still did not write a separate log for the new folder. old log is still last modified 2019.
That's weird and make it very tricky for me to solve... Please attach standard logs: [...]/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.agents.hama.log (Agent logs) [...]/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.system.log (show why the agent cannot launch)
hama
system
We need to fix this PLEX_LIBRARY_URL - Exception: 'HTTP Error 401: Unauthorized'
. I had a look at the code:
This code need to be added to Contents/Code/common.py:
if os.path.isfile(os.path.join(PLEX_ROOT, "X-Plex-Token.id")):
Log.info("'X-Plex-Token.id' file present")
url = PLEX_LIBRARY_URL + "?X-Plex-Token=" + read_file(os.path.join(PLEX_ROOT, "X-Plex-Token.id")).strip()
Please update the agent, it should now create logs per series. If so, the custom series log will be generated and hold the key
updated the agent folder via git. is it possible thetvdb is messing it up? I noticed tvdb does not have a separate entry for this show and shows it as season 2 on the same page as season 1. latest logs still showing as duplicate (missing episodes show 2-25 of season 1 since only 1 episode has released so far)
appending anidb id to the folder name fixed it. i.e. Enen no Shouboutai Ni no Shou [anidb-15335]
. However this will break my automation for show downloads since it doesn't lookup show names in anidb to know the folder name to use (local list of shows)
It seems like the second series get matched to the same series due to the title and append the files on the same season and ep number.
You could have split series then matched manually to the right series...
You could create a anidb.id file with '15335' inside the series root not to rename the series folder...
did not know about the file option. that will work best for me. thanks. I was probably going to stumble on that method eventually as I was looking into nfo files and other metadata tricks without renaming the folder.
fyi, @ZeroQI. This was caused by the update of changing to "localhost" from "127.0.0.1". Plex did nothing in their code. They have always internally added the token whenever a call to "127.0.0.1" is made via their classes.
Plex token is now pulled from the env in both HAMA & ASS.
I was about to comment this issue when the commit was made lol First refresh created a log per series as intended. I'm still fighting with the Gundam Movies as mentioned in #403 but I'm about to give up at this point.
Always good to have someone else confirm its working as expected outside of my testing. 😄 With it being pulled from the env, everyone's logs will be in the same enhanced location/name without having to create that token file.
If this is a hama bug, please move there. my folders are named
Enen no Shouboutai
Enen no Shouboutai Ni no Shou
the anidb listing has a backtick ` in the name like En`en
the latter (2nd season) is being detected as duplicate episodes of the 1st season instead of it's own series (I generally make each season it's own folder at top level of the anime library instead of subfolders like regular tv). let me know any logs that are relevant that can help. the ASS scanner log shows it sees the files with the actual correct file name.