Commit 709f670e authored by Soomin Lee's avatar Soomin Lee

VLCMediaLibraryManager: Add playlist getter

parent 9c4155bc
......@@ -173,6 +173,14 @@ extension VLCMediaLibraryManager {
extension VLCMediaLibraryManager {
}
// MARK: MediaLibrary - Playlist methods
extension VLCMediaLibraryManager {
func getPlaylists(sortingCriteria sort: VLCMLSortingCriteria = .default, desc: Bool = false) -> [VLCMLPlaylist] {
return medialib.playlists(with: sort, desc: desc)
}
}
// MARK: - VLCMediaLibraryDelegate - Media
extension VLCMediaLibraryManager: VLCMediaLibraryDelegate {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment