Hello all.  I'm working on implementing a resume feature, where VLC would automatically resume playing where it left off when re-opening a file.  This would be an optional plugin, of course.  <div><br></div><div>This is my first project in VLC and I'm a bit lost.  I've got a dummy plugin up and running but I'm not sure how to access the hooks I need.  I'm sure I'll find my way eventually but if someone wanted to give me a leg up here's what I think I need:<div>

<br></div><div>  - The ability to start a thread that wakes up periodically and notices what file is playing and what position it's playing at.</div><div><br></div><div>  - The ability to get a callback when a file is opened and closed.</div>

<div><br></div><div>  - The ability to seek to a particular position from the open callback.</div><div><br></div><div>Or, if you think I'm headed in the wrong direction, please feel free to say so.</div><div><br></div>

<div>Thanks!  And thank you for VLC - it's a great project.</div><div><br></div><div>Sam</div></div>