wip: album tracks working, album bottom sheet only pulling in the album, not quite right

This commit is contained in:
eddyizm 2025-12-27 17:48:06 -08:00
parent f22aea7b1d
commit 17020e5192
No known key found for this signature in database
GPG key ID: CF5F671829E8158A

View file

@ -12,7 +12,7 @@ import com.cappielloantonio.tempo.subsonic.base.ApiResponse;
import com.cappielloantonio.tempo.subsonic.models.AlbumID3; import com.cappielloantonio.tempo.subsonic.models.AlbumID3;
import com.cappielloantonio.tempo.subsonic.models.AlbumInfo; import com.cappielloantonio.tempo.subsonic.models.AlbumInfo;
import com.cappielloantonio.tempo.subsonic.models.Child; import com.cappielloantonio.tempo.subsonic.models.Child;
import com.cappielloantonio.tempo.util.Constants; import com.cappielloantonio.tempo.util.Constants.SeedType;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Calendar; import java.util.Calendar;
@ -209,7 +209,7 @@ public class AlbumRepository {
public void getInstantMix(AlbumID3 album, int count, final MediaCallback callback) { public void getInstantMix(AlbumID3 album, int count, final MediaCallback callback) {
Log.d("AlbumRepository", "Starting Instant Mix for album: " + album.getName()); Log.d("AlbumRepository", "Starting Instant Mix for album: " + album.getName());
new SongRepository().getInstantMix(album.getId(), Constants.SEEDTYPE.ALBUM, count, songs -> { new SongRepository().getInstantMix(album.getId(), SeedType.ALBUM, count, songs -> {
if (songs != null && !songs.isEmpty()) { if (songs != null && !songs.isEmpty()) {
callback.onLoadMedia(songs); callback.onLoadMedia(songs);