Jellyfin

class Jellyfin(val options: JellyfinOptions)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val clientInfo: <Error class: unknown class>?

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

Link copied to clipboard
val deviceInfo: <Error class: unknown class>?

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

Link copied to clipboard

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

Link copied to clipboard

Functions

Link copied to clipboard
fun createApi(baseUrl: String? = null, accessToken: String? = null, clientInfo: <Error class: unknown class>? = options.clientInfo, deviceInfo: <Error class: unknown class>? = options.deviceInfo, httpClientOptions: <Error class: unknown class> = HttpClientOptions()): <Error class: unknown 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.