Author: duncan
Date: Sun Oct 14 08:44:29 2007
New Revision: 9975

Log:
Added doc strings so that freevo plugins -l can report something about the 
module


Modified:
   branches/rel-1/freevo/src/image/plugins/gphoto.py
   branches/rel-1/freevo/src/tv/plugins/generic_record.py
   branches/rel-1/freevo/src/tv/plugins/search_programs.py

Modified: branches/rel-1/freevo/src/image/plugins/gphoto.py
==============================================================================
--- branches/rel-1/freevo/src/image/plugins/gphoto.py   (original)
+++ branches/rel-1/freevo/src/image/plugins/gphoto.py   Sun Oct 14 08:44:29 2007
@@ -43,6 +43,9 @@
 import plugin
 
 class PluginInterface(plugin.MainMenuPlugin):
+    """
+    Use the gphoto application to retrieve and show the images
+    """
 
     def detectCameras(self):
         gplist = pygphoto.gp_detectcameras( )

Modified: branches/rel-1/freevo/src/tv/plugins/generic_record.py
==============================================================================
--- branches/rel-1/freevo/src/tv/plugins/generic_record.py      (original)
+++ branches/rel-1/freevo/src/tv/plugins/generic_record.py      Sun Oct 14 
08:44:29 2007
@@ -46,6 +46,10 @@
 
 
 class PluginInterface(plugin.Plugin):
+    """
+    Generic TV recording application used with BTTV and DVB cards
+    """
+
     def __init__(self):
         plugin.Plugin.__init__(self)
 

Modified: branches/rel-1/freevo/src/tv/plugins/search_programs.py
==============================================================================
--- branches/rel-1/freevo/src/tv/plugins/search_programs.py     (original)
+++ branches/rel-1/freevo/src/tv/plugins/search_programs.py     Sun Oct 14 
08:44:29 2007
@@ -56,6 +56,10 @@
 
 
 class PluginInterface(plugin.MainMenuPlugin):
+    """
+    Search for programs
+    """
+
     def __init__(self):
         plugin.MainMenuPlugin.__init__(self)
 
@@ -66,21 +70,20 @@
         self.parent = parent
         return [SearchPrograms(parent)]
 
+
 class SearchPrograms(Item):
+
     def __init__(self, parent):
         Item.__init__(self, parent, skin_type='tv')
         self.name = _('Search Programs')
 
-
     def actions(self):
         return [(self.show_search, self.name)]
 
-
     def show_search(self, arg=None, menuw=None):
         text_entry = TextEntryScreen((_('Search'), self.search_for_programs), 
self.name)
         text_entry.show(menuw)
 
-
     def search_for_programs(self, menuw, text):
         pop = PopupBox(text=_('Searching, please wait...'))
         pop.show()
@@ -152,7 +155,6 @@
             return (TRUE, matches)
         return (FALSE, 'no matches')
 
-
     def updateGuide(self):
         global guide
         guide = tv.epg_xmltv.get_guide()

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to