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