• 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 30
Canadian Broadcasting Corp (CBC.ca) Video Addon
(2016-03-05, 22:46)Evers Wrote: Thanks for the addon, I enjoy it very much.
Would it be possible to add links for the content at this page http://www.cbc.ca/player/news/Canada/NL/...0Broadcast and this one http://www.cbc.ca/player/news/Canada/NL/...0Broadcast ?
They're the latest broadcasts of local news from Newfoundland.

The urls are constantly changing and custom requests are never ending, so I don't want to put this in the supported version.
You can do it yourself very easily:

in default.py find the following:
Code:
def getAddonMenu(self,url,ilist):
   infoList = {}
   html = self.getRequest('http://www.cbc.ca/player/tv')
   html = re.compile('<section class="section-cats full">(.+?)</section>', re.DOTALL).search(html).group(1)
   shows = re.compile('<a href="(.+?)">(.+?)</a>', re.DOTALL).findall(html)
   shows.append(('/player/news','News'))
   shows.append(('/player/Sports','Sports'))
   shows.append(('/player/news/TV%20Shows/The%20National/Latest%20Broadcast','The National - Latest Broadcast'))

Just add the following line immediately after the above - making sure you align the line indentation with the one above.
Code:
shows.append(('/player/news/Canada/NL/Here%20and%20Now%20Late%20Night/Latest%20Broadcast','Here and Now Late Night - Latest Broadcast'))

and any other urls (note it starts at /player/) and titles that ypou want in teh same fashion. Save the file and re-run the addon. It should display the new shows you added and clicking will display the latest videos.

Your final code should look like:
Code:
def getAddonMenu(self,url,ilist):
   infoList = {}
   html = self.getRequest('http://www.cbc.ca/player/tv')
   html = re.compile('<section class="section-cats full">(.+?)</section>', re.DOTALL).search(html).group(1)
   shows = re.compile('<a href="(.+?)">(.+?)</a>', re.DOTALL).findall(html)
   shows.append(('/player/news','News'))
   shows.append(('/player/Sports','Sports'))
   shows.append(('/player/news/TV%20Shows/The%20National/Latest%20Broadcast','The National - Latest Broadcast'))
   shows.append(('/player/news/Canada/NL/Here%20and%20Now%20Late%20Night/Latest%20Broadcast','Here and Now Late Night - Latest Broadcast'))
Reply
(2016-03-06, 01:12)learningit Wrote:
(2016-03-05, 22:46)Evers Wrote: Thanks for the addon, I enjoy it very much.
Would it be possible to add links for the content at this page http://www.cbc.ca/player/news/Canada/NL/...0Broadcast and this one http://www.cbc.ca/player/news/Canada/NL/...0Broadcast ?
They're the latest broadcasts of local news from Newfoundland.

The urls are constantly changing and custom requests are never ending, so I don't want to put this in the supported version.
You can do it yourself very easily:

That worked! Thanks!
Reply
Hi - I hope this is the right place to post this as I am new to this technology. I have searched in this forum (using the search string "CBC News" in quotes) for a reference to this topic but nothing has shown up.

I have a (paid) account to watch CBC News Network live on the web - this is at the following URL - http://www.cbc.ca/news2/networkstream/ for the login page - the actual stream is at http://insinc.neulion.com/cbc/livestream once you have logged in. It requires a user name and password of course (since it is paid)

Is this something that would be suitable to include in this add-on (if it is not already - I could not find it at any rate) or should I use some other method to watch this stream? Presumably it would require some additional UI to allow for entry of the user name and password (which, hopefully, could then be stored so it is not necessary to enter it each time)

Thanks
Reply
(2016-03-07, 19:19)Geokod Wrote: Hi - I hope this is the right place to post this as I am new to this technology. I have searched in this forum (using the search string "CBC News" in quotes) for a reference to this topic but nothing has shown up.

I have a (paid) account to watch CBC News Network live on the web - this is at the following URL - http://www.cbc.ca/news2/networkstream/ for the login page - the actual stream is at http://insinc.neulion.com/cbc/livestream once you have logged in. It requires a user name and password of course (since it is paid)

Is this something that would be suitable to include in this add-on (if it is not already - I could not find it at any rate) or should I use some other method to watch this stream? Presumably it would require some additional UI to allow for entry of the user name and password (which, hopefully, could then be stored so it is not necessary to enter it each time)

Thanks
I probably won't support this. I don't have any way to test it.
Reply
(2016-03-07, 19:40)learningit Wrote:
(2016-03-07, 19:19)Geokod Wrote: Hi - I hope this is the right place to post this as I am new to this technology. I have searched in this forum (using the search string "CBC News" in quotes) for a reference to this topic but nothing has shown up.

