commit 5daa6593bdf1315cc6987117c8691da40814edb0
parent 85cb306dadb9d01ab672b46d9a53ec37e0d2c10f
Author: rbckman <robinbackman@gmail.com>
Date: Thu, 2 Nov 2017 10:45:23 +0000
thumbnail bug fixed
Diffstat:
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/install.sh b/install.sh
@@ -17,7 +17,7 @@ echo "changing cpu governor to performance..."
cat <<'EOF' >> /etc/default/cpufrequtils
GOVERNOR="performance"
EOF
-echo "Installing rpi hd tft screen..."
+echo "Adding to /boot/config.txt"
cp rpihdtft/dt-blob.bin /boot/
cat <<'EOF' >> /boot/config.txt
#Rpi-hd-tft
@@ -35,8 +35,15 @@ display_rotate=3
dtoverlay=vga666
#dtoverlay=pi3-disable-bt-overlay
dtoverlay=i2c-gpio,i2c_gpio_scl=24,i2c_gpio_sda=23framebuffer_height=480
+disable_splash=1
EOF
+echo "Adding to /boot/cmdline.txt"
+printf " consoleblank=0 logo.nologo loglevel=0 vt.global_cursor_default=0" >> /boot/cmdline.txt
+
+echo "Changing splash png"
+cp splash.png /usr/share/plymouth/themes/pix/splash.png
+
while true; do
read -p "do you have a usb sound card? make it default (y)es or (n)o?" yn
case $yn in
diff --git a/tarina.py b/tarina.py
@@ -1229,7 +1229,7 @@ def main():
os.system('amixer -c 0 set Mic Playback ' + str(headphoneslevel) + '%')
#TESTING SPACE
- alltakes = renderthumbnails(filmname, filmfolder)
+ #alltakes = renderthumbnails(filmname, filmfolder)
#writemessage('This film has ' + str(alltakes) + ' takes')
#writemessage(tarinafolder)
#time.sleep(3)