Kodi Community Forum
MythTV front-end client built-into to XBMC - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9)
--- Thread: MythTV front-end client built-into to XBMC (/showthread.php?tid=2297)



- joebidalli - 2008-02-28

I've been trying to get my remote frontend (Ubuntu) working for a week now. I have my hostname configured in /etc/hosts and I know the backend is ok because I can watch TV with ~> gmyth-cat -h mythtv -p 6543 -c 40 | mplayer -

I upgraded my Myth backend to the latest trunk still can't watch though I can see my Recordings and Live Channels list.

I recently started receiving this message when attempting to watch a recording.

(cmyth)__cmyth_rcv_long: received illegal integer: '130_20070513075900.mpg'
(cmyth)__cmyth_rcv_long_long: cmyth_rcv_long_long() failed (28)
(cmyth)__cmyth_rcv_proginfo: cmyth_rcv_long_long() failed (22)
(cmyth)cmyth_proginfo_get_from_basename: cmyth_rcv_proginfo() < count
(cmyth)__cmyth_rcv_proginfo: VERSION IS 40
(cmyth)__cmyth_rcv_long: received illegal integer: 'Default'
(cmyth)__cmyth_rcv_proginfo: cmyth_rcv_ulong() failed (22)
(cmyth)cmyth_proginfo_get_from_basename: cmyth_rcv_proginfo() < count
(cmyth)cmyth_conn_connect_file: prog host is NULL


- joebidalli - 2008-02-28

Interesting. When I choose a Live Channel, eventually I get an Icon with program information and elapsed time as if I'm watching something. However, when I check the network, I'm not seeing enough traffic for a live stream.


- Nick8888 - 2008-02-28

Can I ask whether you have added your port number to the hostname?


- joebidalli - 2008-02-28

I've tried both. No difference.


- joebidalli - 2008-02-28

Digging aroung some more and found this in my backend logs.

2008-02-27 21:11:49.544 MythSocket(bfff80:33): writeData: Error, zerocnt timeout
2008-02-27 21:12:30.184 MythSocket(bfff80:33): writeData: Error, zerocnt timeout
2008-02-27 21:13:08.812 MythSocket(bfff80:33): writeData: Error, zerocnt timeout
2008-02-27 21:13:46.637 MythSocket(bfff80:33): writeData: Error, zerocnt timeout

Prossibly why I'm not seeing network traffic between my front and backend.


- Nick8888 - 2008-02-28

elupus is probably the only one that can help you so I'd suggest you get a complete log of both xbmc and mythtbackend and post to pastebin

sorry i cant be of more assistance.


- elupus - 2008-02-28

joebidalli:
no need for a log (thou if you later need help, please post that on pastebin instead of cut outs here)
your backend is svn version of the mythbackend, or atleast i'm guessing that. In either case it has a higher version than is known to be working with our current lib. I think trunk of libcmyth has up to version 39, you have 40. I will update our lib sometime this weekend.


- joebidalli - 2008-02-28

Thanks Eluspus,

Funny though, I upgraded after reading this thread a couple of days ago.

[quote=uomiarz]i just recompile my mythtv last night to latest rev.16237
it works pretty good .../QUOTE]

And the libraries say:

(cmyth)cmyth_conn_connect: asked for version 8, got version 40
(cmyth)cmyth_conn_connect: asked for version 40, got version 40
(cmyth)cmyth_conn_connect: asked for version 8, got version 40
(cmyth)cmyth_conn_connect: asked for version 40, got version 40
(cmyth)cmyth_conn_connect: asked for version 8, got version 40
(cmyth)cmyth_conn_connect: asked for version 40, got version 40
(cmyth)__cmyth_rcv_proginfo: VERSION IS 40
(cmyth)__cmyth_rcv_proginfo: got recording info


- uomiarz - 2008-02-28

joebidalli Wrote:Thanks Eluspus,

Funny though, I upgraded after reading this thread a couple of days ago.

[quote=uomiarz]i just recompile my mythtv last night to latest rev.16237
it works pretty good .../QUOTE]

And the libraries say:

(cmyth)cmyth_conn_connect: asked for version 8, got version 40
(cmyth)cmyth_conn_connect: asked for version 40, got version 40
(cmyth)cmyth_conn_connect: asked for version 8, got version 40
(cmyth)cmyth_conn_connect: asked for version 40, got version 40
(cmyth)cmyth_conn_connect: asked for version 8, got version 40
(cmyth)cmyth_conn_connect: asked for version 40, got version 40
(cmyth)__cmyth_rcv_proginfo: VERSION IS 40
(cmyth)__cmyth_rcv_proginfo: got recording info

my log shows same info (asked for... , got version...)
and it works fine with myth rev.16237


- ajje - 2008-03-03

Please go easy on me... Would this mythtv integration enable me to record video from my tunercard from inside XBMC? If so, can i have mythtv and XBMC running on the same box?
The way i see it from your posts is that you all have separate myth boxes.


- Nick8888 - 2008-03-03

it would pretty much just make xbmc a frontend for mythtv. So yes you would be able to record etc.

mythbackend would need to be running either remotely or on same box. just use "localhost" as the hostname.


- elupus - 2008-03-03

yes you can have it on the same box. however xbmc has no means of scheduling recordings yet and no epg. you can start recording current playing live show thou.


- ajje - 2008-03-03

Ok, sounds good! Nod I do not need sheduling or epg, i mainly use the s-video input to transfer from my camcorder...
Before i head of to the mythtv Wiki, Another (maybe stupid) question:
Would it be any difference ( easier mythtv installation and setup?) if i installed mythbuntu first and then added XBMC or should i stick to Ubuntu+XBMC and then add myth?
Thanks for your replies!
*Going to read up on mythtv*


- elupus - 2008-03-03

just do a apt-get on ubuntu for the backend. quite simple, loads of guides on that.

Oh and before anybody else get hit by the same issue i had with recording to start with.
MAKE SURE XBMC DISPLAYS THE CORRECT SYSTEM TIME. If it's of by an hour due to timezones, starting recordings won't work.


- C-Quel - 2008-03-03

Hitting record on xbox stops playback and keeps recording on backend and shows (recording) status in myth://*.*/recordings/

Yet in Linux hitting record does not stop playback (working correctly)... ive posted a log to see if you can spot anything unusual.

http://pastebin.com/m567c8727


This forum uses Lukasz Tkacz MyBB addons.