I am trying to implement a simple resume capability into xine for my
I read out the position using xine_get_pos_length() and save it in a file
just before exiting xine. I pass the position to xine_play() when playing
the file again. This method works for audio & video files but not for DVDs.
My guess is, since DVDs have menus for language selection etc. It doesn't
work. There are no errors reported by xine_play() when an arbitrary position
is given as a parameter, but the DVD starts from "zero" ignoring the
I was thinking I could save the selections of language etc... (what ever
that is done in the menu) and simulate menu-selection using
xine_event_send(). I do not prefer this method, I am hoping there is a
better way to start a movie from a arbitrary position.
Any pointers on how this could be done with Xine ?
Thanks in advance.