Saved the playback position when the player is paused

This commit is contained in:
CappielloAntonio committed 2022-01-02 17:43:30 +01:00
1 parent e4d09f3bc0
commit 40866a2855
7 files changed
+101 -13

No files matched your search

@@ -101,7 +101,7 @@ public class MappingUtil {
}
public static Queue mapSongToQueue(Song song, int trackOrder) {
return new Queue(trackOrder, song.getId(), song.getTitle(), song.getAlbumId(), song.getAlbumName(), song.getArtistId(), song.getArtistName(), song.getPrimary(), song.getDuration(), 0);
return new Queue(trackOrder, song.getId(), song.getTitle(), song.getAlbumId(), song.getAlbumName(), song.getArtistId(), song.getArtistName(), song.getPrimary(), song.getDuration(), 0, 0);
}
public static List<Queue> mapSongsToQueue(List<Song> songs) {