From cee63daa941a7969a83d6af86a7731928592e056 Mon Sep 17 00:00:00 2001 From: dheijl Date: Mon, 10 Aug 2020 14:50:52 +0200 Subject: [PATCH] Update MediaObject.cs Prevent unnecessary exception with Volumio streams advertising --- DeveloperToolsForUPnPTechnologies/UPNPAVCDSML/MediaObject.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DeveloperToolsForUPnPTechnologies/UPNPAVCDSML/MediaObject.cs b/DeveloperToolsForUPnPTechnologies/UPNPAVCDSML/MediaObject.cs index 45d942b..2f3cde3 100644 --- a/DeveloperToolsForUPnPTechnologies/UPNPAVCDSML/MediaObject.cs +++ b/DeveloperToolsForUPnPTechnologies/UPNPAVCDSML/MediaObject.cs @@ -1757,6 +1757,8 @@ out ArrayList proposedChildren instantiateTheseForChildItems, instantiateTheseForChildContainers ); + if (String.IsNullOrEmpty(this.Title)) { + this.Title = "(no title found)"; this.ThrowExceptionIfBadTitle(this.Title); this.ThrowExceptionIfBadClass(this.Class);