cmyth client for MythTV .27

  Thread Rating:
  • 1 Votes - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
txcas Offline
Junior Member
Posts: 20
Joined: Aug 2013
Reputation: 0
Post: #1
I upgraded my backend to MythTV .27 and now the cmyth client on Frodo can no longer connect to the backend. How do I install a cmyth client on Frodo that is compatible with MythTV .27? My XBMC front ends are running on Ubuntu and on OpenElec.
find quote
lordsiris Offline
Junior Member
Posts: 10
Joined: Jul 2013
Reputation: 0
Post: #2
Hello,

I would love a 0.27 compatible build as well, believe its 1.6.11. I tried compiling my own on OSX last night which finished fine, but XBMC didn't like the install from zip complaining that it was missing dependencies (guessing because I was trying to load it into 12.2 stable and not a nightly). Regardless, my clients are all running openelec(3.2) as well.

Thanks,

lordsiris
find quote
deadite66 Offline
Donor
Posts: 205
Joined: Aug 2008
Reputation: 0
Location: UK
Post: #3
i've compiled the latest from git works fine apart from xbmc will hang if you try to delete a file.

Gigabyte E350N 60GB SSD + 2TB WD Caviar Green : xubuntu Saucy x64 : 3.13.1 kernel and OSS radeon + glinterop, (mythtv 0.27+fixes + 2x PCTV 290e DVB-T2)
Acer aspire revo R3600 Ubuntu Oneiric.
ASRock ION 3D, atom D525/ion2, 2GB ram, 1TB HDD running Ubuntu Precise. - in storage

(This post was last modified: 2013-09-20 17:18 by deadite66.)
find quote
pyrodex Offline
Senior Member
Posts: 210
Joined: Jan 2011
Reputation: 1
Post: #4
Can anyone provide a binary download for the Windows platform?

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
txcas Offline
Junior Member
Posts: 20
Joined: Aug 2013
Reputation: 0
Post: #5
The instructions on compiling cmyth at http://forum.xbmc.org/showthread.php?tid=159393&page=6 did the trick for me. That fixed the problem on Ubuntu, now I just need to copy the zip file so I can install it on OpenElec. The working version is 1.6.11. I forgot I have an Android XBMC device in my son's bedroom, so I need to either flash his device with a Linux build or figure out how to compile cmyth for Android.
find quote
cfetzer Offline
Fan
Posts: 307
Joined: Jul 2011
Reputation: 16
Post: #6
(2013-09-20 18:01)txcas Wrote:  The instructions on compiling cmyth at http://forum.xbmc.org/showthread.php?tid=159393&page=6 did the trick for me. That fixed the problem on Ubuntu, now I just need to copy the zip file so I can install it on OpenElec. The working version is 1.6.11. I forgot I have an Android XBMC device in my son's bedroom, so I need to either flash his device with a Linux build or figure out how to compile cmyth for Android.

Note that recent XBMC pre-Gotham nightly builds have a version of the MythTV PVR addon that supports 0.27.
XBMC Nighties tend to be pretty stable, so I'd suggest to give it a try.

Cheers Christian

(And in addition, I wonder when people will stop calling it cmyth)

MythTV PVR addon - Wiki - Development
find quote
lordsiris Offline
Junior Member
Posts: 10
Joined: Jul 2013
Reputation: 0
Post: #7
I used the instructions at the post above on ubuntu 12.04 and it compiles fine and installs, but gives errors when enabled. How do i compile this properly for openelec 3.2 ION x86_64?
find quote
deadite66 Offline
Donor
Posts: 205
Joined: Aug 2008
Reputation: 0
Location: UK
Post: #8
this is the version i compiled on my ubuntu 12.04 machine, if it's any use to people.
https://dl.dropboxusercontent.com/u/7618...x-i486.zip

Gigabyte E350N 60GB SSD + 2TB WD Caviar Green : xubuntu Saucy x64 : 3.13.1 kernel and OSS radeon + glinterop, (mythtv 0.27+fixes + 2x PCTV 290e DVB-T2)
Acer aspire revo R3600 Ubuntu Oneiric.
ASRock ION 3D, atom D525/ion2, 2GB ram, 1TB HDD running Ubuntu Precise. - in storage

find quote
nerddtvg Offline
Junior Member
Posts: 4
Joined: Sep 2013
Reputation: 0
Post: #9
Any thoughts on why a build for Gotham would be giving the error when trying to load from zip:

Code:
DEBUG: Addon pvr.mythtv.cmyth requires xbmc.pvr version 1.8.0 which is not available

I've tried this on the monthly Gotham release (2:13.0~git20130901.0828-alpha7-0raring) and the nightly release (2:13.0~git20130922.02). I downloaded the 1.8.12 (https://github.com/fetzerch/xbmc-pvr-add....8.12.zip) and master (https://github.com/fetzerch/xbmc-pvr-add...aster.zip) branches both from github. No combination seems to work. I even tried building a Frodo plugin, even though I know that I'm running an alpha of Gotham.

Code:
$ uname -a
Linux HTPC1 3.8.0-30-generic #44-Ubuntu SMP Thu Aug 22 20:54:42 UTC 2013 i686 i686 i686 GNU/Linux

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.04
DISTRIB_CODENAME=raring
DISTRIB_DESCRIPTION="Ubuntu 13.04"

I followed the instructions from the previous thread exactly:

Code:
cd xbmc-pvr-addons
./bootstrap
./configure --enable-addons-with-dependencies && make zip
cp addons/pvr.mythtv.cmyth-linux-i486.zip /tmp

I am welcome to all ideas about what has gone wrong here.

Edit: I don't know why, but manually installing the plugin version 1.8.13 that I built worked fine. I am thinking something else is messed up here. For those who may be stuck, this is what I did:

Code:
# cp xbmc-pvr-addons-master/addons/pvr.mythtv.cmyth-linux-i486.zip /tmp
# unzip pvr.mythtv.cmyth-linux-i486.zip
# mv pvr.mythtv.cmyth/ /usr/share/xbmc/addons/
# cd /usr/share/xbmc/addons/pvr.mythtv.cmyth/
# mkdir /usr/lib/xbmc/addons/pvr.mythtv.cmyth
# mv XBMC_MythTV_cmyth.pvr /usr/lib/xbmc/addons/pvr.mythtv.cmyth/

Once I rebooted and re-enabled the Addon it worked just as before.
(This post was last modified: 2013-09-23 01:42 by nerddtvg.)
find quote
billyx Offline
Junior Member
Posts: 14
Joined: Dec 2012
Reputation: 0
Post: #10
(2013-09-20 20:23)cfetzer Wrote:  Note that recent XBMC pre-Gotham nightly builds have a version of the MythTV PVR addon that supports 0.27.
XBMC Nighties tend to be pretty stable, so I'd suggest to give it a try.

Cheers Christian

It's not working for me:

