Skip to content

Instantly share code, notes, and snippets.

@hepto
Created July 26, 2018 13:21
Show Gist options
  • Save hepto/a85fa7130b7ea970357b32e5732410c1 to your computer and use it in GitHub Desktop.
Save hepto/a85fa7130b7ea970357b32e5732410c1 to your computer and use it in GitHub Desktop.
Quick way to find all media renderers on the network
gssdp-discover --target=urn:schemas-upnp-org:device:MediaRenderer:1 -n 3 | egrep -o 'http?://[^ ]+' | xargs -I % sh -c 'xmllint --xpath "string(//*[local-name()='\''friendlyName'\''])" %; echo;' | sort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment