Evan Hisey wrote: > Duncan- > 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 > all off us that have large mkv/ogm and other wrappers that support > multiple lang. and subtitles. I am going to play with this any way, > but thought I would ask if there was any obvious reason why this would > not work.
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. The event handlers of the video players would need to be changed as well and if mplayer or xine ever change their commands the handlers would break. Duncan ------------------------------------------------------------------------- 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