[mythtv-users] XBMC windows client problem connecting to backend

Robert Johnston anaerin at gmail.com
Fri Oct 17 00:45:35 UTC 2008


On 16/10/2008 6:39 PM, Johnny Russ wrote:
> I have an Xbox with XBMC that I use as a mythtv frontend. I am able to
> playback mythtv recordings fine from the xbox. In another thread someone
> indicated that they use the XBMC windows client to playback mythtv
> recordings. In XBMC on windows I can browse my recordings and they have
> thumbnails and all of their metadeta. However, playing a recording
> fails. I believe the pertenant part of the log is:
>
> 15:25:59 T:4264 M:966545408 DEBUG: Thread 4264 terminating
> 15:26:13 T:5212 M:965517312 INFO: msg: (cmyth)
> 15:26:13 T:5212 M:965517312 INFO: msg: cmyth_connect: connect failed on
> port 6543 to 'pvr' (10060)
> 15:26:13 T:5212 M:965517312 INFO: msg: (cmyth)
> 15:26:13 T:5212 M:965517312 INFO: msg: cmyth_conn_connect_file:
> cmyth_connect(pvr, 6543, 16384) failed
> 15:26:13 T:5212 M:965517312 INFO: msg: (cmyth)
> 15:26:13 T:5212 M:965517312 INFO: msg: cmyth_file_destroy:
> cmyth_rcv_okay() failed (-1)
> 15:26:13 T:5212 M:965517312 ERROR: XFILE::CCMythFile::SetupRecording -
> unable to connect to file
> 15:26:13 T:5212 M:965517312 ERROR: CDVDPlayer::OpenInputStream - error
> opening
> [myth://mythtv:mythtv@192.168.1.102/recordings/1016_20081015103000.mpg
> <http://mythtv:mythtv@192.168.1.102/recordings/1016_20081015103000.mpg>]
>
> I had a similar problem setting up my Xbox. It had something to do with
> the fact that the backend uses the hostname instead of the ip address. I
> didn't really understand it at the time. I was able to fix it by putting
> an entry in my dnsmasq settings on my router. I added a rule:
>
> address=/pvr/192.168.1.102 <http://192.168.1.102>
>
> Is anybody else using this configuration on windows? Anybody have any
> ideas why I can't connect to the backend?

I'm not using it on windows, but I can imagine why you're getting this.

You need to add an entry in your hosts file 
(c:\windows\system32\drivers\etc\hosts) to override Windows' lookup on 
the local network and point it to your pvr box.

Chances are, if you enter "ping pvr" at a command-line you'll get 
something like "Ping request could not find host pvr. Please check the 
name and try again."
-- 
Robert Johnston


More information about the mythtv-users mailing list