-
Notifications
You must be signed in to change notification settings - Fork 44
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
Broken metadata and series naming after last update #155
Comments
Library access denied |
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 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. |
com.plexapp.agents.youtube.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. |
Yogcast see youtube2 forced channel id according scanner log, and logs looks fine Yogcast is not in the 2 agent logs... |
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. |
Seem like a scanner issue to me for the splitted behaviour 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 |
Unfortunately, when I use the playlist ID, the date does not get populated. I use that to watch my shows in chronological order. The channel ID with youtube2 applies the date correctly, especially for channels that can have multiple uploads per day, of which I have 2. This is the line in the Agent logs that confuses me. Every video has this log. And this shows a displayname that includes the channel ID. Is that what populates the Series Title field? I get this when I use the youtube2.id and remove the channel ID from the folder name.
This is the log section I get when I add a show as I have always done. The folder is in one of the root directories of the library. It has the show name and "[youtube2-UC......]" in the folder name. When it loads, I get all of the show metadata, as I expect, but the show title includes the file path.
Scanner logs |
I renamed all my folders to be "Channel Name [youtube2-UC..]" and fixed all show matches. All of the metadata came back, but the show title includes the file path as shown in the picture above. |
I have great difficulty as it seems it was a library wide metadata update, which cause multiple threads to run concurrently... Scanner info looks good Agent logs show error
Seem like the cache has it failing previously and remembers, error "tuple index out of range, url: UCSju5G2aFaWMqn-_0YBtq5A", URL is YOUTUBE_CHANNEL_DETAILS, prev line output 373 so it is the code from line 404 onwards
YOUTUBE_CHANNEL_DETAILS = YOUTUBE_API_BASE_URL + 'channels?part=snippet%2CcontentDetails%2Cstatistics%2CbrandingSettings&id={}&key={}' This error come from json_load function OR cannot find ['items'][0] |
Which cache needs clearing? Browser cache or a specific Plex cache? Can you delete my Google API Key from your post please? I meant to delete it before posting. I removed it from my post |
Plex http cache |
After clearing the HTTP Cache from the Plug-in Support folder, this is the log response I get after fixing the match to refresh the metadata. All the metadata loads correctly, but series name/title includes the file path as before.
|
Hello, I can also report similar if not identical issues with the most recent commit. All testing done with Plex Media Server 1.41.3.9314 with Plex Pass, and commit 33ce1de of Absolute Series Scanner. Commit 19aeeee works as expected. My current naming pattern using yt-dlp is:
As expected, YouTube-Agent grabs the channel metadata, and episode metadata correctly. Commit 96cb18f appears to be broken for looking up channel metadata using the "UC" format of the parent folder. If I change things around to reference a playlist and name the folder as "PL" format, it will function as expected. However my use case is rarely just playlists - I tend to download entire channels. I have tried the various "youtube-UC" and "youtube2-UC" methods and neither has produced reliable results. tl;dr - something broke between 19aeeee and 96cb18f for channel metadata using a "UC" named folder. |
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.
The text was updated successfully, but these errors were encountered: