wip
This commit is contained in:
parent
7be5c09934
commit
0291bf614b
3
tv.sh
3
tv.sh
|
@ -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 :("
|
||||||
|
|
Loading…
Reference in New Issue