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



Logout Mark Read Team Forum Stats Members Help
PVR add-on with Go Lang0
This forum uses Lukasz Tkacz MyBB addons.