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
994c7125
Commit
994c7125
authored
Aug 09, 2018
by
Soomin Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLCMediaLibraryManager: Fix audio getter
parent
60aaf6b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
SharedSources/VLCMediaLibraryManager.swift
SharedSources/VLCMediaLibraryManager.swift
+4
-4
No files found.
SharedSources/VLCMediaLibraryManager.swift
View file @
994c7125
...
...
@@ -159,12 +159,12 @@ extension VLCMediaLibraryManager {
// MARK: MediaLibrary - Audio methods
extension
VLCMediaLibraryManager
{
func
getArtists
()
->
[
VLCMLArtist
]
{
return
medialib
.
artists
(
with
:
.
artis
t
,
desc
:
false
,
all
:
true
)
func
getArtists
(
sortingCriteria
sort
:
VLCMLSortingCriteria
=
.
artist
,
desc
:
Bool
=
false
)
->
[
VLCMLArtist
]
{
return
medialib
.
artists
(
with
:
sor
t
,
desc
:
desc
,
all
:
true
)
}
func
getAlbums
()
->
[
VLCMLAlbum
]
{
return
medialib
.
albums
(
with
:
.
album
,
desc
:
false
)
func
getAlbums
(
sortingCriteria
sort
:
VLCMLSortingCriteria
=
.
album
,
desc
:
Bool
=
false
)
->
[
VLCMLAlbum
]
{
return
medialib
.
albums
(
with
:
sort
,
desc
:
desc
)
}
}
...
...
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