• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 19
CBC Sports "Stream Not Available" Error
#76
(2021-09-30, 02:01)barney63 Wrote: Getting closer, I am able to open the event but am not getting a video possibly because they are in a commercial filler break and the next event for the day hasn't started (I think it might be restarting at 810 pm EST).  I will recheck then (about 10 min from now)  Here is what I am seeing

Can you post the link in your posts so others can know where it is and test it as well, thanks

It was a commercial break.  Just compare the addon to the CBC Sports webpage and they should match.  I am seeing the event restarted on the addon.

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#77
I am seeing the event now as well, Woohoo!
Reply
#78
CBC Sports Matrix version
Reply
#79
(2021-09-30, 02:15)barney63 Wrote: I am seeing the event now as well, Woohoo!

Ok.  Great.  Let's watch the events for the next week or so and ensure this new parsing method is consistent across other events.


Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#80
(2021-09-30, 02:29)jbinkley60 Wrote: Ok.  Great.  Let's watch the events for the next week or so and ensure this new parsing method is consistent across other events.
Will do
Reply
#81
(2021-09-30, 02:29)barney63 Wrote: CBC Sports Matrix version

Thanks for posting the link.  I'll eventually publish this to the official Kodi addon repository.


Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#82
(2021-09-30, 02:11)barney63 Wrote: HOUSTON, WE HAVE LIFTOFF!

It is now playing the commercial filler break!

Just can't thank you enough for sticking with this, I get the feeling that this could be one of those addons that may need some TLC, hope you will stay on the case.

Thanks again

It was my pleasure.  I am just glad it wasn't more complicated.  I wasn't looking forward to rewriting the full HTML 5 parsing of a webpage.  Those can change all the time and get very messy.  I am going to spend a little time on the original mediaId parsing method to see it is is just something that changed between Python 2.x or 3.x vs. the method I used. 

Update:

After thinking more about this, it isn't a Python 2 vs. 3 issue since this stopped working on the old addon under Kodi 18.  If someone is running Kodi 18 and wants this to work I can show them how to fix it with the new parsing method I created.  This was likely caused by a change at CBC Sports on their webpage.



Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#83
(2021-09-30, 02:34)jbinkley60 Wrote: Thanks for posting the link.  I'll eventually publish this to the official Kodi addon repository.

Posting about this elsewhere, I know a lot of people were looking forward to (especially being able to view CHL hockey and CPL soccer through Kodi), so thanks very much and let's hope there is clear sailing ahead.

Also want to send a definite shout out to MetalChris who gave birth to this addon, and was generous enough to give permission for it to live on.  Thanks MetalChris and Jeff!
Reply
#84
Yes, big shout out to MetalChris.  His code was very solid and easy to debug. 

Looking at the code I do see a couple of things.

First, if there is an event which starts at midnight 00:00 it is showing up as :00 in the listing.  You can see an example on 11/29.   I'll take a look at fixing this. 
Second, for some reason he is skipping and not displaying anything which has Hockey Night in the title.  I am not sure why. 

If you want to see a listing click on this link and search for Hockey Night.  I can put them back or make them a setting option in the addon.  Here's a couple as an example:

14
stt"10/16/2021 18:30 EDT"
end"10/16/2021 19:00 EDT"
ti"Hockey Night in Canada: Hockey Central"
url"/sports"
on
0"web"
typ
0"hockey"
1"hockey night in canada"
nb""
thumb"http://i.cbc.ca/1.470240!/fileImage/httpImage/image.jpg_gen/derivatives/16x9_300/default-headline-image-sports.jpg"
15
stt"10/16/2021 19:00 EDT"
end"10/16/2021 22:00 EDT"
ti"Hockey Night in Canada: Ottawa at Toronto"
url"/sports"
on
0"web"
1"tv"
typ
0"hockey"
1"hockey night in canada"
nb""
thumb"http://i.cbc.ca/1.470240!/fileImage/httpImage/image.jpg_gen/derivatives/16x9_300/default-headline-image-sports.jpg"





Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#85
Yes, anything like Hockey Night should be included, everything possible should be included.
Reply
#86
(2021-09-30, 04:42)barney63 Wrote: Yes, anything like Hockey Night should be included, everything possible should be included.

I posted an update which fixes the time for 00:00, took out the Hockey Night exception and did a check to ensure each event wasn't just a TV only event (i.e. not on the web).  We'll need to see how the Hockey Night events work.  I am seeing another issue now where I need to add some error checking for playing live events.  The code doesn't really check to see if the stream actually exists before trying to play thus if you click on events before they are ready you get various error messages.  I'll try to clean that up tonight when I have some time.


Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#87
Ok, I had some spare time and added full error checking for Live Schedule streams which aren't ready yet for one reason or another.  You will now see two different error messages depending on what comes back from the CBC Sports website.

Error Messages

Stream Not Available Yet  -  CBC either hasn't posted the URL yet in their Live Schedule listing or the one they posted is invalid and doesn't yet contain the stream information.
This Event Stream Hasn't Started.  Please check back later.  -  CBC has posted the URL and good stream information but the event hasn't been started yet.


Please download the latest version 0.0.991 and let me know your testing results.  For those keeping score, there are now 89 items in the Live Schedule list.


Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#88
Just updated addon and am now viewing 2021 Skate Ontario Sectional Series September Hub Event on CBC: DAY 2

Checked other menu's events as well and all are still working well.
Reply
#89
(2021-09-30, 15:34)barney63 Wrote: Just updated addon and am now viewing 2021 Skate Ontario Sectional Series September Hub Event on CBC: DAY 2

Checked other menu's events as well and all are still working well.

Thanks.  if you click on future Live Schedule events you should get either a video stream or one of the error messages above.  You shouldn't get a Kodi error which says check the logs.

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#90
Just checked the error messages for the Live Schedule Menu (for events not ready to air)

Clicked on the 2021 OUA Panda Game and Spelling Bee scheduled for 10/2 and 10/3 2021 and got this for an error

Clicked on 2021 Skate Ontario Sectional Series September Hub Event on CBC: DAY 3 and
2021 Skate Ontario Sectional Series September Hub Event on CBC: DAY 4
and got this message
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 19

Logout Mark Read Team Forum Stats Members Help
CBC Sports "Stream Not Available" Error0