[mythtv-users] Playback problem -- random short pauses

Steven Adeff adeffs.mythtv at gmail.com
Thu Sep 29 19:59:20 UTC 2011


On Thu, Sep 29, 2011 at 1:09 PM, Dan Wilga
<mythtv-users2 at dwilga-linux1.amherst.edu> wrote:
> On 9/29/11 12:18 PM, Mark Boyum wrote:
>> nice -n 19 mythpreviewgen.real $1 $2 $3 $4 $5 $6 $7 $8
>>
> Assuming the shell that runs this script is bash, you can change that
> last line to:
>
>   nice -n 19 mythpreviewgen.real $*
>
> That way, any number of parameters will always be passed along.
>
> --
> Dan Wilga                                                        "Ook."

so,

#!/bin/bash

# Script to reduce CPU impact of preview generation at the end of a recording.
# mv /usr/bin/mythpreviewgen to /usr/bin/mythpreviewgen.real
# copy this script to /usr/bin/mythpreviewgen and make it executable,
# chmod 755 /usr/bin/mythpreviewgen

nice -n 19 mythpreviewgen.real $*



-- 
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette -
http://www.mythtv.org/wiki/index.php/Mailing_List_etiquette


More information about the mythtv-users mailing list