Jump to content

Problem download sync


Recommended Posts

forbius95
Posted (edited)

Hi Emby :)

I have a problem on my iPhone when I play a downloaded version, it does not sync with the "Continue Watching". I mean if I play from the "Continue Watching" category by selecting "Dowloaded version" and stop in the middle of the episode, the playback will restart from the beginning. 

My Emby iOS version is 2.2.16 and my iPhone iOS version is 17.2.1

What I have :

image.png.e9fcd7b2c0b53ada69c56315c222f0e9.png

What I should have :

image.png.981c7bec69f0fb2ab887defa0af61eeb.png

Thanks for your help ! :)

Edited by forbius95
forbius95
Posted

It seems that Emby server and the download version are not synchronized anymore.

Forgot to indicate the Emby Server version : 4.8.0.66 (beta version)

forbius95
Posted (edited)

I just tested with the non-beta version 4.7.14.0 and it seems to work perfectly ! ;)  The reading status is synchronized between the download version and Emby Server.

Conclusion : it is related to the beta version. If you can take into consideration for the next update, it could be great :) 

Edited by forbius95
  • 2 weeks later...
Posted

@forbius95can you try 4.8 again? It seems to be working just fine in my testing. Thanks !

Posted

Thanks Luke for your feedback ! ;) 

Unfortunately, I still have a difference in the reading status between the download version and Emby Server.

I tested it with Emby server 4.8.0.71 and iOS 17.2.1. Also on Android, the problem is the same.

Thanks for your help ! :) 

Posted

Can you please describe this more?

Quote

reading status between the download version and Emby Server.

Thanks.

Posted

Reading status is the green line here :

image.png.c2869c38351dc1938ef8712ccd904137.png

Source : Emby Server 4.7.14.0

In the same page, we have the choice to watch the episode with Downloaded version (with Version : Downloaded version) or Emby Server version (with Version : name_of_the_episode:

image.png.063738ca2365247fcdc55b7060cb4e70.png

Source  Emby Server 4.7.14.0

When I play from the Downloaded version and I stop the video at 15min26s for example, I should have the green line appearing (reading line status with 5 min left for example like the image above). And when I play the episode in my TV from the Emby Server, it should start from 15min26s ==> this is what I call the synchronization between the downloaded version and Emby Server. This works perfectly on non-Beta Emby Server 4.7.14.0

But in the beta version, when I stop my episode downloaded version at 15min26s, there is no green line appearing like the picture below (no green ligne status with 5min left) :

image.png.2107924cd8c465a3ea0169e7173dcc7e.png

Source  Emby Server 4.8.0.71

And when I play the episode on my TV or my iPhone with version from Emby Server (no Downloaded Version), there is no green ligne status with 5min left. It starts from the beginning.

Emby Server 4.8 seems to ignore the play status (15min26s reading) of the Downloaded version :( 

This was really comfortable when you begin an episode outside home with downloaded version on the phone and you continue watching your episode on TV back to home :) 

 

  • 3 weeks later...
Posted (edited)

Since the stable version upgraded to 4.8.0.80, the functionality does not work anymore :(  

Any news @Luke?

Edited by forbius95
  • 2 weeks later...
Posted

Is there anyone who could help me here please ?

 

Here is the log error :

 

2024-02-19 23:42:45.453 Warn Server: AUTH-ERROR: 192.168.1.XX - Access token is invalid or expired.
2024-02-19 23:42:45.453 Error Server: Access token is invalid or expired.
2024-02-19 23:42:45.454 Info Server: http/1.1 Response 401 to host1. Time: 1ms. GET http://192.168.1.YY:8096/emby/Sync/Items/Ready?TargetId=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8
2024-02-19 23:42:46.380 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey)
2024-02-19 23:42:46.454 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey)
2024-02-19 23:42:47.816 Info Server: http/1.1 POST http://192.168.1.YY:8096/emby/Items/31/PlaybackInfo?UserId=d8f0f63df9d04989b452b0b2b53f3773&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=160000000&X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
2024-02-19 23:42:47.820 Info App: User policy for adminus. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2024-02-19 23:42:47.820 Info Server: http/1.1 Response 200 to host1. Time: 4ms. POST http://192.168.1.YY:8096/emby/Items/31/PlaybackInfo?UserId=d8f0f63df9d04989b452b0b2b53f3773&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=160000000&X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2024-02-19 23:42:49.192 Info Server: http/1.1 POST http://192.168.1.YY:8096/emby/Items/31/PlaybackInfo?UserId=d8f0f63df9d04989b452b0b2b53f3773&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=160000000&X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
2024-02-19 23:42:49.197 Info App: User policy for adminus. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2024-02-19 23:42:49.199 Info Server: http/1.1 Response 200 to host1. Time: 8ms. POST http://192.168.1.YY:8096/emby/Items/31/PlaybackInfo?UserId=d8f0f63df9d04989b452b0b2b53f3773&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=160000000&X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2024-02-19 23:42:49.472 Info Server: http/1.1 POST http://192.168.1.YY:8096/emby/Sessions/Playing?X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
2024-02-19 23:42:49.489 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.1.0
    Command line: C:\Users\admin\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.22631
    Framework: .NET 6.0.26
    OS/Process: x64/x64
    Runtime: C:/Users/admin/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 8
    Data path: C:\Users\admin\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\admin\AppData\Roaming\Emby-Server\system
    System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. (Parameter 'key')
       at System.ThrowHelper.ThrowArgumentNullException(String name)
       at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
       at MediaBrowser.Controller.Session.SessionInfo.GetOrAddPlaySessionInfo(PlaybackProgressInfo info)
       at Emby.Server.Implementations.Session.SessionManager.OnPlaybackStart(PlaybackStartInfo info, SessionInfo session)
       at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
       at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
       at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
    Source: System.Collections.Concurrent
    TargetSite: Void ThrowArgumentNullException(System.String)
    
2024-02-19 23:42:49.490 Info Server: http/1.1 Response 400 to host1. Time: 18ms. POST http://192.168.1.YY:8096/emby/Sessions/Playing?X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2024-02-19 23:42:49.667 Info Server: http/1.1 POST http://192.168.1.YY:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
2024-02-19 23:42:49.676 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.1.0
    Command line: C:\Users\admin\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.22631
    Framework: .NET 6.0.26
    OS/Process: x64/x64
    Runtime: C:/Users/admin/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 8
    Data path: C:\Users\admin\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\admin\AppData\Roaming\Emby-Server\system
    System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. (Parameter 'key')
       at System.ThrowHelper.ThrowArgumentNullException(String name)
       at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
       at MediaBrowser.Controller.Session.SessionInfo.GetOrAddPlaySessionInfo(PlaybackProgressInfo info)
       at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, SessionInfo session)
       at Emby.Server.MediaEncoding.Api.PlaystateService.Post(ReportPlaybackProgress request)
       at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req, Type serviceType)
       at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
       at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
    Source: System.Collections.Concurrent
    TargetSite: Void ThrowArgumentNullException(System.String)
    
2024-02-19 23:42:49.676 Info Server: http/1.1 Response 400 to host1. Time: 9ms. POST http://192.168.1.YY:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2024-02-19 23:42:54.842 Info Server: http/1.1 POST http://192.168.1.YY:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
2024-02-19 23:42:54.843 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.1.0
    Command line: C:\Users\admin\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.22631
    Framework: .NET 6.0.26
    OS/Process: x64/x64
    Runtime: C:/Users/admin/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 8
    Data path: C:\Users\admin\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\admin\AppData\Roaming\Emby-Server\system
    System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. (Parameter 'key')
       at System.ThrowHelper.ThrowArgumentNullException(String name)
       at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
       at MediaBrowser.Controller.Session.SessionInfo.GetOrAddPlaySessionInfo(PlaybackProgressInfo info)
       at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, SessionInfo session)
       at Emby.Server.MediaEncoding.Api.PlaystateService.Post(ReportPlaybackProgress request)
       at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req, Type serviceType)
       at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
       at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
    Source: System.Collections.Concurrent
    TargetSite: Void ThrowArgumentNullException(System.String)

Posted (edited)

Hi,

When I play an episode from the Downloaded version in my iPhone (v2.2.17 iOS) and I stop the video at 15min26s for example, I should see the playback progress bar appearing. And when I play the episode in my TV from the Emby Server, it should start from 15min26s but it does not.

Same problem on Android.

Emby Server 4.8/9 seems to ignore the Playback Progress Info from Downloaded version.

 

Here is the log error :

2024-02-19 23:42:45.453 Warn Server: AUTH-ERROR: 192.168.1.XX - Access token is invalid or expired.
2024-02-19 23:42:45.453 Error Server: Access token is invalid or expired.
2024-02-19 23:42:45.454 Info Server: http/1.1 Response 401 to host1. Time: 1ms. GET http://192.168.1.YY:8096/emby/Sync/Items/Ready?TargetId=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8
2024-02-19 23:42:46.380 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey)
2024-02-19 23:42:46.454 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey)
2024-02-19 23:42:47.816 Info Server: http/1.1 POST http://192.168.1.YY:8096/emby/Items/31/PlaybackInfo?UserId=d8f0f63df9d04989b452b0b2b53f3773&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=160000000&X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
2024-02-19 23:42:47.820 Info App: User policy for adminus. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2024-02-19 23:42:47.820 Info Server: http/1.1 Response 200 to host1. Time: 4ms. POST http://192.168.1.YY:8096/emby/Items/31/PlaybackInfo?UserId=d8f0f63df9d04989b452b0b2b53f3773&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=160000000&X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2024-02-19 23:42:49.192 Info Server: http/1.1 POST http://192.168.1.YY:8096/emby/Items/31/PlaybackInfo?UserId=d8f0f63df9d04989b452b0b2b53f3773&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=160000000&X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
2024-02-19 23:42:49.197 Info App: User policy for adminus. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2024-02-19 23:42:49.199 Info Server: http/1.1 Response 200 to host1. Time: 8ms. POST http://192.168.1.YY:8096/emby/Items/31/PlaybackInfo?UserId=d8f0f63df9d04989b452b0b2b53f3773&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=160000000&X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2024-02-19 23:42:49.472 Info Server: http/1.1 POST http://192.168.1.YY:8096/emby/Sessions/Playing?X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
2024-02-19 23:42:49.489 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.1.0
    Command line: C:\Users\admin\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.22631
    Framework: .NET 6.0.26
    OS/Process: x64/x64
    Runtime: C:/Users/admin/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 8
    Data path: C:\Users\admin\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\admin\AppData\Roaming\Emby-Server\system
    System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. (Parameter 'key')
       at System.ThrowHelper.ThrowArgumentNullException(String name)
       at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
       at MediaBrowser.Controller.Session.SessionInfo.GetOrAddPlaySessionInfo(PlaybackProgressInfo info)
       at Emby.Server.Implementations.Session.SessionManager.OnPlaybackStart(PlaybackStartInfo info, SessionInfo session)
       at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
       at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
       at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
    Source: System.Collections.Concurrent
    TargetSite: Void ThrowArgumentNullException(System.String)
    
2024-02-19 23:42:49.490 Info Server: http/1.1 Response 400 to host1. Time: 18ms. POST http://192.168.1.YY:8096/emby/Sessions/Playing?X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2024-02-19 23:42:49.667 Info Server: http/1.1 POST http://192.168.1.YY:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
2024-02-19 23:42:49.676 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.1.0
    Command line: C:\Users\admin\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.22631
    Framework: .NET 6.0.26
    OS/Process: x64/x64
    Runtime: C:/Users/admin/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 8
    Data path: C:\Users\admin\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\admin\AppData\Roaming\Emby-Server\system
    System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. (Parameter 'key')
       at System.ThrowHelper.ThrowArgumentNullException(String name)
       at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
       at MediaBrowser.Controller.Session.SessionInfo.GetOrAddPlaySessionInfo(PlaybackProgressInfo info)
       at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, SessionInfo session)
       at Emby.Server.MediaEncoding.Api.PlaystateService.Post(ReportPlaybackProgress request)
       at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req, Type serviceType)
       at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
       at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
    Source: System.Collections.Concurrent
    TargetSite: Void ThrowArgumentNullException(System.String)
    
