Class MusicExtras::LyricsTime
In: lib/musicextras/musicsites/lyricstime.rb
Parent: MusicSite

This is an implementation of MusicSite for www.lyricstime.com

Methods

cover   lyrics   new   test   urlify  

Constants

NAME = 'LyricsTime'
URL = 'www.lyricstime.com'
DESCRIPTION = 'Lyrics and album covers for multiple genres'
NO_COVER_URL = '/images/l_no_cover.gif'   Image used by the site when an album cover is unavailable

Public Class methods

Public Instance methods

Fetches album cover from the site, returning the image as binary

album
an Album object

Note: returns nil if something went wrong (including just not being able to find the album cover)

Fetches lyrics from the site, returning the lyrics as string

song
a Song object

Note: returns nil if something went wrong (including just not being able to find the lyrics)

[Validate]