Skip to content

Commit

Permalink
Update MediaObject.cs
Browse files Browse the repository at this point in the history
Prevent unnecessary exception  with Volumio streams advertising
  • Loading branch information
dheijl committed Aug 10, 2020
1 parent 5091987 commit cee63da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DeveloperToolsForUPnPTechnologies/UPNPAVCDSML/MediaObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cee63da

Please sign in to comment.