Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    postSyncJobs

    Gets sync jobs.

    Requires authentication as user

    postSyncJobs

    Request
    post /Sync/Jobs
    Parameters
    Name In Type Default Notes
    *body body SyncJobRequest

    SyncJobRequest:

    Responses
    Status Code Type Description Samples
    200 SyncJobCreationResult

    Operation successful. Returning a SyncJobCreationResult object.

    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

    SyncJobRequest

    Emby.Server.Sync.Model.SyncJobRequest
    Name Type Notes
    TargetId string
    ItemIds array
    Category SyncCategory
    ParentId string
    Quality string
    Profile string
    Container string
    VideoCodec string
    AudioCodec string
    Name string
    UserId string
    UnwatchedOnly boolean
    SyncNewContent boolean
    ItemLimit integer (int32)
    Bitrate integer (int32)
    Downloaded boolean

    SyncCategory

    see also MediaBrowser.Model.Sync.SyncCategory

    Enum Values
    • Latest
    • NextUp
    • Resume

    SyncJobCreationResult

    Emby.Server.Sync.Model.SyncJobCreationResult
    Name Type Notes
    Job SyncJob[]
    JobItems SyncJobItem[]

    SyncJob

    see also MediaBrowser.Model.Sync.SyncJob

    Name Type Notes
    Id integer (int64)

    The identifier.

    TargetId string

    The device identifier.

    InternalTargetId integer (int64)
    TargetName string

    The name of the target.

    Quality string

    The quality.

    Bitrate integer (int32)

    The bitrate.

    Container string
    VideoCodec string
    AudioCodec string
    Profile string

    The profile.

    Category SyncCategory
    ParentId integer (int64)

    The parent identifier.

    Progress number (double)

    The current progress.

    Name string

    The name.

    Status SyncJobStatus
    UserId integer (int64)

    The user identifier.

    UnwatchedOnly boolean

    A value indicating whether [unwatched only].

    SyncNewContent boolean

    A value indicating whether [synchronize new content].

    ItemLimit integer (int32)

    The item limit.

    RequestedItemIds array

    The requested item ids.

    ItemId integer (int64)
    DateCreated string (date-time)

    The date created.

    DateLastModified string (date-time)

    The date last modified.

    ItemCount integer (int32)

    The item count.

    ParentName string
    PrimaryImageItemId string
    PrimaryImageTag string

    SyncJobStatus

    see also MediaBrowser.Model.Sync.SyncJobStatus

    Enum Values
    • Queued
    • Converting
    • ReadyToTransfer
    • Transferring
    • Completed
    • CompletedWithError
    • Failed

    SyncJobItem

    Emby.Server.Sync.Model.SyncJobItem
    Name Type Notes
    Id integer (int64)
    JobId integer (int64)
    ItemId integer (int64)
    ItemName string
    MediaSourceId string
    MediaSource MediaSourceInfo[]
    TargetId string
    InternalTargetId integer (int64)
    OutputPath string
    Status SyncJobItemStatus
    Progress number (double)
    DateCreated string (date-time)
    PrimaryImageItemId string
    PrimaryImageTag string
    TemporaryPath string
    AdditionalFiles ItemFileInfo[]

    MediaSourceInfo

    see also MediaBrowser.Model.Dto.MediaSourceInfo

    Name Type Notes
    Protocol MediaProtocol
    Id string
    Path string
    EncoderPath string
    EncoderProtocol MediaProtocol
    Type MediaSourceType
    ProbePath string
    ProbeProtocol MediaProtocol
    Container string
    Size integer (int64)
    Name string
    SortName string
    IsRemote boolean

    Differentiate internet url vs local network

    HasMixedProtocols boolean
    RunTimeTicks integer (int64)
    ContainerStartTimeTicks integer (int64)
    SupportsTranscoding boolean
    TrancodeLiveStartIndex integer (int32)
    WallClockStart string (date-time)
    SupportsDirectStream boolean
    SupportsDirectPlay boolean
    IsInfiniteStream boolean
    RequiresOpening boolean
    OpenToken string
    RequiresClosing boolean
    LiveStreamId string
    BufferMs integer (int32)
    RequiresLooping boolean
    SupportsProbing boolean
    Video3DFormat Video3DFormat
    MediaStreams MediaStream[]
    Formats array
    Bitrate integer (int32)
    Timestamp TransportStreamTimestamp
    RequiredHttpHeaders object
    DirectStreamUrl string
    AddApiKeyToDirectStreamUrl boolean
    TranscodingUrl string
    TranscodingSubProtocol string
    TranscodingContainer string
    AnalyzeDurationMs integer (int32)
    ReadAtNativeFramerate boolean
    DefaultAudioStreamIndex integer (int32)
    DefaultSubtitleStreamIndex integer (int32)
    ItemId string

    Used only by our Windows app. Not used by Emby Server. The id of the item that this mediasource belongs to, if there is one Also used by Emby for Kodi

    ServerId string

    Used only by our Windows app. Not used by Emby Server.

    MediaProtocol

    see also MediaBrowser.Model.MediaInfo.MediaProtocol

    Enum Values
    • File
    • Http
    • Rtmp
    • Rtsp
    • Udp
    • Rtp
    • Ftp
    • Mms

    MediaSourceType

    see also MediaBrowser.Model.Dto.MediaSourceType

    Enum Values
    • Default
    • Grouping
    • Placeholder

    Video3DFormat

    see also MediaBrowser.Model.Entities.Video3DFormat

    Enum Values
    • HalfSideBySide
    • FullSideBySide
    • FullTopAndBottom
    • HalfTopAndBottom
    • MVC

    MediaStream

    see also MediaBrowser.Model.Entities.MediaStream

    Name Type Notes
    Codec string

    The codec.

    Probe Field: codec_name
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video, MediaBrowser.Model.Entities.MediaStreamType.Audio, MediaBrowser.Model.Entities.MediaStreamType.Subtitle
    Related Enums: T:Emby.Media.Model.Enums.VideoMediaTypes, Emby.Media.Model.Enums.AudioMediaTypes, Emby.Media.Model.Enums.SubtitleMediaTypes.

    CodecTag string

    The codec tag.

    Probe Field: codec_tag
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video, MediaBrowser.Model.Entities.MediaStreamType.Audio, MediaBrowser.Model.Entities.MediaStreamType.Subtitle.

    Language string

    The language.

    Probe Field: tags["language"]
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Audio, MediaBrowser.Model.Entities.MediaStreamType.Subtitle.

    ColorTransfer string

    The color transfer characteristics.

    Probe Field: color_transfer
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video
    Related Enum: Emby.Media.Model.Enums.ColorTransfers.

    ColorPrimaries string

    The chromaticity coordinates of the source primaries.

    Probe Field: color_primaries
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video
    Related Enum: Emby.Media.Model.Enums.ColorPrimaries.

    ColorSpace string

    The YUV colorspace type.

    Probe Field: color_space
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video
    Related Enum: Emby.Media.Model.Enums.ColorSpaces.

    Comment string

    The comment.

    Probe Field: tags["comment"]
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video, MediaBrowser.Model.Entities.MediaStreamType.Audio, MediaBrowser.Model.Entities.MediaStreamType.Subtitle.

    StreamStartTimeTicks integer (int64)

    The start time of the stream.

    Probe Field: start_time
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video, MediaBrowser.Model.Entities.MediaStreamType.Audio, MediaBrowser.Model.Entities.MediaStreamType.Subtitle.
    Actual type: System.TimeSpan.

    TimeBase string

    The time-base.

    Probe Field: time_base
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video, MediaBrowser.Model.Entities.MediaStreamType.Audio, MediaBrowser.Model.Entities.MediaStreamType.Subtitle.
    Actual type: Emby.Media.Model.Types.Rational.

    Title string

    The title.

    Probe Field: tags["title"]
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video, MediaBrowser.Model.Entities.MediaStreamType.Audio, MediaBrowser.Model.Entities.MediaStreamType.Subtitle.

    Extradata string

    The extradata.

    Probe Field: extradata
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video, MediaBrowser.Model.Entities.MediaStreamType.Audio, MediaBrowser.Model.Entities.MediaStreamType.Subtitle.

    Currently, this value is only parsed for subtitle streams with codec Emby.Media.Model.Enums.SubtitleMediaTypes.dvb_teletext.

    VideoRange string
    DisplayTitle string

    The display title.

    Custom property set by the application.

    DisplayLanguage string

    The display language.

    Custom property set by the application.

    NalLengthSize string

    The nal length size.

    Probe Field: nal_length_size
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video of type Emby.Media.Model.Enums.VideoMediaTypes.h264.
    Actual type: System.Int32.

    IsInterlaced boolean

    A value indicating whether this instance is interlaced.

    Probe Field: field_order != progressive
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video.

    IsAVC boolean
    ChannelLayout string

    The channel layout.

    Probe Field: channel_layout
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Audio
    Related Enum: MediaBrowser.Model.Entities.MediaStream.ChannelLayout.

    BitRate integer (int32)

    The bit rate.

    Probe Field: bit_rate
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video, MediaBrowser.Model.Entities.MediaStreamType.Audio.

    THIS VALUE IS PROCESSED BY CUSTOM LOGIC AND DOES NOT NECESSARILY MATCH FFPROBE RESULTS!

    BitDepth integer (int32)

    The bit depth.

    Probe Field: bits_per_sample or bits_per_raw_sample
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video, MediaBrowser.Model.Entities.MediaStreamType.Audio.

    RefFrames integer (int32)

    The reference frames.

    Probe Field: refs
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video.

    Rotation integer (int32)
    Channels integer (int32)

    The audio channel count.

    Probe Field: channels
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Audio.

    SampleRate integer (int32)

    The sample rate.

    Probe Field: sample_rate
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Audio
    Related Enum: Emby.Media.Model.Enums.SampleRates.

    IsDefault boolean

    A value indicating whether this instance is default.

    Probe Field: disposition["default"]
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video, MediaBrowser.Model.Entities.MediaStreamType.Audio, MediaBrowser.Model.Entities.MediaStreamType.Subtitle.

    IsForced boolean

    A value indicating whether this instance is forced.

    Probe Field: disposition["forced"]
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video, MediaBrowser.Model.Entities.MediaStreamType.Audio, MediaBrowser.Model.Entities.MediaStreamType.Subtitle.

    IsHearingImpaired boolean
    Height integer (int32)

    The height.

    Probe Field: height
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video.

    Width integer (int32)

    The width.

    Probe Field: width
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video.

    AverageFrameRate number (float)

    The average frame rate..

    Probe Field: avg_frame_rate
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video.
    Actual type: Emby.Media.Model.Types.Rational.

    RealFrameRate number (float)

    The real frame rate..

    Probe Field: r_frame_rate
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video.
    Actual type: Emby.Media.Model.Types.Rational.

    Profile string

    The profile.

    Probe Field: profile
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video, MediaBrowser.Model.Entities.MediaStreamType.Audio
    Related Enums: Emby.Media.Model.Enums.AacProfiles, Emby.Media.Model.Enums.AvcProfiles, Emby.Media.Model.Enums.H263Profiles, Emby.Media.Model.Enums.HevcProfiles, Emby.Media.Model.Enums.Mpeg2Profiles,Emby.Media.Model.Enums.Vc1Profiles, Emby.Media.Model.Enums.Mpeg4Profiles, Emby.Media.Model.Enums.Vp8Profiles, Emby.Media.Model.Enums.Vp9Profiles.

    Type MediaStreamType

    Enum MediaStreamType

    AspectRatio string

    The aspect ratio.

    Probe Field: display_aspect_ratio
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video.
    Actual type: Emby.Media.Model.Types.Rational.

    Index integer (int32)

    The index of the stream inside its container.

    Probe Field: index
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video, MediaBrowser.Model.Entities.MediaStreamType.Audio, MediaBrowser.Model.Entities.MediaStreamType.Subtitle.

    IsExternal boolean

    A value indicating whether this instance is external.

    Custom property set by the application.

    DeliveryMethod SubtitleDeliveryMethod
    DeliveryUrl string

    The delivery URL.

    Custom property set by the application.

    IsExternalUrl boolean

    A value indicating whether this instance is external URL.

    Custom property set by the application.

    IsTextSubtitleStream boolean
    SupportsExternalStream boolean

    A value indicating whether [supports external stream].

    Path string

    The filename.

    Protocol MediaProtocol
    PixelFormat string

    The pixel format.

    Probe Field: pix_fmt
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video.
    Actual type: MediaBrowser.Model.Entities.MediaStream.PixelFormat.

    Level number (double)

    The codec level.

    Probe Field: level
    Applies to: MediaBrowser.Model.Entities.MediaStreamType.Video
    Related Enums: Emby.Media.Model.Enums.AvcLevels, Emby.Media.Model.Enums.H263Levels, Emby.Media.Model.Enums.HevcLevels, Emby.Media.Model.Enums.Mpeg2Levels,Emby.Media.Model.Enums.Vc1Levels, Emby.Media.Model.Enums.Mpeg4Levels, Emby.Media.Model.Enums.Vp8Levels, Emby.Media.Model.Enums.Vp9Levels.

    IsAnamorphic boolean

    A value indicating whether this instance is anamorphic.

    ExtendedVideoType ExtendedVideoTypes
    ExtendedVideoSubType ExtendedVideoSubTypes
    ExtendedVideoSubTypeDescription string

    The extended video sub-type description.

    ItemId string

    Used only by our Windows app. Not used by Emby Server.

    ServerId string

    Used only by our Windows app. Not used by Emby Server.

    AttachmentSize integer (int32)

    The size of the attachment.

    MimeType string

    The type of the MIME.

    SubtitleLocationType SubtitleLocationType

    MediaStreamType

    see also MediaBrowser.Model.Entities.MediaStreamType

    Enum Values
    • Unknown
    • Audio
    • Video
    • Subtitle
    • EmbeddedImage
    • Attachment
    • Data

    SubtitleDeliveryMethod

    see also MediaBrowser.Model.Dlna.SubtitleDeliveryMethod

    Enum Values
    • Encode
    • Embed
    • External
    • Hls
    • VideoSideData

    ExtendedVideoTypes

    see also MediaBrowser.Model.Entities.ExtendedVideoTypes

    Enum Values
    • None
    • Hdr10
    • Hdr10Plus
    • HyperLogGamma
    • DolbyVision

    ExtendedVideoSubTypes

    see also MediaBrowser.Model.Entities.ExtendedVideoSubTypes

    Enum Values
    • None
    • Hdr10
    • HyperLogGamma
    • Hdr10Plus0
    • DoviProfile02
    • DoviProfile10
    • DoviProfile22
    • DoviProfile30
    • DoviProfile42
    • DoviProfile50
    • DoviProfile61
    • DoviProfile76
    • DoviProfile81
    • DoviProfile82
    • DoviProfile83
    • DoviProfile84
    • DoviProfile85
    • DoviProfile92

    SubtitleLocationType

    see also MediaBrowser.Model.Entities.SubtitleLocationType

    Enum Values
    • InternalStream
    • VideoSideData

    TransportStreamTimestamp

    see also MediaBrowser.Model.MediaInfo.TransportStreamTimestamp

    Enum Values
    • None
    • Zero
    • Valid

    SyncJobItemStatus

    see also MediaBrowser.Model.Sync.SyncJobItemStatus

    Enum Values
    • Queued
    • Converting
    • ReadyToTransfer
    • Transferring
    • Synced
    • Failed

    ItemFileInfo

    Emby.Server.Sync.Model.ItemFileInfo
    Name Type Notes
    Type ItemFileType
    Name string
    Path string
    ImageType ImageType

    Enum ImageType

    Index integer (int32)

    ItemFileType

    Emby.Server.Sync.Model.ItemFileType
    Enum Values
    • Media
    • Image
    • Subtitles

    ImageType

    see also MediaBrowser.Model.Entities.ImageType

    Enum Values
    • Primary
    • Art
    • Backdrop
    • Banner
    • Logo
    • Thumb
    • Disc
    • Box
    • Screenshot
    • Menu
    • Chapter
    • BoxRear
    • Thumbnail
    • LogoLight
    • LogoLightColor
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.