'Initialize the media player.'

def __init__(self, name, url, code):

    from websocket import create_connection
    self._connection = create_connection
    self._url = url
    self._authorization_code = code
    self._name = name
    self._status = STATE_OFF
    self._ws = None
    self._title = None
    self._artist = None
    self._albumart = None
    self._seek_position = None
    self._duration = None
    self._volume = None
    self._request_id = 0
