ZeroQI / YouTube-Agent.bundle

Plex Metadata Agent for Movies and TV Series libraries
469 stars 44 forks source link

Series mode ignoring files #132

Open RyanHakurei opened 1 year ago

RyanHakurei commented 1 year ago

In Series mode it seems that the bundle flat out ignores some of the files in the folder. I have backed up Magnatesmedia's channel (for obvious current drama reasons) and intend to have it viewable on my server should his channel get nuked, but the scanner seems to be ignoring about 23 of the files in the folder. As far as I know I have everything named to spec.

image image image

Youtube Log Plex Log

ZeroQI commented 1 year ago

If the scanner ignores 23 files, where are the scanner logs? Need ASS Scanner logs in logs subfolders

RyanHakurei commented 1 year ago

ASS Scanner ASS filelist Directory Listing

ZeroQI commented 1 year ago

Indeed scanner has odd behaviour

2023-05-20 02:48:58,969 (7f2023d46b38) : INFO (init:51) - [!] Library access denied 2023-05-20 02:48:58,971 (7f2023d46b38) : INFO (init:59) - [!] ASS root scanner file missing: "/config/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems/_Logs/root.scanner.log"

Plek token file missing I would say, leading to wrong root folder, leading to weird issues

RyanHakurei commented 1 year ago

X-Plex-Token.id is in Plex's directory, though, and I even dropped in a new token just in case the one I had in there was invalidated for some reason.

nierdal commented 1 year ago

Got exactly the same problem : 2023-06-06 07:36:39,316 (148ee1907b30) : INFO (init:51) - [!] Library access denied 2023-06-06 07:36:39,317 (148ee18b3b30) : INFO (init:182) - search() - YouTube ID found - regex: PLAYLIST, youtube ID: "UC_yP2DpIgs5Y1uWC0T03Chw" 2023-06-06 07:36:39,317 (148ee1907b30) : INFO (init:59) - [!] ASS root scanner file missing: "/config/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems/_Logs/root.scanner.log"

ZeroQI commented 1 year ago

Library access denied Plex token missing or incorrect file rights to it

nierdal commented 1 year ago

Library access denied Plex token missing or incorrect file rights to it

I've solved my problem! I installed Absolute-Series-Scanner following the instruction : https://github.com/ZeroQI/Absolute-Series-Scanner

Then changed the scanner in the library settings to Absolute-Series-Scanner instead of Plex.

And it worked.

ZeroQI commented 1 year ago

@nierdal Absolute Series scanner is a REQUIREMENT in the readme. How can you "Got exactly the same problem" when he used the scanner, and you didn't and that solved your issue? Shameless hijacking of the thread...

@RyanHakurei ass filelist.txt: 234 files ass scanner 234 files Directory Listing 234 files

2023-05-20 02:48:58,969 (7f2023d46b38) : INFO (init:51) - [!] Library access denied 2023-05-20 02:48:58,971 (7f2023d46b38) : INFO (init:59) - [!] ASS root scanner file missing: "/config/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems/_Logs/root.scanner.log"

[ ] root: "/data/Youtube/MagnatesMedia [UCE4Gn00XZbpWvGUfIslT-tA]/MagnatesMedia" you need to fix the library access denied. Files are scanned but given same ep number

"MagnatesMedia" s01e 1 "ANIDB_RX-5" "Minute Motivation - Hit A Brick Wall?" "MagnatesMedia - 1 Minute Motivation - Hit A Brick Wall? (Can I Get You Motivated In Under 60 Seconds?) - [6i5fm0rtztM].mkv" "MagnatesMedia" s01e 1 "ANIDB_RX-5" "YouTube Video Into Content On Other Platforms" "MagnatesMedia - How To Re-Purpose 1 YouTube Video Into Content On Other Platforms (Social Media Content Strategy) - [z3Zf57c6a-g].mkv" "MagnatesMedia" s01e 1 "ANIDB_RX-5" "Habit All Self-Made Millionaires Have In Common" "MagnatesMedia - The 1 Habit All Self-Made Millionaires Have In Common... - [vP1gd_RuZNI].mkv" "MagnatesMedia" s01e 4 "ANIDB_RX-5" "Weird Habits That Will Change Your Life" "MagnatesMedia - 4 Weird Habits That Will Change Your Life - [2vvOAVPSwsg].mkv" "MagnatesMedia" s01e 4 "ANIDB_RX-5" "Ways" "MagnatesMedia - How To Make Money Online When You Have No Money - The 4 Ways - [3QEy30HxjeU].mkv" "MagnatesMedia" s01e 10 "ANIDB_RX-5" "Best Ways To Make Money On YouTube" "MagnatesMedia - 10 Best Ways To Make Money On YouTube (How To Make Money On YouTube) - [uNxS_t5dcp4].mkv" "MagnatesMedia" s01e 10 "ANIDB_RX-5" "Things I Wish I'd Known Before Starting A YouTube Channel" "MagnatesMedia - 10 Things I Wish I'd Known Before Starting A YouTube Channel... - [DYhObSf3XLs].mkv" "MagnatesMedia" s01e 10 "ANIDB_RX-5" "YouTube Tips: How To Get Subscribers On YouTube FAST!" "MagnatesMedia - Evan Carmichael's Top 10 YouTube Tips: How To Get Subscribers On YouTube FAST! - [uJGnprT5RfU].mkv" "MagnatesMedia" s01e 10 "ANIDB_RX-5" "Minutes Straight" "MagnatesMedia - Literal billionaires sharing wisdom for 10 minutes straight. - [DMjO9MMik1Q].mkv" "MagnatesMedia" s01e 10 "ANIDB_RX-5" "Best Ideas | Tim Ferriss" "MagnatesMedia - Tools of Titans Book Summary | 10 Best Ideas | Tim Ferriss - [23BJFIoYHXU].mkv" "MagnatesMedia" s01e 10 "ANIDB_RX-5" "Inspirational Movies For Success & Motivation" "MagnatesMedia - Top 10 Inspirational Movies For Success & Motivation (Must Watch Inspiring Films) - [a9BpzR_cz0g].mkv" "MagnatesMedia" s01e 10 "ANIDB_RX-5" "Passive Income Methods For (2021)" "MagnatesMedia - Top 10 Passive Income Methods For 2021 (How To Earn Passive Income Online) - [5UqLX5jUovs].mkv"

