-
Notifications
You must be signed in to change notification settings - Fork 49
Description
Paid the RTFM tax!
This appears to be similar to #124, but I wanted to create a separate issue to keep the details relevant to my findings in one place.
Library is set as series/TV show, and uses Absolute Series Scanner for the Scanner, with YouTubeSeries for the lAgent*. Both are git pull from last night, so neither should be outdated.
I have two sources being indexed via TubeSync, one is a channel (with 1 video), the other is a playlist (with 39 videos). Although I have input my own API key for YT, I also have .info.json files adjacent to the video files, channel/playlist ID in the base directory, and video ID in the filename. Trunctuating to just 1 video from the playlist for the sake of shortening output, here is the formatting used:
.
├── The Salt Mines [PLFUDU8AOevUePkIO6d3vLr0SSVKeZBdsZ]
│ ├── 2022-03-04 (The Salt Mines) This Starcraft player has lost his mind Salt Mines #1 - SC2 [YouTube-1vjvR4nEJr8].info.json
│ ├── 2022-03-04 (The Salt Mines) This Starcraft player has lost his mind Salt Mines #1 - SC2 [YouTube-1vjvR4nEJr8].jpg
│ ├── 2022-03-04 (The Salt Mines) This Starcraft player has lost his mind Salt Mines #1 - SC2 [YouTube-1vjvR4nEJr8].mkv
└── VeeFX [UCaH8b42Impdi8nfCsyBhY7A]
├── 2019-07-23 (VeeFX) Meat the Soldier [YouTube-ilqAyc5feXQ].info.json
├── 2019-07-23 (VeeFX) Meat the Soldier [YouTube-ilqAyc5feXQ].jpg
└── 2019-07-23 (VeeFX) Meat the Soldier [YouTube-ilqAyc5feXQ].mkv
For the Playlist, all items are detected, and metadata is applied correctly to the Series, Season, and Episodes.
For the Channel, all items are detected, and metadata is applied correctly to the Series and Season, but not the Episodes. The individual episode files appear as their literal filename, with no metadata applied at all.
Here's what I think is the relative output from com.plexapp.agents.youtube.log:
2023-08-08 22:35:03,779 (7f9ff68aab38) : DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.youtube/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMTAKczIKeG5zNApsYW5nYjFzNQpmb3JjZWIwczgKcGVyaW9kaWNzNgoxNzEyMDNzNApkYmlkaTAKczcKdmVyc2lvbm5zMTAKcGFyZW50R1VJRG5zOApwYXJlbnRJRHM3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZXMxMDIKY29tLnBsZXhhcHAuYWdlbnRzLnlvdXR1YmU6Ly95b3V0dWJlfFVDYUg4YjQySW1wZGk4bmZDc3lCaFk3QXxWZWVGWCBbVUNhSDhiNDJJbXBkaThuZkNzeUJoWTdBXT9sYW5nPXhuczQKZ3VpZHM2NQp5b3V0dWJlfFVDYUg4YjQySW1wZGk4bmZDc3lCaFk3QXxWZWVGWCBbVUNhSDhiNDJJbXBkaThuZkNzeUJoWTdBXXMyCmlkcjAK
2023-08-08 22:35:03,781 (7f9ff68aab38) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2023-08-08 22:35:03,782 (7f9ff68aab38) : DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.youtube/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMTAKczIKeG5zNApsYW5nYjFzNQpmb3JjZWIwczgKcGVyaW9kaWNzNgoxNzEyMDNzNApkYmlkaTAKczcKdmVyc2lvbm5zMTAKcGFyZW50R1VJRG5zOApwYXJlbnRJRHM3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZXMxMDIKY29tLnBsZXhhcHAuYWdlbnRzLnlvdXR1YmU6Ly95b3V0dWJlfFVDYUg4YjQySW1wZGk4bmZDc3lCaFk3QXxWZWVGWCBbVUNhSDhiNDJJbXBkaThuZkNzeUJoWTdBXT9sYW5nPXhuczQKZ3VpZHM2NQp5b3V0dWJlfFVDYUg4YjQySW1wZGk4bmZDc3lCaFk3QXxWZWVGWCBbVUNhSDhiNDJJbXBkaThuZkNzeUJoWTdBXXMyCmlkcjAK
2023-08-08 22:35:03,783 (7f9ff68aab38) : DEBUG (model:32) - Loading model with GUID com.plexapp.agents.youtube://youtube|UCaH8b42Impdi8nfCsyBhY7A|VeeFX [UCaH8b42Impdi8nfCsyBhY7A]?lang=xn
2023-08-08 22:35:03,784 (7f9ff68aab38) : DEBUG (model:234) - Deserializing from /config/Library/Application Support/Plex Media Server/Metadata/TV Shows/0/ee8ff4f63b8153adc22d0170ab31ace44e2db43.bundle/Contents/com.plexapp.agents.youtube/Info.xml
2023-08-08 22:35:03,789 (7f9ff68aab38) : DEBUG (networking:144) - Requesting 'http://127.0.0.1:32400/library/metadata/171203/tree'
2023-08-08 22:35:03,799 (7f9ff68aab38) : INFO (__init__:230) - === update(lang=xn, force=True, movie=False) ===
2023-08-08 22:35:03,800 (7f9ff68aab38) : INFO (__init__:77) - /media/YouTube/video/VeeFX [UCaH8b42Impdi8nfCsyBhY7A]/2019-07-23 (VeeFX) Meat the Soldier [YouTube-ilqAyc5feXQ].mkv
2023-08-08 22:35:03,800 (7f9ff68aab38) : INFO (__init__:242) - =============================================================================================================================================================
2023-08-08 22:35:03,801 (7f9ff68aab38) : INFO (__init__:342) - [ ] library: "YouTube"
2023-08-08 22:35:03,801 (7f9ff68aab38) : INFO (__init__:343) - [ ] root: "/media/YouTube/video"
2023-08-08 22:35:03,801 (7f9ff68aab38) : INFO (__init__:344) - [ ] path: "VeeFX [UCaH8b42Impdi8nfCsyBhY7A]"
2023-08-08 22:35:03,802 (7f9ff68aab38) : INFO (__init__:345) - [ ] dir: "/media/YouTube/video/VeeFX [UCaH8b42Impdi8nfCsyBhY7A]"
2023-08-08 22:35:03,802 (7f9ff68aab38) : INFO (__init__:350) - [ ] series_root_folder: "/media/YouTube/video/VeeFX [UCaH8b42Impdi8nfCsyBhY7A]"
2023-08-08 22:35:03,803 (7f9ff68aab38) : INFO (__init__:353) - [ ] subfolder_count: "0"
2023-08-08 22:35:03,803 (7f9ff68aab38) : INFO (__init__:373) - Grouping folder not found or single folder, root: /media/YouTube/video, path: VeeFX [UCaH8b42Impdi8nfCsyBhY7A], Grouping folder: VeeFX [UCaH8b42Impdi8nfCsyBhY7A], subdirs: 0, reverse_path: [u'VeeFX [UCaH8b42Impdi8nfCsyBhY7A]']
2023-08-08 22:35:03,813 (7f9ff68aab38) : DEBUG (networking:139) - Fetching 'https://www.googleapis.com/youtube/v3/channels?part=snippet%2CcontentDetails%2Cstatistics%2CbrandingSettings&id=UCaH8b42Impdi8nfCsyBhY7A&key=AIzaSyAdbN11U_HxVbCc6WUrmcGjHzktb0B_MwA' from the HTTP cache
2023-08-08 22:35:03,822 (7f9ff68aab38) : INFO (__init__:489) - [ ] title: "VeeFX ", metadata.title: "VeeFX "
2023-08-08 22:35:03,822 (7f9ff68aab38) : INFO (__init__:482) - [ ] art: https://lh3.googleusercontent.com/bFLmItvtHBY9mh5awdOk14YfyVWGyv94uj_HvUaZGKNxybW6NerlEAtGrNJRFi7kWl3vtQBJiA=s1920
2023-08-08 22:35:03,823 (7f9ff68aab38) : INFO (__init__:484) - [ ] banners: https://lh3.googleusercontent.com/bFLmItvtHBY9mh5awdOk14YfyVWGyv94uj_HvUaZGKNxybW6NerlEAtGrNJRFi7kWl3vtQBJiA=s1920
2023-08-08 22:35:03,823 (7f9ff68aab38) : INFO (__init__:491) - [ ] posters: https://yt3.ggpht.com/ytc/AOPolaTquJCPCbd2LmM7GRx913q6pW72-OjDrOCU2X0f=s240-c-k-c0x00ffffff-no-rj
2023-08-08 22:35:03,823 (7f9ff68aab38) : INFO (__init__:497) - [ ] role: VeeFX
2023-08-08 22:35:03,824 (7f9ff68aab38) : INFO (__init__:510) - =============================================================================================================================================================
2023-08-08 22:35:03,824 (7f9ff68aab38) : INFO (__init__:511) - Season: 2019
2023-08-08 22:35:03,824 (7f9ff68aab38) : INFO (__init__:517) - metadata.seasons[2019].episodes[2019-07-23] "2019-07-23 (VeeFX) Meat the Soldier [YouTube-ilqAyc5feXQ].mkv"
2023-08-08 22:35:03,825 (7f9ff68aab38) : INFO (__init__:536) - populate_episode_metadata_from_info_json() - series_root_folder: /media/YouTube/video/VeeFX [UCaH8b42Impdi8nfCsyBhY7A], filename: 2019-07-23 (VeeFX) Meat the Soldier [YouTube-ilqAyc5feXQ].mkv
2023-08-08 22:35:03,825 (7f9ff68aab38) : INFO (__init__:537) - Searching for "2019-07-23 (VeeFX) Meat the Soldier [YouTube-ilqAyc5feXQ].info.json". Searching in "/media/YouTube/video/VeeFX [UCaH8b42Impdi8nfCsyBhY7A]".
2023-08-08 22:35:03,825 (7f9ff68aab38) : INFO (__init__:539) - Directory /media/YouTube/video/VeeFX [UCaH8b42Impdi8nfCsyBhY7A] contains 3 files
2023-08-08 22:35:03,829 (7f9ff68aab38) : INFO (__init__:545) - Attempting to read metadata from /media/YouTube/video/VeeFX [UCaH8b42Impdi8nfCsyBhY7A]/2019-07-23 (VeeFX) Meat the Soldier [YouTube-ilqAyc5feXQ].info.json
2023-08-08 22:35:03,829 (7f9ff68aab38) : INFO (__init__:547) - # videoId [ilqAyc5feXQ] not in Playlist/channel item list so loading json_video_details
2023-08-08 22:35:03,829 (7f9ff68aab38) : INFO (__init__:548) - [?] link: "https://www.youtube.com/watch?v=ilqAyc5feXQ"
2023-08-08 22:35:03,829 (7f9ff68aab38) : INFO (__init__:135) - img_load() - series_root_folder: /media/YouTube/video/VeeFX [UCaH8b42Impdi8nfCsyBhY7A], filename: 2019-07-23 (VeeFX) Meat the Soldier [YouTube-ilqAyc5feXQ].mkv
2023-08-08 22:35:03,830 (7f9ff68aab38) : INFO (__init__:138) - local thumbnail found for file /media/YouTube/video/VeeFX [UCaH8b42Impdi8nfCsyBhY7A]/2019-07-23 (VeeFX) Meat the Soldier [YouTube-ilqAyc5feXQ].jpg
2023-08-08 22:35:03,830 (7f9ff68aab38) : INFO (__init__:558) - [ ] title: "Meat the Soldier"
2023-08-08 22:35:03,830 (7f9ff68aab38) : INFO (__init__:559) - [ ] summary: "He knows a little more than you do, cow."
2023-08-08 22:35:03,831 (7f9ff68aab38) : INFO (__init__:560) - [ ] date: "20190723"
2023-08-08 22:35:03,831 (7f9ff68aab38) : INFO (__init__:561) - [ ] duration: "12"
2023-08-08 22:35:03,831 (7f9ff68aab38) : INFO (__init__:572) - [ ] genres: "[u'meme', u'funny', u'sun tzu', u'team fortress 2', u'cow', u'vine', u'People & Blogs', u'meat the soldier', u'meat', u'whatever', u'how do these work', u'cows', u'meet the soldier', u'tf2']"
2023-08-08 22:35:03,832 (7f9ff68aab38) : INFO (__init__:612) - === End Of Agent Call, errors after that are Plex related ===================================================================================================
2023-08-08 22:35:03,840 (7f9ff68aab38) : DEBUG (model:229) - Serializing to /config/Library/Application Support/Plex Media Server/Metadata/TV Shows/0/ee8ff4f63b8153adc22d0170ab31ace44e2db43.bundle/Contents/com.plexapp.agents.youtube/Info.xml
2023-08-08 22:35:03,841 (7f9ff68aab38) : DEBUG (runtime:88) - Sending packed state data (107 bytes)
2023-08-08 22:35:03,842 (7f9ff68aab38) : DEBUG (runtime:924) - Response: [200] str, 16 bytes
It seems like the agent is matching the correct information for the video, but it's not actually being applied? Am I missing a step somewhere?