I'm writing a web interface for mocp and I'd like to mimic the playlist functionality where you can add tracks to a playlist and then click on a track in the playlist and moc will jump to that track. Next would then go to the next track, and previous the previous track. (As in the console version). I can't seem to figure out how to do this...I can get the track to play via the playit command but then next goes back to the track that was after the track that was playing before the playit command. Is there anyway to do this?
↧