aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/util/ShufflePlayBuffer.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/util/ShufflePlayBuffer.java b/src/github/daneren2005/dsub/util/ShufflePlayBuffer.java
index 7554637c..5a728334 100644
--- a/src/github/daneren2005/dsub/util/ShufflePlayBuffer.java
+++ b/src/github/daneren2005/dsub/util/ShufflePlayBuffer.java
@@ -124,7 +124,10 @@ public class ShufflePlayBuffer {
try {
MusicService service = MusicServiceFactory.getMusicService(context);
int n = CAPACITY - buffer.size();
- String folder = Util.getSelectedMusicFolderId(context);
+ String folder = null;
+ if(!Util.isTagBrowsing(context)) {
+ folder = Util.getSelectedMusicFolderId(context);
+ }
MusicDirectory songs = service.getRandomSongs(n, folder, genre, startYear, endYear, context, null);
synchronized (buffer) {