SubtitleSourceUnreadable

data class SubtitleSourceUnreadable(val uri: String, val reason: String) : PlaybackWarning

An external subtitle could not be read or parsed, so it was skipped.

The open never fails over a subtitle: a film that plays without its captions beats a film that does not play. This says which file and why, in a shape an application can act on, rather than the free-text deselection it used to arrive as.

Constructors

Link copied to clipboard
constructor(uri: String, reason: String)

Properties

Link copied to clipboard
open val fields: Map<String, String>

The warning as key and value pairs, for a structured log sink.

Link copied to clipboard
open override val message: String
Link copied to clipboard
Link copied to clipboard
val uri: String

Functions

Link copied to clipboard
override fun toString(): String

The type and the message, with every URI cut to its file name, as for PlaybackError.