pvr.mythtv add-on

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
MikeB2013 Offline
Junior Member
Posts: 19
Joined: Mar 2013
Reputation: 0
Post: #301
(2014-09-13 10:10)nickr Wrote:  Hey janbar, can you point me to a post or howto on getting this addon going for openelec? I have been following this thread, but I can't find a simple answer (although there is a lot about raspberry pi).

I am happy to do some compiling. I have compiled openelec before.

@nickr

This is a hack but it works for me!

Just build it for raspbmc and copy the zip file to .xbmc/addons and unzip it.

I have just tried this on Openelec master (has kodi/helix/14) built from source with addon built separately from janbar master and on Openelec 4.0.7 rpi prebuilt distribution (has gotham 13.1) with janbar gotham addon again built separately.

Code:
# this works on unbuntu 12.04 and 14.04
sudo apt-get update
sudo apt-get install git automake libtool zip
# Now setup the toochain to allow cross compile for pi processor arm
cd ~
git clone https://github.com/raspberrypi/tools.git  --depth 1

# put the following line in your .bashrc file at the end will do
export PATH=~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin:$PATH

# reload .bashrc
source ~/.bashrc
# use gotham branch unless you need master (for kodi/Helix 14)
git clone https://github.com/janbar/xbmc-pvr-addons.git --depth 1
# get xbmc-pvr-addons from git - using gotham branch only
git clone https://github.com/janbar/xbmc-pvr-addons.git -b gotham --depth 1
#Now build the mythtv pvr addon
cd xbmc-pvr-addons
./bootstrap
./configure --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf

make -C lib/cppmyth

make clean zip -C addons/pvr.mythtv

#Now transfer the addon pvr.mythtv-linux-arm.zip to the Raspberry pi and unzip in .xmbc/addons, I used gftp.

Mike
find quote
janbar Offline
Fan
Posts: 346
Joined: Sep 2012
Reputation: 23
Location: France
Post: #302
So, i prepared a github repository forked from last master of OpenELEC to build the latest addon:

*Clone the branch JANBAR from the repository:

git clone https://github.com/janbar/OpenELEC.tv.git -b JANBAR

*Goto the cloned repo:

cd OpenELEC.tv

*Then create or refresh a tarball of the addon: (that create a tarball into the folder sources/xbmc-pvr-addons/)

cd tools/mkpkg
./mkpkg_xbmc-pvr-addons_JANBAR
cd ../..

*Build OpenElec as explained in the wiki (wiki.openelec.tv) :

PROJECT=Generic ARCH=x86_64 make release

* Finally you will found, after few hours Confused, in the folder "target" an OpenELEC distro containing the lastest addon pvr.mythtv for the ARCH you previously selected.
* You can also cherry-pick the compiled addon from the build folder:

build.OpenELEC-$PROJECT.$ARCH-devel/xbmc-pvr-addons-JANBAR/.$ARCH-openelec-linux-gnu/addons/pvr.mythtv/

... and create a zip file manually

EDIT: Once you have bold it one time, then refresh will be fast: relaunch the refresh of the tarball and relaunch the build for the same PROJECT/ARCH just for the addon:

cd tools/mkpkg
./mkpkg_xbmc-pvr-addons_JANBAR
cd ../..

export PROJECT=Generic
export ARCH=x86_64
./scripts/build xbmc-pvr-addons
(This post was last modified: 2014-09-15 02:30 by janbar.)
find quote
janbar Offline
Fan
Posts: 346
Joined: Sep 2012
Reputation: 23
Location: France
Post: #303
After 5hours of compiling, i posted the OpenELEC arm build to my cloud (check fist post for the url), including the release 1.9.22+ of the addon.
find quote
Navman Offline
Junior Member
Posts: 4
Joined: Dec 2012
Reputation: 0
Post: #304
Thanks for the branch Janbar. I've tested/built for openelec for rpi as well as x86_64, works like a charm.
find quote
allan87 Offline
Fan
Posts: 339
Joined: Jun 2013
Reputation: 1
Post: #305
(2014-09-16 11:20)janbar Wrote:  After 5hours of compiling, i posted the OpenELEC arm build to my cloud (check fist post for the url), including the release 1.9.22+ of the addon.
An alternative is to use the recent builds in this thread: http://forum.xbmc.org/showthread.php?tid=192380

As of yesterday, it "Includes latest xbmc-pvr-addons master (dcda159b)"
find quote
pyrodex Offline
Senior Member
Posts: 246
Joined: Jan 2011
Reputation: 1
Post: #306
janbar any update on my post a few pages back about the skipping to early issue? I posted a clean file and logs for you to comb over.

Den: Ubuntu 14.04 | AMD A6-3500 | Gotham w/MythTV | Panasonic VT25 50" | Denon AVR-991 | Harmony One | 5.1 Surround Sound
Bedroom: Ubuntu 14.04 | AMD A6-3500 | Gotham w/MythTV | Samsung UN32F6300AF 32" | Harmony 650
NAS: Ubuntu 14.04 | 32TB on Areca 1880 | SMB | Sickbeard | CouchPotato | MySQL DB (XBMC) | MythTV 0.27+fixes w/ 2x HDHomeRun Prime 3CC
find quote
Post Reply