Jellyfin

class Jellyfin(val options: JellyfinOptions)

Constructors

Link copied to clipboard
fun Jellyfin(optionsBuilder: JellyfinOptions.Builder)
Link copied to clipboard
fun Jellyfin(options: JellyfinOptions)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun createApi(    baseUrl: String? = null,     accessToken: String? = null,     userId: <ERROR CLASS>? = null,     clientInfo: <ERROR CLASS>? = options.clientInfo,     deviceInfo: <ERROR CLASS>? = options.deviceInfo,     httpClientOptions: <ERROR CLASS> = HttpClientOptions()): <ERROR CLASS>

Create a new API instance to use in API services. The clientInfo and deviceInfo parameters are required when not passed as option in JellyfinOptions. The baseUrl is only required when HTTP calls are made.

Properties

Link copied to clipboard
val clientInfo: <ERROR CLASS>?

Get the client information set when creating the Jellyfin instance or null if not set.

Link copied to clipboard
val deviceInfo: <ERROR CLASS>?

Get the device information set when creating the Jellyfin instance or null if not set.

Link copied to clipboard
val discovery: DiscoveryService

Get the discovery service to help with normalizing server addresses and find servers in the local network.

Link copied to clipboard
val options: JellyfinOptions