芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/apv.mgaplay.com.br/vendor/xibosignage/oauth2-xibo-cms/src/Entity/XiboPlaylist.php
playlistId = $region; $this->media = $media; $response = $this->doPost('/playlist/library/assign/' . $region, [ 'media' => $media, 'duration' => $duration ]); // Parse response // set properties $this->playlistId = $response['playlistId']; // Set widgets property (with XiboWidget objects) foreach ($response['widgets'] as $widget) { $this->widgets[] = (new XiboWidget($this->getEntityProvider()))->hydrate($widget); } return $this; } }