Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UKTV Play doesn't play any catchup TV #1393

Open
BugfinderPro135 opened this issue Aug 9, 2024 · 7 comments
Open

UKTV Play doesn't play any catchup TV #1393

BugfinderPro135 opened this issue Aug 9, 2024 · 7 comments

Comments

@BugfinderPro135
Copy link

I'm using V0.2.40 beta10 and now it won't play any UKTV Play catch-up programmes.

I'm guessing it's to do with the recent re-branding and name change at the start of the month?

Would it be possible to store all the old beta versions in the repo alongside the latest version so that if the new release breaks one of the channels, then at least we can make good and choose a version that did work?

@nictjir
Copy link
Contributor

nictjir commented Aug 12, 2024

Some urls have changed and they way the palyerID/accountID values have been hidden away and i can't work out how to get them programmatically. This hack works for me - hardcoding the values - not sure if it will work for you and for how long
uktvplay.txt
download this
rename it to uktvplay.py
overwrite the existing uktvplay.py in Kodi/addons/plugin.video.catchuptvandmore/resources/lib/channels/uk

@berkhornet
Copy link

@nictjir your fix worked for me. Many thanks

@BugfinderPro135
Copy link
Author

BugfinderPro135 commented Aug 19, 2024

This worked for me on my Kodi 21.0.1 and kodi 20.5...

I was unable to try it on my Android TV devices (DQ06 and DQ10) as the firmware seems crippled to not allow permissions in ES File Explorer to even see the file or file location to be overwritten.

@BugfinderPro135
Copy link
Author

V0.2.40 beta12 was recently released and it seems they forgot to update this file...it beggars belief doesn't it...

@nictjir
Copy link
Contributor

nictjir commented Oct 14, 2024 via email

@BugfinderPro135
Copy link
Author

BugfinderPro135 commented Oct 18, 2024

But at least this hack worked and still works perfectly - the released version doesn't...(It''s still trying to use the old uktvplay website instead of the 'u' website for goodness sake)

@naychrist
Copy link

naychrist commented Jan 7, 2025

just tried the hack on my nvidia shield with kodi 21.1 but I get KeyError 'com.widevine.alpha'

2025-01-07 19:50:38.107 T:20184    info <general>: Loading skin file: DialogConfirm.xml, load type: KEEP_IN_MEMORY
2025-01-07 19:50:44.338 T:20582   error <general>: [Catch-up-TV-&-More.support] 'com.widevine.alpha'
                                                   Traceback (most recent call last):
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.codequick/lib/codequick/support.py", line 306, in run_callback
                                                       redirect = parent_ins(route, arg_params, self.callback_params)
                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.codequick/lib/codequick/resolver.py", line 67, in __call__
                                                       results = super(Resolver, self).__call__(route, args, kwargs)
                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.codequick/lib/codequick/script.py", line 169, in __call__
                                                       return route.function(self, *args, **kwargs)
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptvandmore/resources/lib/channels/uk/uktvplay.py", line 249, in get_video_url
                                                       return resolver_proxy.get_brightcove_video_json(plugin, data_account, data_player, data_video_id)
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptvandmore/resources/lib/resolver_proxy.py", line 423, in get_brightcove_video_json
                                                       license_url = url['key_systems']['com.widevine.alpha']['license_url']
                                                                     ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
                                                   KeyError: 'com.widevine.alpha'

any advice? note that input stream adaptive and input stream helper seem to be installed fine with their default settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants