Feature request: resume playing a track of playlist where left off

If I'm listening to say a podcast, or to the long playlist of ambient music that I play while I work, then I always want to resume playback where I left off. I know moc remembers its state so I can pause playback and close moc, and come back later and resume. But what I want is to be able to resume where I left off even if I've played some other file or playlist in the meantime, or turned the computer off. Moc should remember the last position reached on a per-file and per-playlist basis and have an action to resume a file or playlist where you left off, rather than playing it again from the start.

Hi I've written a bash script that does some of this, on first run of moc it reads track and position info from a settings file then goes through the playlist until it finds the required track, it also moves to the correct part in the track. I find it useful for listening to podcasts. It's probably not any good for dealing with large music playlists as it would take to long for the script to find the right track half was down a large playlist. The only problem I have is how do I post it here, I don't have any online storage.

Hi,

I think you could post your script at http://pastebin.com/
It supports syntax highlighting and has a simple configuration of how long to keep the code snippet online.

Hi lenoch, thanks for the tip, hope my resume-mocp bash script is found useful, http://pastebin.com/f569a1e84