postDlnaProfiles
Creates a profile
Requires authentication as administrator
postDlnaProfiles
Request
post /Dlna/Profiles
Parameters
| Name | In | Type | Default | Notes |
|---|---|---|---|---|
| *body | body | DlnaProfile | DlnaProfile: |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 | Operation successful. Empty response. |
||
| 400 | Bad Request. Server cannot process request. |
||
| 401 | Unauthorized. Client needs to authenticate. |
||
| 403 | Forbidden. No permission for the reqested operation. |
||
| 404 | Resource not found or unavailable. |
||
| 500 | Server error. |
Definitions
DlnaProfile
Emby.Dlna.Profiles.DlnaProfile
| Name | Type | Notes |
|---|---|---|
| Type | DeviceProfileType | |
| Path | string | |
| UserId | string | |
| AlbumArtPn | string | |
| MaxAlbumArtWidth | integer (int32) | |
| MaxAlbumArtHeight | integer (int32) | |
| MaxIconWidth | integer (int32) | |
| MaxIconHeight | integer (int32) | |
| FriendlyName | string | |
| Manufacturer | string | |
| ManufacturerUrl | string | |
| ModelName | string | |
| ModelDescription | string | |
| ModelNumber | string | |
| ModelUrl | string | |
| SerialNumber | string | |
| EnableAlbumArtInDidl | boolean | |
| EnableSingleAlbumArtLimit | boolean | |
| EnableSingleSubtitleLimit | boolean | |
| ProtocolInfo | string | |
| TimelineOffsetSeconds | integer (int32) | |
| RequiresPlainVideoItems | boolean | |
| RequiresPlainFolders | boolean | |
| IgnoreTranscodeByteRangeRequests | boolean | |
| SupportsSamsungBookmark | boolean | |
| Identification | DeviceIdentification[] | |
| ProtocolInfoDetection | ProtocolInfoDetection[] | |
| Name | string | The name. |
| Id | string | |
| SupportedMediaTypes | string | |
| MaxStreamingBitrate | integer (int64) | |
| MusicStreamingTranscodingBitrate | integer (int32) | |
| MaxStaticMusicBitrate | integer (int32) | |
| DeclaredFeatures | array | |
| DirectPlayProfiles | DirectPlayProfile[] | The direct play profiles. |
| TranscodingProfiles | TranscodingProfile[] | The transcoding profiles. |
| ContainerProfiles | ContainerProfile[] | |
| CodecProfiles | CodecProfile[] | |
| ResponseProfiles | ResponseProfile[] | |
| SubtitleProfiles | SubtitleProfile[] |
DeviceProfileType
Emby.Dlna.Profiles.DeviceProfileType
Enum Values
- System
- User
DeviceIdentification
Emby.Dlna.Profiles.DeviceIdentification
| Name | Type | Notes |
|---|---|---|
| FriendlyName | string | |
| ModelNumber | string | |
| SerialNumber | string | |
| ModelName | string | |
| ModelDescription | string | |
| DeviceDescription | string | |
| ModelUrl | string | |
| Manufacturer | string | |
| ManufacturerUrl | string | |
| Headers | HttpHeaderInfo[] |
HttpHeaderInfo
Emby.Dlna.Profiles.HttpHeaderInfo
| Name | Type | Notes |
|---|---|---|
| Name | string | |
| Value | string | |
| Match | HeaderMatchType |
HeaderMatchType
Emby.Dlna.Profiles.HeaderMatchType
Enum Values
- Equals
- Regex
- Substring
ProtocolInfoDetection
Emby.Dlna.Profiles.ProtocolInfoDetection
| Name | Type | Notes |
|---|---|---|
| EnabledForVideo | boolean | |
| EnabledForAudio | boolean | |
| EnabledForPhotos | boolean |
DirectPlayProfile
| Name | Type | Notes |
|---|---|---|
| Container | string | |
| AudioCodec | string | |
| VideoCodec | string | |
| Type | DlnaProfileType |
DlnaProfileType
Enum Values
- Audio
- Video
- Photo
TranscodingProfile
| Name | Type | Notes |
|---|---|---|
| Container | string | |
| Type | DlnaProfileType | |
| VideoCodec | string | |
| AudioCodec | string | |
| Protocol | string | |
| EstimateContentLength | boolean | |
| EnableMpegtsM2TsMode | boolean | |
| TranscodeSeekInfo | TranscodeSeekInfo | |
| CopyTimestamps | boolean | |
| Context | EncodingContext | |
| MaxAudioChannels | string | |
| MinSegments | integer (int32) | |
| SegmentLength | integer (int32) | |
| BreakOnNonKeyFrames | boolean | |
| AllowInterlacedVideoStreamCopy | boolean | |
| ManifestSubtitles | string | |
| MaxManifestSubtitles | integer (int32) | |
| MaxWidth | integer (int32) | |
| MaxHeight | integer (int32) | |
| FillEmptySubtitleSegments | boolean |
TranscodeSeekInfo
Enum Values
- Auto
- Bytes
EncodingContext
Enum Values
- Streaming
- Static
ContainerProfile
| Name | Type | Notes |
|---|---|---|
| Type | DlnaProfileType | |
| Conditions | ProfileCondition[] | |
| Container | string |
ProfileCondition
| Name | Type | Notes |
|---|---|---|
| Condition | ProfileConditionType | |
| Property | ProfileConditionValue | |
| Value | string | |
| IsRequired | boolean |
ProfileConditionType
Enum Values
- Equals
- NotEquals
- LessThanEqual
- GreaterThanEqual
- EqualsAny
ProfileConditionValue
Enum Values
- AudioChannels
- AudioBitrate
- AudioProfile
- Width
- Height
- Has64BitOffsets
- PacketLength
- VideoBitDepth
- VideoBitrate
- VideoFramerate
- VideoLevel
- VideoProfile
- VideoTimestamp
- IsAnamorphic
- RefFrames
- NumAudioStreams
- NumVideoStreams
- IsSecondaryAudio
- VideoCodecTag
- IsAvc
- IsInterlaced
- AudioSampleRate
- AudioBitDepth
- VideoRange
- VideoRotation
- IsExternalAudio
CodecProfile
see also MediaBrowser.Model.Dlna.CodecProfile
| Name | Type | Notes |
|---|---|---|
| Type | CodecType | |
| Conditions | ProfileCondition[] | |
| ApplyConditions | ProfileCondition[] | |
| Codec | string | |
| Container | string |
CodecType
see also MediaBrowser.Model.Dlna.CodecType
Enum Values
- Video
- VideoAudio
- Audio
ResponseProfile
| Name | Type | Notes |
|---|---|---|
| Container | string | |
| AudioCodec | string | |
| VideoCodec | string | |
| Type | DlnaProfileType | |
| OrgPn | string | |
| MimeType | string | |
| Conditions | ProfileCondition[] |
SubtitleProfile
| Name | Type | Notes |
|---|---|---|
| Format | string | |
| Method | SubtitleDeliveryMethod | |
| DidlMode | string | |
| Language | string | |
| Container | string | |
| Protocol | string |
SubtitleDeliveryMethod
Enum Values
- Encode
- Embed
- External
- Hls
- VideoSideData