aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-09-02 14:29:08 -0700
committerScott Jackson <daneren2005@gmail.com>2014-09-02 14:29:08 -0700
commit7e014451727f4dad729ce2f3b0889df53aecdf51 (patch)
treeaea613fe9e1382d0a44bbfc493928ab7bd948bed
parentdb8c638b23cf72b98054aac3a4b927f770be9bf0 (diff)
downloaddsub-7e014451727f4dad729ce2f3b0889df53aecdf51.tar.gz
dsub-7e014451727f4dad729ce2f3b0889df53aecdf51.tar.bz2
dsub-7e014451727f4dad729ce2f3b0889df53aecdf51.zip
Add bookmark position/rating to song details
-rw-r--r--src/github/daneren2005/dsub/fragments/SubsonicFragment.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
index d61ed9eb..6e7aa9e2 100644
--- a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
@@ -1178,6 +1178,12 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR
if(song.getDuration() != null && song.getDuration() != 0) {
msg += "\nLength: " + Util.formatDuration(song.getDuration());
}
+ if(song.getBookmark() != null) {
+ msg += "\nBookmark Position: " + Util.formatDuration(song.getBookmark().getPosition());
+ }
+ if(song.getRating() != 0) {
+ msg += "\nRating: " + song.getRating() + " stars";
+ }
if(song instanceof PodcastEpisode) {
msg += "\n\nDescription: " + song.getAlbum();
}