unkin-agent
611bcf2c4a
fix(session): confirm routed delivery and keep playback state with the owner
2026-09-26 14:45:40 +10:00
unkin-agent
9e66708d87
fix(session): tie directory ownership to the live connection
...
Ownership is claimed with a Lua check-and-set keyed on the instance holding
the websocket, routing prefers a live controller over a local copy, the
session list deduplicates by owner, removal is ownership-checked, undelivered
routed messages surface, single-session lookups stop scanning the keyspace and
directory writes leave the request path bounded by a timeout.
2026-09-24 23:50:01 +10:00
unkin-agent
00d0765152
feat(session): share the session directory between instances
...
ci/woodpecker/pr/ci Pipeline failed
ci/woodpecker/push/ci Pipeline failed
Publish every session to valkey with the instance holding it, and route a
command for a non-local session to its owner over a per-instance pub/sub
channel. Entries expire, so a dead instance leaves the directory.
2026-09-24 22:48:48 +10:00
Shadowghost
4de43d36dd
Require session ownership for additional users, capabilities and viewing reports
2026-08-14 14:50:07 +02:00
nielsvanvelzen
841e4dabb5
Backport pull request #16109 from jellyfin/release-10.11.z
...
Fix SessionInfoWebSocketListener not using SessionInfoDto
Original-merge: e65aff8bc6
Merged-by: nielsvanvelzen <nielsvanvelzen@users.noreply.github.com >
Backported-by: Bond_009 <bond.009@outlook.com >
2026-01-28 12:11:30 -05:00
Niels van Velzen
269508be9f
Fix SyncPlay WebSocket OpenAPI schemas ( #13946 )
2025-04-19 13:08:15 -06:00
timminator
181a37a8cd
Fix consumer count off by one when closing a browser tab with a livestream that is transcoding ( #13220 )
...
Rework Implementation
Fix review issues
Add missing nullorempty check
Fix closely related #13721
2025-03-27 17:59:08 -06:00
JPVenson
42bdb22bfb
Fixed namespaces
2025-03-25 16:45:00 +01:00
Josh Soref
40da2ccac5
Fix spelling ( #13444 )
...
* spelling: anamorphic
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* spelling: associated
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* spelling: channelinfo
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* spelling: eagerly
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* spelling: enumerable
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* spelling: greater than/less than
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* spelling: greater
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* spelling: lineup
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* spelling: logs out
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* spelling: names
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* spelling: paging
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* spelling: playlist
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* spelling: sanitized
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* spelling: saving
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
---------
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2025-01-28 11:27:34 +01:00
gnattu
75bbd30296
Fix get sessions with api key ( #12696 )
2024-09-24 08:15:53 -06:00
Shadowghost
7a2427bf07
Add SessionInfoDto, DeviceInfoDto and implement JsonDelimitedArrayConverter.Write
2024-09-18 15:42:15 +02:00
JPVenson
3ce16713dd
Fixed disposable not being called ( #10613 )
...
* Fixed disposable not being called
* PulledUp usage of IAsyncDisposable for sessioninfo
Co-authored-by: Patrick Barron <barronpm@gmail.com >
2024-01-14 16:50:09 +01:00
Patrick Barron
493de3297a
Use IHostLifetime to handle restarting and shutting down
2023-09-23 11:57:38 -04:00
Stepan Goremykin
26958162d0
Remove unused using directives
2023-04-06 19:17:28 +02:00
Cody Robibero
678bcf9a80
Use EventManager for AuthenticationSuccess, AuthenticationFailure ( #8960 )
2023-01-07 11:31:10 -07:00
Cody Robibero
b8722d02a3
Merge pull request #7781 from crobibero/live-tv-infinite
...
(cherry picked from commit 77c73e241f )
Signed-off-by: crobibero <cody@robibe.ro >
2022-06-06 09:16:11 -04:00
Claus Vium
00f7f68e53
Merge pull request #5648 from OancaAndrei/syncplay-sessions-fix
...
Fix session references in SyncPlay
2021-09-10 17:44:44 +02:00
Fernando Fernández
3d0b1ccae6
Remove all unused usings
2021-09-06 21:15:30 +02:00
dkanada
f6c0db4bb5
merge branch 'master' into syncplay-sessions-fix
2021-09-06 13:42:48 +09:00
Bond_009
637e86478f
Fix some warnings
2021-09-03 19:32:11 +02:00
Patrick Barron
45f478f63e
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
# MediaBrowser.Controller/Library/IUserManager.cs
# MediaBrowser.Controller/Security/IAuthenticationRepository.cs
# MediaBrowser.Controller/Session/ISessionManager.cs
2021-08-13 21:08:24 -04:00
Rich Lander
9951a51395
Fix warnings in MediaBrowser.Controller/Session
2021-08-09 19:47:26 -07:00
crobibero
397868be95
Fix issues with QuickConnect and AuthenticationDb
2021-06-23 21:07:08 -06:00
Patrick Barron
ae878fa051
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs
# Emby.Server.Implementations/Session/SessionManager.cs
# Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
2021-06-23 20:22:12 -04:00
Patrick Barron
a0c6f72762
Migrate authentication db to EF Core
2021-05-20 23:56:59 -04:00
Patrick Barron
a225f34796
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Jellyfin.Api/Helpers/RequestHelpers.cs
2021-05-18 18:09:46 -04:00
Cody Robibero
e3f55a0c54
Reduce warnings in MediaBrowser.Controller ( #6006 )
...
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com >
2021-05-11 13:55:46 +02:00
Bond_009
fb090df0b5
Enable nullable reference types for MediaBrowser.Controller
2021-05-07 00:39:20 +02:00
Patrick Barron
8607b52541
Make device/session code async
2021-04-10 16:57:25 -04:00
Patrick Barron
16ca8c7536
Remove unused SessionManager methods
2021-04-01 10:49:09 -04:00
Ionut Andrei Oanca
9eb740ba57
Fix storing outdated sessions in SyncPlay
2021-03-28 13:25:40 +02:00
Ionut Andrei Oanca
0825ce687d
Add SessionControllerConnected event
2020-12-07 01:04:48 +01:00
Ionut Andrei Oanca
8819a9d478
Add playlist-sync and group-wait to SyncPlay
2020-10-16 12:06:29 +02:00
Niels van Velzen
72534f9d66
Use SessionMessageType for WebSocket messages
2020-09-27 10:00:20 +02:00
Matt Montgomery
2974a0248a
Merge remote-tracking branch 'upstream/master' into quickconnect
2020-08-26 10:29:37 -05:00
Patrick Barron
9fa4fff15d
Merge branch 'master' into event-rewrite-1
...
# Conflicts:
# Emby.Dlna/Emby.Dlna.csproj
# Emby.Dlna/Eventing/DlnaEventManager.cs
# Emby.Dlna/Service/BaseService.cs
# Emby.Server.Implementations/ScheduledTasks/ScheduledTaskWorker.cs
# MediaBrowser.Controller/Subtitles/SubtitleDownloadEventArgs.cs
2020-08-24 20:04:13 -04:00
Bond_009
404bb4f835
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
2020-08-22 21:56:24 +02:00
Matt Montgomery
035d29fb35
Migrate to new API standard
2020-08-16 14:45:39 -05:00
Patrick Barron
ca1f15af19
Move GenericEventArgs to Jellyfin.Data.Events
2020-08-13 20:52:55 -04:00
Matt Montgomery
31d3b1b83a
Cleanup interfaces
2020-07-27 15:40:14 -05:00
ConfusedPolarBear
e2f16fc255
Merge remote-tracking branch 'upstream/master' into quickconnect
2020-06-19 23:33:43 -05:00
telans
9018f8d8be
Add full stop at end of comments (SA1629)
2020-06-16 10:37:52 +12:00
ConfusedPolarBear
5d281adedd
Merge remote-tracking branch 'upstream/master' into quickconnect
2020-05-29 17:42:42 -05:00
Patrick Barron
eef7cfd912
Make SonarCloud less angry
2020-05-26 22:43:03 -04:00
Patrick Barron
01ce56016a
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
# MediaBrowser.Api/UserService.cs
# MediaBrowser.Controller/Library/IUserManager.cs
2020-05-26 20:29:11 -04:00
Patrick Barron
9ad839c776
Initial migration code
2020-05-12 22:10:35 -04:00
gion
8a6ec2fb71
Rename Syncplay to SyncPlay
2020-05-09 12:37:39 +02:00
gion
84d92ba9ce
Check that client is playing the right item
...
Send date when playback command is emitted
Rename some classes
2020-04-27 22:39:20 +02:00
gion
10c2c62f07
Implement syncplay backend
2020-04-27 22:07:33 +02:00
ConfusedPolarBear
36f3e933a2
Add quick connect
2020-04-15 14:49:20 -05:00