Merge pull request #3584 from ByteHamster/fix-streaming-notification

Do not display streaming notification if continuous playback is disabled
This commit is contained in:
H. Lehmann 2019-11-05 23:59:25 +01:00 committed by GitHub
commit 17dc3c7471
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -895,7 +895,8 @@ public class PlaybackService extends MediaBrowserServiceCompat {
return null; return null;
} }
if (!nextItem.getMedia().localFileAvailable() && !NetworkUtils.isStreamingAllowed()) { if (!nextItem.getMedia().localFileAvailable() && !NetworkUtils.isStreamingAllowed()
&& UserPreferences.isFollowQueue()) {
displayStreamingNotAllowedNotification( displayStreamingNotAllowedNotification(
new PlaybackServiceStarter(this, nextItem.getMedia()) new PlaybackServiceStarter(this, nextItem.getMedia())
.prepareImmediately(true) .prepareImmediately(true)