I have a (paid) account to watch CBC News Network live on the web - this is at the following URL - http://www.cbc.ca/news2/networkstream/ for the login page - the actual stream is at http://insinc.neulion.com/cbc/livestream once you have logged in. It requires a user name and password of course (since it is paid)

Is this something that would be suitable to include in this add-on (if it is not already - I could not find it at any rate) or should I use some other method to watch this stream? Presumably it would require some additional UI to allow for entry of the user name and password (which, hopefully, could then be stored so it is not necessary to enter it each time)

Thanks
I probably won't support this. I don't have any way to test it.

I would be glad to let you use my login and password for testing if you were interested in supporting it
Reply
(2016-03-07, 19:45)Geokod Wrote:
(2016-03-07, 19:40)learningit Wrote:
(2016-03-07, 19:19)Geokod Wrote: Hi - I hope this is the right place to post this as I am new to this technology. I have searched in this forum (using the search string "CBC News" in quotes) for a reference to this topic but nothing has shown up.

I have a (paid) account to watch CBC News Network live on the web - this is at the following URL - http://www.cbc.ca/news2/networkstream/ for the login page - the actual stream is at http://insinc.neulion.com/cbc/livestream once you have logged in. It requires a user name and password of course (since it is paid)

Is this something that would be suitable to include in this add-on (if it is not already - I could not find it at any rate) or should I use some other method to watch this stream? Presumably it would require some additional UI to allow for entry of the user name and password (which, hopefully, could then be stored so it is not necessary to enter it each time)

Thanks
I probably won't support this. I don't have any way to test it.

I would be glad to let you use my login and password for testing if you were interested in supporting it

I would very much appreciate having it back too. Used to get it thru CanTVLive, then it died, along with CHCH Hamilton. CBCNN is majority American news these days which really pisses me off, but, at least there's still enough Canadian to keep me sane. Also pisses me off they charge $ 6.95 / m for it when it's already paid for thru our taxes, and thru the broadcast networks again, I regret having been forced by broadcasters to get what I need free because they charge way too much, even the new CRTC mandated 'skinnies' are just as bad, but, on meagre retirement pension free is all I can afford.

oh, btw, I saw an earlier post where learningit explained how to easily add things to the add-on, and,

I got lost after the 1st instruction that said to start by opening 'default.py' - after that it was all ancient hieroglyphs to me. Tongue
Reply
learningit can you have a look and make add-on for http://www.omnitv.ca/
use +/- ⇓⇓⇓⇓⇓⇓⇓
Reply
Is the CBC plugin broken (Isengard)? As of recently CBC streams will not play:
"PlayBack Failed: One or more items failed to play.Check the log for more information about this message"
Plugin did not have any updates.

note: CBC Player website is advertising a new web player.
Reply
learningit, the CBC's "The National Full" show works for live streaming of the news but has not been working for the recorded news for the last week or so. Could you please check this out when you have a moment? Thanks
Reply
Same problem with CBC addon, get Playback Failed. (Jarvis). Log file http://xbmclogs.com/plzzqyzfz.
Great addon!
Reply
Perhaps I should have mentioned that I am using Openelec 6.0.3 along with isengard.
Reply
V3.0.2 in my git:
https://github.com/learningit/plugin.video.cbc
Fix for website changes

If you have installed my test repo:
https://github.com/learningit/repository.t1m.addons

You should get an "auto-update" or "update available" message, depending on your "auto-update" setting. You may need to do a "Check for updates" to see the new version.

A pull request for the kodi.org repo has been made, should be available in a few days.
Reply
Yes, great add-on!
Reply
(2016-04-15, 16:56)dan1234 Wrote: Is the CBC plugin broken (Isengard)? As of recently CBC streams will not play:
"PlayBack Failed: One or more items failed to play.Check the log for more information about this message"
Plugin did not have any updates.

note: CBC Player website is advertising a new web player.

Yes here too.
Reply
(2016-04-16, 19:10)learningit Wrote: V3.0.2 in my git:
https://github.com/learningit/plugin.video.cbc
Fix for website changes

If you have installed my test repo:
https://github.com/learningit/repository.t1m.addons

You should get an "auto-update" or "update available" message, depending on your "auto-update" setting. You may need to do a "Check for updates" to see the new version.

A pull request for the kodi.org repo has been made, should be available in a few days.

Thank-you kind sir!
Reply
  • 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 30

Logout Mark Read Team Forum Stats Members Help
Canadian Broadcasting Corp (CBC.ca) Video Addon4