Thanks, yes. I did:

ln /usr/bin/mplayer /usr/bin/mplayer_record

updated my script to say:

/usr/bin/mplayer_record -dumpstream -dumpfile "$FN" "$CHAN"

and set in local_conf.py

VCR_POST_REC = 'killall mplayer_record'


Cheers,
Simon


Quoting Tanja <[EMAIL PROTECTED]>:

> Hi Simon,
>
> Do you know  about VCR_PRE_REC and VCR_POST_REC?
> Maybe you can use these to construct a workaround for your problem.
>
>
> Tanja
>
> Simon Detheridge schrieb:
>> Hello,
>>
>> I have a bash script that I'm calling as a VCR_CMD, like so:
>> VCR_CMD = '/home/freevo/commands/recorder "%(filename)s"   
>> "dvb://%(channel)s"'
>>
>> My bash script says:
>>
>> # some stuff ...
>> /usr/bin/mplayer -dumpstream -dumpfile "$FN" "$CHAN"
>> # and some other stuff
>>
>> When recording ends, I expect my bash script to get killed. - Which it
>> does. However, mplayer keeps on running. I figured it would get killed
>> when the script died.
>>
>> How can I fix this? I'm not the world's best bash programmer by any stretch.
>>
>> Thanks,
>> Simon
>>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> Freevo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>



-- 
"Pokey are you drunk on love?"
"Yes. Also whiskey. But mostly love... And whiskey!"

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to