2021-11-11, 17:01
(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