nierdal commented 1 year ago

@nierdal Absolute Series scanner is a REQUIREMENT in the readme. How can you "Got exactly the same problem" when he used the scanner, and you didn't and that solved your issue? Shameless hijacking of the thread...

@RyanHakurei ass filelist.txt: 234 files ass scanner 234 files Directory Listing 234 files

2023-05-20 02:48:58,969 (7f2023d46b38) : INFO (init:51) - [!] Library access denied 2023-05-20 02:48:58,971 (7f2023d46b38) : INFO (init:59) - [!] ASS root scanner file missing: "/config/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems/_Logs/root.scanner.log"

[ ] root: "/data/Youtube/MagnatesMedia [UCE4Gn00XZbpWvGUfIslT-tA]/MagnatesMedia" you need to fix the library access denied. Files are scanned but given same ep number

"MagnatesMedia" s01e 1 "ANIDB_RX-5" "Minute Motivation - Hit A Brick Wall?" "MagnatesMedia - 1 Minute Motivation - Hit A Brick Wall? (Can I Get You Motivated In Under 60 Seconds?) - [6i5fm0rtztM].mkv" "MagnatesMedia" s01e 1 "ANIDB_RX-5" "YouTube Video Into Content On Other Platforms" "MagnatesMedia - How To Re-Purpose 1 YouTube Video Into Content On Other Platforms (Social Media Content Strategy) - [z3Zf57c6a-g].mkv" "MagnatesMedia" s01e 1 "ANIDB_RX-5" "Habit All Self-Made Millionaires Have In Common" "MagnatesMedia - The 1 Habit All Self-Made Millionaires Have In Common... - [vP1gd_RuZNI].mkv" "MagnatesMedia" s01e 4 "ANIDB_RX-5" "Weird Habits That Will Change Your Life" "MagnatesMedia - 4 Weird Habits That Will Change Your Life - [2vvOAVPSwsg].mkv" "MagnatesMedia" s01e 4 "ANIDB_RX-5" "Ways" "MagnatesMedia - How To Make Money Online When You Have No Money - The 4 Ways - [3QEy30HxjeU].mkv" "MagnatesMedia" s01e 10 "ANIDB_RX-5" "Best Ways To Make Money On YouTube" "MagnatesMedia - 10 Best Ways To Make Money On YouTube (How To Make Money On YouTube) - [uNxS_t5dcp4].mkv" "MagnatesMedia" s01e 10 "ANIDB_RX-5" "Things I Wish I'd Known Before Starting A YouTube Channel" "MagnatesMedia - 10 Things I Wish I'd Known Before Starting A YouTube Channel... - [DYhObSf3XLs].mkv" "MagnatesMedia" s01e 10 "ANIDB_RX-5" "YouTube Tips: How To Get Subscribers On YouTube FAST!" "MagnatesMedia - Evan Carmichael's Top 10 YouTube Tips: How To Get Subscribers On YouTube FAST! - [uJGnprT5RfU].mkv" "MagnatesMedia" s01e 10 "ANIDB_RX-5" "Minutes Straight" "MagnatesMedia - Literal billionaires sharing wisdom for 10 minutes straight. - [DMjO9MMik1Q].mkv" "MagnatesMedia" s01e 10 "ANIDB_RX-5" "Best Ideas | Tim Ferriss" "MagnatesMedia - Tools of Titans Book Summary | 10 Best Ideas | Tim Ferriss - [23BJFIoYHXU].mkv" "MagnatesMedia" s01e 10 "ANIDB_RX-5" "Inspirational Movies For Success & Motivation" "MagnatesMedia - Top 10 Inspirational Movies For Success & Motivation (Must Watch Inspiring Films) - [a9BpzR_cz0g].mkv" "MagnatesMedia" s01e 10 "ANIDB_RX-5" "Passive Income Methods For (2021)" "MagnatesMedia - Top 10 Passive Income Methods For 2021 (How To Earn Passive Income Online) - [5UqLX5jUovs].mkv"

Look, I tried my best to help based on my understanding. Not everyone is an expert in plex scanners, so if my solution doesn't suit you, feel free to ignore it.

ZeroQI commented 1 year ago

I am not an expert, and I regret ever writing this garbage piece of code and this reply make me feel like deleting this repository, which I was contemplating before already... If anybody want to take over this repository, I welcome you with open arms and no questions asked.

The issue in the interjection in a thread claiming you have similar issue when you did not, and when the supposed solution is actually following the readme, the first poster has been using the scanner as he provided logs. It is good to post purposed solution, but when it is written as a requirement, then that change a lot of things.