This is strictly used as a data transfer object from the api layer. This holds information about a BaseItem in a format that is convenient for the client.

BaseItemDto

interface BaseItemDto {
    AirDays?: null | DayOfWeek[];
    AirsAfterSeasonNumber?: null | number;
    AirsBeforeEpisodeNumber?: null | number;
    AirsBeforeSeasonNumber?: null | number;
    AirTime?: null | string;
    Album?: null | string;
    AlbumArtist?: null | string;
    AlbumArtists?: null | NameGuidPair[];
    AlbumCount?: null | number;
    AlbumId?: null | string;
    AlbumPrimaryImageTag?: null | string;
    Altitude?: null | number;
    Aperture?: null | number;
    ArtistCount?: null | number;
    ArtistItems?: null | NameGuidPair[];
    Artists?: null | string[];
    AspectRatio?: null | string;
    Audio?: ProgramAudio;
    BackdropImageTags?: null | string[];
    CameraMake?: null | string;
    CameraModel?: null | string;
    CanDelete?: null | boolean;
    CanDownload?: null | boolean;
    ChannelId?: null | string;
    ChannelName?: null | string;
    ChannelNumber?: null | string;
    ChannelPrimaryImageTag?: null | string;
    ChannelType?: ChannelType;
    Chapters?: null | ChapterInfo[];
    ChildCount?: null | number;
    CollectionType?: CollectionType;
    CommunityRating?: null | number;
    CompletionPercentage?: null | number;
    Container?: null | string;
    CriticRating?: null | number;
    CumulativeRunTimeTicks?: null | number;
    CurrentProgram?: BaseItemDto;
    CustomRating?: null | string;
    DateCreated?: null | string;
    DateLastMediaAdded?: null | string;
    DisplayOrder?: null | string;
    DisplayPreferencesId?: null | string;
    EnableMediaSourceDisplay?: null | boolean;
    EndDate?: null | string;
    EpisodeCount?: null | number;
    EpisodeTitle?: null | string;
    Etag?: null | string;
    ExposureTime?: null | number;
    ExternalUrls?: null | ExternalUrl[];
    ExtraType?: ExtraType;
    FocalLength?: null | number;
    ForcedSortName?: null | string;
    GenreItems?: null | NameGuidPair[];
    Genres?: null | string[];
    HasLyrics?: null | boolean;
    HasSubtitles?: null | boolean;
    Height?: null | number;
    Id?: string;
    ImageBlurHashes?: null | BaseItemDtoImageBlurHashes;
    ImageOrientation?: ImageOrientation;
    ImageTags?: null | {
        [key: string]: string;
    };
    IndexNumber?: null | number;
    IndexNumberEnd?: null | number;
    IsFolder?: null | boolean;
    IsHD?: null | boolean;
    IsKids?: null | boolean;
    IsLive?: null | boolean;
    IsMovie?: null | boolean;
    IsNews?: null | boolean;
    IsoSpeedRating?: null | number;
    IsoType?: IsoType;
    IsPlaceHolder?: null | boolean;
    IsPremiere?: null | boolean;
    IsRepeat?: null | boolean;
    IsSeries?: null | boolean;
    IsSports?: null | boolean;
    Latitude?: null | number;
    LocalTrailerCount?: null | number;
    LocationType?: LocationType;
    LockData?: null | boolean;
    LockedFields?: null | MetadataField[];
    Longitude?: null | number;
    MediaSourceCount?: null | number;
    MediaSources?: null | MediaSourceInfo[];
    MediaStreams?: null | MediaStream[];
    MediaType?: MediaType;
    MovieCount?: null | number;
    MusicVideoCount?: null | number;
    Name?: null | string;
    NormalizationGain?: null | number;
    Number?: null | string;
    OfficialRating?: null | string;
    OriginalTitle?: null | string;
    Overview?: null | string;
    ParentArtImageTag?: null | string;
    ParentArtItemId?: null | string;
    ParentBackdropImageTags?: null | string[];
    ParentBackdropItemId?: null | string;
    ParentId?: null | string;
    ParentIndexNumber?: null | number;
    ParentLogoImageTag?: null | string;
    ParentLogoItemId?: null | string;
    ParentPrimaryImageItemId?: null | string;
    ParentPrimaryImageTag?: null | string;
    ParentThumbImageTag?: null | string;
    ParentThumbItemId?: null | string;
    PartCount?: null | number;
    Path?: null | string;
    People?: null | BaseItemPerson[];
    PlayAccess?: PlayAccess;
    PlaylistItemId?: null | string;
    PreferredMetadataCountryCode?: null | string;
    PreferredMetadataLanguage?: null | string;
    PremiereDate?: null | string;
    PrimaryImageAspectRatio?: null | number;
    ProductionLocations?: null | string[];
    ProductionYear?: null | number;
    ProgramCount?: null | number;
    ProgramId?: null | string;
    ProviderIds?: null | {
        [key: string]: string | null;
    };
    RecursiveItemCount?: null | number;
    RemoteTrailers?: null | MediaUrl[];
    RunTimeTicks?: null | number;
    ScreenshotImageTags?: null | string[];
    SeasonId?: null | string;
    SeasonName?: null | string;
    SeriesCount?: null | number;
    SeriesId?: null | string;
    SeriesName?: null | string;
    SeriesPrimaryImageTag?: null | string;
    SeriesStudio?: null | string;
    SeriesThumbImageTag?: null | string;
    SeriesTimerId?: null | string;
    ServerId?: null | string;
    ShutterSpeed?: null | number;
    Software?: null | string;
    SongCount?: null | number;
    SortName?: null | string;
    SourceType?: null | string;
    SpecialFeatureCount?: null | number;
    StartDate?: null | string;
    Status?: null | string;
    Studios?: null | NameGuidPair[];
    Taglines?: null | string[];
    Tags?: null | string[];
    TimerId?: null | string;
    TrailerCount?: null | number;
    Trickplay?: null | {
        [key: string]: {
            [key: string]: TrickplayInfo;
        };
    };
    Type?: BaseItemKind;
    UserData?: UserItemDataDto;
    Video3DFormat?: Video3DFormat;
    VideoType?: VideoType;
    Width?: null | number;
}

Properties

AirDays? AirsAfterSeasonNumber? AirsBeforeEpisodeNumber? AirsBeforeSeasonNumber? AirTime? Album? AlbumArtist? AlbumArtists? AlbumCount? AlbumId? AlbumPrimaryImageTag? Altitude? Aperture? ArtistCount? ArtistItems? Artists? AspectRatio? Audio? BackdropImageTags? CameraMake? CameraModel? CanDelete? CanDownload? ChannelId? ChannelName? ChannelNumber? ChannelPrimaryImageTag? ChannelType? Chapters? ChildCount? CollectionType? CommunityRating? CompletionPercentage? Container? CriticRating? CumulativeRunTimeTicks? CurrentProgram? CustomRating? DateCreated? DateLastMediaAdded? DisplayOrder? DisplayPreferencesId? EnableMediaSourceDisplay? EndDate? EpisodeCount? EpisodeTitle? Etag? ExposureTime? ExternalUrls? ExtraType? FocalLength? ForcedSortName? GenreItems? Genres? HasLyrics? HasSubtitles? Height? Id? ImageBlurHashes? ImageOrientation? ImageTags? IndexNumber? IndexNumberEnd? IsFolder? IsHD? IsKids? IsLive? IsMovie? IsNews? IsoSpeedRating? IsoType? IsPlaceHolder? IsPremiere? IsRepeat? IsSeries? IsSports? Latitude? LocalTrailerCount? LocationType? LockData? LockedFields? Longitude? MediaSourceCount? MediaSources? MediaStreams? MediaType? MovieCount? MusicVideoCount? Name? NormalizationGain? Number? OfficialRating? OriginalTitle? Overview? ParentArtImageTag? ParentArtItemId? ParentBackdropImageTags? ParentBackdropItemId? ParentId? ParentIndexNumber? ParentLogoImageTag? ParentLogoItemId? ParentPrimaryImageItemId? ParentPrimaryImageTag? ParentThumbImageTag? ParentThumbItemId? PartCount? Path? People? PlayAccess? PlaylistItemId? PreferredMetadataCountryCode? PreferredMetadataLanguage? PremiereDate? PrimaryImageAspectRatio? ProductionLocations? ProductionYear? ProgramCount? ProgramId? ProviderIds? RecursiveItemCount? RemoteTrailers? RunTimeTicks? ScreenshotImageTags? SeasonId? SeasonName? SeriesCount? SeriesId? SeriesName? SeriesPrimaryImageTag? SeriesStudio? SeriesThumbImageTag? SeriesTimerId? ServerId? ShutterSpeed? Software? SongCount? SortName? SourceType? SpecialFeatureCount? StartDate? Status? Studios? Taglines? Tags? TimerId? TrailerCount? Trickplay? Type? UserData? Video3DFormat? VideoType? Width?

