From c9047b3c61557690eeb827828dc5313ce6323115 Mon Sep 17 00:00:00 2001 From: Omar Albeik Date: Sun, 13 Nov 2022 21:54:22 +0100 Subject: [PATCH] Use String for Kind enum --- Sources/M3UKit/Models/MediaKind.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/M3UKit/Models/MediaKind.swift b/Sources/M3UKit/Models/MediaKind.swift index 0819a4e..b68a7c5 100644 --- a/Sources/M3UKit/Models/MediaKind.swift +++ b/Sources/M3UKit/Models/MediaKind.swift @@ -25,7 +25,7 @@ import Foundation extension Playlist.Media { /// Enum representing media kind. - public enum Kind: Equatable, Hashable, Codable { + public enum Kind: String, Equatable, Hashable, Codable { case movie case series case live