AddressCandidateHelper

class AddressCandidateHelper(input: String)

Parses the given input and allows to fix common mistakes.

Constructors

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

Types

Companion
Link copied to clipboard
common
object Companion

Functions

addCommonCandidates
Link copied to clipboard
common
fun addCommonCandidates()

Applies all fixes to the input.

addPortCandidates
Link copied to clipboard
common
fun addPortCandidates()

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

addProtocolCandidates
Link copied to clipboard
common
fun addProtocolCandidates()

Add a HTTPS candidate for each HTTP candidate

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

Returns all unique candidates sorted by priority.