TautulliMediaInfo class

Model to store the library content's media information.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

TautulliMediaInfo({int? id, String? container, int? bitrate, int? height, int? width, double? aspectRatio, String? videoCodec, String? videoResolution, String? videoFullResolution, String? videoFramerate, String? videoProfile, String? audioCodec, int? audioChannels, String? audioChannelLayout, String? audioProfile, bool? optimizedVersion, String? channelCallSign, String? channelIdentifier, String? channelThumb, List<TautulliMediaInfoParts>? parts})
TautulliMediaInfo.fromJson(Map<String, dynamic> json)
Deserialize a JSON map to a TautulliMediaInfo object.
factory

Properties

aspectRatio double?
Aspect ratio of the content.
final
audioChannelLayout String?
The layout of the channels in the audio stream.
final
audioChannels int?
Number of channels in the audio stream.
final
audioCodec String?
Codec of the audio stream.
final
audioProfile String?
Profile of the audio stream.
final
bitrate int?
Bitrate of the content.
final
channelCallSign String?
The channel's callsign for live content.
final
channelIdentifier String?
The channel's identifier for live content.
final
channelThumb String?
The channel's thumbnail for live content.
final
container String?
The media container type of the content.
final
hashCode int
The hash code for this object.
no setterinherited
height int?
Height in pixels.
final
id int?
The file ID.
final
optimizedVersion bool?
Is this session using an optimized version?
final
parts List<TautulliMediaInfoParts>?
List of TautulliMediaInfoParts objects, each containing information on individual parts (files) of the content.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
videoCodec String?
Codec of the video stream.
final
videoFramerate String?
Framerate of the video stream.
final
videoFullResolution String?
Full resoltuion of the video stream.
final
videoProfile String?
Profile of the video stream.
final
videoResolution String?
Resolution of the video stream.
final
width int?
Width in pixels.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serialize a TautulliMediaInfo object to a JSON map.
toString() String
Returns a JSON-encoded string version of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited