< Summary - Jellyfin

Information
Class: MediaBrowser.Controller.Channels.ChannelItemInfo
Assembly: MediaBrowser.Controller
File(s): /srv/git/jellyfin/MediaBrowser.Controller/Channels/ChannelItemInfo.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 10
Coverable lines: 10
Total lines: 97
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%210%

File(s)

/srv/git/jellyfin/MediaBrowser.Controller/Channels/ChannelItemInfo.cs

#LineLine coverage
 1#nullable disable
 2
 3#pragma warning disable CA1002, CA2227, CS1591
 4
 5using System;
 6using System.Collections.Generic;
 7using MediaBrowser.Controller.Entities;
 8using MediaBrowser.Model.Channels;
 9using MediaBrowser.Model.Dto;
 10using MediaBrowser.Model.Entities;
 11
 12namespace MediaBrowser.Controller.Channels
 13{
 14    public class ChannelItemInfo : IHasProviderIds
 15    {
 16        public ChannelItemInfo()
 17        {
 018            MediaSources = new List<MediaSourceInfo>();
 019            TrailerTypes = new List<TrailerType>();
 020            Genres = new List<string>();
 021            Studios = new List<string>();
 022            People = new List<PersonInfo>();
 023            Tags = new List<string>();
 024            ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
 025            Artists = new List<string>();
 026            AlbumArtists = new List<string>();
 027        }
 28
 29        public string Name { get; set; }
 30
 31        public string SeriesName { get; set; }
 32
 33        public string Id { get; set; }
 34
 35        public DateTime DateModified { get; set; }
 36
 37        public ChannelItemType Type { get; set; }
 38
 39        public string OfficialRating { get; set; }
 40
 41        public string Overview { get; set; }
 42
 43        public List<string> Genres { get; set; }
 44
 45        public List<string> Studios { get; set; }
 46
 47        public List<string> Tags { get; set; }
 48
 49        public List<PersonInfo> People { get; set; }
 50
 51        public float? CommunityRating { get; set; }
 52
 53        public long? RunTimeTicks { get; set; }
 54
 55        public string ImageUrl { get; set; }
 56
 57        public string OriginalTitle { get; set; }
 58
 59        public ChannelMediaType MediaType { get; set; }
 60
 61        public ChannelFolderType FolderType { get; set; }
 62
 63        public ChannelMediaContentType ContentType { get; set; }
 64
 65        public ExtraType ExtraType { get; set; }
 66
 67        public List<TrailerType> TrailerTypes { get; set; }
 68
 69        public Dictionary<string, string> ProviderIds { get; set; }
 70
 71        public DateTime? PremiereDate { get; set; }
 72
 73        public int? ProductionYear { get; set; }
 74
 75        public DateTime? DateCreated { get; set; }
 76
 77        public DateTime? StartDate { get; set; }
 78
 79        public DateTime? EndDate { get; set; }
 80
 81        public int? IndexNumber { get; set; }
 82
 83        public int? ParentIndexNumber { get; set; }
 84
 85        public List<MediaSourceInfo> MediaSources { get; set; }
 86
 87        public string HomePageUrl { get; set; }
 88
 89        public List<string> Artists { get; set; }
 90
 91        public List<string> AlbumArtists { get; set; }
 92
 93        public bool IsLiveStream { get; set; }
 94
 95        public string Etag { get; set; }
 96    }
 97}

Methods/Properties

.ctor()