add xbox one workaround

This commit is contained in:
Luke Pulverenti 2017-09-17 01:30:11 -04:00
parent c7656fb604
commit 3a1efe9edc

View File

@ -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);