pgemby 6 Posted October 31, 2022 Posted October 31, 2022 I run Emby Server 4.7.8.0-704070800 on a 4-disk/RAID-10 Synology NAS DS918+ (DSM 7.1.1-42962 Update 1) It serves as backend to LAN clients running Kodi 19.4/Linux with Emby for Kodi Next Gen v7.9.4 plugin. Everything works as expected; zero problems serving up videos. One minor issue that I've been trying to 'solve'. If I launch a vid (either in client Kodi player, or in client browser to Emby webUI) and hit 'pause' -- so the movie's queued up to play, but not streaming -- I notice regularly repeating 4-disk access. Every few seconds, all 4 of the NAS's disk-LED's blink and I hear disk access. This will simply repeat forever, until I 'stop' the movie, rather than just 'pause' it. I turned on debug logs to take a look, and see: with access from Kodi client, ``` ... 2022-10-30 19:33:17.791 Info Server: http/1.1 POST http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47937&MediaSourceId=7a...d6&PositionTicks=100000000&RunTimeTicks=63149443359&VolumeLevel=100&IsMuted=False. UserAgent: Emby for Kodi Next Gen/7.9.4 2022-10-30 19:33:17.792 Debug SessionManager: OnPlaybackProgress StateChange 8756d1f9a0b84bd6ae7ae63a7be446d6 2022-10-30 19:33:17.793 Info Server: http/1.1 Response 204 to 10.1.1.7. Time: 2ms. http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47937&MediaSourceId=7a...d6&PositionTicks=100000000&RunTimeTicks=63149443359&VolumeLevel=100&IsMuted=False 2022-10-30 19:33:21.799 Info Server: http/1.1 POST http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47937&MediaSourceId=7a...d6&PositionTicks=100000000&RunTimeTicks=63149443359&VolumeLevel=100&IsMuted=False. UserAgent: Emby for Kodi Next Gen/7.9.4 2022-10-30 19:33:21.800 Debug SessionManager: OnPlaybackProgress StateChange 8756d1f9a0b84bd6ae7ae63a7be446d6 2022-10-30 19:33:21.801 Info Server: http/1.1 Response 204 to 10.1.1.7. Time: 2ms. http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47937&MediaSourceId=7a...d6&PositionTicks=100000000&RunTimeTicks=63149443359&VolumeLevel=100&IsMuted=False 2022-10-30 19:33:25.807 Info Server: http/1.1 POST http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47937&MediaSourceId=7a...d6&PositionTicks=100000000&RunTimeTicks=63149443359&VolumeLevel=100&IsMuted=False. UserAgent: Emby for Kodi Next Gen/7.9.4 2022-10-30 19:33:25.808 Debug SessionManager: OnPlaybackProgress StateChange 8756d1f9a0b84bd6ae7ae63a7be446d6 2022-10-30 19:33:25.808 Info Server: http/1.1 Response 204 to 10.1.1.7. Time: 2ms. http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47937&MediaSourceId=7a...d6&PositionTicks=100000000&RunTimeTicks=63149443359&VolumeLevel=100&IsMuted=False ... ``` and similarly with Emby WebUI access, from Firefox ``` ... 2022-10-30 19:51:03.215 Info Server: http/1.1 POST http://syno.lan:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=89...df&X-Emby-Client-Version=4.7.8.0&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; rv:106.0) Gecko/20100101 Firefox/106.0 2022-10-30 19:51:03.216 Debug SessionManager: OnPlaybackProgress TimeUpdate aa648724be6241d2a6b5949b32cb818a 2022-10-30 19:51:03.217 Info Server: http/1.1 Response 204 to fd70:28:9:18:6d9:f5ff:fe7c:1c62. Time: 2ms. http://syno.lan:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=89...df&X-Emby-Client-Version=4.7.8.0&reqformat=json 2022-10-30 19:51:13.217 Info Server: http/1.1 POST http://syno.lan:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=89...df&X-Emby-Client-Version=4.7.8.0&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; rv:106.0) Gecko/20100101 Firefox/106.0 2022-10-30 19:51:13.218 Debug SessionManager: OnPlaybackProgress TimeUpdate aa648724be6241d2a6b5949b32cb818a 2022-10-30 19:51:13.219 Info Server: http/1.1 Response 204 to fd70:28:9:18:6d9:f5ff:fe7c:1c62. Time: 4ms. http://syno.lan:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=89...df&X-Emby-Client-Version=4.7.8.0&reqformat=json 2022-10-30 19:51:23.218 Info Server: http/1.1 POST http://syno.lan:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=89...df&X-Emby-Client-Version=4.7.8.0&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; rv:106.0) Gecko/20100101 Firefox/106.0 2022-10-30 19:51:23.219 Debug SessionManager: OnPlaybackProgress TimeUpdate aa648724be6241d2a6b5949b32cb818a 2022-10-30 19:51:23.220 Info Server: http/1.1 Response 204 to fd70:28:9:18:6d9:f5ff:fe7c:1c62. Time: 2ms. http://syno.lan:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=89...df&X-Emby-Client-Version=4.7.8.0&reqformat=json ... ``` "Sessions/Playing/Progress" seems the common element. Something constantly polling for progress? Is this expected/normal behavior for Emby? (How) can this be disabled, or tamed?
Luke 38841 Posted October 31, 2022 Posted October 31, 2022 Hi, it's expected behavior to let the server know the app is still active so that it won't close the playback session. This will allow you to unpause seamlessly when you return.
pgemby 6 Posted October 31, 2022 Author Posted October 31, 2022 hi. ok, sounds like there's a default close time for closing a playback session ... right? is there a config to change that time out? i.e. make it (much) longer? so that this disk access is less frequent? no, this is not a critical issue. yes, i'm being whiny about it. the NAS is close to me, and every time I pause (to e.g. take a call), this disk access keeps scratching away in the bkgd. driving me nuts! kindof like water torture
Luke 38841 Posted October 31, 2022 Posted October 31, 2022 6 minutes ago, pgemby said: hi. ok, sounds like there's a default close time for closing a playback session ... right? is there a config to change that time out? i.e. make it (much) longer? so that this disk access is less frequent? no, this is not a critical issue. yes, i'm being whiny about it. the NAS is close to me, and every time I pause (to e.g. take a call), this disk access keeps scratching away in the bkgd. driving me nuts! kindof like water torture There isn't, but even if there was, that would prevent client apps from checking in every ten seconds. What you're reporting here is something we can keep in mind as we continuously revise the way these communications work.
pgemby 6 Posted October 31, 2022 Author Posted October 31, 2022 (edited) fair enuf. might be useful to be able to declare a connection as reliable/static vs intermittent/dynamic. e.g., my lan kodi client conencting to my lan emby server can reliably be considered 'up' and available from the moment it connects to the moment it disconnects. as would the web UI client AT my emby server ... that one in particular seems a pretty safe bet. yeah, the client would need to be notified -- but, seems to me a passive listener at the client, waiting for a notify from the server is good enuf. no need for an active interrogation/keepalive from client -> server. and, nope, haven't thought this thru much yet. Edited October 31, 2022 by pgemby 1
rbjtech 4812 Posted October 31, 2022 Posted October 31, 2022 Maybe worth looking at if the disks (firmware) or nas support acoustic management utilities for the HDD's. I know you can put them in 'quiet' mode where I presume it uses a different caching algorithm to keep the heads in place for longer.
pgemby 6 Posted November 27, 2022 Author Posted November 27, 2022 On 10/30/2022 at 9:27 PM, Luke said: There isn't, but even if there was, that would prevent client apps from checking in every ten seconds. What you're reporting here is something we can keep in mind as we continuously revise the way these communications work. fyi, after upgrading emby server to emby-server-synology7_4.7.10.0_x86_64.spk it's gotten a bit 'worse' , now, i get these drive seeks not just when kodi's launched & paused, but *always* when kodi's launched -- whether paused or playing media
pgemby 6 Posted November 27, 2022 Author Posted November 27, 2022 (edited) On 10/31/2022 at 9:16 AM, rbjtech said: Maybe worth looking at if the disks (firmware) or nas support acoustic management utilities for the HDD's. I know you can put them in 'quiet' mode where I presume it uses a different caching algorithm to keep the heads in place for longer. Good idea, where supported: https://linuxconfig.org/how-to-reduce-hard-drive-s-acoustic-noise-level Unfortunately, here: hdparm -M /dev/sda /dev/sda: acoustic = not supported for all my drives (WD Red, on this NAS) Edited November 27, 2022 by pgemby
pgemby 6 Posted November 28, 2022 Author Posted November 28, 2022 On 10/30/2022 at 9:13 PM, Luke said: Hi, it's expected behavior to let the server know the app is still active so that it won't close the playback session. Is there another method to check app activity, without causing disk activity?
Luke 38841 Posted November 28, 2022 Posted November 28, 2022 Those calls don't write to the database, so I really don't think those will cause high disk activity. The enabling of debug logging might though. I would suggest attaching the complete emby server log for analysis.
pgemby 6 Posted November 28, 2022 Author Posted November 28, 2022 (edited) 11 minutes ago, Luke said: Those calls don't write to the database, so I really don't think those will cause high disk activity. The enabling of debug logging might though. With debug logging OFF, looking at the Synology TaskManager's service list, I'm seeing an Emby disk write of ~ 20KB at each one of those 'seeks', every few seconds. Quote I would suggest attaching the complete emby server log for analysis. With, or withOUT debug logging? With debug logging OFF, while Kodi's connected to Emby backend, paused in a media play, here's the log tail: tail -f /volume1/@appdata/EmbyServer/logs/embyserver.txt ... 2022-11-28 00:39:13.445 Info Server: http/1.1 POST http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=d613248541f1b3dd293aef74215e5feb&PlaySessionId=71e3f029b79a7dd4224cd74b219e6c55&PositionTicks=49160000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False. UserAgent: Emby for Kodi Next Gen/7.10.5 2022-11-28 00:39:13.447 Info Server: http/1.1 Response 204 to 10.0.9.7. Time: 2ms. http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=d613248541f1b3dd293aef74215e5feb&PlaySessionId=71e3f029b79a7dd4224cd74b219e6c55&PositionTicks=49160000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False 2022-11-28 00:39:17.460 Info Server: http/1.1 POST http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=d613248541f1b3dd293aef74215e5feb&PlaySessionId=71e3f029b79a7dd4224cd74b219e6c55&PositionTicks=49160000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False. UserAgent: Emby for Kodi Next Gen/7.10.5 2022-11-28 00:39:17.464 Info Server: http/1.1 Response 204 to 10.0.9.7. Time: 4ms. http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=d613248541f1b3dd293aef74215e5feb&PlaySessionId=71e3f029b79a7dd4224cd74b219e6c55&PositionTicks=49160000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False 2022-11-28 00:39:21.475 Info Server: http/1.1 POST http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=d613248541f1b3dd293aef74215e5feb&PlaySessionId=71e3f029b79a7dd4224cd74b219e6c55&PositionTicks=49160000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False. UserAgent: Emby for Kodi Next Gen/7.10.5 2022-11-28 00:39:21.477 Info Server: http/1.1 Response 204 to 10.0.9.7. Time: 2ms. http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=d613248541f1b3dd293aef74215e5feb&PlaySessionId=71e3f029b79a7dd4224cd74b219e6c55&PositionTicks=49160000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False 2022-11-28 00:39:25.490 Info Server: http/1.1 POST http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=d613248541f1b3dd293aef74215e5feb&PlaySessionId=71e3f029b79a7dd4224cd74b219e6c55&PositionTicks=49160000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False. UserAgent: Emby for Kodi Next Gen/7.10.5 2022-11-28 00:39:25.492 Info Server: http/1.1 Response 204 to 10.0.9.7. Time: 2ms. http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=d613248541f1b3dd293aef74215e5feb&PlaySessionId=71e3f029b79a7dd4224cd74b219e6c55&PositionTicks=49160000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False 2022-11-28 00:39:29.505 Info Server: http/1.1 POST http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=d613248541f1b3dd293aef74215e5feb&PlaySessionId=71e3f029b79a7dd4224cd74b219e6c55&PositionTicks=49160000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False. UserAgent: Emby for Kodi Next Gen/7.10.5 2022-11-28 00:39:29.506 Info Server: http/1.1 Response 204 to 10.0.9.7. Time: 2ms. http://10.0.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=d613248541f1b3dd293aef74215e5feb&PlaySessionId=71e3f029b79a7dd4224cd74b219e6c55&PositionTicks=49160000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False ... atm, it's seeking ~ every 4 seconds ... Edited November 28, 2022 by pgemby
Luke 38841 Posted November 28, 2022 Posted November 28, 2022 It's not seeking, it's just reporting it's position to the server for display and remote control purposes.
pgemby 6 Posted November 28, 2022 Author Posted November 28, 2022 Quote It's not seeking, it's just reporting in any case, it's accessing access. about every four seconds. 'noisily', to the point of being unpleasant ... perhaps an option to write -- without disk access -- to memory instead?
Luke 38841 Posted November 28, 2022 Posted November 28, 2022 Please attach the complete emby server log for analysis. Thanks.
pgemby 6 Posted November 28, 2022 Author Posted November 28, 2022 3 hours ago, Luke said: Please attach the complete emby server log for analysis. Thanks. 2022-11-28 18:43:03.522 Info Server: http/1.1 POST http://host1:8096/emby/Users/authenticatebyname?X-Emby-Client=Emby%20Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=d89443a0-78df-4485-9287-0ac9cb0b4083&X-Emby-Client-Version=4.7.10.0. Accept=application/json, Connection=keep-alive, Host=syno.example.com:8096, User-Agent=Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0, Accept-Encoding=gzip, deflate, Accept-Language=en-US,en;q=0.5, Content-Type=application/x-www-form-urlencoded; charset=UTF-8, Origin=http://syno.example.com:8096, Referer=http://syno.example.com:8096/web/index.html, Content-Length=14, DNT=1 2022-11-28 18:43:03.563 Error UserManager: Error authenticating with provider Default *** Error Report *** Version: 4.7.10.0 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology7_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 4.4.180+ (root@build3) (gcc version 8.5.0 (GCC) ) #42962 SMP Tue Oct 18 15:05:01 CST 2022 Framework: .NET 6.0.8 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /var/packages/EmbyServer/var Application path: /volume1/@appstore/EmbyServer/system System.Exception: System.Exception: Invalid username or password.. at Emby.Server.Implementations.Library.DefaultAuthenticationProvider.Authenticate(String username, String password, User resolvedUser) at Emby.Server.Implementations.Library.UserManager.AuthenticateWithProvider(IAuthenticationProvider provider, String username, String password, User resolvedUser, CancellationToken cancellationToken) Source: Emby.Server.Implementations TargetSite: System.Threading.Tasks.Task`1[MediaBrowser.Controller.Authentication.ProviderAuthenticationResult] Authenticate(System.String, System.String, MediaBrowser.Controller.Entities.User) 2022-11-28 18:43:03.571 Info UserManager: Authentication request for pgnd has succeeded. 2022-11-28 18:43:03.575 Info SessionManager: Creating new access token for user 1 2022-11-28 18:43:03.713 Info Server: http/1.1 Response 200 to host2. Time: 189ms. http://host1:8096/emby/Users/authenticatebyname?X-Emby-Client=Emby%20Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=d89443a0-78df-4485-9287-0ac9cb0b4083&X-Emby-Client-Version=4.7.10.0 2022-11-28 18:43:03.751 Info Server: http/1.1 POST http://host1:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=d89443a0-78df-4485-9287-0ac9cb0b4083&X-Emby-Client-Version=4.7.10.0&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0 2022-11-28 18:43:03.918 Info Server: http/1.1 Response 204 to host2. Time: 168ms. http://host1:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=d89443a0-78df-4485-9287-0ac9cb0b4083&X-Emby-Client-Version=4.7.10.0&reqformat=json 2022-11-28 18:43:53.705 Info Server: http/1.1 POST http://10.1.9.18:8096/emby/Sessions/Capabilities/Full?Id=c199aa4eae0e046409d65e6300e91735&PlayableMediaTypes=Audio%2CVideo%2CPhoto&SupportsMediaControl=True&SupportsSync=True&SupportedCommands=MoveUp%2CMoveDown%2CMoveLeft%2CMoveRight%2CSelect%2CBack%2CToggleContextMenu%2CToggleFullscreen%2CToggleOsdMenu%2CGoHome%2CPageUp%2CNextLetter%2CGoToSearch%2CGoToSettings%2CPageDown%2CPreviousLetter%2CTakeScreenshot%2CVolumeUp%2CVolumeDown%2CToggleMute%2CSendString%2CDisplayMessage%2CSetAudioStreamIndex%2CSetSubtitleStreamIndex%2CSetRepeatMode%2CMute%2CUnmute%2CSetVolume%2CPause%2CUnpause%2CPlay%2CPlaystate%2CPlayNext%2CPlayMediaSource&IconUrl=https%3A%2F%2Fraw.githubusercontent.com%2FMediaBrowser%2Fplugin.video.emby%2Fmaster%2Fkodi_icon.png. UserAgent: Emby for Kodi Next Gen/7.10.5 2022-11-28 18:43:53.724 Info Server: http/1.1 Response 204 to host3. Time: 20ms. http://10.1.9.18:8096/emby/Sessions/Capabilities/Full?Id=c199aa4eae0e046409d65e6300e91735&PlayableMediaTypes=Audio%2CVideo%2CPhoto&SupportsMediaControl=True&SupportsSync=True&SupportedCommands=MoveUp%2CMoveDown%2CMoveLeft%2CMoveRight%2CSelect%2CBack%2CToggleContextMenu%2CToggleFullscreen%2CToggleOsdMenu%2CGoHome%2CPageUp%2CNextLetter%2CGoToSearch%2CGoToSettings%2CPageDown%2CPreviousLetter%2CTakeScreenshot%2CVolumeUp%2CVolumeDown%2CToggleMute%2CSendString%2CDisplayMessage%2CSetAudioStreamIndex%2CSetSubtitleStreamIndex%2CSetRepeatMode%2CMute%2CUnmute%2CSetVolume%2CPause%2CUnpause%2CPlay%2CPlaystate%2CPlayNext%2CPlayMediaSource&IconUrl=https%3A%2F%2Fraw.githubusercontent.com%2FMediaBrowser%2Fplugin.video.emby%2Fmaster%2Fkodi_icon.png 2022-11-28 18:44:05.512 Info Server: http/1.1 GET http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv. Accept=*/*, Host=10.1.9.18:8096, User-Agent=Kodi/19.4 (X11; Linux x86_64) Freedesktop SDK/22.08 App_Bitness/64 Version/19.4-(19.4.0)-Git:20221122-nogitfound, Accept-Charset=UTF-8,*;q=0.8, Accept-Encoding=deflate, gzip, Range=bytes=0- 2022-11-28 18:44:05.648 Info Server: http/1.1 GET http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv. Accept=*/*, Host=10.1.9.18:8096, User-Agent=Kodi/19.4 (X11; Linux x86_64) Freedesktop SDK/22.08 App_Bitness/64 Version/19.4-(19.4.0)-Git:20221122-nogitfound, Accept-Charset=UTF-8,*;q=0.8, Accept-Encoding=deflate, gzip, Range=bytes=0- 2022-11-28 18:44:05.664 Info Server: http/1.1 GET http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv. Accept=*/*, Host=10.1.9.18:8096, User-Agent=Kodi/19.4 (X11; Linux x86_64) Freedesktop SDK/22.08 App_Bitness/64 Version/19.4-(19.4.0)-Git:20221122-nogitfound, Accept-Charset=UTF-8,*;q=0.8, Accept-Encoding=deflate, gzip, Range=bytes=1659920228- 2022-11-28 18:44:05.665 Info Server: http/1.1 Response 206 to host3. Time: 154ms. http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv 2022-11-28 18:44:05.668 Info Server: http/1.1 Response 206 to host3. Time: 4ms. http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv 2022-11-28 18:44:05.684 Info Server: http/1.1 GET http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv. Accept=*/*, Host=10.1.9.18:8096, User-Agent=Kodi/19.4 (X11; Linux x86_64) Freedesktop SDK/22.08 App_Bitness/64 Version/19.4-(19.4.0)-Git:20221122-nogitfound, Accept-Charset=UTF-8,*;q=0.8, Accept-Encoding=deflate, gzip, Range=bytes=7304- 2022-11-28 18:44:05.686 Info Server: http/1.1 Response 206 to host3. Time: 37ms. http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv 2022-11-28 18:44:05.688 Info Server: http/1.1 GET http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv. Accept=*/*, Host=10.1.9.18:8096, User-Agent=Kodi/19.4 (X11; Linux x86_64) Freedesktop SDK/22.08 App_Bitness/64 Version/19.4-(19.4.0)-Git:20221122-nogitfound, Accept-Charset=UTF-8,*;q=0.8, Accept-Encoding=deflate, gzip, Range=bytes=1659920228- 2022-11-28 18:44:05.691 Info Server: http/1.1 Response 206 to host3. Time: 3ms. http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv 2022-11-28 18:44:05.708 Info Server: http/1.1 GET http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv. Accept=*/*, Host=10.1.9.18:8096, User-Agent=Kodi/19.4 (X11; Linux x86_64) Freedesktop SDK/22.08 App_Bitness/64 Version/19.4-(19.4.0)-Git:20221122-nogitfound, Accept-Charset=UTF-8,*;q=0.8, Accept-Encoding=deflate, gzip, Range=bytes=7304- 2022-11-28 18:44:05.708 Info Server: http/1.1 Response 206 to host3. Time: 24ms. http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv 2022-11-28 18:44:05.720 Info Server: http/1.1 GET http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv. Accept=*/*, Host=10.1.9.18:8096, User-Agent=Kodi/19.4 (X11; Linux x86_64) Freedesktop SDK/22.08 App_Bitness/64 Version/19.4-(19.4.0)-Git:20221122-nogitfound, Accept-Charset=UTF-8,*;q=0.8, Accept-Encoding=deflate, gzip, Range=bytes=1659920228- 2022-11-28 18:44:05.724 Info Server: http/1.1 Response 206 to host3. Time: 4ms. http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv 2022-11-28 18:44:05.736 Info Server: http/1.1 GET http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv. Accept=*/*, Host=10.1.9.18:8096, User-Agent=Kodi/19.4 (X11; Linux x86_64) Freedesktop SDK/22.08 App_Bitness/64 Version/19.4-(19.4.0)-Git:20221122-nogitfound, Accept-Charset=UTF-8,*;q=0.8, Accept-Encoding=deflate, gzip, Range=bytes=65557- 2022-11-28 18:44:05.737 Info Server: http/1.1 Response 206 to host3. Time: 29ms. http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv 2022-11-28 18:44:05.740 Info Server: http/1.1 GET http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv. Accept=*/*, Host=10.1.9.18:8096, User-Agent=Kodi/19.4 (X11; Linux x86_64) Freedesktop SDK/22.08 App_Bitness/64 Version/19.4-(19.4.0)-Git:20221122-nogitfound, Accept-Charset=UTF-8,*;q=0.8, Accept-Encoding=deflate, gzip, Range=bytes=1313060084- 2022-11-28 18:44:06.335 Info Server: http/1.1 POST http://10.1.9.18:8096/emby/Sessions/Playing?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=False&ItemId=47987&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&PositionTicks=0&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False. UserAgent: Emby for Kodi Next Gen/7.10.5 2022-11-28 18:44:06.375 Info SessionManager: Playback start reported by app Emby for Kodi Next Gen 7.10.5 playing TestMov. Started at 0 ms 2022-11-28 18:44:06.397 Info Server: http/1.1 Response 204 to host3. Time: 62ms. http://10.1.9.18:8096/emby/Sessions/Playing?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=False&ItemId=47987&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&PositionTicks=0&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False 2022-11-28 18:44:07.347 Info Server: http/1.1 POST http://10.1.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=False&ItemId=47987&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&PositionTicks=66060000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False. UserAgent: Emby for Kodi Next Gen/7.10.5 2022-11-28 18:44:07.373 Info Server: http/1.1 Response 204 to host3. Time: 26ms. http://10.1.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=False&ItemId=47987&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&PositionTicks=66060000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False 2022-11-28 18:44:07.759 Info Server: http/1.1 POST http://10.1.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&PositionTicks=66068071289&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False. UserAgent: Emby for Kodi Next Gen/7.10.5 2022-11-28 18:44:07.762 Info Server: http/1.1 Response 204 to host3. Time: 3ms. http://10.1.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&PositionTicks=66068071289&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False 2022-11-28 18:44:11.363 Info Server: http/1.1 POST http://10.1.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&PositionTicks=66060000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False. UserAgent: Emby for Kodi Next Gen/7.10.5 2022-11-28 18:44:11.366 Info Server: http/1.1 Response 204 to host3. Time: 3ms. http://10.1.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&PositionTicks=66060000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False 2022-11-28 18:44:15.379 Info Server: http/1.1 POST http://10.1.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&PositionTicks=66060000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False. UserAgent: Emby for Kodi Next Gen/7.10.5 2022-11-28 18:44:15.381 Info Server: http/1.1 Response 204 to host3. Time: 3ms. http://10.1.9.18:8096/emby/Sessions/Playing/Progress?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&PositionTicks=66060000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False 2022-11-28 18:44:18.563 Info Server: http/1.1 Response 206 to host3. Time: 12822ms. http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv 2022-11-28 18:44:18.563 Info Server: http/1.1 Response 206 to host3. Time: 12827ms. http://10.1.9.18:8096/emby/videos/47987/stream?static=true&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&DeviceId=e0d2dc73-ce2c-4e0c-869e-786cd8839793&=TestMov.mkv 2022-11-28 18:44:18.879 Info Server: http/1.1 POST http://10.1.9.18:8096/emby/Sessions/Playing/Stopped?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&PositionTicks=66060000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False. UserAgent: Emby for Kodi Next Gen/7.10.5 2022-11-28 18:44:18.903 Info SessionManager: Playback stopped reported by app Emby for Kodi Next Gen 7.10.5 playing TestMov. Stopped at 6606000 ms 2022-11-28 18:44:18.906 Info Server: http/1.1 Response 204 to host3. Time: 27ms. http://10.1.9.18:8096/emby/Sessions/Playing/Stopped?CanSeek=True&QueueableMediaTypes=Video%2CAudio&IsPaused=True&ItemId=47987&MediaSourceId=8311f1b37c6feb3fe2c9044adfe81696&PlaySessionId=ab4ea7d9575ae3f4a21dae446bed7654&PositionTicks=66060000000&RunTimeTicks=83813320312&VolumeLevel=100&IsMuted=False
pgemby 6 Posted December 18, 2022 Author Posted December 18, 2022 @Luke Looking for other/different information?
pgemby 6 Posted December 19, 2022 Author Posted December 19, 2022 @quickmic I use E4K 7.13.1 in Kodi. Is there perhaps a way to stop this^^ constant "reporting" in E4K?
Luke 38841 Posted December 19, 2022 Posted December 19, 2022 @quickmic can verify that the automated reports are every ten seconds rather than four.
pgemby 6 Posted December 19, 2022 Author Posted December 19, 2022 +1 Whether it's 10, or 4, it's noisy ... and the goal is to stop/improve it. Perhaps @quickmic will have some ideas!
quickmic 1556 Posted December 20, 2022 Posted December 20, 2022 Luke covered it quite well. Yes next-gen plugin reports the status every 4 seconds. I can change it to 10 seconds or even more (@Luke, what's the maximum time before Emby server timeouts the session?) I can also add an option to disable the keepalive, not sure what the side effects would be. btw. @Luke next-gen plugin also pings the server via websocket every 10 seconds to detect if the connection is still up. Would it be possible using the websocket ping at least for session keepalive determination? As far as I know, Emby server was capable receiving playback-session-status-reports via websocket, but I think this feature is broken for a long time.
Luke 38841 Posted December 20, 2022 Posted December 20, 2022 1 minute ago, quickmic said: Luke covered it quite well. Yes next-gen plugin reports the status every 4 seconds. I can change it to 10 seconds or even more (@Luke, what's the maximum time before Emby server timeouts the session?) I can also add an option to disable the keepalive, not sure what the side effects would be. btw. @Luke next-gen plugin also pings the server via websocket every 10 seconds to detect if the connection is still up. Would it be possible using the websocket ping at least for session keepalive determination? As far as I know, Emby server was capable receiving playback-session-status-reports via websocket, but I think this feature is broken for a long time. Our guidance is every 10 seconds, and then immediately following any manual user action (e.g. seek, pause, unpause, etc).
pgemby 6 Posted December 20, 2022 Author Posted December 20, 2022 @quickmic here, it's currently definitely more frequent that every 10s ... iiuc, a websocket keepalive wouldn't require any disk access, is that correct?
quickmic 1556 Posted December 20, 2022 Posted December 20, 2022 15 minutes ago, pgemby said: @quickmic here, it's currently definitely more frequent that every 10s ... iiuc, a websocket keepalive wouldn't require any disk access, is that correct? Both, the session (http) status report and the websocket ping should not trigger any disk io. Do you use native mode in next-gen? If yes, Kodi has direct file access to the server and theoretically, Kodi could access files (even it shouldn't). In addon mode, it's not possible.
pgemby 6 Posted December 20, 2022 Author Posted December 20, 2022 @quickmic > Do you use native mode in next-gen? Nope. I'm using add-on mode with next gen 7.13.1, and kodi 19.4.0
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now