Skip to content

andrzej-bieniek/gupnp-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Examples how to use gupnp in python (with gobject-introspection).


$python demo-dmc.py --dmr-udn <udn> --url <url>
Configures DMR to play specific url.

$ python demo-events.py
Example with subscribing to LastChange event.

$ python demo.py
It displays UPnP devices, services and actions.
Then it calls: GetVolume, SetAVTransport, Stop and Play actions (when available).

$ python test/demo.py
It starts pdb when first UPnP device is found.


To get above examples working, gupnp requires patches from (tested with 0.20.0):
* https://github.com/andyhelp/pkg-gupnp/blob/master/debian/patches



Links:
* https://live.gnome.org/GUPnP
* https://live.gnome.org/GObjectIntrospection

About

GUPnP Python bindings / tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.3%
  • C 3.7%