Playlists [beta]

This commit is contained in:
Karim Abou Zeid 2015-03-17 15:09:44 +01:00
commit de15a34365
33 changed files with 896 additions and 56 deletions

View file

@ -499,6 +499,16 @@ public class MusicService extends Service implements MediaPlayer.OnPreparedListe
saveState();
}
public void removeSong(Song song){
while (playingQueue.contains(song)){
playingQueue.remove(song);
}
while (originalPlayingQueue.contains(song)){
originalPlayingQueue.remove(song);
}
saveState();
}
public void moveSong(int from, int to) {
final int currentPosition = getPosition();
Song songToMove = playingQueue.remove(from);