Shuttle icon indicating copy to clipboard operation
Shuttle copied to clipboard

Remember track position

Open gregier opened this issue 8 years ago • 2 comments

It would be great if the track's position could be remembered. This would make using Shuttle for audiobooks much easier as the tracks tend to be fairly long. One audiobook player goes so far as to show you a pie chart icon on each album. Although in Shuttle's context that is probably only useful when the track's genre is Audiobooks or the album's length is many hours long.

Thanks for having a look!

Audiobook Player: audiobook player - pie chart icon

gregier avatar Mar 08 '17 05:03 gregier

OK. So I guess we can use the IS_PODCAST MediaStore flag, or check if the extension is m4b (audio book), or just assume that tracks > a certain length are podcasts, and we just need to store the playback position when the current queue is saved.

timusus avatar Mar 08 '17 10:03 timusus

There's also BOOKMARK. The older AOSP music player used to have this feature.

getBookmark saveBookmarkIfNeeded seek

adneal avatar Dec 25 '17 21:12 adneal