mirror of
https://github.com/antebudimir/tempus.git
synced 2026-04-15 16:27:26 +00:00
wip: album tracks working, album bottom sheet only pulling in the album, not quite right
This commit is contained in:
parent
f22aea7b1d
commit
17020e5192
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue