1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import gettext
23 import os
24 from zope.interface import implements
25
26 from flumotion.admin.assistant.interfaces import IConsumerPlugin
27 from flumotion.admin.assistant.models import Consumer
28 from flumotion.admin.gtk.basesteps import ConsumerStep
29
30 __version__ = "$Rev$"
31 _ = gettext.gettext
32
33
46
47
49 gladeFile = os.path.join(os.path.dirname(os.path.abspath(__file__)),
50 'wizard.glade')
51
55
56
57
60
61
62
64 self.ip.data_type = str
65 self.port.data_type = int
66 self.mount_point.data_type = str
67 self.password.data_type = str
68 self.short_name.data_type = str
69 self.description.data_type = str
70 self.url.data_type = str
71
72 self.add_proxy(self.model.properties,
73 ['ip',
74 'port',
75 'mount_point',
76 'short_name',
77 'password',
78 'description',
79 'url'])
80
84
85
87 name = 'Icecast streamer (audio & video)'
88 title = _('Icecast Streamer (Audio and Video)')
89 sidebarName = _('Icecast audio/video')
90 docSection = 'help-configuration-assistant-icecast-streaming-both'
91 docAnchor = ''
92 docVersion = 'local'
93
94
95
98
99
101 name = 'Icecast streamer (audio only)'
102 title = _('Icecast Streamer (Audio Only)')
103 sidebarName = _('Icecast Audio')
104 docSection = 'help-configuration-assistant-icecast-streaming-audio-only'
105 docAnchor = ''
106 docVersion = 'local'
107
108
109
112
113
115 name = 'Icecast streamer (video only)'
116 title = _('Icecast Streamer (Video Only)')
117 sidebarName = _('Icecast Video')
118 docSection = 'help-configuration-assistant-icecast-streaming-video-only'
119 docAnchor = ''
120 docVersion = 'local'
121
122
123
126
127
141