diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-01-09 19:32:13 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-01-09 19:32:13 -0800 |
commit | a128a18fea312abfb3b046d895a2f491cf559003 (patch) | |
tree | 6a87c3378cc2196033a1887e0a0ad15278d7dd51 /subsonic-android/src/github | |
parent | f29e410bf704029afd0f6927fdb530f72e038c96 (diff) | |
download | dsub-a128a18fea312abfb3b046d895a2f491cf559003.tar.gz dsub-a128a18fea312abfb3b046d895a2f491cf559003.tar.bz2 dsub-a128a18fea312abfb3b046d895a2f491cf559003.zip |
Added details option to videos
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java | 2 | ||||
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java index 9ddaecf3..be6ce059 100644 --- a/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java +++ b/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java @@ -262,7 +262,7 @@ public class SelectAlbumActivity extends SubsonicTabActivity { inflater.inflate(R.menu.select_video_context, menu); } - if (!Util.isOffline(this)) { + if (!Util.isOffline(this) && !entry.isVideo()) { menu.findItem(entry.isDirectory() ? R.id.album_menu_star : R.id.song_menu_star).setTitle(entry.isStarred() ? R.string.common_unstar : R.string.common_star); } } diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java index 75c03be0..054e054d 100644 --- a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java +++ b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java @@ -503,7 +503,11 @@ public class SubsonicTabActivity extends SherlockActivity { }
public void displaySongInfo(final MusicDirectory.Entry song) {
- String msg = "Artist: " + song.getArtist() + "\nAlbum: " + song.getAlbum();
+
+ String msg = "";
+ if(!song.isVideo()) {
+ msg += "Artist: " + song.getArtist() + "\nAlbum: " + song.getAlbum();
+ }
if(song.getGenre() != null && !song.getGenre().isEmpty()) {
msg += "\nGenre: " + song.getGenre();
}
|