-
Notifications
You must be signed in to change notification settings - Fork 3
/
pp_artmediashow.py
37 lines (28 loc) · 1.05 KB
/
pp_artmediashow.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
from pp_artshow import ArtShow
from pp_medialist import MediaList
class ArtMediaShow(ArtShow):
def __init__(self,
show_id,
show_params,
root,
canvas,
showlist,
pp_dir,
pp_home,
pp_profile,
command_callback):
# init the common bits
ArtShow.__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'])
ArtShow.play(self,end_callback,show_ready_callback, direction_command,level,controls_list)