-
Notifications
You must be signed in to change notification settings - Fork 12
/
playlist-wall.py
39 lines (35 loc) · 1.82 KB
/
playlist-wall.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import dircache
import random
def ddc_chooser():
alle = dircache.listdir('animations/ddc')
ddc_list = []
for i in alle:
if i[0:3] == 'ddc' and i[-1] == 'y':
ddc_list.append('ddc/'+i)
return random.choice(ddc_list)
def getPlaylist():
playlist = [
#[time_in_seconds, [[simultanious_animation1, argument1, ...], [simultanious_animation2, argument1, ...], ...]]
#wall can be temporary blanked by issuing python black.py in a different screen window
#[20, [["python","animations/black.py","--wall=0"]]],
#[20, [["python","animations/pride.py", "--wall=0"]]],
#[20, [["python","animations/green.py", "--wall=0"]]],
[20, [["python","animations/rc3-2021.py", "--wall=0"]]],
#[20, [["python","animations/screw.py","--wall=0"], ["python","animations/rainbowscroll.py","--wall=1"]]],
#[20, [["python","animations/screw.py","--wall=0"]]],
#[20, [["python","animations/rainbowscroll.py","--wall=0"]]],
#[20, [["python","animations/multiwall_rainbowscroll.py"]]],
#[20, [["python","animations/s-color4-faster.py"]]],
#[20, [["python","animations/rand.py"]]],
#[20, [["python","animations/python-banner.py"]]],
#[20, [["python","animations/gameoflife.py"]]],
#[20, [["python","animations/dmm/hackerbrucke.py"]]],
#[20, [["python","animations/red-sym-scroll.py"]]],
#[20, [["python","animations/multiwall_fullpulse.py"]]],
#[20, [["python","animations/dropping.py"]]],
#[20, [["python","animations/dmm/hackerbrucke.py"]]],
#[20, [["python","animations/dmm/dt.py"]]],
#[20, [["python","animations/dmm/uhrzeit.py"]]],
#[20, [["python","animations/multiwall_warp_core.py"]]],
]
return playlist