This commit is contained in:
Matt McWilliams 2022-12-28 21:16:01 -05:00
parent 7be5c09934
commit 0291bf614b
1 changed files with 0 additions and 3 deletions

3
tv.sh
View File

@ -27,8 +27,6 @@ AllFiles () {
} }
SetupHistory SetupHistory
SetupPlayback SetupPlayback
@ -38,7 +36,6 @@ while true; do
files=$(AllFiles) files=$(AllFiles)
fileCount=$(cat "${files}" | wc -l) fileCount=$(cat "${files}" | wc -l)
playbackCount=$(PDB "SELECT COUNT(*) FROM playback") playbackCount=$(PDB "SELECT COUNT(*) FROM playback")
echo $playbackCount
if [ ${fileCount} -eq 0 ]; then if [ ${fileCount} -eq 0 ]; then
echo "No files to play :(" echo "No files to play :("