Commit 547d9dab authored by Felix Paul Kühne's avatar Felix Paul Kühne

fix multiplying music album listings

parent 1adcfa2f
......@@ -4,6 +4,8 @@
* Fixed issues unlocking the app when a passcode was never set
* Fixed repeat one / repeat list
* Fixed saving playback progress for files whose names contain spaces or umlauts
* Fixed multiplying music album listings
* Show music albums with 1 track correctly in the music album's list
* Improved SMB compatibility
* UPnP reliability improvements, notably with Kodi
......
......@@ -507,9 +507,17 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
if (_libraryMode != VLCLibraryModeAllSeries) {
NSArray *rawAlbums = [MLAlbum allAlbums];
for (MLAlbum *album in rawAlbums) {
if (album.name.length > 0 && album.tracks.count > 1) {
@synchronized(self) {
[_foundMedia addObject:album];
if (_libraryMode != VLCLibraryModeAllAlbums) {
if (album.name.length > 0 && album.tracks.count > 1) {
@synchronized(self) {
[_foundMedia addObject:album];
}
}
} else {
if (album.name.length > 0) {
@synchronized(self) {
[_foundMedia addObject:album];
}
}
}
}
......
......@@ -13,7 +13,7 @@ SKIPLIBVLCCOMPILATION=no
TVOS=no
TESTEDVLCKITHASH=6012c098
TESTEDMEDIALIBRARYKITHASH=a92e78ce
TESTEDMEDIALIBRARYKITHASH=ba9b544c
usage()
{
......
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