External player fragment wasn't always reloading when necessary

This commit is contained in:
daniel oeh 2012-09-11 12:30:48 +02:00
parent acce72d71b
commit fd6f93abc1
1 changed files with 1 additions and 0 deletions

View File

@ -318,6 +318,7 @@ public class PlaybackService extends Service {
|| playbackType != shouldStream) {
pause(true);
player.reset();
sendNotificationBroadcast(NOTIFICATION_TYPE_RELOAD, 0);
if (media == null || mediaId != media.getId()) {
feed = manager.getFeed(feedId);
media = manager.getFeedMedia(mediaId, feed);