#!/bin/bash
# Show all upcoming conflicts
/usr/LH/bin/misc_upcoming_recordings.pl --recordings -1 \
                            --no_show_scheduled \
                            --heading '
Recording Conflicts
' \
                            --no_conflicts_message 'No Recording Conflicts
' 
# Show all the shows recorded today
/usr/LH/bin/misc_recent_recordings.pl --recordings=-1 --hours=24 \
                          --heading 'Shows Recorded In The Last 24 Hours
'
# Get Encoder that was used for recordings from the backend log
firstrun=1
loglist=`find /var/log/ -name *_mythbackend.*.log*`
for i in `ls -t $loglist`
do
    if [ $firstrun -eq 1 ]; then
        echo "Encoder Information