Class MusicExtras::Allofmp3
In: lib/musicextras/musicsites/allofmp3.rb
Parent: MusicSite

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

Methods

cover   get_album_urls   image   new   test  

Constants

NAME = 'Allofmp3'
URL = 'www.allofmp3.com'
DESCRIPTION = 'Artist images, album covers for many genres'

Public Class methods

Public Instance methods

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

album
an Album Object

Note: returns nil if something went wrong

Returns an array: [album, album_url] or nil if none were found

Fetches artist image from site, returning the image as a binary string

artist
an Artist object

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

[Validate]