public function create($name, $duration, $useDuration, $windowsCommand, $linuxCommand, $launchThroughCmd, $terminateCommand, $useTaskkill, $commandCode, $playlistId)
    {
        $this->userId = $this->getEntityProvider()->getMe()->getId();
        $this->name = $name;
        $this->duration = $duration;
        $this->useDuration = $useDuration;
        $this->windowsCommand = $windowsCommand;
        $this->linuxCommand = $linuxCommand;
        $this->launchThroughCmd = $launchThroughCmd;
        $this->terminateCommand = $terminateCommand;
        $this->useTaskkill = $useTaskkill;
        $this->commandCode = $commandCode;
        $this->playlistId = $playlistId;
        $this->getLogger()->info('Creating new Schell Command widget in playlist ID ' . $playlistId);
        $response = $this->doPost('/playlist/widget/shellCommand/' . $playlistId , $this->toArray());

        return $this->hydrate($response);
    }