-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Matching multiple files as alternate formats #466
Comments
As you can see the episode number was amended to not be duplicated but Plex still merged them... This is a Plex issue for date based shows released on the same date, in which case one ep per day... Unsure how to raise it to Plex ZeroQI/YouTube-Agent.bundle#84 Using Playlist Id would fix |
The reason I thought it was this scanner was that if I switch to another series scanner the issue goes away (but I wanted them ordered by year like ASS does, and the youtube-agent doesn't seem to play nice with any other scanners). It seems like this scanner not working correctly is a symptom of Plex then. I'll try out playlist ID, I was also testing putting the published date in the video (they weren't actually released on the same day) and also trying [youtube2] GUID. |
Are you saying the other series scanner uses date based files as well but show different episodes for the same date? |
No, my issue with the other series scanners is that they don't group by date, just by an arbitrary number. So they never come across this bug. The youtube2 mode worked better for me than playlist_id by the way. For new downloads, I'm going to also make sure the YYYY-MM-DD format is included in the title ({title} {YYYY-MM-DD} [youtube2-{channel_id}].[ext]. It seems like this bug is easy to work around once you pointed me in the right direction so I can close this issue, thanks! Side note, it turned out I was typing the format of "youtube2" incorrectly. I think the documentation in the readme could be clearer. I checked the regex string in Python and saw what I needed to use. I was originally using [youtube2][Channel_id] as I assumed it would match anything like "youtube" in the title but I can see reading the example that channel_id is equivalent to the anidb number so should have been [youtube2-channel_id]. An extra example for youtube would be helpful but appreciate it's probably me reading the docs incorrectly. |
I apologize, but do find the description for the forced ID clear:
|
Unfortunately the youtube2 tag seems to create a new issue. It looks like Plex auto-generates the directory of the subtitle file and it's always pointing the transcoder to the directory which doesn't have the "youtube2-" part of the tag. This causes the transcoder to crash with a "can't find file" error.
Any tips on where I should look to fix this? Renaming back to not include the [youtube-] tag seems to fix it. I was hoping it might be a cache error but after clearing plug-in support cache and Plex cache, refreshing metadata, recreating library etc. nothing seems to fix it. |
Subtitles are not managed by the scanner or agent to my knowledge, so dunno what to tell you... |
That's a shame. I'm assuming it's some incompatibility with plex's API for generating the subtitle directory from the XML populated by this scanner. It seems just adding this scanner is enough to drop subtitle support. If I don't use this scanner, subtitles work fine and if I don't use youtube2- then they work fine too with this scanner but then I get the original bug of two files to one XML record. I'd be interested if anyone does have youtube2- working with subtitles! |
Platform
Operating system and version: Plex running in docker, container based on ubuntu jammy jellyfish
Plex version: Version 1.32.6.7557
Expected Behavior
Running scanner to find youtube files in the following directory structure, expect to find Plex entry per video file (as they are uniquely named):
/videos
____/Technology Connections [UCy0tKL1T7wFoYcxCe0xjN6Q]
________/Thermostats Cooler than you think! [ZZC0SP02PqY].mkv
________/Exploring the World of E-Ink [dhRgw0HfrYU].mkv
________/DVD+R and DVD-R; What was that about [e1mJv9pxm7M].mkv
Current Behavior
All three video files are matched as alternate versions of "Thermostats Cooler than you think! [ZZC0SP02PqY].mkv". The other two files do not have Plex entries. Highlighted pertinent entries from log. If I had to guess, it's the fact that all of them have the same date modified on my filesystem (2021-02-11) which is causing them to be merged into one video file by the scanner, despite them having different titles.
Screenshot of Plex
Technology Connections [UCy0tKL1T7wFoYcxCe0xjN6Q].filelist.log
Technology Connections [UCy0tKL1T7wFoYcxCe0xjN6Q].scanner.log
Steps to Reproduce
Additional information
Also using this with the youtube agent but can't see any problems with the metadata.
The text was updated successfully, but these errors were encountered: