Skip to content

Commit 5a20f84

Browse files
authored
Merge pull request #811 from arabcoders/dev
Fix: Major performance tuning and bug fixes
2 parents fa063e9 + 2c7262d commit 5a20f84

64 files changed

Lines changed: 173419 additions & 956 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

FAQ.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -615,11 +615,3 @@ creation failing to load. To fix the issue it's recommended to change the backen
615615
* For Plex: `Library/Application Support/Plex Media Server/Preferences.xml` key: `ProcessedMachineIdentifier`.
616616

617617
Those values need to be unique per instance.
618-
619-
---
620-
621-
# Some Plex users are not showing up in the user list?
622-
623-
Sometimes, the plex user list may not fully load all users, Please <!--i:i-lucide-settings-2--> **Env** page and add the following environment variable:
624-
`WS_CLIENTS_PLEX_DISABLE_DEDUP` and turn it on. This will disable the deduplication logic for plex users. Once you enable this option please restart watchstate
625-
and try again. If the user still doesn't show up, please open a bug report with the relevant logs and we will investigate the issue.

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# NEWS
22

3+
### 2026-03-26
4+
5+
Unfortunately, due to changes from plex regarding their API, we can no longer generate access tokens for external users i.e. `invited users`, thus we had to disable and remove
6+
support from WatchState. This change only effects external users, home/managed users are not affected. Please see [this issue](https://github.com/arabcoders/watchstate/issues/793) for more details.
7+
38
### 2025-10-29
49

510
After more than **3.5 years**, **2.2k+ commits**, **900+ stars**, and **1 million+ downloads**, we’re happy to announce

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ box, this tool supports `Jellyfin`, `Plex` and `Emby` media servers.
1010

1111
# Updates
1212

13-
### 2026-03-26
13+
### 2026-04-23
1414

15-
Unfortunately, due to changes from plex regarding their API, we can no longer generate access tokens for external users i.e. `invited users`, thus we had to disable and remove
16-
support from WatchState. This change only effects external users, home/managed users are not affected. Please see [this issue](https://github.com/arabcoders/watchstate/issues/793) for more details.
15+
Plex appears to have backtracked on the API change that broke external `invited users`, so WatchState supports them again for now.
16+
Support may change again if Plex reverses course or make it harder to access invited users tokens.
1717

1818
Please refer to [NEWS](/NEWS.md) for the latest updates and changes.
1919

composer.lock

Lines changed: 44 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/config.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,7 @@
259259
];
260260

261261
$config['clients'] = [
262-
strtolower(PlexClient::CLIENT_NAME) => [
263-
'disable_dedup' => (bool) env('WS_CLIENTS_PLEX_DISABLE_DEDUP', false),
264-
],
262+
strtolower(PlexClient::CLIENT_NAME) => [],
265263
strtolower(EmbyClient::CLIENT_NAME) => [],
266264
strtolower(JellyfinClient::CLIENT_NAME) => [
267265
'fix_played' => (bool) env('WS_CLIENTS_JELLYFIN_FIX_PLAYED', false),

config/env.spec.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -510,12 +510,6 @@
510510
'description' => 'Enable partial fix for Jellyfin marking items as played.',
511511
'type' => 'bool',
512512
],
513-
[
514-
'key' => 'WS_CLIENTS_PLEX_DISABLE_DEDUP',
515-
'config' => 'clients.plex.disable_dedup',
516-
'description' => 'Disable de-duplication of plex users.',
517-
'type' => 'bool',
518-
],
519513
];
520514

521515
$validateCronExpression = function (string $value, array $spec = []): string {

frontend/app/assets/css/tailwind.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@
2626
}
2727

2828
@layer components {
29+
.ws-shell-surface {
30+
background:
31+
radial-gradient(circle at top left, rgb(99 102 241 / 0.12), transparent 28%),
32+
radial-gradient(circle at top right, rgb(245 158 11 / 0.08), transparent 22%),
33+
linear-gradient(180deg, rgb(248 250 252 / 0.96), rgb(241 245 249 / 0.98));
34+
}
35+
36+
.dark .ws-shell-surface {
37+
background:
38+
radial-gradient(circle at top left, rgb(99 102 241 / 0.14), transparent 26%),
39+
radial-gradient(circle at top right, rgb(245 158 11 / 0.08), transparent 20%),
40+
linear-gradient(180deg, rgb(9 12 18 / 0.98), rgb(17 24 39 / 0.98));
41+
}
42+
2943
.ws-shell {
3044
min-height: 100vh;
3145
min-height: 100dvh;

0 commit comments

Comments
 (0)