Properties

AirDays?: null | DayOfWeek[]

Gets or sets the air days.

BaseItemDto

AirsAfterSeasonNumber?: null | number

BaseItemDto

AirsBeforeEpisodeNumber?: null | number

BaseItemDto

AirsBeforeSeasonNumber?: null | number

BaseItemDto

AirTime?: null | string

Gets or sets the air time.

BaseItemDto

Album?: null | string

Gets or sets the album.

BaseItemDto

AlbumArtist?: null | string

Gets or sets the album artist.

BaseItemDto

AlbumArtists?: null | NameGuidPair[]

Gets or sets the album artists.

BaseItemDto

AlbumCount?: null | number

Gets or sets the album count.

BaseItemDto

AlbumId?: null | string

Gets or sets the album id.

BaseItemDto

AlbumPrimaryImageTag?: null | string

Gets or sets the album image tag.

BaseItemDto

Altitude?: null | number

BaseItemDto

Aperture?: null | number

BaseItemDto

ArtistCount?: null | number

BaseItemDto

ArtistItems?: null | NameGuidPair[]

Gets or sets the artist items.

BaseItemDto

Artists?: null | string[]

Gets or sets the artists.

BaseItemDto

AspectRatio?: null | string

Gets or sets the aspect ratio.

BaseItemDto

Audio?: ProgramAudio

BaseItemDto

BackdropImageTags?: null | string[]

Gets or sets the backdrop image tags.

BaseItemDto

CameraMake?: null | string

BaseItemDto

CameraModel?: null | string

BaseItemDto

CanDelete?: null | boolean

BaseItemDto

CanDownload?: null | boolean

BaseItemDto

ChannelId?: null | string

Gets or sets the channel identifier.

BaseItemDto

ChannelName?: null | string

BaseItemDto

ChannelNumber?: null | string

BaseItemDto

ChannelPrimaryImageTag?: null | string

Gets or sets the channel primary image tag.

BaseItemDto

ChannelType?: ChannelType

BaseItemDto

Chapters?: null | ChapterInfo[]

Gets or sets the chapters.

BaseItemDto

ChildCount?: null | number

Gets or sets the child count.

BaseItemDto

CollectionType?: CollectionType

BaseItemDto

CommunityRating?: null | number

Gets or sets the community rating.

BaseItemDto

CompletionPercentage?: null | number

Gets or sets the completion percentage.

BaseItemDto

Container?: null | string

BaseItemDto

CriticRating?: null | number

Gets or sets the critic rating.

BaseItemDto

CumulativeRunTimeTicks?: null | number

Gets or sets the cumulative run time ticks.

BaseItemDto

CurrentProgram?: BaseItemDto

BaseItemDto

CustomRating?: null | string

Gets or sets the custom rating.

BaseItemDto

DateCreated?: null | string

Gets or sets the date created.

BaseItemDto

DateLastMediaAdded?: null | string

BaseItemDto

DisplayOrder?: null | string

Gets or sets the display order.

BaseItemDto

DisplayPreferencesId?: null | string

Gets or sets the display preferences id.

BaseItemDto

EnableMediaSourceDisplay?: null | boolean

BaseItemDto

EndDate?: null | string

Gets or sets the end date.

BaseItemDto

EpisodeCount?: null | number

Gets or sets the episode count.

BaseItemDto

EpisodeTitle?: null | string

Gets or sets the episode title.

BaseItemDto

Etag?: null | string

Gets or sets the etag.

BaseItemDto

ExposureTime?: null | number

BaseItemDto

ExternalUrls?: null | ExternalUrl[]

Gets or sets the external urls.

BaseItemDto

ExtraType?: ExtraType

BaseItemDto

FocalLength?: null | number

BaseItemDto

