matthuisman / slyguy.addons

Github mirror of SlyGuy add-ons
https://www.matthuisman.nz/2020/02/slyguy-kodi-repository.html
294 stars 79 forks source link

[Optus Sport] Asset with id osXXXXX was not found #669

Closed TheAllTinker closed 9 months ago

TheAllTinker commented 9 months ago

Live channels and main replays work fine, but selecting something from (for instance) News & Articles -> Trending results in the error.

Has the path changed for these particular videos perhaps?

Error stems from plugin.video.optus.sport\resources\lib\api.py, line 154.

Running Kodi 20.3, latest Optus plugin (0.8.6), slightly older Common (0.76.2).

Thanks!

matthuisman commented 9 months ago

haha - its because those news items are not videos :) eg. https://sport.optus.com.au/news/laliga/os69101/barcelona-villarreal-eight-goal-thriller-second-defeat-four-days https://sport.optus.com.au/news/all/os69098/postecoglous-offers-sobering-spurs-wake-up-call-after-lacklustre-city-defeat

I'll see if i can filter them out :)

matthuisman commented 9 months ago

instead of filtering, i decided to support them plugin.video.optus.sport -> v0.8.7 will now show articles in a textbox