[Release] CBC.ca News - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154) +---- Thread: [Release] CBC.ca News (/showthread.php?tid=308873) |
RE: [Release] CBC.ca News - llnk - 2019-10-07 This add-on stopped working last week on my FireTV Stick 4k running Kodi 18.2. When running the add-on, it says "CBC.ca News Error: Check the log for more information" When using the Kodi Log Viewer add-on, i found the following script error: T:10904 Error GetDirectory Error Getting plugin://plugin.video.cbcnews/?mode=GS%url=%2fplayer%2fnews%2fLive Any help would be much appreciated. RE: [Release] CBC.ca News - jdfraser - 2019-10-08 I am also getting some new errors with CBC News. I wonder if CBC has changed something with their streams.... I ran into some issues a couple weeks ago with their audio streams for CBC Radio breaking. I've included a snip from my log file in case it proves useful for anyone. FWIW this is a great plugin which I use very often, I appreciate all the work that has gone in to it. Cheers! 2019-10-07 19:29:04.530 T:1901613920 ERROR: Control 55 in window 10025 has been asked to focus, but it can't 2019-10-07 19:29:06.034 T:1140847328 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.AttributeError'> Error Contents: 'NoneType' object has no attribute 'group' Traceback (most recent call last): File "/home/pi/.kodi/addons/plugin.video.cbcnews/default.py", line 12, in <module> ma.processAddonEvent() File "/home/pi/.kodi/addons/script.module.t1mlib/lib/t1mlib.py", line 231, in processAddonEvent if mode== None: self.procDir(self.getAddonMenu, p('url'), 'files', 'default_view') File "/home/pi/.kodi/addons/script.module.t1mlib/lib/t1mlib.py", line 156, in procDir ilist = dirFunc(url, ilist) File "/home/pi/.kodi/addons/plugin.video.cbcnews/resources/lib/scraper.py", line 24, in getAddonMenu html = re.compile('<section class="section-cats full">(.+?)</section', re.DOTALL).search(html).group(1) AttributeError: 'NoneType' object has no attribute 'group' -->End of Python script error report<-- 2019-10-07 19:29:06.234 T:1117774560 ERROR: GetDirectory - Error getting plugin://plugin.video.cbcnews/ 2019-10-07 19:29:06.238 T:1901613920 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.cbcnews/) failed RE: [Release] CBC.ca News - maddskillz20 - 2019-10-10 Bump.. Stopped working for me as well RE: [Release] CBC.ca News - rikblok - 2019-10-14 Me too 🙁 RE: [Release] CBC.ca News - kodaksmith - 2019-10-22 How to Patch CBC News Add-on: NOTE: This post has been edited to remove content that is no longer valid. RE: [Release] CBC.ca News - Tybie - 2019-10-23 (2019-10-22, 23:35)kodaksmith Wrote: I tried the patch. the addon is now working except there's no news video subsections now. RE: [Release] CBC.ca News - kodaksmith - 2019-10-24 @Tybie can you find the missing sections on the CBC web site? If so let me know where these are and I might be able to include these. I had never used the add-on previously so I don't know what it looked like before it stopped working. RE: [Release] CBC.ca News - maddskillz20 - 2019-10-27 (2019-10-24, 00:55)kodaksmith Wrote: @Tybie can you find the missing sections on the CBC web site? If so let me know where these are and I might be able to include these. Thanks for looking at this! I think after the first section is selected (eg News), another set of folders should be shown (eg Canada, World) And then if you select Canada, another set of folders should be shown (eg Calgary, BC, Manitoba) And then if you select Calgary, the videos should be shown\filtered for Calgary only RE: [Release] CBC.ca News - maddskillz20 - 2019-10-27 The add-on is parsing the website now, but when i try to play a file i get: 2019-10-27 11:07:26.229 T:17960 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.cbcnews/?mode=GV&url=https%3A%2F%2Flink.theplatform.com%2Fs%2FExhSPC%2Fmedia%2Fguid%2F2655402169%2F1631021123943%2Fmeta.smil%3Ffeed%3DPlayer%2520Selector%2520-%2520Prod%26format%3Dsmil%26mbr%3Dtrue%26manifest%3Dm3u 2019-10-27 11:07:26.761 T:17960 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for https://link.theplatform.com/s/ExhSPC/media/guid/2655402169/1631021123943?mbr=true&manifest=m3u&feed=Player Selector - Prod 2019-10-27 11:07:26.761 T:5956 NOTICE: Creating InputStream 2019-10-27 11:07:26.999 T:5956 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 400 2019-10-27 11:07:26.999 T:5956 ERROR: CCurlFile::Open failed with code 400 for https://link.theplatform.com/s/ExhSPC/media/guid/2655402169/1631021123943?mbr=true&manifest=m3u&feed=Player Selector - Prod: 2019-10-27 11:07:27.129 T:5956 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 400 2019-10-27 11:07:27.129 T:5956 ERROR: CCurlFile::Open failed with code 400 for https://link.theplatform.com/s/ExhSPC/media/guid/2655402169/1631021123943?mbr=true&manifest=m3u&feed=Player Selector - Prod: 2019-10-27 11:07:27.129 T:5956 ERROR: XFILE::CFileCache::Open - failed to open source <https://link.theplatform.com/s/ExhSPC/media/guid/2655402169/1631021123943?mbr=true&manifest=m3u&feed=Player Selector - Prod> 2019-10-27 11:07:27.129 T:5956 ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.cbcnews/?mode=GV&url=https%3A%2F%2Flink.theplatform.com%2Fs%2FExhSPC%2Fmedia%2Fguid%2F2655402169%2F1631021123943%2Fmeta.smil%3Ffeed%3DPlayer%2520Selector%2520-%2520Prod%26format%3Dsmil%26mbr%3Dtrue%26manifest%3Dm3u] 2019-10-27 11:07:27.129 T:5956 NOTICE: CVideoPlayer::OnExit() 2019-10-27 11:07:27.182 T:17960 NOTICE: CVideoPlayer::CloseFile() 2019-10-27 11:07:27.182 T:17960 NOTICE: VideoPlayer: waiting for threads to exit 2019-10-27 11:07:27.182 T:17960 NOTICE: VideoPlayer: finished waiting Any ideas? RE: [Release] CBC.ca News - kodaksmith - 2019-10-27 Thanks for the navigation suggestions @maddskillz20. NOTE: This post has been edited to remove content that is no longer valid. RE: [Release] CBC.ca News - maddskillz20 - 2019-10-27 Great work.. that looks better .. but still having a problem playing the videos.. they won't start (Windows 10) RE: [Release] CBC.ca News - maddskillz20 - 2019-10-28 (2019-10-27, 23:45)maddskillz20 Wrote: Great work.. that looks betterFigured it out.. there's some extra spaces that need to be URL Encoded Line 85 should be: u = u + '?mbr=true&manifest=m3u&feed=Player%20Selector%20-%20Prod' RE: [Release] CBC.ca News - kodaksmith - 2019-10-28 (2019-10-28, 00:38)maddskillz20 Wrote:(2019-10-27, 23:45)maddskillz20 Wrote: Great work.. that looks betterFigured it out.. there's some extra spaces that need to be URL Encoded Note that there are more URL encoded spaces in the source code section. For some reason the forum software does not display the raw percent-two-zero (%20) values. That is why I added the important note to use the COPY button that will pop up when the mouse pointer is hovered over the code. RE: [Release] CBC.ca News - barney63 - 2019-10-28 (2019-10-28, 17:30)kodaksmith Wrote: Note that there are more URL encoded spaces in the source code section. For some reason the forum software does not display the raw percent-two-zero (%20) values. That is why I added the important note to use the COPY button that will pop up when the mouse pointer is hovered over the code.Thanks for reiterating that point. Even though you clearly say that in your instructions, I was missing it (and not doing it). Also on my laptop the copy button (in the top right corner of the post) is small and sometimes difficult to see, but once I figured it out, all became clear. I am going to go back and redo some other patches to see if I was missing anything. Thanks. BTW addon works great! RE: [Release] CBC.ca News - kodaksmith - 2019-10-30 This patch adds four news shows: Marketplace, Power & Politics, The Fifth Estate, and The Weekly. Also added is support for closed captions in .srt format although there are extremely few episodes with these captions included. NOTE: This post has been edited to remove content that is no longer valid. |