Playlist

public protocol Playlist

Playlist a general playlist protocol defined as a base for master and media playlist.

  • The original text of the playlist

    Declaration

    Swift

    var originalText: String { get }
  • The altered text of the playist, only exists when post process handler was provided.

    Declaration

    Swift

    var alteredText: String? { get }
  • The type of the playlist

    Declaration

    Swift

    var type: PlaylistType { get }
  • The base url of the playlist

    Declaration

    Swift

    var baseUrl: URL { get }
  • dictionary of extra tags mapping to: [tag (EXT…): array of same type of tags]

    Declaration

    Swift

    var extraTags: [String : [Tag]] { get }