abhigenie92 / miranda-upnp Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/miranda-upnp
Automatically exported from code.google.com/p/miranda-upnp
Changes from v1.3:
* Added UUID search function to msearch command (lines 847-857)
* Added 'clear' function to host command (lines 1262-1265)
* Added an option (enabled by default) to limit the listener in msearch to only
the IP of the computer running the program (bugfix?) (lines 77, 874-875,
1002-1005, 1027)
* Added a kludge workaround specifically for Belkin WeMo Switches when using
host command, detailed function (credit goes to Issac Kelly for this one)
(lines 514-523)
* Updated help with new functions and added a little more detail to msearch
(lines 1470, 1478, 1509, 1515-1516, 1546, 1548-1550, 1554-1556)
* Updated command completer with new functions (lines 1743, 1765, 1775)
Original issue reported on code.google.com by [email protected]
on 11 Oct 2013 at 10:03
I am trying to find a way to see presence of iPhone via upnp
how can I use this to watch for a discovery and notify another script that the
named device was discoverable?
Original issue reported on code.google.com by [email protected]
on 10 Dec 2013 at 1:32
Miranda (v1-1) does not recognize HTTP/1.0 headers returned by the device.
Steps to reproduce:
1. upnp> msearch
2. upnp> host get 0
3. upnp> host send 0 WANConnectionDevice WANIPConnection GetExternalIPAddress
SOAP request failed with error code: 200 OK
The expected output would have been:
NewExternalIPAddress : 82.171.240.239
Instead, an error is returned:
SOAP request failed with error code: 200 OK
The apparent reason for this is because Miranda checks the response for HTTP
error code 200 to determine if the request was successful. It does this using
the following code:
if not header.upper().startswith('HTTP/1.1 200'):
However, my particular device returns an HTTP/1.0 response and not HTTP/1.1.
I've attached a patch to fix the problem. Apply it with:
miranda_1-1/$ patch -p0 < miranda-http10.patch
patching file miranda.py
Original issue reported on code.google.com by [email protected]
on 11 Dec 2011 at 10:59
Attachments:
What steps will reproduce the problem?
1. Use Miranda's sendSOAP method
2. communication with remote service fails
on line 410
(http://code.google.com/p/miranda-upnp/source/browse/trunk/src/miranda.py#410)
the "SOAP-ENV" schema is incorrectly typed without a trailing slash:
http://schemas.xmlsoap.org/soap/envelope
Should be:
http://schemas.xmlsoap.org/soap/envelope/
Browsing to the schema URL itself ("http://schemas.xmlsoap.org/soap/envelope/")
clearly shows a trailing slash.
Someone else has run in to this problem as well:
http://www.issackelly.com/blog/2012/08/04/wemo-api-hacking/
Original issue reported on code.google.com by [email protected]
on 24 Dec 2012 at 1:20
What steps will reproduce the problem?
1. Use MSEARCH
2. Type host get <number>
What is the expected output? What do you see instead?
I expect miranda to show all possible options for my rendering device. Instead,
it shows a bunch of 404 errors. The reason is that the xml file shows the
following snippet:
<serviceList>
<service>
<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
<controlURL>/upnp/control/RenderingControl1</controlURL>
<eventSubURL>/upnp/event/RenderingControl1</eventSubURL>
<SCPDURL>RenderingControl1.xml</SCPDURL>
</service>
As you can see, the SCPDURL is relative. The path of the service information
xml is http://<ip address>:52235/dmr/SamsungMRDesc.xml, which means that the
SCPDURL will become http://<ip address>:52235/dmr/RenderingControl1.xml.
Miranda will turn this url instead into http://<ip
address>:52235/RenderingControl1.xml, which is invalid.
What version of the product are you using? On what operating system?
1.0
Original issue reported on code.google.com by [email protected]
on 6 Jan 2012 at 8:22
Duplicate binding to UDP ports by OSX and other BSD-alikes fails unless
SO_REUSEPORT is set. This is undefined on other platforms (Linux), hence the
try/except.
Original issue reported on code.google.com by [email protected]
on 27 Dec 2012 at 11:58
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.