wip: updated album repo for song instant mix type update

This commit is contained in:
eddyizm 2025-12-27 12:31:01 -08:00
parent 8de9aff1f6
commit 844b57054b
No known key found for this signature in database
GPG key ID: CF5F671829E8158A

View file

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