aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/Profiles/DefaultProfile.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Dlna/Profiles/DefaultProfile.cs')
-rw-r--r--Emby.Dlna/Profiles/DefaultProfile.cs179
1 files changed, 0 insertions, 179 deletions
diff --git a/Emby.Dlna/Profiles/DefaultProfile.cs b/Emby.Dlna/Profiles/DefaultProfile.cs
deleted file mode 100644
index 54a0a87a8..000000000
--- a/Emby.Dlna/Profiles/DefaultProfile.cs
+++ /dev/null
@@ -1,179 +0,0 @@
-#pragma warning disable CS1591
-
-using System;
-using System.Globalization;
-using MediaBrowser.Model.Dlna;
-
-namespace Emby.Dlna.Profiles
-{
- [System.Xml.Serialization.XmlRoot("Profile")]
- public class DefaultProfile : DeviceProfile
- {
- 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:*";
-
- Manufacturer = "Jellyfin";
- ModelDescription = "UPnP/AV 1.0 Compliant Media Server";
- ModelName = "Jellyfin Server";
- ModelNumber = "01";
- ModelUrl = "https://github.com/jellyfin/jellyfin";
- ManufacturerUrl = "https://github.com/jellyfin/jellyfin";
-
- AlbumArtPn = "JPEG_SM";
-
- MaxAlbumArtHeight = 480;
- MaxAlbumArtWidth = 480;
-
- MaxIconWidth = 48;
- MaxIconHeight = 48;
-
- MaxStreamingBitrate = 140000000;
- MaxStaticBitrate = 140000000;
- MusicStreamingTranscodingBitrate = 192000;
-
- EnableAlbumArtInDidl = false;
-
- TranscodingProfiles = new[]
- {
- new TranscodingProfile
- {
- Container = "mp3",
- AudioCodec = "mp3",
- Type = DlnaProfileType.Audio
- },
-
- new TranscodingProfile
- {
- Container = "ts",
- Type = DlnaProfileType.Video,
- AudioCodec = "aac",
- VideoCodec = "h264"
- },
-
- new TranscodingProfile
- {
- Container = "jpeg",
- Type = DlnaProfileType.Photo
- }
- };
-
- DirectPlayProfiles = new[]
- {
- new DirectPlayProfile
- {
- // play all
- Container = string.Empty,
- Type = DlnaProfileType.Video
- },
-
- new DirectPlayProfile
- {
- // play all
- Container = string.Empty,
- Type = DlnaProfileType.Audio
- }
- };
-
- SubtitleProfiles = new[]
- {
- new SubtitleProfile
- {
- Format = "srt",
- Method = SubtitleDeliveryMethod.External,
- },
-
- new SubtitleProfile
- {
- Format = "sub",
- Method = SubtitleDeliveryMethod.External,
- },
-
- new SubtitleProfile
- {
- Format = "sup",
- Method = SubtitleDeliveryMethod.External
- },
-
- new SubtitleProfile
- {
- Format = "srt",
- Method = SubtitleDeliveryMethod.Embed
- },
-
- new SubtitleProfile
- {
- Format = "ass",
- Method = SubtitleDeliveryMethod.Embed
- },
-
- new SubtitleProfile
- {
- Format = "ssa",
- Method = SubtitleDeliveryMethod.Embed
- },
-
- new SubtitleProfile
- {
- Format = "smi",
- Method = SubtitleDeliveryMethod.Embed
- },
-
- new SubtitleProfile
- {
- Format = "dvdsub",
- Method = SubtitleDeliveryMethod.Embed
- },
-
- new SubtitleProfile
- {
- Format = "pgs",
- Method = SubtitleDeliveryMethod.Embed
- },
-
- new SubtitleProfile
- {
- Format = "pgssub",
- Method = SubtitleDeliveryMethod.Embed
- },
-
- new SubtitleProfile
- {
- Format = "sub",
- Method = SubtitleDeliveryMethod.Embed
- },
-
- new SubtitleProfile
- {
- Format = "sup",
- Method = SubtitleDeliveryMethod.Embed
- },
-
- new SubtitleProfile
- {
- Format = "subrip",
- Method = SubtitleDeliveryMethod.Embed
- },
-
- new SubtitleProfile
- {
- Format = "vtt",
- Method = SubtitleDeliveryMethod.Embed
- }
- };
-
- ResponseProfiles = new[]
- {
- new ResponseProfile
- {
- Container = "m4v",
- Type = DlnaProfileType.Video,
- MimeType = "video/mp4"
- }
- };
- }
- }
-}