Posts: 25
Joined: Feb 2008
Reputation:
0
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
Posts: 25
Joined: Feb 2008
Reputation:
0
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.
Posts: 716
Joined: Jan 2007
Reputation:
0
Can I ask whether you have added your port number to the hostname?
Posts: 25
Joined: Feb 2008
Reputation:
0
I've tried both. No difference.
Posts: 25
Joined: Feb 2008
Reputation:
0
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.
Posts: 716
Joined: Jan 2007
Reputation:
0
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.
Posts: 3,805
Joined: Mar 2004
Reputation:
3
elupus
Team-XBMC Developer
Posts: 3,805
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.
Posts: 25
Joined: Feb 2008
Reputation:
0
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
Posts: 38
Joined: Nov 2007
Reputation:
0
ajje
Junior Member
Posts: 38
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.
Posts: 716
Joined: Jan 2007
Reputation:
0
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.
Posts: 3,805
Joined: Mar 2004
Reputation:
3
elupus
Team-XBMC Developer
Posts: 3,805
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.
Posts: 3,805
Joined: Mar 2004
Reputation:
3
elupus
Team-XBMC Developer
Posts: 3,805
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.