public async Task <string> GetMetadataToId(string id) { var getMetadataRequest = MakeRawSoapRequest(_mediaServerDevice.ContentDirectoryControlUri, new XElement(URN_ContentDirectory + "Browse"), new[] { "ObjectID", id, "BrowseFlag", "BrowseMetadata", "Filter", "", "StartingIndex", "0", "RequestedCount", "1", "SortCriteria", "", }); IProgress <string> progress = new NullProgress(); var getMetadataResponse = await GetSoapAsync(getMetadataRequest); var metadata = getMetadataResponse.Element("Result").Value; return(metadata); }
public AVTransport(MediaRendererDevice mediaRendererDevice) { _mediaRendererDevice = mediaRendererDevice; _progress = new NullProgress(); }