Hi, > > I was just looking at the events.py. It seem to me that this would > > be the ideal place to add "VIDEO_EVENTS =" subtitles and languages for> > I've added to local_conf.py these: > | EVENTS['video']['LANG'] = \ > | Event(VIDEO_SEND_MPLAYER_CMD, arg='switch_audio') > | EVENTS['video']['SUBTITLE'] = \ > | Event(VIDEO_SEND_MPLAYER_CMD, arg='sub_select') > > If I was using xine then the commands would be different.
EVENTS['video']['RED'] = Event(VIDEO_SEND_XINE_CMD, arg='SpuNext') EVENTS['video']['GREEN'] = Event(VIDEO_SEND_XINE_CMD, arg='SpuPrior') EVENTS['video']['YELLOW'] = Event(VIDEO_SEND_XINE_CMD, arg='AudioChannelNext') EVENTS['video']['BLUE'] = Event(VIDEO_SEND_XINE_CMD, arg='AudioChannelPrior') those colors buttons should have a better use somewhere else... but I use then anyway. and while we are here, I also found useful this: EVENTS['video']['1'] = Event(VIDEO_SEND_XINE_CMD, arg='SetPosition10%') EVENTS['video']['2'] = Event(VIDEO_SEND_XINE_CMD, arg='SetPosition20%') EVENTS['video']['3'] = Event(VIDEO_SEND_XINE_CMD, arg='SetPosition30%') EVENTS['video']['4'] = Event(VIDEO_SEND_XINE_CMD, arg='SetPosition40%') EVENTS['video']['5'] = Event(VIDEO_SEND_XINE_CMD, arg='SetPosition50%') EVENTS['video']['6'] = Event(VIDEO_SEND_XINE_CMD, arg='SetPosition60%') EVENTS['video']['7'] = Event(VIDEO_SEND_XINE_CMD, arg='SetPosition70%') EVENTS['video']['8'] = Event(VIDEO_SEND_XINE_CMD, arg='SetPosition80%') EVENTS['video']['9'] = Event(VIDEO_SEND_XINE_CMD, arg='SetPosition90%') EVENTS['video']['0'] = Event(VIDEO_SEND_XINE_CMD, arg='SetPosition0%') -- Christian Lyra PoP-PR/RNP ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel