AddressCandidateHelper

class AddressCandidateHelper(input: String)

Parses the given input and allows to fix common mistakes.

Constructors

AddressCandidateHelper
Link copied to clipboard
fun AddressCandidateHelper(input: String)

Types

Companion
Link copied to clipboard
object Companion

Functions

addCommonCandidates
Link copied to clipboard
fun addCommonCandidates()

Applies all fixes to the input.

addPortCandidates
Link copied to clipboard
fun addPortCandidates()

Add a candidate using Jellyfin ports for each candidate without a specified port or protocol-default port.

addProtocolCandidates
Link copied to clipboard
fun addProtocolCandidates()

Add a HTTPS candidate for each HTTP candidate

getCandidates
Link copied to clipboard
fun getCandidates(): List<String>

Returns all unique candidates sorted by priority.