Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
709f670e
Commit
709f670e
authored
Aug 09, 2018
by
Soomin Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLCMediaLibraryManager: Add playlist getter
parent
9c4155bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
SharedSources/VLCMediaLibraryManager.swift
SharedSources/VLCMediaLibraryManager.swift
+8
-0
No files found.
SharedSources/VLCMediaLibraryManager.swift
View file @
709f670e
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment