2014-07-16, 00:11
(2014-07-15, 19:36)janbar Wrote:(2014-07-15, 05:27)mcgski Wrote:(2014-06-28, 13:52)janbar Wrote: Hi,
Since MythTV 0.26 the backend provides a new API to monitor and control the PVR. Today with MythTV 0.27 and future 0.28, this web service API supports most of the functions we need in the add-on. So at the begining of this year i am starting the design of a new library interoperates with it and finally i forked the new add-on "pvr.mythtv" to replace the old based on a fork of "cmyth". So I don't want maintain any more "cmyth" because by the way it will be obsolete.
Using the new API it easier to keep the addon supported.
The development branch is available at https://github.com/janbar/xbmc-pvr-addons.
Ubuntu user can install it from my ppa: ppa:jlbarriere68/ppa https://launchpad.net/~jlbarriere68/+archive/ppa
Have a nice day !
Note: To enable the API service of your backend, you have to run mythtv-setup and set the security pin as "0000".
Silly questions from a noob. I know enough about apt-get and git to be dangerous but wanted to make sure I'm following the correct directions.
I'm using the guide here (http://wiki.xbmc.org/index.php?title=Myt...FromSource) to build from source and have the following questions:
1. Do I really need to build and install XBMC just to build the addons (first 2 steps) or could I start with the "Install build utilities/libraries" step?
2. What's the exact git line I'd need to get your new addon to build? I'm thinking it's:
Code:git clone git://github.com/janbar/xbmc-pvr-addons.git
BTW, I'm running this on a Raspberry Pi using the OpenELEC distro.
Thanks!
1: No you don't. You can start from "Install build utilities/libraries" step
2: True. And if your are a man in a hurry you can compile only the new addon using:
cd xbmc-pvr-addons
./bootstrap
./configure
make clean
make -C lib/cppmyth
make -C addons/pvr.mythtv zip
Now the zip file can be found at addons/pvr.mythtv-....zip
Also prefer unzip it directly in the addons folder of XBMC ($HOME/.xbmc/addons/) instead using the UI.
Janbar, thanks! I built per your instructions and installed through the GUI to see how far I got. Seems there's an error with starting the addon. Here's what the error is in xbmc.log:
Quote:16:27:58 T:2909021264 ERROR: Unable to load /storage/.xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr, reason: /storage/.xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr: wrong ELF class: ELFCLASS64
Seems it's built for 64-bit but Pi is running a 32-bit kernel. What options do I need to scale it back to 32-bit?