From 2bc3690d07ab0eb589fa2e12004d8197b995dd77 Mon Sep 17 00:00:00 2001 From: "Abdulmhsen B. A. A" Date: Mon, 31 Oct 2022 11:53:23 +0300 Subject: [PATCH] Fixes #258 --- src/Backends/Jellyfin/Action/Export.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Backends/Jellyfin/Action/Export.php b/src/Backends/Jellyfin/Action/Export.php index 1a886cbf..ccfda4c1 100644 --- a/src/Backends/Jellyfin/Action/Export.php +++ b/src/Backends/Jellyfin/Action/Export.php @@ -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;