XBMC Community Forum
New MythTV add-on using libcmyth - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: PVR Development (/forumdisplay.php?fid=136)
+--- Thread: New MythTV add-on using libcmyth (/showthread.php?tid=110694)



- fiveisalive - 2011-12-29 06:18

schneberger Wrote:how do i check out this addon to a zip file that can be installed via the addon manager in xbmc , i am trying an pvr build for atv2 and would like to try this addon sin there aswell , i am not a builder so i can not realy complie a whole xbmc, just want to be able to install the addon =)

You can't. PVR add-ons are binary add-ons, not Python-based add-ons like most in the repository, so currently they need to be compiled as part of a full build. The default PVR builds by dushmaniac don't have this particular cmyth add-on as far as I know.

The only solution, short of compiling it yourself, is if another ATV2 user out compiles a version of tsp42's branch and makes it available. Until the PVR code in dushmaniac's branch (and eventually the different PVR add-ons that are based on that code) is pushed into the mainline upstream code (after Eden is released), that's unfortunately the way it'll probably be for a while.


- tsp42 - 2011-12-31 16:11

I've added the LiveTV priority setting to the addon and synced with xbmc PVR so seek should be working again.

Novae: I use boost 1.46.1. Not sure why 1.48 shouldn't work though.


- dchurch24 - 2012-01-01 22:08

Hi, I'm getting the same thing as kartman_canada.

My log is:
Code:
Query: CREATE TABLE pvrenabled (id integer primary key, addonID text)
20:02:12 T:139798232655616   ERROR: Error attempting to upgrade an old addon database!
20:02:12 T:139798232655616   ERROR: Can't update the database Addons15 from version 12 to 15
20:02:12 T:139798232655616  NOTICE: Attempting to update the database Addons15 from version 12 to 15
20:02:12 T:139798232655616   ERROR: SQL: SQL error or missing database

It's a database problem, but a different one - anyone got any ideas?


- tsp42 - 2012-01-01 22:36

dchurch24: Try deleting the addon database as Dushmaniac suggested.


- Novae - 2012-01-02 09:28

tsp42 Wrote:I've added the LiveTV priority setting to the addon and synced with xbmc PVR so seek should be working again.

Novae: I use boost 1.46.1. Not sure why 1.48 shouldn't work though.

Dropping back to 1.46.1 solved the issue so its definetly something thats changed in 1.48.


Infinute error messege loop - neuroGeek - 2012-01-05 17:56

Note for casual readers: the below does not apply to the addon/build discussed in this thread. Ignore.

I have Ubuntu natty x86 and have installed pulse-eight's builds ( 2:11.0-pvr+p8~git20120103.007a341-0ubuntu1~stable59~natty). I was running the mainline XBMC until now.

I did have to delete the addons database file, but after doing so the MythTV plugin still would not load. In /usr/lib/xbmc/addons/pvr.mythtv, the file was named XBMC_Mythtv.pvr and XBMC was looking for XBMC_MythTV.pvr (Linux is case sensitive). I had to create a symbolic link to allow XBMC to find the file:
Code:
sudo cp -l XBMC_Mythtv.pvr XBMC_MythTV.pvr

Now, I get an error when XBMC tries to load the plugin and I get an infinite error dialogue popping up on the screen. From the log:
Code:
10:39:27 T:6499088  NOTICE: PVRManager - stopping
10:39:27 T:106335088   ERROR: PVRManager - Process - failed to load PVR data
10:39:27 T:6499088  NOTICE: PVRManager - starting up
10:39:28 T:2888825712  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:16
10:39:29 T:106335088   ERROR: Unable to load /usr/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr, reason: /usr/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr: undefined symbol: _ZTI14MythXmlCommand
10:39:29 T:106335088   ERROR: PVR - InitialiseClient - can't initialise add-on 'MythTV PVR Client'
10:39:31 T:106335088   ERROR: Unable to load /usr/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr, reason: /usr/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr: undefined symbol: _ZTI14MythXmlCommand
And this continues indefinately.

Any ideas?


- fiveisalive - 2012-01-05 18:41

neuroGeek Wrote:I have Ubuntu natty x86 and have installed pulse-eight's builds ( 2:11.0-pvr+p8~git20120103.007a341-0ubuntu1~stable59~natty). I was running the mainline XBMC until now.

I did have to delete the addons database file, but after doing so the MythTV plugin still would not load. In /usr/lib/xbmc/addons/pvr.mythtv, the file was named XBMC_Mythtv.pvr and XBMC was looking for XBMC_MythTV.pvr (Linux is case sensitive). I had to create a symbolic link to allow XBMC to find the file:
Code:
sudo cp -l XBMC_Mythtv.pvr XBMC_MythTV.pvr

Now, I get an error when XBMC tries to load the plugin and I get an infinite error dialogue popping up on the screen. From the log:
Code:
10:39:27 T:6499088  NOTICE: PVRManager - stopping
10:39:27 T:106335088   ERROR: PVRManager - Process - failed to load PVR data
10:39:27 T:6499088  NOTICE: PVRManager - starting up
10:39:28 T:2888825712  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:16
10:39:29 T:106335088   ERROR: Unable to load /usr/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr, reason: /usr/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr: undefined symbol: _ZTI14MythXmlCommand
10:39:29 T:106335088   ERROR: PVR - InitialiseClient - can't initialise add-on 'MythTV PVR Client'
10:39:31 T:106335088   ERROR: Unable to load /usr/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr, reason: /usr/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr: undefined symbol: _ZTI14MythXmlCommand
And this continues indefinately.

Any ideas?

I think you have to compile the entire source from tsp42's github. I don't think you can just add the add-on binary to a regular PVR build, because there are API/ABI changes in the core XBMC and PVR code that may not yet be in the PVR build.

In addition, I think you have the wrong add-on, tsp42's is actually in the directory
Code:
<prefix>/lib/xbmc/addons/pvr.mythtv.cmyth
.


- Kryspy - 2012-01-06 04:59

Will this work with xbmc-live or is their not enough dependencies present?

Kryspy


- fiveisalive - 2012-01-06 18:26

Kryspy Wrote:Will this work with xbmc-live or is their not enough dependencies present?

Kryspy

I thought that xbmc-live is precompiled? (never used it myself) If so, then no, it won't work, because you need to compile tsp42's github code, which probably isn't present in xbmc-live.


- neuroGeek - 2012-01-06 19:29

fiveisalive Wrote:I think you have to compile the entire source from tsp42's github.

Thanks! I was confused by all the different working versions of XBMC. I followed the build instructions from this thread and it works great. I would really like it to auto-skip commercials and mark watched, but it has everything I necessary to use full-time! Great work!