paul- wrote: > It should be and the soundcard control page. Button right by the > soundcard selection drop down on the squeezelite page. Thanks, I did't think to check card control, I've disabled onboard sound now. :)
Also, I may have a solution to the whole log file filling up memory problem. This shellscript monitors the size of the logfile then truncates it if it gets too large: Code: -------------------- # Log Monitor - Used to monitor the size of a logfile # Will truncate log file if it gets too large # Start of script # Set max size of logfile here, in bytes. Default = 1 Megabyte MAXSIZE="1048576" # Delete this file if you want script to stop running RUNFILE="/tmp/log_monitor" touch "$RUNFILE" # Log file to monitor LOGFILE="/var/log/pcp_squeezelite.log" while [ -f "$RUNFILE" ]; do # Get filesize in bytes LOGSIZE=$(ls "$LOGFILE" -l | awk '{print $5}') # Compare if [ "$LOGSIZE" -gt "$MAXSIZE" ]; then echo "Filesize $LOGSIZE is too large, truncating at $(date)" | tee "$LOGFILE" else echo "Filesize $LOGSIZE is OK" fi # Wait 1 min sleep 60 done exit 0 # End of script -------------------- I've added it to my $HOME dir, called it 'log_monitor.sh' and load it on boot using the User command setting: /home/tc/log_monitor.sh Adjust MAXSIZE to however large you want to log file to get before it gets truncated. ------------------------------------------------------------------------ TheHypnoToad's Profile: http://forums.slimdevices.com/member.php?userid=69197 View this thread: http://forums.slimdevices.com/showthread.php?t=110795 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix