-
Notifications
You must be signed in to change notification settings - Fork 29
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
update to Python 3 (Kodi v19) #45
Comments
Yes Please. That would be really great. |
Yes please, that would be highly appreciated. Can't get around Netflix these days. And afaik this is the only way to make it happen on Shield TVs. |
Guys, you can use platform capture, it works with kodi. Just set environment for your display in hyperion systemd unit. |
And how do I send the information via lan to the pi running the Hyperion.ng? |
May be it is possible use DISPLAY=your_kodi_host:0.0 env, if you running kodi on linux. |
Not if you are running Wayland. BTW, I tried around a bit to upgrade the plugin to Python 3, but it seems to be more complicated. The plugin depends on the script.plugin.protobuf plugin (https://github.com/WoLpH/kodi-protobuf) which also is only available for python2 (and has not been updated since 5 years?). |
I got a little further. Installed python3 protobuf (pip3 install protobuf) Changed line101 in resources/lib/state.py to as binascii.b2a_hex no no longer returns a string, but it still aint working, not sure if that was the right approach not seeing any errors in the log either. |
I got it working again - will cleanup the code and post fork later Basically
and this in Hyperion.py is needed
|
Could you please provide a patch with working solution or even better, a pull-request? |
yes I will |
There you go: https://github.com/ghostface/hyperion.kodi Feel free to rework it into a proper pullrequest or cherry pick the changes (I tried to segment them logically) |
I also just noticed someone else also forked a version that according to the commits may work with kodi matrix and python3 but I haven't tested it personally https://github.com/CPVprogrammer/kodi-matrix-hyperion-addon |
It seems it just works. I uninstalled the version 1.0.2, preserved the old configuration and I installed the 1.0.3 from CPVprogrammer repository. |
Did someone try https://github.com/CPVprogrammer/kodi-matrix-hyperion-addon v1.0.3 on kodi 19.1 with an Android TV? I have Hyperion.ng installed on a rpi4 and I can't make them work together.
|
Same problem, any updates ? |
I was able to pass the error by adding this in the kodi launcher script:
EDIT: also make sure the priority is set to 150. |
anything working in kodi nexus? any other option? |
One option is running https://sabaatworld.github.io/HyperionScreenCap/
…On Tue, 14 Mar 2023 at 11:29, FragMenthor ***@***.***> wrote:
anything working in kodi nexus? any other option?
—
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACMSST7UEXY5N2FY44D7HLW4BJCNANCNFSM4Q7SH4SA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Kind regards,
Michal Gawronski-Kot
***@***.***
|
Thanks! but i'm using an AndroidTV box, so i'm searching for some grabber that could work on android... Inside kodi or as a atandalone apk. I can get the menu's to work( I've got hyperion.ng runnning as addon on HomeAssistant), just not the content of some apps... the leds all turn green (using android screen grabber). The kodi addon I can't manage to get it working right now... |
Can the addon be updated to Python 3 so it works with Kodi v19?
The text was updated successfully, but these errors were encountered: