aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-08-22 16:26:58 -0700
committerScott Jackson <daneren2005@gmail.com>2014-08-22 16:26:58 -0700
commitfc7a3df5f7036626b2031d4b5ddf12474f652e8c (patch)
tree2cad2bf5c58c6873ea8b254a54bcbec9f470d5cd
parent6464ad63b21a6d72c2256364ee32a13f0512732b (diff)
downloaddsub-fc7a3df5f7036626b2031d4b5ddf12474f652e8c.tar.gz
dsub-fc7a3df5f7036626b2031d4b5ddf12474f652e8c.tar.bz2
dsub-fc7a3df5f7036626b2031d4b5ddf12474f652e8c.zip
Fix getting position twice in createBookmark()
-rw-r--r--src/github/daneren2005/dsub/fragments/NowPlayingFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java b/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java
index 4565b192..90cc746c 100644
--- a/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java
+++ b/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java
@@ -1320,7 +1320,7 @@ public class NowPlayingFragment extends SubsonicFragment implements OnGestureLis
MusicDirectory.Entry currentSong = currentDownload.getSong();
MusicService musicService = MusicServiceFactory.getMusicService(context);
int position = getDownloadService().getPlayerPosition();
- musicService.createBookmark(currentSong.getId(), Util.getParentFromEntry(context, currentSong), getDownloadService().getPlayerPosition(), comment, context, null);
+ musicService.createBookmark(currentSong.getId(), Util.getParentFromEntry(context, currentSong), position, comment, context, null);
currentSong.setBookmark(new Bookmark(position));
MusicDirectory.Entry find = UpdateView.findEntry(currentSong);