ForcedSortName?: null | string

BaseItemDto

GenreItems?: null | NameGuidPair[]

BaseItemDto

Genres?: null | string[]

Gets or sets the genres.

BaseItemDto

HasLyrics?: null | boolean

BaseItemDto

HasSubtitles?: null | boolean

BaseItemDto

Height?: null | number

BaseItemDto

Id?: string

Gets or sets the id.

BaseItemDto

ImageBlurHashes?: null | BaseItemDtoImageBlurHashes

BaseItemDto

ImageOrientation?: ImageOrientation

BaseItemDto

ImageTags?: null | {
    [key: string]: string;
}

Gets or sets the image tags.

BaseItemDto

IndexNumber?: null | number

Gets or sets the index number.

BaseItemDto

IndexNumberEnd?: null | number

Gets or sets the index number end.

BaseItemDto

IsFolder?: null | boolean

Gets or sets a value indicating whether this instance is folder.

BaseItemDto

IsHD?: null | boolean

Gets or sets a value indicating whether this instance is HD.

BaseItemDto

IsKids?: null | boolean

Gets or sets a value indicating whether this instance is kids.

BaseItemDto

IsLive?: null | boolean

Gets or sets a value indicating whether this instance is live.

BaseItemDto

IsMovie?: null | boolean

Gets or sets a value indicating whether this instance is movie.

BaseItemDto

IsNews?: null | boolean

Gets or sets a value indicating whether this instance is news.

BaseItemDto

IsoSpeedRating?: null | number

BaseItemDto

IsoType?: IsoType

BaseItemDto

IsPlaceHolder?: null | boolean

Gets or sets a value indicating whether this instance is place holder.

BaseItemDto

IsPremiere?: null | boolean

Gets or sets a value indicating whether this instance is premiere.

BaseItemDto

IsRepeat?: null | boolean

Gets or sets a value indicating whether this instance is repeat.

BaseItemDto

IsSeries?: null | boolean

Gets or sets a value indicating whether this instance is series.

BaseItemDto

IsSports?: null | boolean

Gets or sets a value indicating whether this instance is sports.

BaseItemDto

Latitude?: null | number

BaseItemDto

LocalTrailerCount?: null | number

Gets or sets the local trailer count.

BaseItemDto

LocationType?: LocationType

BaseItemDto

LockData?: null | boolean

Gets or sets a value indicating whether [enable internet providers].

BaseItemDto

LockedFields?: null | MetadataField[]

Gets or sets the locked fields.

BaseItemDto

Longitude?: null | number

BaseItemDto

MediaSourceCount?: null | number

BaseItemDto

MediaSources?: null | MediaSourceInfo[]

Gets or sets the media versions.

BaseItemDto

MediaStreams?: null | MediaStream[]

Gets or sets the media streams.

BaseItemDto

MediaType?: MediaType

BaseItemDto

MovieCount?: null | number

Gets or sets the movie count.

BaseItemDto

MusicVideoCount?: null | number

Gets or sets the music video count.

BaseItemDto

Name?: null | string

Gets or sets the name.

BaseItemDto

NormalizationGain?: null | number

Gets or sets the gain required for audio normalization.

BaseItemDto

Number?: null | string

Gets or sets the number.

BaseItemDto

OfficialRating?: null | string

Gets or sets the official rating.

BaseItemDto

OriginalTitle?: null | string

BaseItemDto

Overview?: null | string

Gets or sets the overview.

BaseItemDto

ParentArtImageTag?: null | string

Gets or sets the parent art image tag.

BaseItemDto

ParentArtItemId?: null | string

Gets or sets whether the item has fan art, this will hold the Id of the Parent that has one.

BaseItemDto

ParentBackdropImageTags?: null | string[]

Gets or sets the parent backdrop image tags.

BaseItemDto

ParentBackdropItemId?: null | string

Gets or sets whether the item has any backdrops, this will hold the Id of the Parent that has one.

BaseItemDto

ParentId?: null | string

Gets or sets the parent id.

BaseItemDto

ParentIndexNumber?: null | number

Gets or sets the parent index number.

BaseItemDto

ParentLogoImageTag?: null | string

Gets or sets the parent logo image tag.

BaseItemDto

ParentLogoItemId?: null | string

