Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

XBMC windows client problem connecting to backend

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


jruss at mit

Oct 16, 2008, 5:39 PM

Post #1 of 3 (2644 views)
Permalink
XBMC windows client problem connecting to backend

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 [at] 192/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

Is anybody else using this configuration on windows? Anybody have any ideas
why I can't connect to the backend?


anaerin at gmail

Oct 16, 2008, 5:45 PM

Post #2 of 3 (2595 views)
Permalink
Re: XBMC windows client problem connecting to backend [In reply to]

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 [at] 192/recordings/1016_20081015103000.mpg
> <http://mythtv:mythtv [at] 192/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
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jruss at mit

Oct 16, 2008, 6:55 PM

Post #3 of 3 (2579 views)
Permalink
Re: XBMC windows client problem connecting to backend [In reply to]

>
> 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."
>

Thank you so much. I have been pounding at this for a while now
unsuccessfully. When I pinged pvr, I noticed it said it was pinging a
machine named pvr on my school's domain. Unfortunately for me there is
actually a machine at my school with the same name as my backend. A few
years ago, I was messing around setting up a VPN connection to my school
when I first setup this machine. Apparently during that process I had made
it so the primary DNS suffix on this computer was my school's domain. I
removed that default DNS suffix and now pvr is resolving correctly to my
backend's ip address. Thanks again for setting me on the right path.

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.