CoverArt Browser  v2.0
Browse your cover-art albums in Rhythmbox
coverart_search.CoverSearchPane Class Reference

List of all members.

Public Member Functions

def __init__
def load_templates
def init_gui
def do_search
def render_album_art_search
def render_artist_art_search
def clear
def set_cover

Public Attributes

 selection_color
 file
 basepath
 template
 empty_template
 artist_template
 styles
 webview
 current_searchobject
 callback

Detailed Description

This UI represents a pane where different covers can be presented
given an album or artist to look for. It also allows to make custom image searchs,
customize the default search and select covers from the pane and use them
as the covers (either with a double click or dragging them).

Definition at line 30 of file coverart_search.py.


Constructor & Destructor Documentation

def coverart_search.CoverSearchPane.__init__ (   self,
  plugin,
  selection_color 
)
Initializes the pane, loading it's html templates and it's ui.

Definition at line 38 of file coverart_search.py.


Member Function Documentation

Clears the webview of any specific info/covers.

Definition at line 165 of file coverart_search.py.

def coverart_search.CoverSearchPane.do_search (   self,
  coverobject,
  callback 
)
When this method is called, the webview gets refreshed with the info
of the album or artist passed.

Definition at line 103 of file coverart_search.py.

Initializes the pane ui.

Definition at line 82 of file coverart_search.py.

def coverart_search.CoverSearchPane.load_templates (   self,
  plugin 
)
Loads the templates and stylesheets to be used by the pane.

Definition at line 56 of file coverart_search.py.

def coverart_search.CoverSearchPane.render_album_art_search (   self,
  artist,
  album_name 
)
Renders the template on the webview.

Definition at line 143 of file coverart_search.py.

Renders the template on the webview.

Definition at line 154 of file coverart_search.py.

def coverart_search.CoverSearchPane.set_cover (   self,
  webview,
  arg 
)
Callback called when a image in the pane is double-clicked. It takes
care of updating the searched object cover.
Some titles have spurious characters beginning with % - remove these

Definition at line 175 of file coverart_search.py.


The documentation for this class was generated from the following file:
 All Classes Functions