Skip to content

The Free Software Media System - Server Backend & API

Improved PlayTo profile Samsung F series

7illusionse4a84aac9744
diff --git a/MediaBrowser.Dlna/DlnaManager.cs b/MediaBrowser.Dlna/DlnaManager.cs
index b1e6dc5e5d..6766400d9e 100644
--- a/MediaBrowser.Dlna/DlnaManager.cs
+++ b/MediaBrowser.Dlna/DlnaManager.cs
@@ -40,7 +40,7 @@ namespace MediaBrowser.Dlna
new TranscodingProfile
{
Container = "mp3",
- Type = DlnaProfileType.Audio
+ Type = DlnaProfileType.Audio,
},
new TranscodingProfile
{
@@ -54,7 +54,7 @@ namespace MediaBrowser.Dlna
new DirectPlayProfile
{
Containers = new[]{"mp3"},
- Type = DlnaProfileType.Audio
+ Type = DlnaProfileType.Audio,
},
new DirectPlayProfile
{
@@ -74,13 +74,15 @@ namespace MediaBrowser.Dlna
Type = DlnaProfileType.Video
}
}
+
+
});
list.Add(new DeviceProfile
{
Name = "Samsung TV (E/F-series)",
ClientType = "DLNA",
- FriendlyName = @"(^\[TV\][A-Z]{2}\d{2}(E|F)[A-Z]?\d{3,4}.*)|^\[TV\] Samsung",
+ FriendlyName = @"(^\[TV\][A-Z]{2}\d{2}(E|F)[A-Z]?\d{3,4}.*)|^\[TV\] Samsung|(^\[TV\]Samsung [A-Z]{2}\d{2}(E|F)[A-Z]?\d{3,4}.*)",
ModelNumber = @"(1\.0)|(AllShare1\.0)",
TranscodingProfiles = new[]