Gets or sets whether the item has a logo, this will hold the Id of the Parent that has one.

BaseItemDto

ParentPrimaryImageItemId?: null | string

Gets or sets the parent primary image item identifier.

BaseItemDto

ParentPrimaryImageTag?: null | string

Gets or sets the parent primary image tag.

BaseItemDto

ParentThumbImageTag?: null | string

Gets or sets the parent thumb image tag.

BaseItemDto

ParentThumbItemId?: null | string

Gets or sets the parent thumb item id.

BaseItemDto

PartCount?: null | number

Gets or sets the part count.

BaseItemDto

Path?: null | string

Gets or sets the path.

BaseItemDto

People?: null | BaseItemPerson[]

Gets or sets the people.

BaseItemDto

PlayAccess?: PlayAccess

BaseItemDto

PlaylistItemId?: null | string

Gets or sets the playlist item identifier.

BaseItemDto

PreferredMetadataCountryCode?: null | string

BaseItemDto

PreferredMetadataLanguage?: null | string

BaseItemDto

PremiereDate?: null | string

Gets or sets the premiere date.

BaseItemDto

PrimaryImageAspectRatio?: null | number

Gets or sets the primary image aspect ratio, after image enhancements.

BaseItemDto

ProductionLocations?: null | string[]

BaseItemDto

ProductionYear?: null | number

Gets or sets the production year.

BaseItemDto

ProgramCount?: null | number

BaseItemDto

ProgramId?: null | string

Gets or sets the program identifier.

BaseItemDto

ProviderIds?: null | {
    [key: string]: string | null;
}

Gets or sets the provider ids.

BaseItemDto

RecursiveItemCount?: null | number

Gets or sets the recursive item count.

BaseItemDto

RemoteTrailers?: null | MediaUrl[]

Gets or sets the trailer urls.

BaseItemDto

RunTimeTicks?: null | number

Gets or sets the run time ticks.

BaseItemDto

ScreenshotImageTags?: null | string[]

Gets or sets the screenshot image tags.

BaseItemDto

SeasonId?: null | string

Gets or sets the season identifier.

BaseItemDto

SeasonName?: null | string

Gets or sets the name of the season.

BaseItemDto

SeriesCount?: null | number

Gets or sets the series count.

BaseItemDto

SeriesId?: null | string

Gets or sets the series id.

BaseItemDto

SeriesName?: null | string

Gets or sets the name of the series.

BaseItemDto

SeriesPrimaryImageTag?: null | string

Gets or sets the series primary image tag.

BaseItemDto

SeriesStudio?: null | string

Gets or sets the series studio.

BaseItemDto

SeriesThumbImageTag?: null | string

Gets or sets the series thumb image tag.

BaseItemDto

SeriesTimerId?: null | string

Gets or sets the series timer identifier.

BaseItemDto

ServerId?: null | string

Gets or sets the server identifier.

BaseItemDto

ShutterSpeed?: null | number

BaseItemDto

Software?: null | string

BaseItemDto

SongCount?: null | number

Gets or sets the song count.

BaseItemDto

SortName?: null | string

Gets or sets the name of the sort.

BaseItemDto

SourceType?: null | string

Gets or sets the type of the source.

BaseItemDto

SpecialFeatureCount?: null | number

Gets or sets the special feature count.

BaseItemDto

StartDate?: null | string

Gets or sets the start date of the recording, in UTC.

BaseItemDto

Status?: null | string

Gets or sets the status.

BaseItemDto

Studios?: null | NameGuidPair[]

Gets or sets the studios.

BaseItemDto

Taglines?: null | string[]

Gets or sets the taglines.

BaseItemDto

Tags?: null | string[]

Gets or sets the tags.

BaseItemDto

TimerId?: null | string

Gets or sets the timer identifier.

BaseItemDto

TrailerCount?: null | number

Gets or sets the trailer count.

BaseItemDto

Trickplay?: null | {
    [key: string]: {
        [key: string]: TrickplayInfo;
    };
}

Gets or sets the trickplay manifest.

BaseItemDto

BaseItemDto

UserData?: UserItemDataDto

BaseItemDto

Video3DFormat?: Video3DFormat

BaseItemDto

VideoType?: VideoType

BaseItemDto

Width?: null | number

BaseItemDto