diff --git a/app/src/main/java/org/schabi/newpipe/util/NavigationHelper.java b/app/src/main/java/org/schabi/newpipe/util/NavigationHelper.java
index c01e051b0..d5be71f15 100644
--- a/app/src/main/java/org/schabi/newpipe/util/NavigationHelper.java
+++ b/app/src/main/java/org/schabi/newpipe/util/NavigationHelper.java
@@ -168,10 +168,16 @@ public final class NavigationHelper {
public static void playOnBackgroundPlayer(final Context context,
final PlayQueue queue,
final boolean resumePlayback) {
- if (PlayerHolder.getInstance().getType() != MainPlayer.PlayerType.AUDIO) {
- Toast.makeText(context, R.string.background_player_playing_toast, Toast.LENGTH_SHORT)
- .show();
+ final int toastText;
+ if (PlayerHolder.getInstance().getType() == MainPlayer.PlayerType.AUDIO) {
+ toastText = R.string.background_player_already_playing_toast;
+ } else {
+ toastText = R.string.background_player_playing_toast;
}
+
+ Toast.makeText(context, toastText, Toast.LENGTH_SHORT)
+ .show();
+
final Intent intent = getPlayerIntent(context, MainPlayer.class, queue, resumePlayback);
intent.putExtra(Player.PLAYER_TYPE, MainPlayer.PlayerType.AUDIO.ordinal());
ContextCompat.startForegroundService(context, intent);
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index b4d46a3e2..303e7bb3f 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -147,6 +147,7 @@
Updates
Notification
Playing in background
+ Already playing in background
Playing in popup mode
Content
Show age restricted content