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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: New MythTV add-on using libcmyth (/showthread.php?tid=110694)



- fiveisalive - 2011-12-29

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

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

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

dchurch24: Try deleting the addon database as Dushmaniac suggested.


- Novae - 2012-01-02

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

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

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

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

Kryspy


- fiveisalive - 2012-01-06

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

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!


- grad - 2012-01-06

Hi there,

I'm interested in trying out this new addon, however I'm sitting on the xvba version of xbmc. Against which branch can I diff your git master to get all parts of your addon? I tried to manually copy over addons/pvr.mythtv.cmyth, lib/cmyth and xbmc/pvrclients/mythtv-cmyth/ but apparently that wasn't enough. Could also be that the xvba git is a bit newer, but I got quite disturbing compiler errors in addons/library.xbmc.gui/. The xvba guys tell me that they are pretty much up to date with the opdenkamp pvr branch, which I thought was your reference as well. So what do you think - do I stand a chance in trying this? TIA!


- tsp42 - 2012-01-07

grad: Does the xvba version of xbmc contains the PVR code? if so you could try to diff opdenkamps master branch and my master branch and use it on the xvba version.

neuroGeek: The autoskipping of commercials and mark watched is on the TODO list so it will eventually be included.


Is this the myth add-on included in eden? - askvictor - 2012-01-08

I'm new to xbmc, have just installed the eden beta to use as a frontend to myth 0.24. Is the add-on that is included in eden, or is there another one?


- dubstar_04 - 2012-01-08

askvictor Wrote:I'm new to xbmc, have just installed the eden beta to use as a frontend to myth 0.24. Is the add-on that is included in eden, or is there another one?


Welcome to XBMC,

All the information you require is in the first post.

At this present moment the add-on cannot be built separately, ie. outside xbmc, therefore you will need to compile tsp's branch and install. This really is very simple and instructions can be found in the first post.

Tsp's branch is sync'd regularly, so its pretty up to date.

I hope this helps,

dubstar_04


- askvictor - 2012-01-08

dubstar_04 Wrote:All the information you require is in the first post.

At this present moment the add-on cannot be built separately, ie. outside xbmc, therefore you will need to compile tsp's branch and install. This really is very simple and instructions can be found in the first post.

Tsp's branch is sync'd regularly, so its pretty up to date.

I hope this helps,

dubstar_04

Thanks, but I still don't quite understand - is the myth:// handler built into eden the sane as this add-on or is it a separate project?