"unable to connect" to MythTV backend - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56) +---- Thread: "unable to connect" to MythTV backend (/showthread.php?tid=69776) |
"unable to connect" to MythTV backend - Hugh - 2010-02-07 [I'm new to XBMC so this is probably some obvious mistake.] In the last few days I've installed XBMC on my Apple TV. Seems neat -- thanks! I want to have XBMC talk to my MythTV .20 backend. When I install a video source of the form "mythtv://username: password@mythbox", I always get a box saying: Code: UNABLE TO CONNECT Code: 08:37:25 T:2684407808 M: 7479296 ERROR: CGUIMediaWindow::GetDirectory(mythtv://mythtv:[email protected]/) failed Code: 08:46:19 T:2684407808 M: 27471872 DEBUG: CGUIMediaWindow::GetDirectory (mythtv://mythtv:[email protected]/) I don't know if it is related, but the log shows a fair number of messages like this one: Code: 08:47:28 T:43337728 M: 27385856 NOTICE: ES: Client from 127.0.0.1 timed out For the "mythbox" component, I've tried the IP address as a dotted quad, I've tried the FQDN, and I've tried the unqualified domain name. The FQDN resolves. And I've added an entry to /etc/hosts to cover the FQDN too! I am running tcpdump on the myth backend and it seems no packets from the AppleTV when I perform these experiments. A ping command run on the Apple TV can properly reach the backend. And the tcpdump sees those packets. Any suggestions? - Hugh - 2010-02-07 I forgot to mention that XBMC on the ATV sees the UPnP from my MythTV backend. But UPnP doesn't have the capabilities that I need. - davilla - 2010-02-07 add your mythtv backend to /etc/hosts - Hugh - 2010-02-07 davilla Wrote:add your mythtv backend to /etc/hostsI already had (thanks to your suggestion, passed on to me in IRC). As I mentioned in the first message, I put the FQDN in /etc/hosts. Now I've also put the unqualified domain name in too. Testing again. Same result ("REMOTE SHARE Could not connect to network server"; no packets seen by tcpdump running on MythTV backend machine). Do I need to add some plugin to XBMC to handle mythtv://? Here's the relevant extract from /Users/frontrow/Library/Application Support/XBMC/userdata/sources.xml. Does anything look wrong? Code: <source> Code: -bash-2.05b$ sudo ipfw list - davilla - 2010-02-07 try; myth://mythtv:[email protected] - Hugh - 2010-02-07 davilla Wrote:try; Duhh. That worked. Thanks! - gatorback - 2011-04-03 davilla Wrote:add your mythtv backend to /etc/hosts What exactly would the syntax be? How would you verify that this change worked? Thanks. - Hugh - 2011-04-03 gatorback Wrote:What exactly would the syntax be? How would you verify that this change worked? Thanks.Sorry, I lied. I didn't use /etc/hosts on the AppleTV, I added the domain to my DNS server. But most people don't run DNS servers (except for caching). The /etc/hosts file is pretty much the same in OSX (on the AppleTV), *BSD, and Linux. I think that the Linux manpage is easier to follow because it has examples http://linux.die.net/man/5/hosts, http://www.ipnom.com/FreeBSD-Man-Pages/hosts.5.html http://developer.apple.com/library/mac/#documentation/darwin/reference/manpages/man5/hosts.5.html On your AppleTV, add something like the following to the file /etc/hosts: Code: 192.168.0.10 backendname |