public static function parse($raw)
    {
        if ($raw == 'stop') {
            return self::STOPPED;
        } elseif ($raw == 'pause') {
            return self::PAUSED;
        } elseif ($raw == 'play') {
            return self::PLAYING;
        }
        return 3;
    }