[mythtv-users] Slightly OT: Modify mythweb flash streaming for an in progress recording (Formula 1)

Ian Clark mrrooster at gmail.com
Wed Apr 6 15:19:47 UTC 2011


On 6 April 2011 16:17, Ian Clark <mrrooster at gmail.com> wrote:
[snip]
> It's a bit hacky, but you could symlink tail to something nice an
> unique, then use the recording finished event or a user job to pkill
> your nice unique proces name, eg:-
>
> ian at pvr:~$ ln -s /usr/bin/tail niceandunique
> ian at pvr:~$ ./niceandunique -f /dev/random > /dev/null &
> [1] 14656
> ian at pvr:~$ pkill niceandunique
> [1]+  Terminated              ./niceandunique -f /dev/random > /dev/null
> ian at pvr:~$
>
Just one thing, if you do this don't make your new filename toooo
long, pkill and pgrep have limits on the length of search string they
use.

Cheers,

Ian


More information about the mythtv-users mailing list