Merge pull request #85 from ArabCoders/dev
Fixed missing ignore list casting in different conditions.
This commit is contained in:
@@ -615,7 +615,7 @@ class JellyfinServer implements ServerInterface
|
||||
$ignoreIds = null;
|
||||
|
||||
if (null !== ($this->options['ignore'] ?? null)) {
|
||||
$ignoreIds = array_map(fn($v) => trim($v), explode(',', $this->options['ignore']));
|
||||
$ignoreIds = array_map(fn($v) => trim($v), explode(',', (string)$this->options['ignore']));
|
||||
}
|
||||
|
||||
$list = [];
|
||||
|
||||
@@ -453,7 +453,7 @@ class PlexServer implements ServerInterface
|
||||
$ignoreIds = null;
|
||||
|
||||
if (null !== ($this->options['ignore'] ?? null)) {
|
||||
$ignoreIds = array_map(fn($v) => (int)trim($v), explode(',', $this->options['ignore']));
|
||||
$ignoreIds = array_map(fn($v) => (int)trim($v), explode(',', (string)$this->options['ignore']));
|
||||
}
|
||||
|
||||
$promises = [];
|
||||
@@ -650,7 +650,7 @@ class PlexServer implements ServerInterface
|
||||
$ignoreIds = null;
|
||||
|
||||
if (null !== ($this->options['ignore'] ?? null)) {
|
||||
$ignoreIds = array_map(fn($v) => (int)trim($v), explode(',', $this->options['ignore']));
|
||||
$ignoreIds = array_map(fn($v) => (int)trim($v), explode(',', (string)$this->options['ignore']));
|
||||
}
|
||||
|
||||
$list = [];
|
||||
|
||||
@@ -10,15 +10,15 @@ return [
|
||||
'updated' => 0,
|
||||
'watched' => 1,
|
||||
'meta' => [
|
||||
"via" => "EMBY@Home",
|
||||
"series" => "Series Title",
|
||||
"year" => 2020,
|
||||
"season" => 1,
|
||||
"episode" => 2,
|
||||
"title" => "Episode Title",
|
||||
"date" => "2020-01-03",
|
||||
"webhook" => [
|
||||
"event" => "media.scrobble"
|
||||
'via' => 'EMBY@Home',
|
||||
'series' => 'Series Title',
|
||||
'year' => 2020,
|
||||
'season' => 1,
|
||||
'episode' => 2,
|
||||
'title' => 'Episode Title',
|
||||
'date' => '2020-01-03',
|
||||
'webhook' => [
|
||||
'event' => 'media.scrobble'
|
||||
],
|
||||
],
|
||||
'guid_plex' => StateInterface::TYPE_EPISODE . '/6000',
|
||||
|
||||
Reference in New Issue
Block a user