53 lines
1.4 KiB
Plaintext
53 lines
1.4 KiB
Plaintext
SETUP STEPS:
|
|
|
|
Use Raspbian x64 standard w/ gui
|
|
|
|
apt update & upgrade
|
|
|
|
edit /boot/config.txt
|
|
comment out all hdmi lines
|
|
uncomment default overscan lines
|
|
|
|
overscan_left=-8
|
|
overscan_right=-8
|
|
overscan_top=-12
|
|
overscan_bottom=-12
|
|
|
|
framebuffer_width=640
|
|
framebuffer_height=480
|
|
|
|
add "sdtv_mode=0" and "sdtv_aspect=1"
|
|
|
|
raspi-config
|
|
Advanced -> Compositor -> No
|
|
Display Options->Composite->Yes->Reboot Now
|
|
|
|
Python3-> sudo pip install opencv2-python && sudo pip install yt-dlp
|
|
|
|
|
|
ancient abandoned esoteric animations or AAEA for short
|
|
FansubTV
|
|
|
|
Hour by Hour loop script:
|
|
|
|
schedule:
|
|
-Station ID video plays
|
|
-episode (~25 minutes)
|
|
-random commercial block (2.5 minutes)
|
|
-Station ID video plays
|
|
-random commercial block (2.5 minutes)
|
|
-episode (~25 minutes)
|
|
-random commercial block (2.5 minutes)
|
|
-Station ID video plays
|
|
-random commercial block (2.5 minutes)
|
|
|
|
use NTP to determine when hour is up. station ID fills remaining time.
|
|
|
|
timeToTopOfHour = $((60 - $(date +%M)))
|
|
|
|
|
|
DISPLAY=:0 cvlc --fullscreen --play-and-exit --sub-source logo --logo-position 10 --logo-opacity=128 --logo-file /media/aaeachannelbug.png --no-osd /media/anime/<path to video to play>'
|
|
|
|
yt-dlp -o - "https://www.youtube.com/watch?v=GMef9cY4EAA" | DISPLAY=:0 cvlc --fullscreen --play-and-exit --sub-source logo --logo-position 10 --logo-opacity=128 --logo-file /media/aaeachannelbug.png --no-osd -
|
|
|