.. -- mode: rst ; ispell-local-dictionary: "american" --
:Author: Frank Scholz :Copyright: 2008 by Frank Scholz, 2014 by Hartmut Goebel :Licence: MIT licence :Homepage: http://coherence-project.org/wiki/UPnP-Inspector
The UPnP-Inspector (|Inspector|) is an UPnP Device and Service
analyzer based on Coherence
__. |Inspector| helps analyzing UPnP
devices and services on your networks. It's both a big help for
debugging and a learning tool. |Inspector| is loosely modeled after
the Intel UPnP Device Spy and the UPnP Test Tool.
__ http://coherence-project.org/
Beside the analyzing functions, |Inspector| can act as a simple UPnP ControlPoint
. You can browse the content of DLNA MediaServers
and control MediaRenderers
__, e.g. make them play music directly from
the Media Server.
http://coherence-project.org/wiki/ControlPoint http://coherence-project.org/wiki/MediaServer __ http://coherence-project.org/wiki/MediaRenderer
interact with well-known devices:
Release 0.2.2 - Let the Sunshine In - includes:
Installing pre-build packages
:Windows: Please use the setup.exe found at the `project download
page`_.
:GNU/Linux: Most current GNU/Linux distributions provide packages for
|Inspector|. Using your Linux distributions software installation tool
look for a package like `upnp-inspector`. Otherwise you may install
|Inspector| from source, which is easy on recent GNU/Linux systems.
:Other platforms: Currently we do not know of any prebuild packages
for other platforms. If you know, please drop us a note.
Requirements and Installation from Source
|Inspector| requires
Python 2.x
__ or higher (tested with 2.6, but other
versions should work, too, Python 3.x is not supported),setuptools
or distribute
for installation (see below),PyGTK
_, and of course__ http://www.python.org/download/
:Hints for installing on Windows: Following the links above you will
find .msi and .exe-installers. For PyGTK we suggest using the
all-in-one installer <http://www.pygtk.org/downloads.html>
_.
Simply install this and continue with installing The Inspector
.
You may want to build an installer exe yourself. Please refer to the win32 directory of |Inspector|\s source distribution.
:Hints for installing on GNU/Linux: Most current GNU/Linux
distributions provide packages for the requirements. Look for
packages names like python-setuptools
and python-gtk2
or
pygtk2.0
. Simply install them and continue with installing The Inspector
_.
:Hint for installing on other platforms: Many vendors provide Python. Please check your vendors software repository. Otherwise please download Python 2.6 (or any higher version from the 2.x series) from http://www.python.org/download/ and follow the installation instructions there.
After installing Python, install setuptools
. You may want to
read More Hints on Installing setuptools
first.
Compiling and installing GTK+ and PyGTK for your platform may be cumbersome. It may not even be supported. Sorry, we can not help here further.
When you are reading this you most probably already downloaded and unpacked |Inspector|. Thus installing is as easy as running::
python ./setup.py install
Otherwise you may install directly using setuptools/easy_install. If your system has network access installing |Inspector| is a breeze::
easy_install upnp-inspector
Without network access download |Inspector| from http://pypi.python.org/pypi/upnp-inspector and run::
easy_install upnp-inspector-*.tar.gz
|Inspector| uses setuptools for installation. Thus you need either
or
EasyInstall installation instructions
__. Those instructions also
have tips for dealing with firewalls as well as how to manually
download and install setuptools.__ http://peak.telecommunity.com/DevCenter/EasyInstall#installation-instructions
|Inspector| is just a single script (aka Python program). So you can copy it where ever you want (maybe fixing the first line). But it's easier to just use::
python ./setup.py install --prefix /usr/local
python ./setup.py install --home ~
Please mind: This effects also the installation of setuptools if they are not already installed.
For more information about Custom Installation Locations please refer
to the Custom Installation Locations Instructions
__ before
installing |Inspector|.
__ http://peak.telecommunity.com/DevCenter/EasyInstall#custom-installation-locations>
.. |Inspector| replace:: The Inspector
.. _setuptools: http://pypi.python.org/pypi/setuptools .. _distribute: http://pypi.python.org/pypi/distribute .. _PyGTK: http://www.pygtk.org/ .. _project download page: https://coherence.beebits.net/download/