Also import .m3u8 playlists

This commit is contained in:
Deluan
2020-07-23 03:24:33 -04:00
parent 60178c264d
commit 93626129b6
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -23,6 +23,6 @@ func IsImageFile(filePath string) bool {
}
func IsPlaylist(filePath string) bool {
extension := filepath.Ext(filePath)
return strings.ToLower(extension) == ".m3u"
extension := strings.ToLower(filepath.Ext(filePath))
return extension == ".m3u" || extension == ".m3u8"
}