Do not display streaming notification if continuous playback is disabled

This commit is contained in:
ByteHamster 2019-11-05 23:51:38 +01:00
parent 562391c7d9
commit 48dc4a8345
1 changed files with 2 additions and 1 deletions

View File

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