PlexLiveTvApi class

/livetv/* — Plex Live TV and DVR.

Wraps the consumer-facing slice (sessions, DVRs, subscriptions). Tuner / EPG / device-grabber configuration lives behind the escape hatch — those endpoints are admin-only and unlikely to belong in a music+video app.

Constructors

PlexLiveTvApi(PlexConnection _http)
Construct from a PlexConnection. Typically obtained via PlexClient.liveTv.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dvrChannels(String dvrKey) Future<List<PlexMetadata>>
Helper to drill into the EPG inside a Live TV DVR. The id comes from dvrs → entry's key field. Returns the channel listing.
dvrs() Future<List<Map<String, dynamic>>>
GET /livetv/dvrs — configured DVR backends.
liveSession(String sessionId) Future<Map<String, dynamic>>
GET /livetv/sessions/{sessionId} — fetch a single live session (status, currently-tuned channel, decision).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sessionPlaylistUrl({required String sessionId, required String consumerId}) String
GET /livetv/sessions/{sessionId}/{consumerId}/index.m3u8 — URL for the HLS playlist of one consumer attached to a live session.
sessions() Future<List<Map<String, dynamic>>>
GET /livetv/sessions — currently-streaming Live TV sessions.
sessionSegmentUrl({required String sessionId, required String consumerId, required String segmentId}) String
GET /livetv/sessions/{sessionId}/{consumerId}/{segmentId} — URL for one HLS segment of the live session.
toString() String
A string representation of this object.
inherited

Operators

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