blob: 8b191e136a65a066e9fedb507a0230b691fc35bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/bash
#. /etc/osd_cat.cfg || {
# color=yellow
# outline=2
# outlinecolour=black
# shadow=0
# shadowcolour=black
# font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*"
#}
#echo -e "Loading . . . " | osd_cat --pos=middle --align=center --delay=10 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font
msg_client.py --timeout 10 --msg "Loading Trailer..." --tag "trailers" &
sleep 2
cacheFill=0
while [[ cacheFill -eq 0 ]]
do
cacheFill=$(tail -n 1 /tmp/.mplayer-status | grep -ci "Cache fill")
done
#sleep 1
msg_client.py --clear --tag "trailers"
msg_client.py --kill
|