aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-07-18 19:19:42 -0700
committerScott Jackson <daneren2005@gmail.com>2015-07-18 19:19:42 -0700
commit75dccf25a5efb9915ff5ae70818d99eeda3db1ae (patch)
tree7bd82f7b6d2c0ab15cd5dff781633e9b811de7a0
parentff160774714539723a16b9c25cfb6e579f8e716b (diff)
downloaddsub-75dccf25a5efb9915ff5ae70818d99eeda3db1ae.tar.gz
dsub-75dccf25a5efb9915ff5ae70818d99eeda3db1ae.tar.bz2
dsub-75dccf25a5efb9915ff5ae70818d99eeda3db1ae.zip
Playing: 0/100 needs to be 1-based
-rw-r--r--app/src/main/java/github/daneren2005/dsub/fragments/NowPlayingFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/NowPlayingFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/NowPlayingFragment.java
index a75470e9..bf8c28df 100644
--- a/app/src/main/java/github/daneren2005/dsub/fragments/NowPlayingFragment.java
+++ b/app/src/main/java/github/daneren2005/dsub/fragments/NowPlayingFragment.java
@@ -1253,7 +1253,7 @@ public class NowPlayingFragment extends SubsonicFragment implements OnGestureLis
songTitleTextView.setText(song.getTitle());
getImageLoader().loadImage(albumArtImageView, song, true, true);
starButton.setImageResource(song.isStarred() ? android.R.drawable.btn_star_big_on : android.R.drawable.btn_star_big_off);
- setSubtitle(context.getResources().getString(R.string.download_playing_out_of, currentPlayingIndex, currentPlayingSize));
+ setSubtitle(context.getResources().getString(R.string.download_playing_out_of, currentPlayingIndex + 1, currentPlayingSize));
int badRating, goodRating, bookmark;
if(song.getRating() == 1) {