User Tools

Site Tools


computers:server:mythbuntu1204

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computers:server:mythbuntu1204 [2012/05/19 19:09] – [Backend Configuration] davidcomputers:server:mythbuntu1204 [2012/09/16 18:10] (current) – [Backend Card Hang / Crash] david
Line 173: Line 173:
 sudo mkdir /var/lib/mythtv/recordings/links/ sudo mkdir /var/lib/mythtv/recordings/links/
 </code> </code>
-  - Place the following script in **mythtv_cronjob_symlink_recordings.sh** <code bash> +  - Place the following script in **mythtv_cronjob_symlink_recordings** <code bash> 
-#!/bin/bash+#!/bin/sh
 find /var/lib/mythtv/recordings/links/ -type l -exec rm {} \; find /var/lib/mythtv/recordings/links/ -type l -exec rm {} \;
 cd /var/lib/mythtv/recordings/links/ cd /var/lib/mythtv/recordings/links/
Line 182: Line 182:
   fname=`/usr/local/bin/mythname.pl --rep=. --subtitle $filename | tr : _ | tr ';.' .`.mpg   fname=`/usr/local/bin/mythname.pl --rep=. --subtitle $filename | tr : _ | tr ';.' .`.mpg
   ##### no need to echo for a cron job ##### echo "Linking $filename to $fname"   ##### no need to echo for a cron job ##### echo "Linking $filename to $fname"
-  ln -s $filename $fname+  ln -s $filename $fname > /dev/null 2>&1
 done done
 exit 0 exit 0
 </code> </code>
-  - Copy that file into **/etc/cron.daily/** (NOTE:  This will NOT work, because cron jobs cannot have .sh extensions!)  --- //[[david@lattice.net|David Lloyd Rabine]] 2012/05/19 13:17//<code> +  - Copy that file into **/etc/cron.daily/** <code> 
-sudo cp mythtv_cronjob_symlink_recordings.sh /etc/cron.daily/+sudo cp mythtv_cronjob_symlink_recordings /etc/cron.daily/
 </code> </code>
   - Set the ownership and permissions <code>   - Set the ownership and permissions <code>
-sudo chown root:root /etc/cron.daily/mythtv_cronjob_symlink_recordings.sh +sudo chown root:root /etc/cron.daily/mythtv_cronjob_symlink_recordings 
-sudo chmod 755 /etc/cron.daily/mythtv_cronjob_symlink_recordings.sh+sudo chmod 755 /etc/cron.daily/mythtv_cronjob_symlink_recordings
 </code> </code>
   - I added these lines to **/etc/samba/smbd.conf** trying to get the links to work <code>   - I added these lines to **/etc/samba/smbd.conf** trying to get the links to work <code>
Line 197: Line 197:
 unix extensions = no unix extensions = no
 wide links = yes wide links = yes
 +</code>
 +
 +==== Backend Card Hang / Crash ====
 +
 +Use an hourly cron job to check for this error.  If you see it, reboot!  Here is my **cron.hourly** script **mythtv_check_for_crashed_tuner**:
 +
 +<code bash>
 +#!/bin/bash
 +#
 +
 +SAA7164ERRORS=$(/bin/dmesg | /bin/grep saa7164_api_i2c_write | /usr/bin/wc -l)
 +
 +if [ $SAA7164ERRORS -ne 0 ]; then
 +  MYDATE=$(/bin/date)
 +  echo $MYDATE : Rebooting Now Due to saa7164 card crash >> /home/mythbot/mythbot_reboot_log.txt
 +  /sbin/reboot
 +fi
 </code> </code>
 ====== Frontend ====== ====== Frontend ======
Line 219: Line 236:
 </code> </code>
   - Modified the Audio output to use S/PDIF:   - Modified the Audio output to use S/PDIF:
-    - Utilities / Setup -> Setup -> General -> Page 4+    - Utilities / Setup -> Setup -> General -> Page 4  **NOTE**  Anything but default / stereo breaks the SPDIF output... don't touch this 
 +      - Did set the audio outputs to 100% on both Master and PCM
       - <del>Speaker Configuration from **Stereo** to **5.1**</del>  NOTE:  This seems to BREAK my audio now?!  If I leave it stereo it works.       - <del>Speaker Configuration from **Stereo** to **5.1**</del>  NOTE:  This seems to BREAK my audio now?!  If I leave it stereo it works.
       - <del>Upmix:  **Best**</del>       - <del>Upmix:  **Best**</del>
-      - Audio Processing Capabilities:  Check both **Dolby Digital** AND **DTS**+      - <del>Audio Processing Capabilities:  Check both **Dolby Digital** AND **DTS**</del>
   - Set our VIDEO output to VDPAU:   - Set our VIDEO output to VDPAU:
     - Utilities / Setup -> TV Settings -> Playback -> Page 3/8     - Utilities / Setup -> TV Settings -> Playback -> Page 3/8
computers/server/mythbuntu1204.1337454546.txt.gz · Last modified: 2012/05/19 19:09 by david