PVR add-on with Go Lang
#1
Is it possible to create pvr add-on in go lang since go build is allowing to create c-shared library (.so). I want to try it but i never did that so someone can confirm is it even possible or not ?
Reply
#2
@phunkyfish  any idea?
Reply
#3
Yes it is. There is one for channels DVR. I’m not sure if that is also available for Matrix. With the latest version the API can be used completely C only which should simplify things.

https://community.getchannels.com/t/kodi-add-on/9478/20
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#4
Here is a simple example: https://github.com/xbmc/xbmc/pull/16613#...-531381419
Reply
#5
Yay! I made a working POC. Thanks @tmm1 your PR helps a lot.
Currently only channels are implemented. Working on epg and recordings.
@phunkyfish can i make a proposal to add this in official kodi-pvr repo ?
Reply
#6
Can I ask what backend this addon is for?

You will need to consider a kodi Matrix version also as the final release of Leia has arrived.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#7
(2020-08-01, 09:45)phunkyfish Wrote: Can I ask what backend this addon is for?

You will need to consider a kodi Matrix version also as the final release of Leia has arrived.

This is demo add-on same as pvr.demo. I made one for Indian tv channels but it's not official so that can't be in repo but i thought this demo add-on in golang should be there so if anyone need to implement PVR addon without cpp, they have option for golang.
Since i have to release my add-on in Leia i created this for Leia. I'll try Matrix also asap. @phunkyfish
Reply
#8
Very cool. Having a demo addon in golang for Leia and Matrix would be really good.

Do you have link to the git repo?
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#9
(2020-08-03, 11:56)phunkyfish Wrote: Very cool. Having a demo addon in golang for Leia and Matrix would be really good.

Do you have link to the git repo?

Yes. https://github.com/iMro0t/pvr.demo.go here it is. Added channel groups also. Currently working on EPG part. Will commit soon. I know currently Matrix is important. But i have to release my add-on this month. So trying my best. Smile
Reply
#10
It’s totally fine to start with Leia.

Although Matrix should be easier as it has a true C API.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#11
Will any of these Go Lang Demo PVR client add-ons ("pvr.demo.go") get added to the upcoming Kodi 19.0 "Matrix" release?

https://kodi.wiki/view/Kodi_v19_(Matrix)_changelog

https://github.com/iMro0t/go-pvr

https://github.com/iMro0t/pvr.demo.go
Reply
#12
Yes, but maybe not until closer to the kodi 19 release and when the maintainers have time to do so. We are still finalising the C api so better to work on a Matrix version after that is done.

@botallen for sure we can add the go pvr demo when you are ready for Matrix. I’m not sure of the rules around non official PVR addons but we have many video add-ons that provide tv services from all over the world so it might be ok.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#13
@botallen and @phunkyfish Any updates on this Go Lang Demo PVR client add-on ("pvr.demo.go") for Kodi?

Thinking that we might see more PVR client addons for Kodi in the future if more languages was suppported.
Reply
#14
Once we have a go PVR add-on working on Matrix we can look at integrating it.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#15
(2021-02-22, 13:04)RockerC Wrote: @botallen and @phunkyfish Any updates on this Go Lang Demo PVR client add-on ("pvr.demo.go") for Kodi?

Thinking that we might see more PVR client addons for Kodi in the future if more languages was suppported.

I already created a working add-on (github.com/iMro0t/pvr.demo.go) for Kodi 18 Leia. But as @phunkyfish said that there is a new C API in Kodi 19 which will be helpful in this. Since Kodi 19 is released officially I'll look ahead and see what can I do for Matrix support it'll be easy (i haven't looked yet) since he said PVR has pure C API now. Here is the original project (github.com/iMro0t/go-pvr). It has so many weird issues that I was not able to catch and most of them were causing in windows.
Reply

Logout Mark Read Team Forum Stats Members Help
PVR add-on with Go Lang0