// simple check using file extension bool IsFileSupported(string filePath) { return(LocalTrack.IsSupported(new FileInfo(filePath)) || Playlists.IsSupported(filePath)); }