i've been using the PS3 media server with good results and wanted to fiddle with the source. in particular, what i find quite frustrating is when i'm watching a movie, and for whatever reason need to stop for the day, and then return, only to have to fast forward to the place where i last stopped. similar to most dvd players, i'd like the system to remember where i last stopped a video and resume from there.
so i started looking at the code, and when a resource begins playing is quite clear. in fact, i noticed a StartStopListener and this seems like the right place to go. but, i wanted to understand when "stop" is called, and if there's any ability to identify the frame number or video position/time when stop is called. namely, if the user pauses or terminates their playback, will "stop" be called and can timing information be extracted? from what i can tell, the timing information on the server side is quite approximate (it looks like data is just streamed, and the receiver (i.e. the PS3) keeps track of time).
is my cursory analysis correct? if someone who has worked with the code knows how to proceed on this type of feature, a brief run-down would be helpful, then i could do the work. a little task like this seems a good way to dive into the source.