Skip to main content

Module device

Module device 

Source
Expand description

Device identification commands

Handles persistent device ID generation and retrieval for Jellyfin server communication. TRACES: UR-009 | DR-011

Functionsยง

device_get_id
Get or create the device ID. Device ID is a UUID v4 that persists across app restarts. On first call, generates and stores a new UUID. On subsequent calls, retrieves the stored UUID.
device_set_id
Set the device ID (primarily for testing or recovery). Overwrites any existing device ID.