Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetImagePath ¶
GetImagePath This Function returns the path to the image that is to be rendered it checks first for the image in the cache else it adds the image to the cache and then extracts it and renders it.
Types ¶
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
Renderer is just a channel on which we will send the Path to the song whose Image is to be Rendered. This channel is passed to the OpenImage which in turn is called by the Start() function as a go routine.
var (
Rendr *Renderer
)
func NewRenderer ¶
func NewRenderer() *Renderer
NewRenderer Returns a new Renderer with a string channel
Click to show internal directories.
Click to hide internal directories.