XBMC Community Forum
XBMC and Mythtv Communication Problem - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Kodi General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: XBMC and Mythtv Communication Problem (/showthread.php?tid=96905)



XBMC and Mythtv Communication Problem - MarianoC - 2011-03-15 02:40

Hi!

I'm trying to use XBMC with Mythv using the myth:// protocol, but after read a lot of forums and pages, and change all the config, I can't make it. When I go to Mythtv protocol, and click on Live TV, all the channels appears, but if I click on one of this, XBMC start to "Loading" forever, and freeze.

Mythtv works fine from the local machine and remotely using another PC...The General configuration of the backned is:
Code:
LOCAL BACKEND
IP Address: 192.168.0.10
Port: 6543 / Status Port: 6544
Security pin: 0000

MASTER BACKEND
IP Address: 192.168.0.10
Port: 6543

My /etc/hosts:
Code:
127.0.0.1    localhost.localdomain        localhost arch
192.168.0.10    mythbackend.mythbackend.org    mythbackend

In XBMC the Mythtv protocol is set to:
Code:
myth://mtythv:mythtv@mythbackend

I also tried with: myth://mtythv:mythtv@192.168.0.10

The mythbackend log says a lot of times:

Code:
2011-03-14 20:34:11.935 MainServer::HandleAnnounce FileTransfer
2011-03-14 20:34:11.935 adding: arch as a remote file transfer
2011-03-14 20:34:11.954 MythSocket(25ccc90:37): Unable to lookup:
2011-03-14 20:34:11.954 RemoteFile::openSocket(control socket), Error:
            Could not connect to server :6543
2011-03-14 20:34:11.958 MythSocket(25a02c0:37): Unable to lookup:
2011-03-14 20:34:11.958 RemoteFile::openSocket(file data socket), Error:
            Could not connect to server :6543
2011-03-14 20:34:11.958 RingBuffer::RingBuffer(): Failed to open remote file (none)
2011-03-14 20:34:13.126 MainServer, Warning: Unknown socket closing MythSocket(0x25af240)
2011-03-14 20:34:13.129 MythSocket(25af240:-1): writeStringList: Error, socket went unconnected.
2011-03-14 20:46:41.856 MainServer::HandleVersion - Client speaks protocol version 8 but we speak 23056!
2011-03-14 20:46:41.882 MainServer, Warning: Unknown socket closing MythSocket(0x25b4960)

The XBMC log:
http://pastebin.com/cX98mg3H

I'm using Archlinux. The program's versions are:
-xbmc 10.1
-mythtv 25574
-mysql 5.1.54

Please, tell me if you need something more..

Thanks!

Bye.


- maurotb - 2011-03-17 23:42

Same problem here.
I have tested mythtv 0.23 0.23.1 0.24 with xbmc 10.01, xbmc git,hbmc git dharma pvr with no luck...
In mythv 0.23.1 and xbmc 10.01 i have
Backend: it start recording
2011-03-17 22:36:31.292 MythSocket(21783c0:43): write -> 43 650 BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE UPDATE[]:[]Il commissar...
2011-03-17 22:36:31.674 PID 0x200 Found Payload Start
2011-03-17 22:36:31.685 PID 0x28e Found Payload Start
2011-03-17 22:36:31.705 PID 0x28a Found Payload Start
2011-03-17 22:36:32.705 MythEvent: UPDATE_FILE_SIZE 4401 2011-03-17T22:36:31 471316
2011-03-17 22:36:32.706 MythSocket(21783c0:43): write -> 43 78 BACKEND_MESSAGE[]:[]UPDATE_FILE_SIZE 4401 2011-03-17T22:36:31 471...
2011-03-17 22:36:34.709 MythEvent: UPDATE_FILE_SIZE 4401 2011-03-17T22:36:31 1603640
2011-03-17 22:36:34.709 MythSocket(21783c0:43): write -> 43 79 BACKEND_MESSAGE[]:[]UPDATE_FILE_SIZE 4401 2011-03-17T22:36:31 160...
2011-03-17 22:36:36.712 MythEvent: UPDATE_FILE_SIZE 4401 2011-03-17T22:36:31 3006120
2011-03-17 22:36:36.712 MythSocket(21783c0:43): write -> 43 79 BACKEND_MESSAGE[]:[]UPDATE_FILE_SIZE 4401 2011-03-17T22:36:31 300...
2011-03-17 22:36:38.715 MythEvent: UPDATE_FILE_SIZE 4401 2011-03-17T22:36:31 4292416
2011-03-17 22:36:38.715 MythSocket(21783c0:43): write -> 43 79 BACKEND_MESSAGE[]:[]UPDATE_FILE_SIZE 4401 2011-03-17T22:36:31 429...


XBMC HUNG
22:36:31 T:139843439707904 M:1475330048 DEBUG: Process - MythTV event LIVETV_CHAIN_UPDATE: LIVETV_CHAIN UPDATE live-HTPC-2011-03-17T22:36:28
22:36:31 T:139843439707904 M:1473298432 DEBUG: Process - MythTV event UNKNOWN (error?)
22:36:31 T:139843439707904 M:1473298432 DEBUG: Process - MythTV event LIVETV_CHAIN_UPDATE: LIVETV_CHAIN UPDATE live-HTPC-2011-03-17T22:36:28
22:36:31 T:139843439707904 M:1469956096 DEBUG: Previous line repeats 1 times.
22:36:31 T:139843439707904 M:1469956096 DEBUG: Process - MythTV event UNKNOWN (error?)
22:36:35 T:139843390383872 M:1458520064 DEBUG: Previous line repeats 4 times.
22:36:35 T:139843390383872 M:1458520064 DEBUG: Thread 139843390383872 terminating (autodelete)
22:36:35 T:139843402168064 M:1458520064 DEBUG: Thread 139843402168064 terminating (autodelete)
22:36:35 T:139843195631360 M:1458520064 DEBUG: Thread 139843195631360 terminating (autodelete)
22:36:36 T:139843439707904 M:1458655232 DEBUG: Process - MythTV event UNKNOWN (error?)
22:36:39 T:139843439707904 M:1492475904 DEBUG: Previous line repeats 1 times.
22:36:39 T:139843439707904 M:1492475904 DEBUG: Process - MythTV event EVENT_CLOSE


- theophile - 2011-03-17 23:50

Myth protocol doesn't support MythTV 0.24+


- kissiel - 2011-11-15 02:48

I've faced the same problem now. I'm using MythTV backend version 0.23.1.
In my case I can't see Guide (all channels are empty).

Did you find solution for your problem?