[mythtv-users] How to verify UPnP is running
greg at phaze.org
Sat Dec 16 22:16:11 UTC 2006
> _Short version_ How can I verify (telnet, ???) that UPnP is running
> and properly returning lists of media on MythTV?
You can't telnet to it, it's done via UPDP multicasts (for the SSDP notifies and queries) and unicasts for the actually data transfer.
> -libupnp0 installed
Myth doesn't use libupnp though it might make development easier if we did :)
> -set up UPNP share in XBMC. It immediatly returns back "cannot
> connect to server"
It's too bad the error isn't more informative. For example saying exactly what IP it was trying to connect to.
Out of curiousity, does your mythbox have more than one IP/nic on it ? There
is a patch submitted to trac which I was planning to commit for people with multihomed mythbackends.
> So obviously this COULD be an XBMC problem. I want to verify that
> UPNP is running on the backend.
When you start mythbackend with -v upnp you will see lines like the following:
root at woop:/hdd/3/video# mythbackend -v upnp
2006-12-16 18:13:41.290 Using runtime prefix = /usr/local
2006-12-16 18:13:41.483 New DB connection, total: 1
2006-12-16 18:13:41.503 Connected to database 'mythconverg' at host: localhost
2006-12-16 18:13:41.514 Current Schema Version: 1172
Starting up as the master server.
2006-12-16 18:13:41.558 New DB connection, total: 2
2006-12-16 18:13:41.559 Connected to database 'mythconverg' at host: localhost
2006-12-16 18:13:41.647 EITHelper: localtime offset -4:00:00
2006-12-16 18:13:41.684 New DB connection, total: 3
2006-12-16 18:13:41.685 Connected to database 'mythconverg' at host: localhost
2006-12-16 18:13:42.265 EITHelper: localtime offset -4:00:00
2006-12-16 18:13:42.802 New DB scheduler connection
2006-12-16 18:13:42.803 Connected to database 'mythconverg' at host: localhost
STREAM is defined, but isn't attached to a cardinput.
woopstream is defined, but isn't attached to a cardinput.
2006-12-16 18:13:42.809 Main::Starting HttpServer
2006-12-16 18:13:42.815 Main::Registering HttpStatus Extension
2006-12-16 18:13:42.816 UPnp::UPnp:Begin
2006-12-16 18:13:42.817 UPnp::UPnp:Starting TaskQueue
2006-12-16 18:13:42.817 UPnp::UPnp:Loading UPnp Description
2006-12-16 18:13:42.853 UPnp::UPnp:Starting SSDP Thread
2006-12-16 18:13:42.853 UPnp::UPnp:Adding Context Listener
2006-12-16 18:13:42.853 UPnp::UPnp:End
> I'd heard VLC supports UPNP, but I downloaded the newest version for
VLC under windows(including the latest release) doesn't come with built in upnp support though it's been planned for a while. I believe there is a plugin to can get to add support for it, though I don't know if it's free or not.
> windows and couldn't find the way to scan for servers/etc (apparently^
One other option is (under XP at least) to open My Network Places, and click the "Show UPNP network devices" link, then you should see all available upnp servers and if you click on the icon pull up their device/status page.
More information about the mythtv-users