[mythtv-users] restricting mythpreviewgen?
John Pilkington
J.Pilk at tesco.net
Wed Jan 23 11:10:45 UTC 2013
On 23/01/13 10:41, phipps-hutton at sky.com wrote:
>
>
> Try 'rm /usr/bin/mythpreviewgen'. Previews look pretty but I can live
> without them.
>
> Cheers,
> Tim.
>
I found this on my box; ISTR that it used to work but I haven't bothered
with it recently.
############
cat /usr/bin/mythpreviewgen.wrap
#!/bin/bash
# Script to reduce CPU impact of preview generation at the end of a
recording.
# mv /usr/bin/mythpreviewgen /usr/bin/mythpreviewgen.real
# copy this script to /usr/bin/mythpreviewgen and make it executable,
# chmod 755 /usr/bin/mythpreviewgen
# http://www.gossamer-threads.com/lists/mythtv/users/492811#492811
ionice -c3 nice mythpreviewgen.real "$@"
############
John P
More information about the mythtv-users
mailing list