diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-09-02 14:29:08 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-09-02 14:29:08 -0700 |
commit | 7e014451727f4dad729ce2f3b0889df53aecdf51 (patch) | |
tree | aea613fe9e1382d0a44bbfc493928ab7bd948bed | |
parent | db8c638b23cf72b98054aac3a4b927f770be9bf0 (diff) | |
download | dsub-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.java | 6 |
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();
}
|