PlexDVRsApi class

/livetv/dvrs/* — Plex DVR backend configuration.

Wraps the DVRs OpenAPI tag (10 operations not already on PlexLiveTvApi). Admin only. Each DVR groups one or more devices and a listings lineup; subscriptions schedule recordings against a DVR.

Constructors

PlexDVRsApi(PlexConnection _http)
Construct from a PlexConnection. Typically obtained via PlexClient.dvrs.

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

addDevice({required String dvrId, required String deviceId}) Future<void>
PUT /livetv/dvrs/{dvrId}/devices/{deviceId} — add an existing grabber device to a DVR.
addLineup({required String dvrId, required String lineup}) Future<void>
PUT /livetv/dvrs/{dvrId}/lineups?lineup={lineupId} — attach an EPG lineup to a DVR.
delete(String dvrId) Future<void>
DELETE /livetv/dvrs/{dvrId} — drop a DVR (its recordings stay on disk).
deleteLineup({required String dvrId, required String lineup}) Future<void>
DELETE /livetv/dvrs/{dvrId}/lineups?lineup={lineupId} — detach a lineup.
get(String dvrId) Future<Map<String, dynamic>>
GET /livetv/dvrs/{dvrId} — one DVR's full configuration.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reloadGuide(String dvrId) Future<void>
POST /livetv/dvrs/{dvrId}/reloadGuide — force-reload the program guide.
removeDevice({required String dvrId, required String deviceId}) Future<void>
DELETE /livetv/dvrs/{dvrId}/devices/{deviceId} — detach a grabber device from a DVR.
setPreferences({required String dvrId, Map<String, dynamic>? prefs, String? name}) Future<void>
PUT /livetv/dvrs/{dvrId}/prefs — update DVR preferences.
stopReloadGuide(String dvrId) Future<void>
DELETE /livetv/dvrs/{dvrId}/reloadGuide — abort an in-flight guide reload.
toString() String
A string representation of this object.
inherited
tuneChannel({required String dvrId, required String channel}) Future<void>
POST /livetv/dvrs/{dvrId}/channels/{channel}/tune — tune a channel (used by the live-stream session lifecycle).

Operators

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