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)



- tgm4883 - 2011-11-29 23:12

tsp42 Wrote:Have anyone tried to disable LiveTV in the latest build to see if the crashes/freezes disappear. I suspect that the background EPG update might be involved and it will run as long as LiveTV is enabled.

I've not, I've been working on getting it building in a PPA using the XBMC packaging scripts.


- ericminou - 2011-11-30 06:58

Frankly, I got your latest bits and the system has been up for over 24 hours without a reboot or crash! We havent watched much of live TV, but we did watch quiet bit of other video contents.


- drake3 - 2011-11-30 22:51

Hi All,

I am getting ready to upgrade my primary mythdora machine - it is so old, but I have kept it around because it has been so stable.

Anyway, I want to use XBMC as my frontends. I already have it running on ATV2, Zotac ID-11 and a Revo 1600. I have been testing an ESXi VM running Mythbuntu 10.10 with a HDHomerun. My cable is Time Warner.

I was reading in this thread that some are going to use the HDHomerun Prime. I thought the Prime was limited to serving only the copy-allowed flagged programs to MythTV? But, what I read looks like .24 with fixes will allow you to record what you are able to see with the CableCard - is this correct?

I was just about to buy a prime when I thought it was safer to buy the HD-PVR and rent another cablebox just for the mythtv server so I could record all the channels I pay for.

Thanks for your help!


- amducious - 2011-12-03 18:06

Help for a newb. I'm lost big time. What do I need to do toget Mythtv 0.24 working in windows 32 bit. I have my back end set up and it works perfectly with my mythbuntu front end but I would love to get rid of that box and just use xbmc. I dont care if its working 100% I just want to test it out.


- snowdogging - 2011-12-03 23:38

Tsp, thanks for your work on this. I am having some issues connecting to the latest master build of mythbackend with xbmc. I can connect just fine with mythfronted so I think it may be an xbmc problem.

Here is my xbmc.log


Code:
16:30:36 T:139684901971712   DEBUG: PVR - Create - creating PVR add-on instance 'MythTV cmyth PVR Client'
16:30:36 T:139684901971712   DEBUG: ADDON: Dll Initializing - MythTV cmyth PVR Client
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: Loading cmyth library
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: Creating MythTV cmyth PVR-Client
16:30:36 T:139684901971712   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'host'
16:30:36 T:139684901971712   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'port'
16:30:36 T:139684901971712   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'extradebug'
16:30:36 T:139684901971712   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'db_user'
16:30:36 T:139684901971712   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'db_password'
16:30:36 T:139684901971712   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MythTV cmyth PVR Client' requests setting 'db_name'
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect_ctrl: connecting control connection
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_connect_addr: connecting to 127.0.0.1:6543 fd = 32
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create {
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create }
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_send_message
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_send_message: sending message '20      MYTH_PROTO_VERSION 8'
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length: buffer is '13      ' ret = 13
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_string: string received 'REJECT'
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_string: string received '70'
16:30:36 T:139684901971712   ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect: asked for version 8, got version 70
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy {
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy: shutdown and close connection fd = 32
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy }
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_connect_addr: connecting to 127.0.0.1:6543 fd = 32
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create {
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create }
16:30:36 T:139684901971712   ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect: failed to connect with any version
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy {
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy: shutdown and close connection fd = 32
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy }
16:30:36 T:139684901971712   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect_ctrl: done connecting control connection ret = (nil)
16:30:36 T:139684901971712   DEBUG: CAddonCallbacksAddon - QueueNotification - MythTV cmyth PVR Client - Error Message : 'Connect: Failed to connect to MythTV backend 127.0.0.1:6543'
16:30:36 T:139684901971712   ERROR: ADDON: Dll MythTV cmyth PVR Client - Client returned bad status (1) from Create and is not usable
16:30:36 T:139684901971712    INFO: Called Add-on status handler for '1' of clientName:MythTV cmyth PVR Client, clientID:pvr.mythtv.cmyth (same Thread=no)
16:30:36 T:139684943410944   DEBUG: Thread CAddonStatusHandler:pvr.mythtv.cmyth start, auto delete: 1
16:30:36 T:139684943410944   DEBUG: Thread CAddonStatusHandler:pvr.mythtv.cmyth 139684943410944 terminating (autodelete)



- tsp42 - 2011-12-03 23:49

snowdogging: My addon only supports MythTV upto version 0.24.1. It looks like the version you are using is newer than that (protocol version 70).

amducious: It should be as simple as downloading and installing the version of xbmc from the first post. I haven't updated the link yet so please be patient until I've fixed that.


- snowdogging - 2011-12-04 00:46

That's what I was afraid of. 0.24.1 crashes for me with multiplex errors. Those issues have all been fixed in the master branch but it may be a year before .25 is released. Anyway that I can trick xbmc to think its a different protocol version than it is so it tries to connect?


- tgm4883 - 2011-12-04 00:52

Talking to some of the MythTV devs, they would be surprised if there isn't a 0.25 release by April 2012


- tsp42 - 2011-12-04 01:25

The windows build has been updated. See the first post for the link.

repo updated with more stability fixes and a proper fix for broken recordings/subfolders in the recordings view.

snowdogging: No that wouldn't work as we will have to add support in libcmyth for the new changes in version 0.25.


- amducious - 2011-12-04 16:13

I just downloaded/installed the windows build you just put up and I keep getting an error while trying to run it.

the program can't start because MSVCP100D.dll is missing from you computer. Try reinstalling the program to fix this problem.

Just to make sure I did reinstall xbmc and I get the same thing I don't know if it makes a difference but I'm running windows 7 32bit