Also import .m3u8 playlists
This commit is contained in:
+2
-2
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user