v15 Enable PVR Addon
#1
Hi,

I'm currently editing /xbmc/pvr/addons/PVRClients.cpp and want to enable the pvr.iptvsimple addon. In that file i seen:

Code:
CAddonMgr::Get().EnableAddon((*it)->ID());

I'm new to C++ code but wanted to know if there is any way i can enable the addon through this?

Thanks
Reply
#2
CAddonMgr::Get().EnableAddon("pvr.iptvsimple");
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
(2015-06-23, 11:10)Memphiz Wrote: CAddonMgr::Get().EnableAddon("pvr.iptvsimple");

Thanks. I'm unsure what the appropriate place to add this would be in the case so it is enabled before pvr manager checks for enabled addons.
Reply

Logout Mark Read Team Forum Stats Members Help
Enable PVR Addon0