Fix #116: Add user setting to choose whether to resume position or restart playback
If I might suggest, would this better solved using a modal that asks the user which they want to do when the retrieved pos for a file is not 0? I ask only because this seems like the type of situation where user preference could change file-to-file rather than on a consistent ongoing basis.
Popping a dialog each time the user wants to play something does not seem very UX friendly, especially for people who always go for the same option.
How about a middle ground? Do like the classic desktop app, provide "ask", "resume" and "restart" options?
Perhaps, though the dialog would only ever need to be popped when a file has been started and not finished (i.e. pos is not 0 or whatever value the beginning corresponds to).
Another option would be to leave it as is and include Play and Resume in a context menu for files (Resume grayed out if not needed). I think Kodi does something similar? Though I think they also mark files that were started and not finished.