Duncan Webb wrote:
> Morten Lied Johansen wrote:
>> Does anyone know how(/if) freevo detects that playback of a video-item
>> has completed successfully?
> 
> When the child application exits.

That can't be all, as freevo is able to tell the difference between 
playing to completion, and pressing stop on the remote midway. When you 
stop midway, freevo is even able to tell where you stopped, and resume 
playback from the same place in the movie.

I only want to run my command when it has played to completion, and 
played successfully (no errors).

>> The reason I'm asking is that I wish to run a specific command based on
>> the filename, if the user has watched the entire video.
>>
>> I was thinking I could either do it as a wrapper around mplayer, or as a
>> plugin for freevo (depending on which is less complicated).
> 
> There is a VIDEO_POST_PLAY option in local_conf.py that you can use.
> This was designed for home automation to dim lights at the start and
> restore them at the end.

I'll look into this one, thanks.

-- 
Morten

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to