Home | Trees | Indices | Help |
---|
|
1 # Elisa - Home multimedia server 2 # Copyright (C) 2006-2008 Fluendo Embedded S.L. (www.fluendo.com). 3 # All rights reserved. 4 # 5 # This file is available under one of two license agreements. 6 # 7 # This file is licensed under the GPL version 3. 8 # See "LICENSE.GPL" in the root of this distribution including a special 9 # exception to use Elisa with Fluendo's plugins. 10 # 11 # The GPL part of Elisa is also available under a commercial licensing 12 # agreement from Fluendo. 13 # See "LICENSE.Elisa" in the root directory of this distribution package 14 # for details on that license. 15 16 17 __maintainer__ = 'Lionel Martin <lionel@fluendo.com>' 18 __maintainer2__ = 'Florian Boucault <florian@fluendo.com>' 19 20 21 from elisa.base_components.activity import Activity 22 from elisa.core import common 23 24264228 registry = common.application.plugin_registry 29 30 slideshow_model = registry.create_component('base:slideshow_model') 31 32 # TODO: make this configurable 33 playlist_activity = registry.create_component('base:default_playlist') 34 playlist_activity.media_types = ["image"] 35 36 playlist_model = playlist_activity.get_model() 37 playlist_model.parent = slideshow_model 38 39 slideshow_model.playlist = playlist_model 40 slideshow_model.activity = self 41 return slideshow_model
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Wed Jan 16 19:10:28 2008 | http://epydoc.sourceforge.net |