YouTube-Agent.bundle icon indicating copy to clipboard operation
YouTube-Agent.bundle copied to clipboard

Working perfectly for playlists, but not for channels

Open jcreek opened this issue 1 year ago • 1 comments

For example, I have downloaded the three videos at https://www.youtube.com/@Scruffy238 at the following paths:

  • Z:\media\youtube\Scruffy [Scruffy238]\Season 2020\s2020e01271676728307.12 Hour Mental Health Charity Livestream feat. Shoutcasted Rocket League Tournament With Prizes [dh6ybSXNt_Q].mp4
  • Z:\media\youtube\Scruffy [Scruffy238]\Season 2020\s2020e05141676728306.I made a wireless webcam with interchangeable lenses for less than the cost of a Logitech webcam [M28jYpbPxcQ].mp4
  • Z:\media\youtube\Scruffy [Scruffy238]\Season 2021\s2021e01051676728306.Personal & Work (almost) Single Cable Desk Setup Tour [January 2021] [PtkwKMmjA2c].mp4

My Plex library uses the youtube folder, with the scanner Absolute Series Scanner and the agent YouTubeSeries. I have specified my own YouTube API Key, and it looks like everything is set up correctly.

Plex displays this as a show called "Season 2020", with only two episodes: the 12 hour mental video and the wireless webcam video. Looking at the file info for both the latter has both the wireless webcam file and the desk setup file as being the same episode.

image

I have tested this with a variety of channels, using the @ format (like the example above), the user format (e.g. https://www.youtube.com/user/VivaLaDirtLeague) and the UC format (e.g. https://www.youtube.com/channel/UCHC4G4X-OR5WkY-IquRGa3Q) and they all have exactly the same issues.

Meanwhile, playlists work absolutely perfectly. For example, https://www.youtube.com/playlist?list=PL3A5849BDE0581B19 has video paths like:

  • Z:\media\youtube\asdfmovie [PL3A5849BDE0581B19]\Season 2008\s2008e08101676677172.asdfmovie [IYnsfV5N2n8].mp4
  • Z:\media\youtube\asdfmovie [PL3A5849BDE0581B19]\Season 2010\s2010e01011676677172.asdfmovie2 [tKB4h9gvmm0].mp4
  • Z:\media\youtube\asdfmovie [PL3A5849BDE0581B19]\Season 2010\s2010e01081676677177.asdfmovie2: deleted scenes [8PWlxfTFmyE].mp4

Plex displays this entirely correctly.

image

I've read through the documentation and it seems like I'm doing the right things, putting the channel or playlist tag into the root folder name for the channel or playlist, including the video tags into the video file names, and structuring the folders in a sensible way. As I said, playlists are working perfectly, but channels are just not working correctly.

jcreek avatar Feb 18 '23 14:02 jcreek