![]() ![]() iactions # Ask the view plugin to launch the viewer for row_number view_plugin. items (): if most_recent is None or timestamp > most_recent : most_recent = timestamp most_recent_id = book_id if most_recent_id is not None : # Get a reference to the View plugin view_plugin = self. do_search () def view ( self ): ''' View the most recently added book ''' most_recent = most_recent_id = None db = self. set_marked_ids ( matched_ids ) # Tell the GUI to search for all marked records self. From calibre.customize import FileTypePlugin class HelloWorld ( FileTypePlugin ): name = 'Hello World Plugin' # Name of the plugin description = 'Set the publisher to Hello World for all new conversions' supported_platforms = # Platforms this plugin will run on author = 'Acme Inc.' # The author of this plugin version = ( 1, 0, 0 ) # The version number of this plugin file_types = # Mark the records with the matching ids # new_api does not know anything about marked books, so we use the full # db object self. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |