Closed harroguk closed 4 years ago
From line 8 of com.plexapp.agents.youtube.log
above,
It looks like the guid
is not being picked up correctly?
Guide not there. Plex database may be corrupted. Can you do a match And check logs?
Running a match finds nothing
Plex Media Server.log
Feb 14, 2020 13:59:05.494 [2976] ERROR - Error parsing content.
Feb 14, 2020 13:59:05.494 [2976] ERROR - Exception caught while attempting to match metadata on item 431757: Error parsing file
Feb 14, 2020 13:59:05.494 [2976] ERROR - XML was (0 bytes):
com.plexapp.agents.youtube.log
2020-02-14 13:59:05,483 (1354) : DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.youtube/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCnhuczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZTMKbnM0CnllYXJzNgo0MzE3NTdzMgppZHMxNgpERUZDT05Db25mZXJlbmNlczQKc2hvd3IwCg__
2020-02-14 13:59:05,483 (1354) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2020-02-14 13:59:05,484 (1354) : DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.youtube/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCnhuczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZTMKbnM0CnllYXJzNgo0MzE3NTdzMgppZHMxNgpERUZDT05Db25mZXJlbmNlczQKc2hvd3IwCg__
2020-02-14 13:59:05,484 (1354) : INFO (agentkit:957) - Searching for matches for {'show': 'DEFCONConference', 'id': '431757', 'year': None}
2020-02-14 13:59:05,486 (1354) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/library/metadata/431757/tree'
2020-02-14 13:59:05,490 (1354) : CRITICAL (core:574) - Exception in the search function of agent named 'YouTubeSeries', called with keyword arguments {'show': 'DEFCONConference', 'id': '431757', 'year': None} (most recent call last):
File "C:\InstalledPrograms\PlexMediaServer\Resources\Plug-ins-9930aef45\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 1007, in _search
agent.search(*f_args, **f_kwargs)
File "C:\Users\Administrator\AppData\Local\Plex Media Server\Plug-ins\YouTube-Agent.bundle\Contents\Code\__init__.py", line 478, in search
def search (self, results, media, lang, manual): Search (results, media, lang, manual, False)
File "C:\Users\Administrator\AppData\Local\Plex Media Server\Plug-ins\YouTube-Agent.bundle\Contents\Code\__init__.py", line 112, in Search
filename = os.path.basename(media.items[0].parts[0].file) if movie else os.path.splitext(os.path.basename(media.filename))[0]
File "C:\InstalledPrograms\PlexMediaServer\Resources\Plug-ins-9930aef45\Framework.bundle\Contents\Resources\Versions\2\Python\subsystem\ospathfix.py", line 250, in os_path_basename
return os.path._basename(uni(path))
File "C:\InstalledPrograms\PlexMediaServer\Resources\Plug-ins-9930aef45\Framework.bundle\Contents\Resources\Versions\2\Python\subsystem\ospathfix.py", line 51, in uni
return unicode(s.decode('utf-8'))
AttributeError: 'NoneType' object has no attribute 'decode'
2020-02-14 13:59:05,490 (1354) : DEBUG (runtime:88) - Sending packed state data (107 bytes)
2020-02-14 13:59:05,490 (1354) : DEBUG (runtime:924) - Response: [200] str, 16 bytes
As a test I took a backup of my db com.plexapp.plugins.library.db
Then deleted it and started plex, created a new youtube-agent fed library and the same problem occurred for every video.
I've been having the exact same issue with my library, I believe it started just after the latest public PMS update. Unsure if that has any correlation, but it came to mind.
I guess the next thing to try is rolling back Plex to an earlier version then. I can't do it over the weekend as usage is too high on my server, the kids would go crazy :p
I agree, could be version related. If it works after rolling back then that would confirm it...
Just rolled back and can confirm everything works perfectly on the previous version. Looks like the update is the issue.
Just rolled back and can confirm everything works perfectly on the previous version. Looks like the update is the issue.
Which version did you roll back to? I installed 1.18.4.2171 and still have the same issue.
So at first I rolled back to the previous version and found it was mostly successful, but I was having issues with several videos not matching. It connected to the agent though, which was my initial issue. I've currently rolled back even further to 1.6.2.994 and have had no problems since. Everything matches up on my end.
cool, I worked it out in the end. It isnt "Update Metadata" that corrects the metadata but "fix match" instead.
Tested and working on 1.18.4.2171. I am slowly going to work up the tree to find which version the metadata collection breaks on.
So upgrading and testing each version shows that it breaks in 1.18.6.2348
1.18.5.2309 - Working 1.18.6.2348 - Broken - https://forums.plex.tv/t/plex-media-server/30447/314
Anyway we can run a "fix match" on all tv shows? I have to do it manually per show to correct this issue.
Ok I'm being offered PMS 1.18.8.2527. I updated the plug in. OK to update to this version?
1.18.5.2309 - Working 1.18.6.2348 - Broken 1.18.8.2527 - waiting for SKnight79 to update and report
Tested with versión 1.18.8.2527 and it's working perfect!! thankss!!!
I can confirm. Running 1.18.8.2527 is working normally.
@SKnight79 @algonrey @Dalekslayer3699
Go donate the guy a beer now that something he doesnt really support got fixed. Give thanks.
Thanks Harroguk for the donation. That is my third YouTube donation to date. Got through the YouTube API compliancy random review they launched so should continue to work in the foreseeable future
Thanks Harroguk for the donation. That is my third YouTube donation to date. Got through the YouTube API compliancy random review they launched so should continue to work in the foreseeable future
I moved to my own API key a while ago, If it is causing you problems then I would just tell people they need to use their own key, they are easy to get if you jump through the hoops.
Thanks Harroguk for the donation. That is my third YouTube donation to date. Got through the YouTube API compliancy random review they launched so should continue to work in the foreseeable future
There is no third without fourth, very good job @ZeroQI, thank you!!
Seems happening again with 1.20.1.3252-a78fef9a9
Still happening in 1.20.2.3402-0fec14d92
… 😭
Also happening here on 1.21.0.3616
... Has anyone figured out a workaround?
From memory it was something broken/fixed on Plex side. The workaround was to revert your server to a lower version that it works with.
However, saying that I am currently on Plex Server Version 1.21.0.3616
And everything is working fine.
From memory it was something broken/fixed on Plex side. The workaround was to revert your server to a lower version that it works with.
However, saying that I am currently on Plex Server Version 1.21.0.3616
And everything is working fine.
Thanks for the reply. I'm not sure why my Plex is acting up - I can't see anything wrong with the YouTube-Agent logs. Maybe it's an issue with my PMS setup rather than the plugin? Worst-case scenario, I will just try rolling back the server version to one mentioned above.
com.plexapp.agents.youtube.log
2020-11-27 10:28:06,485 (2acb0ef4f0) : INFO (agentkit:961) - Searching for matches for {'openSubtitlesHash': '0fb7dabc9589f530', 'episode': '1', 'name': 'POLYRHYTHMS vs POLYMETERS [htbRx2jgF-E].mp4', 'episodic': '1', 'show': 'ANDREW HUANG [UCdcemy56JtVTrsFIOoqvV8g]', 'season': '2020', 'plexHash': 'f60dbd3d72c7b8e0412edb73f374396df73a2ffe', 'filename': '%2Fstorage%2FNAS%2FEntertainment%2FYouTube%2FANDREW%20HUANG%20%5BUCdcemy56JtVTrsFIOoqvV8g%5D%2FPOLYRHYTHMS%20vs%20POLYMETERS%20%5BhtbRx2jgF-E%5D%2Emp4', 'year': '2020', 'duration': '589671', 'id': '2486'}
2020-11-27 10:28:06,489 (2acb0ef4f0) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/library/metadata/2486/tree'
2020-11-27 10:28:06,502 (2acb0ef4f0) : DEBUG (preferences:258) - Loaded preferences from DefaultPrefs.json
2020-11-27 10:28:06,503 (2acb0ef4f0) : DEBUG (preferences:178) - Loaded the user preferences for com.plexapp.agents.youtube
2020-11-27 10:28:06,504 (2acb0ef4f0) : INFO (__init__:61) - /storage/NAS/Entertainment/YouTube/ANDREW HUANG [UCdcemy56JtVTrsFIOoqvV8g]/POLYRHYTHMS vs POLYMETERS [htbRx2jgF-E].mp4
2020-11-27 10:28:06,504 (2acb0ef4f0) : INFO (__init__:118) - =============================================================================================================================================================
2020-11-27 10:28:06,505 (2acb0ef4f0) : INFO (__init__:119) - search_with_api() - dir: /storage/NAS/Entertainment/YouTube/ANDREW HUANG [UCdcemy56JtVTrsFIOoqvV8g], filename: /storage/NAS/Entertainment/YouTube/ANDREW HUANG [UCdcemy56JtVTrsFIOoqvV8g]/POLYRHYTHMS vs POLYMETERS [htbRx2jgF-E].mp4
2020-11-27 10:28:06,505 (2acb0ef4f0) : INFO (__init__:126) - search() - YouTube ID found - regex: YOUTUBE_REGEX_PLAYLIST, youtube ID: "UCdcemy56JtVTrsFIOoqvV8g"
2020-11-27 10:28:06,507 (2acb0ef4f0) : DEBUG (runtime:88) - Sending packed state data (107 bytes)
2020-11-27 10:28:06,508 (2acb0ef4f0) : DEBUG (runtime:924) - Response: [200] str, 756 bytes
2020-11-27 10:28:07,611 (2acb0ef4f0) : DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.youtube/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMTAKczIKeG5zNApsYW5nYjFzNQpmb3JjZWIwczgKcGVyaW9kaWNzNAoyNDg2czQKZGJpZGkwCnM3CnZlcnNpb25uczEwCnBhcmVudEdVSURuczgKcGFyZW50SURzNwpUVl9TaG93czEwCm1lZGlhX3R5cGVzMTA5CmNvbS5wbGV4YXBwLmFnZW50cy55b3V0dWJlOi8veW91dHViZXxVQ2RjZW15NTZKdFZUcnNGSU9vcXZWOGd8QU5EUkVXIEhVQU5HIFtVQ2RjZW15NTZKdFZUcnNGSU9vcXZWOGddP2xhbmc9eG5zNApndWlkczcyCnlvdXR1YmV8VUNkY2VteTU2SnRWVHJzRklPb3F2VjhnfEFORFJFVyBIVUFORyBbVUNkY2VteTU2SnRWVHJzRklPb3F2VjhnXXMyCmlkcjAK
2020-11-27 10:28:07,614 (2acb0ef4f0) : DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.youtube/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMTAKczIKeG5zNApsYW5nYjFzNQpmb3JjZWIwczgKcGVyaW9kaWNzNAoyNDg2czQKZGJpZGkwCnM3CnZlcnNpb25uczEwCnBhcmVudEdVSURuczgKcGFyZW50SURzNwpUVl9TaG93czEwCm1lZGlhX3R5cGVzMTA5CmNvbS5wbGV4YXBwLmFnZW50cy55b3V0dWJlOi8veW91dHViZXxVQ2RjZW15NTZKdFZUcnNGSU9vcXZWOGd8QU5EUkVXIEhVQU5HIFtVQ2RjZW15NTZKdFZUcnNGSU9vcXZWOGddP2xhbmc9eG5zNApndWlkczcyCnlvdXR1YmV8VUNkY2VteTU2SnRWVHJzRklPb3F2VjhnfEFORFJFVyBIVUFORyBbVUNkY2VteTU2SnRWVHJzRklPb3F2VjhnXXMyCmlkcjAK
2020-11-27 10:28:07,615 (2acb0ef4f0) : DEBUG (model:32) - Loading model with GUID com.plexapp.agents.youtube://youtube|UCdcemy56JtVTrsFIOoqvV8g|ANDREW HUANG [UCdcemy56JtVTrsFIOoqvV8g]?lang=xn
2020-11-27 10:28:07,618 (2acb0ef4f0) : DEBUG (model:234) - Deserializing from /storage/emulated/0/Android/data/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/TV Shows/6/0d0ae89818e7b6be7b7bb36f98c98a0f87cef90.bundle/Contents/com.plexapp.agents.youtube/Info.xml
2020-11-27 10:28:07,642 (2acb0ef4f0) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/library/metadata/2486/tree'
2020-11-27 10:28:07,651 (2acb0ef4f0) : INFO (__init__:386) - update()
2020-11-27 10:28:07,652 (2acb0ef4f0) : INFO (__init__:61) - /storage/NAS/Entertainment/YouTube/ANDREW HUANG [UCdcemy56JtVTrsFIOoqvV8g]/POLYRHYTHMS vs POLYMETERS [htbRx2jgF-E].mp4
2020-11-27 10:28:07,653 (2acb0ef4f0) : INFO (__init__:483) - =============================================================================================================================================================
2020-11-27 10:28:07,653 (2acb0ef4f0) : INFO (__init__:483) - update() using api - guid: UCdcemy56JtVTrsFIOoqvV8g, dir: /storage/NAS/Entertainment/YouTube/ANDREW HUANG [UCdcemy56JtVTrsFIOoqvV8g], metadata.id: youtube|UCdcemy56JtVTrsFIOoqvV8g|ANDREW HUANG [UCdcemy56JtVTrsFIOoqvV8g]
2020-11-27 10:28:07,654 (2acb0ef4f0) : INFO (__init__:73) - [!] Library access denied
2020-11-27 10:28:07,655 (2acb0ef4f0) : INFO (__init__:81) - [!] ASS root scanner file missing: "/storage/emulated/0/Android/data/com.plexapp.mediaserver.smb/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems/_Logs/_root_.scanner.log"
2020-11-27 10:28:07,655 (2acb0ef4f0) : INFO (__init__:458) - [ ] dir: "/storage/NAS/Entertainment/YouTube/ANDREW HUANG [UCdcemy56JtVTrsFIOoqvV8g]"
2020-11-27 10:28:07,655 (2acb0ef4f0) : INFO (__init__:459) - [ ] library: ""
2020-11-27 10:28:07,656 (2acb0ef4f0) : INFO (__init__:460) - [ ] root: "/storage/NAS/Entertainment/YouTube/ANDREW HUANG [UCdcemy56JtVTrsFIOoqvV8g]"
2020-11-27 10:28:07,656 (2acb0ef4f0) : INFO (__init__:461) - [ ] path: ""
2020-11-27 10:28:07,663 (2acb0ef4f0) : INFO (__init__:466) - [ ] series_root_folder: "/storage/NAS/Entertainment/YouTube/ANDREW HUANG [UCdcemy56JtVTrsFIOoqvV8g]/"
2020-11-27 10:28:07,663 (2acb0ef4f0) : INFO (__init__:467) - [ ] subfolder_count: "0"
2020-11-27 10:28:07,664 (2acb0ef4f0) : INFO (__init__:490) - Grouping folder not found or single folder, root: /storage/NAS/Entertainment/YouTube/ANDREW HUANG [UCdcemy56JtVTrsFIOoqvV8g], path: , Grouping folder: , subdirs: 0, reverse_path: ['']
2020-11-27 10:28:07,665 (2acb0ef4f0) : INFO (__init__:581) - after
2020-11-27 10:28:07,677 (2acb0ef4f0) : DEBUG (networking:138) - Fetching 'https://www.googleapis.com/youtube/v3/channels?part=snippet%2CcontentDetails%2Cstatistics%2CbrandingSettings&id=UCdcemy56JtVTrsFIOoqvV8g&key=(keyredacted)' from the HTTP cache
2020-11-27 10:28:07,684 (2acb0ef4f0) : INFO (__init__:592) - [?] json_channel_details: ['kind', 'statistics', 'contentDetails', 'brandingSettings', 'snippet', 'etag', 'id']
2020-11-27 10:28:07,685 (2acb0ef4f0) : INFO (__init__:593) - [ ] title: "ANDREW HUANG"
2020-11-27 10:28:07,686 (2acb0ef4f0) : INFO (__init__:613) - [ ] role: ANDREW HUANG
2020-11-27 10:28:07,686 (2acb0ef4f0) : INFO (__init__:617) - [ ] art:
2020-11-27 10:28:07,687 (2acb0ef4f0) : INFO (__init__:620) - [ ] banners:
2020-11-27 10:28:07,687 (2acb0ef4f0) : INFO (__init__:626) - [ ] posters: https://yt3.ggpht.com/ytc/AAUvwnjIH8OXWT4jmsAQJ5x846iaXQVL1QKjMGEceIlJ=s240-c-k-c0x00ffffff-no-rj
2020-11-27 10:28:07,688 (2acb0ef4f0) : INFO (__init__:636) - =============================================================================================================================================================
2020-11-27 10:28:07,688 (2acb0ef4f0) : INFO (__init__:637) - Season: 2020
2020-11-27 10:28:07,689 (2acb0ef4f0) : INFO (__init__:645) - metadata.seasons[2020].episodes[ 1] "POLYRHYTHMS vs POLYMETERS [htbRx2jgF-E].mp4"
2020-11-27 10:28:07,689 (2acb0ef4f0) : INFO (__init__:274) - populate_episode_metadata_from_api() - filename: POLYRHYTHMS vs POLYMETERS [htbRx2jgF-E].mp4
2020-11-27 10:28:07,690 (2acb0ef4f0) : INFO (__init__:281) - # videoId [htbRx2jgF-E] not in Playlist/channel item list so loading video_details
2020-11-27 10:28:07,700 (2acb0ef4f0) : DEBUG (networking:138) - Fetching 'https://www.googleapis.com/youtube/v3/videos?part=snippet,contentDetails,statistics&id=htbRx2jgF-E&key=(keyredacted)' from the HTTP cache
2020-11-27 10:28:07,713 (2acb0ef4f0) : DEBUG (networking:143) - Requesting 'https://i.ytimg.com/vi/htbRx2jgF-E/sddefault.jpg'
2020-11-27 10:28:07,912 (2acb0ef4f0) : DEBUG (networking:175) - Not caching 'https://i.ytimg.com/vi/htbRx2jgF-E/sddefault.jpg' (content type 'image/jpeg' not cacheable in Agent plug-ins)
2020-11-27 10:28:07,913 (2acb0ef4f0) : INFO (__init__:292) - [ ] title: "POLYRHYTHMS vs POLYMETERS"
2020-11-27 10:28:07,918 (2acb0ef4f0) : INFO (__init__:293) - [ ] summary: "PS. You can do polymeters (and a hundred other cool things) in my new music making app :D http://flipsampler.com. . Music I used in this video: "Long Gone" from my album Stars, and "Shadow 1" from my album Cosmos. Both available on all platforms!. https://fanlink.to/andrewhuang-stars. https://fanlink.to/andrewhuang-cosmos. . Subscribe → http://bit.ly/subAndrewHuang. ."
2020-11-27 10:28:07,921 (2acb0ef4f0) : INFO (__init__:294) - [ ] date: "2020-11-26T20:03:07Z"
2020-11-27 10:28:07,922 (2acb0ef4f0) : INFO (__init__:296) - [ ] rating: "9.0"
2020-11-27 10:28:07,923 (2acb0ef4f0) : INFO (__init__:297) - [ ] thumbs: "https://i.ytimg.com/vi/htbRx2jgF-E/sddefault.jpg"
2020-11-27 10:28:07,924 (2acb0ef4f0) : INFO (__init__:299) - [ ] duration: "PT9M50S"->"590000"
2020-11-27 10:28:07,925 (2acb0ef4f0) : INFO (__init__:304) - [ ] director: "ANDREW HUANG"
2020-11-27 10:28:07,926 (2acb0ef4f0) : INFO (__init__:311) - [ ] posters: https://i.ytimg.com/vi/htbRx2jgF-E/sddefault.jpg
2020-11-27 10:28:07,926 (2acb0ef4f0) : INFO (__init__:313) - [ ] genres: "[u'theory thursday', u'polyrhythm', u'producer', u'explained', u'songwriting', u'meter', u'signature', u'making a song', u'music theory', u'vs', u'Music', u'music producer', u'beats', u'theory', u'andrew huang', u'ontario', u'how to write a song', u'music', u'rhythm', u'time signature', u'canada', u'making music', u'how to make music', u'song', u'ableton', u'musician', u'andrew', u'daw', u'huang', u'producing music', u'toronto', u'AndrewHuang', u'canadian', u'how to', u'count', u'learn music', u'time', u'polymeter']"
2020-11-27 10:28:07,929 (2acb0ef4f0) : INFO (__init__:671) - =============================================================================================================================================================
2020-11-27 10:28:07,956 (2acb0ef4f0) : DEBUG (model:229) - Serializing to /storage/emulated/0/Android/data/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/TV Shows/6/0d0ae89818e7b6be7b7bb36f98c98a0f87cef90.bundle/Contents/com.plexapp.agents.youtube/Info.xml
2020-11-27 10:28:07,959 (2acb0ef4f0) : DEBUG (runtime:88) - Sending packed state data (107 bytes)
2020-11-27 10:28:07,960 (2acb0ef4f0) : DEBUG (runtime:924) - Response: [200] str, 16 bytes
For anyone else running into this issue, I seem to have found a fix for my circumstances. I had to add a line of missing code to the __init__.py
file. I'll paste the line in question as well as the surrounding code for context below:
The missing line, line 594
metadata.title = filterInvalidXMLChars(Dict(json_channel_details, 'snippet', 'title' ))
The surrounding code, lines 583-605
# Loading Channel Details for summary, country, background and role image
if channel_id.startswith('UC') or channel_id.startswith('HC'):
try:
URL_CHANNEL_DETAILS = '{}&id={}&key={}'.format(YOUTUBE_CHANNEL_DETAILS,channel_id, YOUTUBE_API_KEY)
json_channel_details = json_load(URL_CHANNEL_DETAILS)['items'][0]
except Exception as e: Log('exception: {}, url: {}'.format(e, guid))
else:
Log.Info('[?] json_channel_details: {}'.format(json_channel_details.keys()))
Log.Info('[ ] title: "{}"'.format(Dict(json_channel_details, 'snippet', 'title' )))
metadata.title = filterInvalidXMLChars(Dict(json_channel_details, 'snippet', 'title' ))
if not Dict(json_playlist_details, 'snippet', 'description'):
if Dict(json_channel_details, 'snippet', 'description'): metadata.summary = Dict(json_channel_details, 'snippet', 'description');
#elif guid.startswith('PL'): metadata.summary = 'No Playlist nor Channel summary'
else:
summary = 'Channel with {} videos, '.format(Dict(json_channel_details, 'statistics', 'videoCount' ))
summary += '{} subscribers, '.format(Dict(json_channel_details, 'statistics', 'subscriberCount'))
summary += '{} views'.format(Dict(json_channel_details, 'statistics', 'viewCount' ))
metadata.summary = filterInvalidXMLChars(summary) #or 'No Channel summary'
Log.Info('[ ] summary: "{}"'.format(Dict(json_channel_details, 'snippet', 'description').replace('\n', '. '))) #
if Dict(json_channel_details,'snippet','country') and Dict(json_channel_details,'snippet','country') not in metadata.countries:
metadata.countries.add(Dict(json_channel_details,'snippet','country')); Log.Info('[ ] country: {}'.format(Dict(json_channel_details,'snippet','country') ))
@twalts why not submit it as a pull request so it can be brought into master?
@harroguk I think I just submitted one, but I'm new to this so I'm not sure if I did it correctly! 😬 I also thought it might be helpful to post an explanation regardless.
this fix has changed all of my YouTube shows and seasons to be named after the YouTube channels.
Hey Man,
Not sure what is going on here but recently my plex server stopped populating channel names with metadata and is instead populating it with the path to the directory.
com.plexapp.agents.youtube.log
showing a scan of a single file. Metadata for the file is picked up correctly however it is the only video I have for this channel and it populates the channel name with...I:\TV\YouTube\DEFCONConference
com.plexapp.system.log