Fixes #174
This commit is contained in:
parent
d086579e09
commit
83595ded9f
|
@ -363,13 +363,15 @@ public class PlaybackService extends Service {
|
||||||
}
|
}
|
||||||
// Intent values appear to be valid
|
// Intent values appear to be valid
|
||||||
// check if already playing and playbackType is the same
|
// check if already playing and playbackType is the same
|
||||||
} else if (media == null || playable != media
|
} else if (media == null
|
||||||
|
|| !playable.getIdentifier().equals(media.getIdentifier())
|
||||||
|| playbackType != shouldStream) {
|
|| playbackType != shouldStream) {
|
||||||
pause(true, false);
|
pause(true, false);
|
||||||
player.reset();
|
player.reset();
|
||||||
sendNotificationBroadcast(NOTIFICATION_TYPE_RELOAD, 0);
|
sendNotificationBroadcast(NOTIFICATION_TYPE_RELOAD, 0);
|
||||||
if (media == null
|
if (media == null
|
||||||
|| playable.getIdentifier() != media.getIdentifier()) {
|
|| !playable.getIdentifier().equals(
|
||||||
|
media.getIdentifier())) {
|
||||||
media = playable;
|
media = playable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue