Don't use musicFolderId in Recently Added filter

Signed-off-by: James Wells <james@jameswells.net>
This commit is contained in:
James Wells 2021-04-10 17:48:52 -04:00
parent f00a487b51
commit 268a41d1f4
No known key found for this signature in database
GPG Key ID: 7A9AB99C0B899FB7
2 changed files with 5 additions and 2 deletions

View File

@ -820,8 +820,11 @@ class SelectAlbumFragment : Fragment() {
}
override fun load(service: MusicService): MusicDirectory {
val musicFolderId =
val musicFolderId = if (showSelectFolderHeader) {
this@SelectAlbumFragment.activeServerProvider.getActiveServer().musicFolderId
} else {
null
}
return if (Util.getShouldUseId3Tags(context))
service.getAlbumList2(albumListType, size, offset, musicFolderId, context)
else

View File

@ -14,7 +14,7 @@ import org.moire.ultrasonic.domain.MusicFolder
/**
* This little view shows the currently selected Folder (or catalog) on the music server.
* When clicked it will drop down a list of all available Folders and allow you to
* select one. The intended usage us to supply a filter to lists of artists, albums, etc
* select one. The intended usage is to supply a filter to lists of artists, albums, etc
*/
class SelectMusicFolderView(
private val context: Context,