Tsarr Documentation - v2.16.0
    Preparing search index...

    Type Alias BaseItemDto

    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.

    type BaseItemDto = {
        Name?: string | null;
        OriginalTitle?: string | null;
        ServerId?: string | null;
        Id?: string;
        Etag?: string | null;
        SourceType?: string | null;
        PlaylistItemId?: string | null;
        DateCreated?: string | null;
        DateLastMediaAdded?: string | null;
        ExtraType?:
            | "Unknown"
            | "Clip"
            | "Trailer"
            | "BehindTheScenes"
            | "DeletedScene"
            | "Interview"
            | "Scene"
            | "Sample"
            | "ThemeSong"
            | "ThemeVideo"
            | "Featurette"
            | "Short";
        AirsBeforeSeasonNumber?: number
        | null;
        AirsAfterSeasonNumber?: number | null;
        AirsBeforeEpisodeNumber?: number | null;
        CanDelete?: boolean | null;
        CanDownload?: boolean | null;
        HasLyrics?: boolean | null;
        HasSubtitles?: boolean | null;
        PreferredMetadataLanguage?: string | null;
        PreferredMetadataCountryCode?: string | null;
        Container?: string | null;
        SortName?: string | null;
        ForcedSortName?: string | null;
        Video3DFormat?:
            | "HalfSideBySide"
            | "FullSideBySide"
            | "FullTopAndBottom"
            | "HalfTopAndBottom"
            | "MVC";
        PremiereDate?: string
        | null;
        ExternalUrls?: ExternalUrl[] | null;
        MediaSources?: MediaSourceInfo[] | null;
        CriticRating?: number | null;
        ProductionLocations?: string[] | null;
        Path?: string | null;
        EnableMediaSourceDisplay?: boolean | null;
        OfficialRating?: string | null;
        CustomRating?: string | null;
        ChannelId?: string | null;
        ChannelName?: string | null;
        Overview?: string | null;
        Taglines?: string[] | null;
        Genres?: string[] | null;
        CommunityRating?: number | null;
        CumulativeRunTimeTicks?: number | null;
        RunTimeTicks?: number | null;
        PlayAccess?: "Full" | "None";
        AspectRatio?: string | null;
        ProductionYear?: number | null;
        IsPlaceHolder?: boolean | null;
        Number?: string | null;
        ChannelNumber?: string | null;
        IndexNumber?: number | null;
        IndexNumberEnd?: number | null;
        ParentIndexNumber?: number | null;
        RemoteTrailers?: MediaUrl[] | null;
        ProviderIds?: { [key: string]: string | null } | null;
        IsHD?: boolean | null;
        IsFolder?: boolean | null;
        ParentId?: string | null;
        Type?:
            | "AggregateFolder"
            | "Audio"
            | "AudioBook"
            | "BasePluginFolder"
            | "Book"
            | "BoxSet"
            | "Channel"
            | "ChannelFolderItem"
            | "CollectionFolder"
            | "Episode"
            | "Folder"
            | "Genre"
            | "ManualPlaylistsFolder"
            | "Movie"
            | "LiveTvChannel"
            | "LiveTvProgram"
            | "MusicAlbum"
            | "MusicArtist"
            | "MusicGenre"
            | "MusicVideo"
            | "Person"
            | "Photo"
            | "PhotoAlbum"
            | "Playlist"
            | "PlaylistsFolder"
            | "Program"
            | "Recording"
            | "Season"
            | "Series"
            | "Studio"
            | "Trailer"
            | "TvChannel"
            | "TvProgram"
            | "UserRootFolder"
            | "UserView"
            | "Video"
            | "Year";
        People?: BaseItemPerson[]
        | null;
        Studios?: NameGuidPair[] | null;
        GenreItems?: NameGuidPair[] | null;
        ParentLogoItemId?: string | null;
        ParentBackdropItemId?: string | null;
        ParentBackdropImageTags?: string[] | null;
        LocalTrailerCount?: number | null;
        UserData?: UserItemDataDto | null;
        RecursiveItemCount?: number | null;
        ChildCount?: number | null;
        SeriesName?: string | null;
        SeriesId?: string | null;
        SeasonId?: string | null;
        SpecialFeatureCount?: number | null;
        DisplayPreferencesId?: string | null;
        Status?: string | null;
        AirTime?: string | null;
        AirDays?: DayOfWeek[] | null;
        Tags?: string[] | null;
        PrimaryImageAspectRatio?: number | null;
        Artists?: string[] | null;
        ArtistItems?: NameGuidPair[] | null;
        Album?: string | null;
        CollectionType?:
            | "unknown"
            | "movies"
            | "tvshows"
            | "music"
            | "musicvideos"
            | "trailers"
            | "homevideos"
            | "boxsets"
            | "books"
            | "photos"
            | "livetv"
            | "playlists"
            | "folders";
        DisplayOrder?: string
        | null;
        AlbumId?: string | null;
        AlbumPrimaryImageTag?: string | null;
        SeriesPrimaryImageTag?: string | null;
        AlbumArtist?: string | null;
        AlbumArtists?: NameGuidPair[] | null;
        SeasonName?: string | null;
        MediaStreams?: MediaStream[] | null;
        VideoType?: "VideoFile" | "Iso" | "Dvd" | "BluRay";
        PartCount?: number | null;
        MediaSourceCount?: number | null;
        ImageTags?: { [key: string]: string | null } | null;
        BackdropImageTags?: string[] | null;
        ScreenshotImageTags?: string[] | null;
        ParentLogoImageTag?: string | null;
        ParentArtItemId?: string | null;
        ParentArtImageTag?: string | null;
        SeriesThumbImageTag?: string | null;
        ImageBlurHashes?:
            | {
                Primary?: { [key: string]: string
                | null };
                Art?: { [key: string]: string | null };
                Backdrop?: { [key: string]: string | null };
                Banner?: { [key: string]: string | null };
                Logo?: { [key: string]: string | null };
                Thumb?: { [key: string]: string | null };
                Disc?: { [key: string]: string | null };
                Box?: { [key: string]: string | null };
                Screenshot?: { [key: string]: string | null };
                Menu?: { [key: string]: string | null };
                Chapter?: { [key: string]: string | null };
                BoxRear?: { [key: string]: string | null };
                Profile?: { [key: string]: string | null };
            }
            | null;
        SeriesStudio?: string
        | null;
        ParentThumbItemId?: string | null;
        ParentThumbImageTag?: string | null;
        ParentPrimaryImageItemId?: string | null;
        ParentPrimaryImageTag?: string | null;
        Chapters?: ChapterInfo[] | null;
        Trickplay?:
            | { [key: string]: { [key: string]: TrickplayInfoDto }
            | null }
            | null;
        LocationType?: "FileSystem" | "Remote" | "Virtual" | "Offline";
        IsoType?: "Dvd" | "BluRay";
        MediaType?: "Unknown" | "Video" | "Audio" | "Photo" | "Book";
        EndDate?: string | null;
        LockedFields?: MetadataField[] | null;
        TrailerCount?: number | null;
        MovieCount?: number | null;
        SeriesCount?: number | null;
        ProgramCount?: number | null;
        EpisodeCount?: number | null;
        SongCount?: number | null;
        AlbumCount?: number | null;
        ArtistCount?: number | null;
        MusicVideoCount?: number | null;
        LockData?: boolean | null;
        Width?: number | null;
        Height?: number | null;
        CameraMake?: string | null;
        CameraModel?: string | null;
        Software?: string | null;
        ExposureTime?: number | null;
        FocalLength?: number | null;
        ImageOrientation?:
            | "TopLeft"
            | "TopRight"
            | "BottomRight"
            | "BottomLeft"
            | "LeftTop"
            | "RightTop"
            | "RightBottom"
            | "LeftBottom";
        Aperture?: number
        | null;
        ShutterSpeed?: number | null;
        Latitude?: number | null;
        Longitude?: number | null;
        Altitude?: number | null;
        IsoSpeedRating?: number | null;
        SeriesTimerId?: string | null;
        ProgramId?: string | null;
        ChannelPrimaryImageTag?: string | null;
        StartDate?: string | null;
        CompletionPercentage?: number | null;
        IsRepeat?: boolean | null;
        EpisodeTitle?: string | null;
        ChannelType?: "TV" | "Radio";
        Audio?: "Mono" | "Stereo" | "Dolby" | "DolbyDigital" | "Thx" | "Atmos";
        IsMovie?: boolean | null;
        IsSports?: boolean | null;
        IsSeries?: boolean | null;
        IsLive?: boolean | null;
        IsNews?: boolean | null;
        IsKids?: boolean | null;
        IsPremiere?: boolean | null;
        TimerId?: string | null;
        NormalizationGain?: number | null;
        AlbumNormalizationGain?: number | null;
        CurrentProgram?: BaseItemDto | null;
        OriginalLanguage?: string | null;
    }
    Index
    Name? OriginalTitle? ServerId? Id? Etag? SourceType? PlaylistItemId? DateCreated? DateLastMediaAdded? ExtraType? AirsBeforeSeasonNumber? AirsAfterSeasonNumber? AirsBeforeEpisodeNumber? CanDelete? CanDownload? HasLyrics? HasSubtitles? PreferredMetadataLanguage? PreferredMetadataCountryCode? Container? SortName? ForcedSortName? Video3DFormat? PremiereDate? ExternalUrls? MediaSources? CriticRating? ProductionLocations? Path? EnableMediaSourceDisplay? OfficialRating? CustomRating? ChannelId? ChannelName? Overview? Taglines? Genres? CommunityRating? CumulativeRunTimeTicks? RunTimeTicks? PlayAccess? AspectRatio? ProductionYear? IsPlaceHolder? Number? ChannelNumber? IndexNumber? IndexNumberEnd? ParentIndexNumber? RemoteTrailers? ProviderIds? IsHD? IsFolder? ParentId? Type? People? Studios? GenreItems? ParentLogoItemId? ParentBackdropItemId? ParentBackdropImageTags? LocalTrailerCount? UserData? RecursiveItemCount? ChildCount? SeriesName? SeriesId? SeasonId? SpecialFeatureCount? DisplayPreferencesId? Status? AirTime? AirDays? Tags? PrimaryImageAspectRatio? Artists? ArtistItems? Album? CollectionType? DisplayOrder? AlbumId? AlbumPrimaryImageTag? SeriesPrimaryImageTag? AlbumArtist? AlbumArtists? SeasonName? MediaStreams? VideoType? PartCount? MediaSourceCount? ImageTags? BackdropImageTags? ScreenshotImageTags? ParentLogoImageTag? ParentArtItemId? ParentArtImageTag? SeriesThumbImageTag? ImageBlurHashes? SeriesStudio? ParentThumbItemId? ParentThumbImageTag? ParentPrimaryImageItemId? ParentPrimaryImageTag? Chapters? Trickplay? LocationType? IsoType? MediaType? EndDate? LockedFields? TrailerCount? MovieCount? SeriesCount? ProgramCount? EpisodeCount? SongCount? AlbumCount? ArtistCount? MusicVideoCount? LockData? Width? Height? CameraMake? CameraModel? Software? ExposureTime? FocalLength? ImageOrientation? Aperture? ShutterSpeed? Latitude? Longitude? Altitude? IsoSpeedRating? SeriesTimerId? ProgramId? ChannelPrimaryImageTag? StartDate? CompletionPercentage? IsRepeat? EpisodeTitle? ChannelType? Audio? IsMovie? IsSports? IsSeries? IsLive? IsNews? IsKids? IsPremiere? TimerId? NormalizationGain? AlbumNormalizationGain? CurrentProgram? OriginalLanguage?
    Name?: string | null

    Gets or sets the name.

    OriginalTitle?: string | null
    ServerId?: string | null

    Gets or sets the server identifier.

    Id?: string

    Gets or sets the id.

    Etag?: string | null

    Gets or sets the etag.

    SourceType?: string | null

    Gets or sets the type of the source.

    PlaylistItemId?: string | null

    Gets or sets the playlist item identifier.

    DateCreated?: string | null

    Gets or sets the date created.

    DateLastMediaAdded?: string | null
    ExtraType?:
        | "Unknown"
        | "Clip"
        | "Trailer"
        | "BehindTheScenes"
        | "DeletedScene"
        | "Interview"
        | "Scene"
        | "Sample"
        | "ThemeSong"
        | "ThemeVideo"
        | "Featurette"
        | "Short"
    AirsBeforeSeasonNumber?: number | null
    AirsAfterSeasonNumber?: number | null
    AirsBeforeEpisodeNumber?: number | null
    CanDelete?: boolean | null
    CanDownload?: boolean | null
    HasLyrics?: boolean | null
    HasSubtitles?: boolean | null
    PreferredMetadataLanguage?: string | null
    PreferredMetadataCountryCode?: string | null
    Container?: string | null
    SortName?: string | null

    Gets or sets the name of the sort.

    ForcedSortName?: string | null
    Video3DFormat?:
        | "HalfSideBySide"
        | "FullSideBySide"
        | "FullTopAndBottom"
        | "HalfTopAndBottom"
        | "MVC"

    Gets or sets the video3 D format.

    PremiereDate?: string | null

    Gets or sets the premiere date.

    ExternalUrls?: ExternalUrl[] | null

    Gets or sets the external urls.

    MediaSources?: MediaSourceInfo[] | null

    Gets or sets the media versions.

    CriticRating?: number | null

    Gets or sets the critic rating.

    ProductionLocations?: string[] | null
    Path?: string | null

    Gets or sets the path.

    EnableMediaSourceDisplay?: boolean | null
    OfficialRating?: string | null

    Gets or sets the official rating.

    CustomRating?: string | null

    Gets or sets the custom rating.

    ChannelId?: string | null

    Gets or sets the channel identifier.

    ChannelName?: string | null
    Overview?: string | null

    Gets or sets the overview.

    Taglines?: string[] | null

    Gets or sets the taglines.

    Genres?: string[] | null

    Gets or sets the genres.

    CommunityRating?: number | null

    Gets or sets the community rating.

    CumulativeRunTimeTicks?: number | null

    Gets or sets the cumulative run time ticks.

    RunTimeTicks?: number | null

    Gets or sets the run time ticks.

    PlayAccess?: "Full" | "None"

    Gets or sets the play access.

    AspectRatio?: string | null

    Gets or sets the aspect ratio.

    ProductionYear?: number | null

    Gets or sets the production year.

    IsPlaceHolder?: boolean | null

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

    Number?: string | null

    Gets or sets the number.

    ChannelNumber?: string | null
    IndexNumber?: number | null

    Gets or sets the index number.

    IndexNumberEnd?: number | null

    Gets or sets the index number end.

    ParentIndexNumber?: number | null

    Gets or sets the parent index number.

    RemoteTrailers?: MediaUrl[] | null

    Gets or sets the trailer urls.

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

    Gets or sets the provider ids.

    IsHD?: boolean | null

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

    IsFolder?: boolean | null

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

    ParentId?: string | null

    Gets or sets the parent id.

    Type?:
        | "AggregateFolder"
        | "Audio"
        | "AudioBook"
        | "BasePluginFolder"
        | "Book"
        | "BoxSet"
        | "Channel"
        | "ChannelFolderItem"
        | "CollectionFolder"
        | "Episode"
        | "Folder"
        | "Genre"
        | "ManualPlaylistsFolder"
        | "Movie"
        | "LiveTvChannel"
        | "LiveTvProgram"
        | "MusicAlbum"
        | "MusicArtist"
        | "MusicGenre"
        | "MusicVideo"
        | "Person"
        | "Photo"
        | "PhotoAlbum"
        | "Playlist"
        | "PlaylistsFolder"
        | "Program"
        | "Recording"
        | "Season"
        | "Series"
        | "Studio"
        | "Trailer"
        | "TvChannel"
        | "TvProgram"
        | "UserRootFolder"
        | "UserView"
        | "Video"
        | "Year"

    Gets or sets the type.

    People?: BaseItemPerson[] | null

    Gets or sets the people.

    Studios?: NameGuidPair[] | null

    Gets or sets the studios.

    GenreItems?: NameGuidPair[] | null
    ParentLogoItemId?: string | null

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

    ParentBackdropItemId?: string | null

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

    ParentBackdropImageTags?: string[] | null

    Gets or sets the parent backdrop image tags.

    LocalTrailerCount?: number | null

    Gets or sets the local trailer count.

    UserData?: UserItemDataDto | null

    Gets or sets the user data for this item based on the user it's being requested for.

    RecursiveItemCount?: number | null

    Gets or sets the recursive item count.

    ChildCount?: number | null

    Gets or sets the child count.

    SeriesName?: string | null

    Gets or sets the name of the series.

    SeriesId?: string | null

    Gets or sets the series id.

    SeasonId?: string | null

    Gets or sets the season identifier.

    SpecialFeatureCount?: number | null

    Gets or sets the special feature count.

    DisplayPreferencesId?: string | null

    Gets or sets the display preferences id.

    Status?: string | null

    Gets or sets the status.

    AirTime?: string | null

    Gets or sets the air time.

    AirDays?: DayOfWeek[] | null

    Gets or sets the air days.

    Tags?: string[] | null

    Gets or sets the tags.

    PrimaryImageAspectRatio?: number | null

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

    Artists?: string[] | null

    Gets or sets the artists.

    ArtistItems?: NameGuidPair[] | null

    Gets or sets the artist items.

    Album?: string | null

    Gets or sets the album.

    CollectionType?:
        | "unknown"
        | "movies"
        | "tvshows"
        | "music"
        | "musicvideos"
        | "trailers"
        | "homevideos"
        | "boxsets"
        | "books"
        | "photos"
        | "livetv"
        | "playlists"
        | "folders"

    Gets or sets the type of the collection.

    DisplayOrder?: string | null

    Gets or sets the display order.

    AlbumId?: string | null

    Gets or sets the album id.

    AlbumPrimaryImageTag?: string | null

    Gets or sets the album image tag.

    SeriesPrimaryImageTag?: string | null

    Gets or sets the series primary image tag.

    AlbumArtist?: string | null

    Gets or sets the album artist.

    AlbumArtists?: NameGuidPair[] | null

    Gets or sets the album artists.

    SeasonName?: string | null

    Gets or sets the name of the season.

    MediaStreams?: MediaStream[] | null

    Gets or sets the media streams.

    VideoType?: "VideoFile" | "Iso" | "Dvd" | "BluRay"

    Gets or sets the type of the video.

    PartCount?: number | null

    Gets or sets the part count.

    MediaSourceCount?: number | null
    ImageTags?: { [key: string]: string | null } | null

    Gets or sets the image tags.

    BackdropImageTags?: string[] | null

    Gets or sets the backdrop image tags.

    ScreenshotImageTags?: string[] | null

    Gets or sets the screenshot image tags.

    ParentLogoImageTag?: string | null

    Gets or sets the parent logo image tag.

    ParentArtItemId?: string | null

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

    ParentArtImageTag?: string | null

    Gets or sets the parent art image tag.

    SeriesThumbImageTag?: string | null

    Gets or sets the series thumb image tag.

    ImageBlurHashes?:
        | {
            Primary?: { [key: string]: string
            | null };
            Art?: { [key: string]: string | null };
            Backdrop?: { [key: string]: string | null };
            Banner?: { [key: string]: string | null };
            Logo?: { [key: string]: string | null };
            Thumb?: { [key: string]: string | null };
            Disc?: { [key: string]: string | null };
            Box?: { [key: string]: string | null };
            Screenshot?: { [key: string]: string | null };
            Menu?: { [key: string]: string | null };
            Chapter?: { [key: string]: string | null };
            BoxRear?: { [key: string]: string | null };
            Profile?: { [key: string]: string | null };
        }
        | null

    Gets or sets the blurhashes for the image tags. Maps image type to dictionary mapping image tag to blurhash value.

    SeriesStudio?: string | null

    Gets or sets the series studio.

    ParentThumbItemId?: string | null

    Gets or sets the parent thumb item id.

    ParentThumbImageTag?: string | null

    Gets or sets the parent thumb image tag.

    ParentPrimaryImageItemId?: string | null

    Gets or sets the parent primary image item identifier.

    ParentPrimaryImageTag?: string | null

    Gets or sets the parent primary image tag.

    Chapters?: ChapterInfo[] | null

    Gets or sets the chapters.

    Trickplay?: { [key: string]: { [key: string]: TrickplayInfoDto } | null } | null

    Gets or sets the trickplay manifest.

    LocationType?: "FileSystem" | "Remote" | "Virtual" | "Offline"

    Gets or sets the type of the location.

    IsoType?: "Dvd" | "BluRay"

    Gets or sets the type of the iso.

    MediaType?: "Unknown" | "Video" | "Audio" | "Photo" | "Book"

    Gets or sets the type of the media.

    EndDate?: string | null

    Gets or sets the end date.

    LockedFields?: MetadataField[] | null

    Gets or sets the locked fields.

    TrailerCount?: number | null

    Gets or sets the trailer count.

    MovieCount?: number | null

    Gets or sets the movie count.

    SeriesCount?: number | null

    Gets or sets the series count.

    ProgramCount?: number | null
    EpisodeCount?: number | null

    Gets or sets the episode count.

    SongCount?: number | null

    Gets or sets the song count.

    AlbumCount?: number | null

    Gets or sets the album count.

    ArtistCount?: number | null
    MusicVideoCount?: number | null

    Gets or sets the music video count.

    LockData?: boolean | null

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

    Width?: number | null
    Height?: number | null
    CameraMake?: string | null
    CameraModel?: string | null
    Software?: string | null
    ExposureTime?: number | null
    FocalLength?: number | null
    ImageOrientation?:
        | "TopLeft"
        | "TopRight"
        | "BottomRight"
        | "BottomLeft"
        | "LeftTop"
        | "RightTop"
        | "RightBottom"
        | "LeftBottom"
    Aperture?: number | null
    ShutterSpeed?: number | null
    Latitude?: number | null
    Longitude?: number | null
    Altitude?: number | null
    IsoSpeedRating?: number | null
    SeriesTimerId?: string | null

    Gets or sets the series timer identifier.

    ProgramId?: string | null

    Gets or sets the program identifier.

    ChannelPrimaryImageTag?: string | null

    Gets or sets the channel primary image tag.

    StartDate?: string | null

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

    CompletionPercentage?: number | null

    Gets or sets the completion percentage.

    IsRepeat?: boolean | null

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

    EpisodeTitle?: string | null

    Gets or sets the episode title.

    ChannelType?: "TV" | "Radio"

    Gets or sets the type of the channel.

    Audio?: "Mono" | "Stereo" | "Dolby" | "DolbyDigital" | "Thx" | "Atmos"

    Gets or sets the audio.

    IsMovie?: boolean | null

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

    IsSports?: boolean | null

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

    IsSeries?: boolean | null

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

    IsLive?: boolean | null

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

    IsNews?: boolean | null

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

    IsKids?: boolean | null

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

    IsPremiere?: boolean | null

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

    TimerId?: string | null

    Gets or sets the timer identifier.

    NormalizationGain?: number | null

    Gets or sets the gain required for audio normalization.

    AlbumNormalizationGain?: number | null

    Gets or sets the gain required for audio normalization. This field is inherited from music album normalization gain.

    CurrentProgram?: BaseItemDto | null

    Gets or sets the current program.

    OriginalLanguage?: string | null