| Trees | Indices | Help |
|---|
|
|
1 # -*- Mode: Python -*- 2 # vi:si:et:sw=4:sts=4:ts=4 3 # 4 # Flumotion - a streaming media server 5 # Copyright (C) 2004,2005,2006,2007,2008 Fluendo, S.L. (www.fluendo.com). 6 # All rights reserved. 7 8 # This file may be distributed and/or modified under the terms of 9 # the GNU General Public License version 2 as published by 10 # the Free Software Foundation. 11 # This file is distributed without any warranty; without even the implied 12 # warranty of merchantability or fitness for a particular purpose. 13 # See "LICENSE.GPL" in the source distribution for more information. 14 15 # Licensees having purchased or holding a valid Flumotion Advanced 16 # Streaming Server license may use this file in accordance with the 17 # Flumotion Advanced Streaming Server Commercial License Agreement. 18 # See "LICENSE.Flumotion" in the source distribution for more information. 19 20 # Headers in this file shall remain intact. 21 22 import gettext 23 24 from flumotion.wizard.models import Consumer 25 from flumotion.wizard.basesteps import ConsumerStep 26 27 __version__ = "$Rev: 7015 $" 28 _ = gettext.gettext 29 3032 componentType = 'shout2-consumer'41 4234 super(Shout2Consumer, self).__init__() 35 self.properties.ip = '127.0.0.1' 36 self.properties.mount_point = '/' 37 self.properties.description = '' 38 self.properties.short_name = '' 39 self.properties.url = 'http://localhost/' 40 self.properties.password = ''44 gladeFile = 'shout2-wizard.glade' 45 49 50 # ConsumerStep 51 54 55 # WizardStep 5678 7958 self.ip.data_type = str 59 self.port.data_type = int 60 self.mount_point.data_type = str 61 self.password.data_type = str 62 self.short_name.data_type = str 63 self.description.data_type = str 64 self.url.data_type = str 65 66 self.add_proxy(self.model.properties, 67 ['ip', 68 'port', 69 'mount_point', 70 'short_name', 71 'password', 72 'description', 73 'url'])7481 name = 'Icecast streamer (audio & video)' 82 title = _('Icecast streamer (audio and video)') 83 sidebarName = _('Icecast audio/video') 84 85 # ConsumerStep 8689 9092 name = 'Icecast streamer (audio only)' 93 title = _('Icecast streamer (audio only)') 94 sidebarName = _('Icecast audio') 95 96 # ConsumerStep 97100 101103 name = 'Icecast streamer (video only)' 104 title = _('Icecast streamer (video only)') 105 sidebarName = _('Icecast video') 106 107 # ConsumerStep 108111
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sat Jul 26 09:43:12 2008 | http://epydoc.sourceforge.net |