#!/bin/bash
curl http://$1:8008/ssdp/device-desc.xml 2> /dev/null | grep -oP '(?<=friendlyName>)[^<]+' 
