EDIT: I finally found these but am leaving the post up for anyone else who is struggling.
(2015-07-28, 19:48)negge Wrote: Yes you can do that, it's a matter of:
a) renaming the addon directory
b) renaming the addon in addon.xml
c) renaming the .dll/.so/.dylib and adjusting the name in addon.xml
I am totally lost here. What I was trying to do today was connect one instance of Kodi to two different TVHeadEnd backends. I was trying to follow your instructions but couldn't find anything:
a) renaming the addon directory - the only directory I could find associated with the TVHeadEnd PVR addon was the userdata/addon_data/pvr.hts directory, which contains
only the settings.xml file. So I made a copy of that and renamed it but that was not sufficient.
EDIT: Finally found it at /Applications/Kodi.app/Contents/Resources/Kodi/addons/pvr.hts under OS X, and at /usr/share/kodi/addons/pvr.hts in Linux
b) renaming the addon in addon.xml - I looked all over for this file and found it in relation to other addons, in the addons directory, BUT as far as I can determine the TVHeadEnd addon is nowhere to be seen in that directory. There are addons for metadata, plugins for audio and video, resources, scripts, services, and skins, but nothing at all related to PVR addons.
EDIT: It's in the directories mentioned above.
c) renaming the .dll/.so/.dylib and adjusting the name in addon.xml - If I could find the addon.xml file I might have a clues as to which file is being referenced here, but I don't.
EDIT: On Linux this is the pvr.hts.so file in the /usr/lib/kodi/addons/pvr.hts directory. Still not sure if you're supposed to rename the directory, the filename, or both, and the file is actually a symlink to another file. In OS X I believe the file is now named /Applications/Kodi.app/Contents/Resources/Kodi/addons/pvr.hts/Kodi_Tvheadend.pvr but don't hold me to that. Obviously, in both cases, if you've made a copy of the addon and renamed it, then you'd need to adjust the above paths accordingly (from pvr.hts to whatever the name of the copied addon is). I'm actually wondering why this step is even necessary because, at least in the addon.xml files I viewed, the path isn't specified so I would expect it to follow the path of the copied/renamed addon, but maybe I'm missing something (probably am).
EDIT 2: I have not found this step to be necessary in Kodi Isengard.
I looked in a Kodi install on both an OS X and a Linux box, and couldn't locate the files you speak of on either. Please give me a clue - where are they hiding?
And then there's the other question - can you really connect to two TVHeadEnd backends simultaneously, and will the Live TV section in Kodi show channels from both backends in the channels list and in the guide, and recordings from both backends in the recordings, etc?
EDIT: Yes and yes (at least in Kodi Isengard running under Ubuntu Linux). My comments on how I was able to set it up are in
this post.