aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-08-30 14:01:06 -0700
committerScott Jackson <daneren2005@gmail.com>2014-08-30 14:01:06 -0700
commit83b20e52bbd67b39db5349b68bde5e766aaebbbc (patch)
tree28aef2006c77a45303f38882b93009275996309a
parent33cf60e2982294eed04b409e1391c1316e94c8a6 (diff)
downloaddsub-83b20e52bbd67b39db5349b68bde5e766aaebbbc.tar.gz
dsub-83b20e52bbd67b39db5349b68bde5e766aaebbbc.tar.bz2
dsub-83b20e52bbd67b39db5349b68bde5e766aaebbbc.zip
Update GenericSongUpdater to allow album updating as well
-rw-r--r--src/github/daneren2005/dsub/service/CachedMusicService.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/CachedMusicService.java b/src/github/daneren2005/dsub/service/CachedMusicService.java
index 6f9597c0..e4a11f9c 100644
--- a/src/github/daneren2005/dsub/service/CachedMusicService.java
+++ b/src/github/daneren2005/dsub/service/CachedMusicService.java
@@ -1246,7 +1246,12 @@ public class CachedMusicService implements MusicService {
public void execute() {
String cacheName;
if(Util.isTagBrowsing(context, musicService.getInstance(context))) {
- cacheName = "album";
+ // If using id's, we are starring songs and need to use album listings
+ if(entry.isAlbum()) {
+ cacheName = "album";
+ } else {
+ cacheName = "artist";
+ }
} else {
cacheName = "directory";
}