intel / dleyna-control

dLeyna-control is a Digital Media Player written in python to demonstrate how to use the dleyna DMS APIs. It detects Digital Media Servers on the local area network and allows users to browse, search and play their contents.
https://01.org/dleyna/
GNU Lesser General Public License v2.1
8 stars 12 forks source link

[UPnP] Do not make duplicate found_server_callback() calls #33

Closed jku closed 11 years ago

jku commented 11 years ago

Use the same code for GetServers() callback and the FoundServer handler: GetServers() code path wasn't checking for existing servers, so duplicates could appear with good timing.

Also mark signal handlers as 'private' methods.

Signed-off-by: Jussi Kukkonen jussi.kukkonen@intel.com

markdryan commented 11 years ago

Pushed. Thanks.