jellyfin / jellyfin-web

Web Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.41k stars 1.28k forks source link

Connection with MPV Shim gets interrupted every time I refresh the page. #5878

Closed mkrsticch closed 2 months ago

mkrsticch commented 3 months ago

This issue respects the following points:

Description of the bug

After upgrading to version 10.9.9 of Jellyfin, the connection with MPV Shim v2.8.0 gets interrupted every time I refresh the page.

Reproduction steps

  1. Sign in on the Jellyfin web client MPV Shim
  2. Connect the web client MPV Shim
  3. Refresh the page
  4. MPV Shim is disconnected now

What is the current bug behavior?

Connection with MPV Shim gets interrupted every time I refresh the page.

What is the expected correct behavior?

MPV Shim should stay connected

Jellyfin Server version

10.9.8+

Specify commit id

No response

Specify unstable release number

No response

Specify version number

10.9.9

Specify the build version

10.9.9

Environment

- OS: ADM 4.3.1.R752
- Linux Kernel:
- Virtualization: Docker
- Clients: MPV Shim 2.8.0
- Browser: Chrome
- FFmpeg Version: 
- Playback Method: Direct
- Hardware Acceleration:
- GPU Model:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

[2024-08-05 14:30:16.900 +02:00] [INF] [1] Main: Jellyfin version: "10.9.9"
[2024-08-05 14:30:16.933 +02:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_CACHE_DIR, /cache]"]
[2024-08-05 14:30:16.936 +02:00] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"]
[2024-08-05 14:30:16.936 +02:00] [INF] [1] Main: Operating system: "Debian GNU/Linux 12 (bookworm)"
[2024-08-05 14:30:16.936 +02:00] [INF] [1] Main: Architecture: X64
[2024-08-05 14:30:16.937 +02:00] [INF] [1] Main: 64-Bit Process: True
[2024-08-05 14:30:16.937 +02:00] [INF] [1] Main: User Interactive: True
[2024-08-05 14:30:16.937 +02:00] [INF] [1] Main: Processor count: 4
[2024-08-05 14:30:16.937 +02:00] [INF] [1] Main: Program data path: "/config"
[2024-08-05 14:30:16.937 +02:00] [INF] [1] Main: Log directory path: "/config/log"
[2024-08-05 14:30:16.937 +02:00] [INF] [1] Main: Config directory path: "/config/config"
[2024-08-05 14:30:16.937 +02:00] [INF] [1] Main: Cache path: "/cache"
[2024-08-05 14:30:16.937 +02:00] [INF] [1] Main: Web resources path: "/jellyfin/jellyfin-web"
[2024-08-05 14:30:16.937 +02:00] [INF] [1] Main: Application directory: "/jellyfin/"
[2024-08-05 14:30:17.111 +02:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2024-08-05 14:30:17.198 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2024-08-05 14:30:17.218 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.Bookshelf, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null" from "/config/plugins/Bookshelf_11.0.0.0/Jellyfin.Plugin.Bookshelf.dll"
[2024-08-05 14:30:17.220 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.Fanart, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null" from "/config/plugins/Fanart_11.0.0.0/Jellyfin.Plugin.Fanart.dll"
[2024-08-05 14:30:17.220 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Skipping disabled plugin "19.0.0.0" of "Open Subtitles" 
[2024-08-05 14:30:17.230 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.Reports, Version=17.0.0.0, Culture=neutral, PublicKeyToken=null" from "/config/plugins/Reports_17.0.0.0/Jellyfin.Plugin.Reports.dll"
[2024-08-05 14:30:17.237 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "SixLabors.Fonts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13" from "/config/plugins/Reports_17.0.0.0/SixLabors.Fonts.dll"
[2024-08-05 14:30:17.261 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "ClosedXML, Version=0.97.0.0, Culture=neutral, PublicKeyToken=fd1eb21b62ae805b" from "/config/plugins/Reports_17.0.0.0/ClosedXML.dll"
[2024-08-05 14:30:17.263 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "System.IO.Packaging, Version=4.0.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from "/config/plugins/Reports_17.0.0.0/System.IO.Packaging.dll"
[2024-08-05 14:30:17.399 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "DocumentFormat.OpenXml, Version=2.16.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17" from "/config/plugins/Reports_17.0.0.0/DocumentFormat.OpenXml.dll"
[2024-08-05 14:30:17.403 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "ExcelNumberFormat, Version=1.1.0.0, Culture=neutral, PublicKeyToken=23c6f5d73be07eca" from "/config/plugins/Reports_17.0.0.0/ExcelNumberFormat.dll"
[2024-08-05 14:30:17.486 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-08-05 14:30:17.486 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
[2024-08-05 14:30:17.487 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
[2024-08-05 14:30:17.488 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "172.21.0.2"]
[2024-08-05 14:30:17.489 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
[2024-08-05 14:30:17.489 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is "Allowlist"
[2024-08-05 14:30:17.489 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
[2024-08-05 14:30:25.272 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Bookshelf" "11.0.0.0"
[2024-08-05 14:30:25.274 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Fanart" "11.0.0.0"
[2024-08-05 14:30:25.276 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Reports" "17.0.0.0"
[2024-08-05 14:30:25.277 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.9.9.0"
[2024-08-05 14:30:25.277 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.9.9.0"
[2024-08-05 14:30:25.278 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.9.9.0"
[2024-08-05 14:30:25.317 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.9.9.0"
[2024-08-05 14:30:25.318 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.9.9.0"
[2024-08-05 14:30:25.450 +02:00] [INF] [1] Main: Kestrel is listening on "0.0.0.0"
[2024-08-05 14:30:26.277 +02:00] [WRN] [1] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: "/wwwroot". Static files may be unavailable.
[2024-08-05 14:30:26.333 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[2024-08-05 14:30:26.356 +02:00] [INF] [10] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/media/documentary"
[2024-08-05 14:30:26.363 +02:00] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Generate Trickplay Images" set to fire at 2024-08-06 03:00:00.000 +02:00, which is 12:29:33.6365631 from now.
[2024-08-05 14:30:26.370 +02:00] [INF] [11] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/media/books"
[2024-08-05 14:30:26.374 +02:00] [INF] [8] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/media/movies"
[2024-08-05 14:30:26.380 +02:00] [INF] [11] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/media/shows"
[2024-08-05 14:30:26.382 +02:00] [INF] [10] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/media/photos"
[2024-08-05 14:30:26.424 +02:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version "6.0.1"
[2024-08-05 14:30:26.500 +02:00] [INF] [15] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/media/music"
[2024-08-05 14:30:26.506 +02:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "decoders": ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "dca", "flac", "mp3", "truehd"]
[2024-08-05 14:30:26.528 +02:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "encoders": ["libsvtav1", "av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi", "libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mjpeg_qsv", "mjpeg_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "libfdk_aac", "ac3", "alac", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
[2024-08-05 14:30:26.552 +02:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "hwupload_vaapi", "libplacebo", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_vulkan", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "scale_vulkan", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
[2024-08-05 14:30:26.676 +02:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
[2024-08-05 14:30:27.092 +02:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: "/usr/lib/jellyfin-ffmpeg/ffmpeg"
[2024-08-05 14:30:27.093 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: "fe31f54bbc16415d995feeeb2624a173"
[2024-08-05 14:30:27.093 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
[2024-08-05 14:30:27.093 +02:00] [INF] [1] Main: Startup complete 0:00:10.4013724
[2024-08-05 14:30:29.407 +02:00] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Clean up collections and playlists" Completed after 0 minute(s) and 0 seconds
[2024-08-05 14:30:39.103 +02:00] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Update Plugins" Completed after 0 minute(s) and 9 seconds
[2024-08-05 14:30:48.256 +02:00] [INF] [10] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.71" request
[2024-08-05 14:31:13.332 +02:00] [INF] [23] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.71" request
[2024-08-05 14:31:15.132 +02:00] [INF] [15] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.71" closed
[2024-08-05 14:31:15.750 +02:00] [INF] [14] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.71" request

FFmpeg logs

No response

Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

No response

hugues999 commented 3 months ago

Same problem here.

It seems like the "Set as default" option doesn't save anymore, so it resets to having no cast device when reloading the page. I also have the same issue with Jellyin Media Player, and I can reproduce it with any cast device, not just MPV-Shim.

Ashyni commented 3 months ago

Hello, the issue persists in version 10.9.10.

hugues999 commented 2 months ago

@mkrsticch Are you still experiencing this issue too? If so can you reopen this? Thanks

mkrsticch commented 2 months ago

@mkrsticch Are you still experiencing this issue too? If so can you reopen this? Thanks

The issue persists in version 10.9.10. but I cannot re-open the issue (at least I don't know how) because Thornbill closed this as completed 2 weeks ago

mkrsticch commented 2 months ago

The issue persists in version 10.9.11

karserasl commented 2 months ago

Wasnt this fixed after report ? Why still persists?