add xbox one workaround

pull/1154/head
Luke Pulverenti 7 years ago
parent c7656fb604
commit 3a1efe9edc

@ -194,7 +194,10 @@ namespace Emby.Dlna.PlayTo
GeneralCommandType.SetSubtitleStreamIndex.ToString()
},
SupportsMediaControl = true
SupportsMediaControl = true,
// xbox one creates a new uuid everytime it restarts
SupportsPersistentIdentifier = (device.Properties.ModelName ?? string.Empty).IndexOf("xbox", StringComparison.OrdinalIgnoreCase) == -1
});
_logger.Info("DLNA Session created for {0} - {1}", device.Properties.Name, device.Properties.ModelName);

Loading…
Cancel
Save