fix: search only for json files.
This commit is contained in:
parent
512716e357
commit
8a81cdbd8b
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ namespace Jellyfin.Plugin.SmartPlaylist {
|
|||
return Directory.GetFiles(StoragePath, $"{smartPlaylistId}.json", SearchOption.AllDirectories).First();
|
||||
}
|
||||
public string[] FindAllSmartPlaylistFilePaths() {
|
||||
return Directory.GetFiles(StoragePath);
|
||||
return Directory.GetFiles(StoragePath, "*.json", SearchOption.AllDirectories);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue