diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-03-10 11:50:08 +0100 |
|---|---|---|
| committer | Joshua M. Boniface <joshua@boniface.me> | 2021-03-21 19:08:26 -0400 |
| commit | 53576fe1b88e970ffecc817f3824a22de81e9d16 (patch) | |
| tree | 68cb19bac7a3842a8ea66547502eb167a1b4f0fc /Emby.Dlna | |
| parent | da3b7bb6840f99e17e47b4e0d9844445f8361122 (diff) | |
Merge pull request #5403 from BaronGreenback/DLNAProfileFix
(cherry picked from commit 5592967497b4808330eea010981810181489d41d)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
Diffstat (limited to 'Emby.Dlna')
| -rw-r--r-- | Emby.Dlna/Profiles/DefaultProfile.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Emby.Dlna/Profiles/DefaultProfile.cs b/Emby.Dlna/Profiles/DefaultProfile.cs index d4af72b626..8eaf12ba9a 100644 --- a/Emby.Dlna/Profiles/DefaultProfile.cs +++ b/Emby.Dlna/Profiles/DefaultProfile.cs @@ -1,5 +1,7 @@ #pragma warning disable CS1591 +using System; +using System.Globalization; using System.Linq; using MediaBrowser.Model.Dlna; @@ -10,6 +12,7 @@ namespace Emby.Dlna.Profiles { public DefaultProfile() { + Id = Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture); Name = "Generic Device"; ProtocolInfo = "http-get:*:video/mpeg:*,http-get:*:video/mp4:*,http-get:*:video/vnd.dlna.mpeg-tts:*,http-get:*:video/avi:*,http-get:*:video/x-matroska:*,http-get:*:video/x-ms-wmv:*,http-get:*:video/wtv:*,http-get:*:audio/mpeg:*,http-get:*:audio/mp3:*,http-get:*:audio/mp4:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/wav:*,http-get:*:audio/L16:*,http-get:*:image/jpeg:*,http-get:*:image/png:*,http-get:*:image/gif:*,http-get:*:image/tiff:*"; |
