Todo List
All of the 'random' type events, elements, voodoo done by ampache is done by this class, there isn't a table for this class so most of it's functions are static
static void advanced( $data)
This processes the results of a post from a form and returns an array of song items that were returned from said randomness
static void album( )
This returns the ID of a random album, nothing special
static void artist( )
This returns the ID of a random artist, nothing special here for now
static void get_album( $limit)
This looks at the last album played by the current user and picks something else in the same album
static void get_artist( $limit)
This looks at the last artist played and then randomly picks a song from the same artist
static void get_default( $limit)
static void get_genre( $limit)
static void get_single_song( $type)
This returns a single song pulled based on the passed random method
static void get_type_name( $type)
This returns a 'purrty' name for the differnt random types
static void playlist( )
This returns a random Playlist with songs little bit of extra logic require
static void play_url( $type)
This generates a random play url based on the passed type and returns it
static void validate_type( $type)
this validates the random type
Random __construct( )
nothing to see here, move along