canonical / mir-kiosk-kodi

Snap packaging for Kodi
4 stars 1 forks source link

How to install kodi pvr.hts addon? #35

Open kodidu opened 1 year ago

kodidu commented 1 year ago

Is it possible to install addons using snap?

https://github.com/kodi-pvr/pvr.hts

Saviq commented 1 year ago

Hi @kodidu, generally Kodi addons are python, so can easily be installed from the official repositories. Unfortunately some, like the PVR ones, are compiled, and are usually available through the package installation channels.

There are roughly 200 addons like that available in the Kodi PPA:

https://launchpad.net/~team-xbmc/+archive/ubuntu/ppa/+packages?field.series_filter=focal&field.status_filter=published

It's possible to just add them to the snap, but it would then blow up in size… If we had to select only some, what criteria to choose?

Fortunately there is a manual solution here — place the addon in ~/snap/mir-kiosk-kodi/current/.kodi/addons. You can take the appropriate .deb file, unpack it and find the pvr.hts folders (note there's two - one in usr/lib/, one in usr/share/) and combine them into a single folder in ~/snap/mir-kiosk-kodi/current/.kodi/addons/pvr.hts.

Hope this helps!