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?
How does you script work? Does it has any output we don't expect?
Since we parse the output, that is important. You also should 'exec'
mplayer at the end to support stdin and stdout control. But I guess
what you realy want is a mplayer plugin inside freevo to adjust
mplayer args. That is the clean way to go (video/plugins/bmovl is one
plugin adding something to the command list)
Dischi
--
You did something because it had always been done, and the explanation was
"but we've always done it this way." A million dead people can't have been
wrong, can they?
-- (Terry Pratchett, The Fifth Elephant)
-------------------------------------------------------
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