Code:
03:47:12 T:140714417702784  NOTICE: Starting XBMC (13.0-ALPHA8 Git:5aef1c5). Platform: Linux
03:47:12 T:140714417702784  NOTICE: Using Release XBMC build, compiled Sep 24 2013 by GCC 4.7.3 for Linux 3.8.13
03:47:12 T:140714417702784  NOTICE: Running on Linux (Ubuntu 13.04, 3.8.0-30-generic x86_64)
...
3:49:35 T:140713052333824   DEBUG: ADDON: Dll Initializing - MythTV cmyth PVR Client
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: Creating MythTV cmyth PVR-Client
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: Addon compiled with XBMC_PVR_API_VERSION: 1.8.1 and XBMC_PVR_MIN_API_VERSION: 1.8.0
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: Register handle @ libXBMC_addon...done
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: Checking props...
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: Checking props...done
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: Register handle @ libXBMC_pvr...
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: Register handle @ libXBMC_addon...done
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: Register handle @ libXBMC_gui...
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: Register handle @ libXBMC_gui...done
03:49:35 T:140713052333824   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'host'
03:49:35 T:140713052333824   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'port'
03:49:35 T:140713052333824   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'extradebug'
03:49:35 T:140713052333824   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'db_user'
03:49:35 T:140713052333824   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'db_password'
03:49:35 T:140713052333824   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'db_name'
03:49:35 T:140713052333824   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'db_host'
03:49:35 T:140713052333824   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'db_port'
03:49:35 T:140713052333824   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'livetv'
03:49:35 T:140713052333824   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'livetv_conflict_strategy'
03:49:35 T:140713052333824   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'rec_template_provider'
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: Creating PVRClientMythTV...
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect_ctrl: connecting control connection
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_connect_addr: setting socket option SO_RCVBUF to 128000
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_connect_addr: connecting to 127.0.0.1:6543 fd = 37
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create {
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create }
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_send_message
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_send_message: sending message '20      MYTH_PROTO_VERSION 8'
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length: buffer is '13      ' ret = 13
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_string: string received 'REJECT'
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_string: string received '77'
03:49:35 T:140713052333824   ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect: asked for version 8, got version 77
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy {
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy: shutdown and close connection fd = 37
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy }
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_connect_addr: setting socket option SO_RCVBUF to 128000
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_connect_addr: connecting to 127.0.0.1:6543 fd = 37
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create {
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create }
03:49:35 T:140713052333824   ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect: failed to connect with any version
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy {
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy: shutdown and close connection fd = 37
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy }
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect_ctrl: done connecting control connection ret = (nil)
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: Lock 1006753760
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: Lock acquired 1006753760
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: Unlock 1006753760
03:49:35 T:140713052333824   DEBUG: AddOnLog: MythTV cmyth PVR Client: IsConnected - false
03:49:35 T:140713052333824   ERROR: AddOnLog: MythTV cmyth PVR Client: Failed to connect to MythTV backend on localhost:6543
03:49:35 T:140713052333824   ERROR: AddOnLog: MythTV cmyth PVR Client: Failed to connect to backend

I changed to ppa:team-xbmc/xbmc-nightly but didn't see an update of xbmc-pvr-addon

(2013-09-20 20:23)cfetzer Wrote:  (And in addition, I wonder when people will stop calling it cmyth)
In the log file it is calling itself cmyth or am I missing something?
(This post was last modified: 2013-09-24 04:09 by billyx.)
find quote
nickr Online
Donor
Posts: 6,086
Joined: May 2009
Reputation: 100
Location: Christchurch NZ
Post: #11
On frodo (xvba-frodo) 64 bit on *buntu 12.04 I followed these instructions http://forum.xbmc.org/showthread.php?tid...pid1442257 and it worked against myth 0.27 (latest from mythbuntu repos). In fact best PVR experience ever in XBMC. EDIT to add version is
Code:
id="pvr.mythtv.cmyth"
  version="1.6.11"


My Gotham alpha 7 from xvba does not seem to connect to my 0.27 backend though. I'll report more details when I am home tonight. EDIT version reported in alpha 7 is 1.8.11.

If I have helped you or increased your knowledge, click the plus button and increase my reputation :)
(This post was last modified: 2013-09-24 07:46 by nickr.)
find quote
bcrosby333 Offline
Junior Member
Posts: 7
Joined: Sep 2013
Reputation: 0
Post: #12
Has anyone gotten this to work on a openelec system?
find quote
teeedubb Offline
Donor
Posts: 2,016
Joined: Mar 2010
Reputation: 41
Location: Down Under
Post: #13
(2013-09-25 01:03)bcrosby333 Wrote:  Has anyone gotten this to work on a openelec system?

Yes. You need to use the OE instructions in the wiki page

http://wiki.xbmc.org/index.php?title=PVR...o_OpenELEC

My Add-ons, only available for XBMC:
Steam Launcher|Music Party Mode|Reboot2oOS|Triple J Radio
(This post was last modified: 2013-09-25 01:35 by teeedubb.)
find quote
bcrosby333 Offline
Junior Member
Posts: 7
Joined: Sep 2013
Reputation: 0
Post: #14
Thank you. Will give that a shot now...
find quote
bcrosby333 Offline
Junior Member
Posts: 7
Joined: Sep 2013
Reputation: 0
Post: #15
Is it possible to just build the add-ons and load them into openelec xbmc on a raspberrypi? Or does this have to be done as a fresh build of the enitire openelec build?

Such as described herehttps://github.com/fetzerch/xbmc-pvr-addons. But just build the zip and import?
find quote
Post Reply