-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpp_mediashow.py
43 lines (28 loc) · 1.05 KB
/
pp_mediashow.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
40
41
42
43
from pp_gapshow import GapShow
from pp_medialist import MediaList
class MediaShow(GapShow):
def __init__(self,
show_id,
show_params,
root,
canvas,
showlist,
pp_dir,
pp_home,
pp_profile,
command_callback):
# init the common bits
GapShow.__init__(self,
show_id,
show_params,
root,
canvas,
showlist,
pp_dir,
pp_home,
pp_profile,
command_callback)
def play(self,end_callback,show_ready_callback, direction_command,level,controls_list):
# use the appropriate medialist
self.medialist=MediaList(self.show_params['sequence'])
GapShow.play(self,end_callback,show_ready_callback, direction_command,level,controls_list)