Hi,

I had similar idea .. but i had to give up, python did'n parse arguments right ... instead .. to the following

put this in a mplayer.config .. (you'll see where mplayer tryes to find it when you run without arguments)

sub-fuzziness = 1

that sould tell mplayer to load any subtitle files with a movie name.
Of course that is not all .. I like to have several versions ... so you'll have to bind one remote key to toggle subtitles ...


in /etc/lircrc there on the end sould be:
begin
prog = freevo
button = F_TELETEXT <= (replace this one with a key you can spare on subtitles)
config = SUBTITLE
end


and you should put this one in /etc/freevo/local_conf.py

EVENTS['video']['SUBTITLE'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='vobsub_lang')

that way you will be able to toggle subtitles if there is more then one in movie directory

khiraly wrote:

Dear List,

I have a problem, I will use a shell-script in place of /usr/bin/mplayer

For this I have changed this line in /etc/free/freevo.conf file:
mplayer = /usr/bin/mplayer
to
mplayer = /home/lama/szkript/subsearch.sh

But after this Im not able to play any video file in freevo, it fails
with 'no action defined for this choice!' popup window.
At console I see this:

plugin video.mplayer deactivated, reason: failed to detect mplayer
version

What do my shell script?:
It take the filename as an argument and play mplayer *with* subtitles
(the subtitle are the same directory as mplayer)

It works from command line or at nautilus to.

Can anybody help me, what can I do for lancing shell script instead of
mplayer directly?

Thx in advance any help!
Best regards, Khiraly





-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users






-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to