en | fr

The Media class


Extends Record

Generic wrapper for any sort of playable media (i.e. video or music).


real_artist

Tries to guess the real media’s author based upon the title and the associated account.

media.title  == 'Maliblue'
media.artist == 'Darius'
media.real_artist // => 'Darius'

media.title  == 'Kartell - Aura'
media.artist == 'Roche Musique'
media.real_artist // => 'Kartell'

media.title  == 'Talk Talk (Moon Boots Remix)'
media.artist == 'future classic'
media.real_artist // => 'Moon Boots'

media.title  == 'Take Care of You'
media.artist == 'Cherokee (Official)'
media.real_artist // => 'Cherokee'

Returns String