2007-09-15, 04:07 AM
First - a thank you to both whurlston and sub on the data store. I'll create my own.
So onwards to today's question!
There are several past messages posted concerning the retrieval of the current playback position via the API. Best I'm able to tell, the reply has been universally "not presently", but they are fairly old as well, so I'll ask again in case things have changed.
Specifically, is there any way to retrieve the playing position of the video when it stopped? Ideally, I would like to determine if a file was 'watched' (as opposed to 'played'). The hope was the compare the last playing position with the file's total length, and, if the former was within n% of the end, call it 'watched'. This is to differentiate it from the user playing a file, and hitting stop ten seconds later - played, yes, but by no means watched.
I can probably use the playback_position position table, but would like to avoid it, since that takes me right back to relying on a data structure that may very well change, instead of a more stable API.
Searching through the public interface in the object browser doesn't show anything that looks promising, but I figured I would throw it out there anyway in case I missed something. Wouldn't be the first time.
Thanks once again!
So onwards to today's question!
There are several past messages posted concerning the retrieval of the current playback position via the API. Best I'm able to tell, the reply has been universally "not presently", but they are fairly old as well, so I'll ask again in case things have changed.
Specifically, is there any way to retrieve the playing position of the video when it stopped? Ideally, I would like to determine if a file was 'watched' (as opposed to 'played'). The hope was the compare the last playing position with the file's total length, and, if the former was within n% of the end, call it 'watched'. This is to differentiate it from the user playing a file, and hitting stop ten seconds later - played, yes, but by no means watched.
I can probably use the playback_position position table, but would like to avoid it, since that takes me right back to relying on a data structure that may very well change, instead of a more stable API.
Searching through the public interface in the object browser doesn't show anything that looks promising, but I figured I would throw it out there anyway in case I missed something. Wouldn't be the first time.
Thanks once again!