1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 import gettext
19
20 from flumotion.admin.gtk.workerstep import WorkerWizardStep
21 from flumotion.common import messages
22
23 __version__ = "$Rev$"
24 _ = gettext.gettext
25
26
33
34
36 section = _('Production')
37 icon = 'widget_doc.png'
38
42
43
44
48
49
51 section = _('Conversion')
52
56
58 return self.wizard.getStep('Encoding').getAudioPage()
59
60
73
74
76 section = _('Consumption')
77
79 raise NotImplementedError(self)
80
82 raise NotImplementedError(self)
83
85 """Returns the http-server consumer model or None
86 if there will only a stream served.
87 @returns: the server consumer or None
88 """
89 return []
90
92 """Returns the porter model or None if there will only a stream served.
93 @returns: the porter or None
94 """
95 return []
96
97
98
100 if not self.wizard.hasStep('Consumption'):
101 return None
102 return self.wizard.getStep('Consumption').getNext(self)
103