2024-02-19 23:42:49.676 Info Server: http/1.1 Response 400 to host1. Time: 9ms. POST http://192.168.1.YY:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json
2024-02-19 23:42:54.842 Info Server: http/1.1 POST http://192.168.1.YY:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for iOS&X-Emby-Device-Name=iPhone&X-Emby-Device-Id=RTCD18E1-E0F6-4C9B-ADF6-B55FE99264B8&X-Emby-Client-Version=2.2.17&X-Emby-Token=x_secret2_x&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
2024-02-19 23:42:54.843 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.1.0
    Command line: C:\Users\admin\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.22631
    Framework: .NET 6.0.26
    OS/Process: x64/x64
    Runtime: C:/Users/admin/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 8
    Data path: C:\Users\admin\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\admin\AppData\Roaming\Emby-Server\system
    System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. (Parameter 'key')
       at System.ThrowHelper.ThrowArgumentNullException(String name)
       at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
       at MediaBrowser.Controller.Session.SessionInfo.GetOrAddPlaySessionInfo(PlaybackProgressInfo info)
       at Emby.Server.Implementations.Session.SessionManager.OnPlaybackProgress(PlaybackProgressInfo info, SessionInfo session)
       at Emby.Server.MediaEncoding.Api.PlaystateService.Post(ReportPlaybackProgress request)
       at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req, Type serviceType)
       at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
       at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
    Source: System.Collections.Concurrent
    TargetSite: Void ThrowArgumentNullException(System.String)

Thanks for your help.

Edited by forbius95
Posted

Hi there, please attach the complete emby server log file. Thanks.

Posted

@Lukedid you find something  ? For now, the only option I have to synchronize my downloaded version with my media server is Plex :( 

forbius95
Posted

I tried to compare the version 4.9.0.8 vs 4.7.14.0 on the log and I have these lines :

Emby Server 4.9.0.8 :

2024-02-29 22:46:37.096 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 on iPhone playing unknown item. Stopped at 330496 ms

Emby Server 4.7.14.0 :

2024-03-01 09:34:08.457 Info SessionManager: Playback stopped reported by app Emby for iOS 2.2.17 playing Quantum Leap (1989) - 1x01. Stopped at 527923 ms

In version 4.7.14.0, Emby recognizes the episode  and does syncronize with the server but in 4.9 (and 4.8) it seems that Emby does not recognize the episode and call it "unknown item". Something changed on this part between those 2 versions ?

Posted

HI, yes we are looking into this .Thanks.

  • Thanks 1
  • 4 weeks later...
forbius95
Posted

Hi, do you have some news on this topic ? Am I the only one having this desynchronisation (Android & iOS) ? If it works from your side, maybe I have something wrong.

image.png

Posted
On 3/24/2024 at 5:14 PM, forbius95 said:

Hi, do you have some news on this topic ? Am I the only one having this desynchronisation (Android & iOS) ? If it works from your side, maybe I have something wrong.

image.png

Hi, yes we are looking into this. Thanks.

  • 1 month later...
Posted

Hi. I have the same issue. Downloaded content does not sync its watched- and progress-state with the server anymore. It was working fine with server version 4.7, but as far as I can tell has stopped working with 4.8.

The symptoms are as described above: there is no progress bar for downloaded content, and it does not change even if i watch a few minutes. Note that I'm never offline when watching downloaded content, just with a slow connection.

I use the Emby for Android 3.3.86 on a Pixel 8 Pro with Android 14. The server has 4.8.6.0 installed.

Please let me know if I can be of assistance.

Cheers

Posted
Quote

Hi. I have the same issue. Downloaded content does not sync its watched- and progress-state with the server anymore. It was working fine with server version 4.7, but as far as I can tell has stopped working with 4.8.

Hi, yes this has been resolved for the next update to Emby for Android. Thanks.

forbius95
Posted

Thanks. And for iOS ?

forbius95
Posted

Good news ! It seems to work in my iPhone. Big Thanks Luke and all the team :)  Emby is back !

PS : a Big fan of the new font and icons

  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...