diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-09-17 01:30:11 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-09-17 01:30:11 -0400 |
| commit | 3a1efe9edc92c1bbe7f280e636339bc0aceb0629 (patch) | |
| tree | 8334eba256809d089ed6c2636b216ebe2e1ba527 | |
| parent | c7656fb604a52583ff188b634cf554b140d961ba (diff) | |
add xbox one workaround
| -rw-r--r-- | Emby.Dlna/PlayTo/PlayToManager.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Emby.Dlna/PlayTo/PlayToManager.cs b/Emby.Dlna/PlayTo/PlayToManager.cs index 6f2f5f24b..dd30dfc3d 100644 --- a/Emby.Dlna/PlayTo/PlayToManager.cs +++ b/Emby.Dlna/PlayTo/PlayToManager.cs @@ -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); |
