AddressCandidateHelper

class AddressCandidateHelper(input: String)

Parses the given input and allows to fix common mistakes.

Constructors

Link copied to clipboard
fun AddressCandidateHelper(input: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun addCommonCandidates()

Applies all fixes to the input.

Link copied to clipboard
fun addPortCandidates()

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

Link copied to clipboard
fun addProtocolCandidates()

Add a HTTPS candidate for each HTTP candidate

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

Returns all unique candidates sorted by priority.