Use correct Wrapper for streaming json decoder.

This commit is contained in:
Abdulmhsen B. A. A
2022-04-23 01:05:38 +03:00
parent 701b1364d9
commit b5ca5901af
2 changed files with 18 additions and 6 deletions

View File

@@ -618,7 +618,9 @@ class JellyfinServer implements ServerInterface
'pointer' => '/Items',
],
[
new ErrorWrappingDecoder(new ExtJsonDecoder(options: JSON_INVALID_UTF8_IGNORE))
'decoder' => new ErrorWrappingDecoder(
new ExtJsonDecoder(options: JSON_INVALID_UTF8_IGNORE)
)
]
);
@@ -894,7 +896,9 @@ class JellyfinServer implements ServerInterface
'pointer' => '/Items',
],
[
new ErrorWrappingDecoder(new ExtJsonDecoder(options: JSON_INVALID_UTF8_IGNORE))
'decoder' => new ErrorWrappingDecoder(
new ExtJsonDecoder(options: JSON_INVALID_UTF8_IGNORE)
)
]
);
@@ -1004,7 +1008,9 @@ class JellyfinServer implements ServerInterface
'pointer' => '/Items',
],
[
new ErrorWrappingDecoder(new ExtJsonDecoder(options: JSON_INVALID_UTF8_IGNORE))
'decoder' => new ErrorWrappingDecoder(
new ExtJsonDecoder(options: JSON_INVALID_UTF8_IGNORE)
)
]
);

View File

@@ -630,7 +630,9 @@ class PlexServer implements ServerInterface
'pointer' => '/MediaContainer/Metadata',
],
[
new ErrorWrappingDecoder(new ExtJsonDecoder(options: JSON_INVALID_UTF8_IGNORE))
'decoder' => new ErrorWrappingDecoder(
new ExtJsonDecoder(options: JSON_INVALID_UTF8_IGNORE)
)
]
);
@@ -904,7 +906,9 @@ class PlexServer implements ServerInterface
'pointer' => '/MediaContainer/Metadata',
],
[
new ErrorWrappingDecoder(new ExtJsonDecoder(options: JSON_INVALID_UTF8_IGNORE))
'decoder' => new ErrorWrappingDecoder(
new ExtJsonDecoder(options: JSON_INVALID_UTF8_IGNORE)
)
]
);
@@ -1014,7 +1018,9 @@ class PlexServer implements ServerInterface
'pointer' => '/MediaContainer/Metadata',
],
[
new ErrorWrappingDecoder(new ExtJsonDecoder(options: JSON_INVALID_UTF8_IGNORE))
'decoder' => new ErrorWrappingDecoder(
new ExtJsonDecoder(options: JSON_INVALID_UTF8_IGNORE)
)
]
);