diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-08-22 16:26:58 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-08-22 16:26:58 -0700 |
commit | fc7a3df5f7036626b2031d4b5ddf12474f652e8c (patch) | |
tree | 2cad2bf5c58c6873ea8b254a54bcbec9f470d5cd | |
parent | 6464ad63b21a6d72c2256364ee32a13f0512732b (diff) | |
download | dsub-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.java | 2 |
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);
|