This commit is contained in:
Abdulmhsen B. A. A
2022-10-31 11:53:23 +03:00
parent 9e86968cf5
commit 2bc3690d07

View File

@@ -8,6 +8,7 @@ use App\Backends\Common\Context;
use App\Backends\Common\GuidInterface as iGuid;
use App\Backends\Jellyfin\JellyfinClient as JFC;
use App\Libs\Container;
use App\Libs\Extends\Date;
use App\Libs\Mappers\ImportInterface as iImport;
use App\Libs\Message;
use App\Libs\Options;
@@ -192,6 +193,10 @@ class Export extends Import
$url = $context->backendUrl->withPath(
sprintf('/Users/%s/PlayedItems/%s', $context->backendUser, ag($item, 'Id'))
)->withQuery(
http_build_query([
'DatePlayed' => makeDate($entity->updated)->format(Date::ATOM)
])
);
$logContext['item']['url'] = $url;