Import smart playlists (extension .nsp)
This commit is contained in:
@@ -21,8 +21,3 @@ func IsImageFile(filePath string) bool {
|
||||
extension := filepath.Ext(filePath)
|
||||
return strings.HasPrefix(mime.TypeByExtension(extension), "image/")
|
||||
}
|
||||
|
||||
func IsPlaylist(filePath string) bool {
|
||||
extension := strings.ToLower(filepath.Ext(filePath))
|
||||
return extension == ".m3u" || extension == ".m3u8"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user