#!/bin/bash
##############################################################################
#
# GShowTV record command. This command is the one command that the user of
# GShowTV has to customize if he/she wants to use it as a PVR.
#
# The script will receive the following information from GShowTV and the sole
# responsibility of this script is to call the PVR system and tell it to start
# recording at the specified time. The second task of the script is to initialize
# the METAFILE, by placing the filename of the created video on the first row of
# that file.

CHANNEL=$1
START=$2
STOP=$3
TITLE=$4
METAFILE=$5

# This script is supposed to exit with error value 1 if there are 
# overlapping programs and with error value 0 if everything went ok.

# Do nothing, just initialize the file with dummy information.

# This file does not exist, but it's purpose is just to notify the user to configure
# things properly.

echo "/not/yet/configured.avi" >$METAFILE

