ZeroQI / YouTube-Agent.bundle

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

Broken metadata and series naming after last update #155

Open mikeyounge opened 1 day ago

mikeyounge commented 1 day ago

My server had a scheduled process to update the ASS and YouTube Agent bundle on a monthly basis. It updated on December 1st and seemed to break my YouTube Library. I tried rolling it back to the previous versions, but the changes stayed broken for some reason.

ISSUE 1: Series Name is either pulling the entire file path in to the name or is leaving the "[youtube2-UC.....]" channel ID appended to the end. ISSUE 2: No series images are being loaded anymore. Channels have no series thumbnail or banners.

Using the "youtube2" method, episode data is being pulled. Descriptions are correct, thumbnails are loaded. Air dates are being parsed and entered correctly, and episode titles are being correctly changed. After further examination of the logs, it seems that it is falling back to local data, which contains images, json and nfo files.

I experimented with adding a "youtube2.id" file and that helped with the channel names because I was able to remove the "[youtube2...]" from the folder name, but it still isn't pulling any metadata. My API key works as I can make the same queries in a browser and get a successful query.

com.plexapp.agents.youtube.log Plex Media Scanner.log

File naming structure: Tubesync Parent Folder/YouTube Channel [youtube2-UC...]/Channel Name - YYYYMMDD - Full Title [Video ID].ext

using youtube2.id file: Tubesync Parent Folder/YouTube Channel/Channel Name - YYYYMMDD - Full Title [Video ID].ext

I'm happy to test any changes. Let me know how I can help.

ZeroQI commented 1 day ago

Library access denied Please create Plex Media Server/X-Plex-Token.id containing the Plex token id by logging on plex.tv/desktop, then https://plex.tv/devices.xml, it will be MediaContainer/Device ... token="xxxxxxxxxxxxxx"

mikeyounge commented 20 hours ago

Good morning. Attached are my updated logs after placing the X-Plex-Token in the root folder of the Plex Media Server settings. The "Library access denied" error has gone away, but I'm seeing the same behavior. The attached agent log was after moving one of my media folders out of the directory, letting Plex remove it, and then re-adding the directory. The episode has all the correct info because of the local .json and .jpg files, but the Series only has a genre tag, no other information was pulled.

2 Much ColinFurze.filelist.log 2 Much ColinFurze.scanner.log com.plexapp.agents.youtube.log Plex Media Scanner.log

I hadn't placed that X-Plex-Token.id file there because the readme makes it sound like that is just for logging, not functionality. Please let me know if I can get you anything else to help. Thank you.

mikeyounge commented 18 hours ago

com.plexapp.agents.youtube.log Plex Media Scanner.log Yogscast.filelist.log Yogscast.scanner.log

I have a Sub-folder of a channel being downloaded from a playlist. Unfortunately, it doesn't sort it by publish date, so I have added it using the youtube2["UC"] id. ASS/YouTube Agent are now adding new videos as their own channel, even though the folder and naming structure is the same for all videos. I currently have two additional Shows with one episode each. There is still no channel data. The description is empty and images are not being pulled.

The weird thing about this, it was all working before I updated. I never had any trouble finding thumbnails and channel information.

ZeroQI commented 15 hours ago

Yogcast see youtube2 forced channel id according scanner log, and logs looks fine you have files in both that and Jingle Jam subfolder, gets associated same channel ID, hence same series

Yogcast is not in the 2 agent logs...

mikeyounge commented 11 hours ago

I expect them to have the same ID because they are playlists from the same channel. I am OK with that. Before the update, it would create one series for “TTT” and one for “Jingle Jam”, each with similar channel descriptions and images. After the update, each new episode of “Jingle Jam” is creating a new series with one episode. I have to merge them now in to one series and still no images or descriptions for the channel. If I didn’t have local json files and episode thumbnails, it wouldn’t pull those either.

ZeroQI commented 4 hours ago

Seem like a scanner issue to me for the splitted behaviour If they are playlist, why use the channel id and not playlist id? Try to use at folder in library root folder or it is grouping folder and not supposed to have files into folder at root level

I need the agent logs showing the series for the summary and channel thumbnail issue so refresh impacted series metadata manualky and attach them again please