• 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 19
CBC Sports "Stream Not Available" Error
(2021-11-11, 08:02)barney63 Wrote: @jbinkley60

Not sure if I am looking at the correct thing, but all four events for today have a media Id when the "Coming Up" video is right clicked at the website.  The addon (Live Schedule) is giving the no mediaId is available error

FIVB Men's and Women's Beach Volleyball World Tour on CBC: Pool Play - Itapema  
mediaId 1970697283888

International Swimming League on CBC: Playoffs  
mediaId 1972005955815

Championship Figure Skating on CBC: Grand Prix of Japan - Pairs Short Program
mediaId 1971029059671

Championship Figure Skating on CBC: Grand Prix of Japan - Ice Dance Rhythm Dance
mediaId 1971029059724

https://www.cbc.ca/player/play/1970697283888

That is helpful and is aligning with what I am seeing.  It is starting to look like the CBC website has 2 different formats for web pages for live events.  The first is the mediaId format which is working for some events.  The other seems to be a different format where they don't send the mediaId as a mediaId and instead another field called identifier.  This second format also has multiple identifiers for multiple events (like events which span multiple days).  The problem I have is that I can't test the second format because those tend to be Canada only streams. 

I am thinking of building a separate test release so you can help me test and it would have an option called alternative mediaId where it would try to find the standard mediaId first and if it doesn't then it parses for the identifier fields.  However, it looks like there are many identifiers on those pages (similar to the Hockey Night events) so I might parse them and give you a list box where you can select which one you want to see.

So the way it would work is that if you select a live event which doesn't give back the mediaId you'll get a listbox which pops up with all the events that are found on the page and you can select one to try.  I suspect the one you want will often be the first one in the list but for things like Hockey Night where there are multiple events listed this may not be the case. 

If you are up for some testing I can try and build the test release and we can see what happens.


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
I created a quick hard coded test release if you can try today during the FIVB Beach Volleyball World Tour event.  First make sure you get the invalid mediaId message on the current 1.0.0 code and then download this test code and see if the event works.

Test code

This test release will only attempt to play the "FIVB Men's and Women's Beach Volleyball World Tour: Pool Play - Itapema " event regardless of which Live Event you click on but it is using an alternative mediaId which I want to see if it works.


Thanks,

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
@jbinkley60

Looks like the test is doing what it should, here's what I did.
1.  I tested on v1.0.0 and got "no mediaId" error on Beach Volleyball at Live Schedule
2.  Installed v1.0.0a (test) and changed setting to Detailed
3.  Restarted Kodi and Beach Volleyball at Live Schedule worked

Log file
Reply
(2021-11-11, 18:16)barney63 Wrote: @jbinkley60

Looks like the test is doing what it should, here's what I did.
1.  I tested on v1.0.0 and got "no mediaId" error on Beach Volleyball at Live Schedule
2.  Installed v1.0.0a (test) and changed setting to Detailed
3.  Restarted Kodi and Beach Volleyball at Live Schedule worked

Log file

Thank you.  That is great news.  I have uploaded test release 1.0.0b which will now parse for the alternate mediaId labeled identifier if the primary is not found.  It will only grab the first one so that should work for everything except Hockey Night (I think).  It will also log and let me know which mediaId parsing worked, the primary or the alternate.  Please give it a shot.


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
(2021-11-11, 19:25)jbinkley60 Wrote: Thank you.  That is great news.  I have uploaded test release 1.0.0b which will now parse for the alternate mediaId labeled identifier if the primary is not found.  It will only grab the first one so that should work for everything except Hockey Night (I think).  It will also log and let me know which mediaId parsing worked, the primary or the alternate.  Please give it a shot.
Will do, thanks for that Jeff, just keep telling me what you want done and I will do it.  I check this site often to keep up with what is going on with all the addons.

Edit:  I will check the next event International Swimming League (coming up shortly) with 1.0.0b
Reply
@jbinkley60

Looks like the test is doing what it should, here's what I did.
1.  Installed v1.0.0b (test) and changed logging setting to Detailed, restarted Kodi
2.  Before event started, I tested on v1.0.0b and got "Event Stream Hasn't Started" error on International Swimming at Live Schedule
3.  Event Started - Restarted Kodi and International Swimming at Live Schedule worked

Log file
Reply
(2021-11-11, 20:16)barney63 Wrote: @jbinkley60

Looks like the test is doing what it should, here's what I did.
1.  Installed v1.0.0b (test) and changed logging setting to Detailed, restarted Kodi
2.  Before event started, I tested on v1.0.0b and got "Event Stream Hasn't Started" error on International Swimming at Live Schedule
3.  Event Started - Restarted Kodi and International Swimming at Live Schedule worked

Log file

Perfect and the logs showed it used the alternate parsing method:

CBC Sports alternate mediaId: 1972005955815

This hopefully will clear up most things which haven't been working.  Let's see what still breaks.  I will likely do some minor code cleanup and post one more version for you to test before posting it as 1.0.1 .  I want to tackle Hockey Night next, if this doesn't fix it.

