Commit 997a1ee8 authored by Soomin Lee's avatar Soomin Lee

VLCHTTPConnection: Fix album tracks listing

(closes #538)
parent 946e0cea
......@@ -184,7 +184,7 @@
// Adding all audio files which are not in an Album
NSArray* audioFiles = [medialibrary mediaOfType:VLCMLMediaTypeAudio sortingCriteria:VLCMLSortingCriteriaDefault desc:false];
for (VLCMLMedia *track in audioFiles) {
if (![track isKindOfClass:[VLCMLAlbumTrack class]]) {
if (track.subtype != VLCMLMediaSubtypeAlbumTrack) {
[allMedia addObject:track];
}
}
......
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