blob: 30b43b16b55d51e6fdcd4abe60d21e3c57e6f61d (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
[ $? -ne 2 ] && echo "Usage: $0 <path to the VDR recording> <rating 0 - 10>" && exit 1
rm ${2}/rated.vdr >/dev/null 2>&1
if [ ! ${1} = "0" ]; then
echo "${1}" > $2/rated.vdr
fi
|