Thanks for all of your help.


Edit:  I went back through the other logs you have posted since I added detailed logging.  It looks like the alternate parsing would have worked for all of the prior failures.  We just don't have one for Hockey Night with detailed logging.
 

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
Ok, will keep an eye out here and keep you posted.  Thanks for all your work and I want to let others now how good an addon this is

I previously said there isn't much out there for mainstream sports in the free/legal streaming community.  This addon (aside from the hockey) is not Canadian centric for most of the events,  Most of the events are a world stream not a CBC stream, so you get to see all countries in major world championships in most of the major world sports (skiing, track and field, gymnastics, skating (figure and speed) swimming, volleyball, rugby etc) So a big thanks to MetalChris and now jbinkley60 for this fantastic addon.
Reply
(2021-11-11, 20:44)barney63 Wrote: Ok, will keep an eye out here and keep you posted.  Thanks for all your work and I want to let others now how good an addon this is

I previously said there isn't much out there for mainstream sports in the free/legal streaming community.  This addon (aside from the hockey) is not Canadian centric for most of the events,  Most of the events are a world stream not a CBC stream, so you get to see all countries in major world championships in most of the major world sports (skiing, track and field, gymnastics, skating (figure and speed) swimming, volleyball, rugby etc) So a big thanks to MetalChris and now jbinkley60 for this fantastic addon.

There are many events over the next 3 days so they will be a good test to see if this alternate mediaId parsing method works for most of them.  In the next release of code I'll add testing to ensure the alternative mediaId is valid.  Right now I don't do that and even the primary validation is fairly simple. 


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
Ok
Reply
Nice job @jbinkley60 Keep up the good work!
Kodi Nexus (20.2) on Dell Optiplex 980 Lubuntu 22.04 | Kodi Matrix (19.3) on HTPC Lubuntu 20.04 | My Add-ons | Legacy Repo | Matrix Repo
>>>>> Newest MetalChris Addons: Roku Channel | LG Channels | Xumo Play | DistroTV | Local Now | NHL Radio | Weather Unlocked
Reply
(2021-11-12, 02:56)MetalChris Wrote: Nice job @jbinkley60 Keep up the good work!

Thanks.  Happy to help keep your great work going.


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
(2021-11-11, 20:44)barney63 Wrote: Ok, will keep an eye out here and keep you posted.  Thanks for all your work and I want to let others now how good an addon this is

I previously said there isn't much out there for mainstream sports in the free/legal streaming community.  This addon (aside from the hockey) is not Canadian centric for most of the events,  Most of the events are a world stream not a CBC stream, so you get to see all countries in major world championships in most of the major world sports (skiing, track and field, gymnastics, skating (figure and speed) swimming, volleyball, rugby etc) So a big thanks to MetalChris and now jbinkley60 for this fantastic addon.

I've posted an updated test version 1.0.0c .  I wanted to get it done soon since we have so many events the next few days. 

The improvements are:
  • Added mediaId validation for primary and alternate parsing
  • Added check for valid information URL from CBC Sports website
  • Added setting for limiting the number of Live Events displayed  (100, 200, 300 or All)

I added the Live Event limiting because we are upwards of 300+ events going out till January.  This way you can limit how many events are displayed.  I thought about limiting by a date range instead but this was quicker.  Please let me know how this version works.


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
@jbinkley60

With v1.0.0b (test) tested:
Championship Figure Skating Grand Prix of Japan Ice Dance Rhythm Pattern - worked
Championship Figure Skating Grand Prix of Japan Women's Short Program - worked

Looks like the test is doing what it should, here's what I did.
1.  Installed v1.0.0c (test) and changed logging setting to Detailed, restarted Kodi
2   Tested FIVB Men's and Women's Beach Volleyball Round of 24/Round of 16 - worked
3.  Before event started, I tested ISU Speed Skating Tomaszow Mazowiecki and got "Event Stream Hasn't Started" error  at Live Schedule

Log file
Reply
(2021-11-12, 14:34)barney63 Wrote: @jbinkley60

With v1.0.0b (test) tested:
Championship Figure Skating Grand Prix of Japan Ice Dance Rhythm Pattern - worked
Championship Figure Skating Grand Prix of Japan Women's Short Program - worked

Looks like the test is doing what it should, here's what I did.
1.  Installed v1.0.0c (test) and changed logging setting to Detailed, restarted Kodi
2   Tested FIVB Men's and Women's Beach Volleyball Round of 24/Round of 16 - worked
3.  Before event started, I tested ISU Speed Skating Tomaszow Mazowiecki and got "Event Stream Hasn't Started" error  at Live Schedule

Log file

The upcoming ISU Speed Skating Event looks like it will work fine once it starts.  You got a response from the streaming server for the event but it just hasn't started yet.  Let me know if it turns out otherwise.  I looked at a number of today's event sand most seem to work off the alternative mediaId parsing added in 1.0.0b.  A couple don't have the information URL posted on the CBC website.  I am thinking about not listing those in the live events but I want to see if CBC adds the information prior to the 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
  • 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 19

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