Jump to content

EMBY ROKU Crashes When Opening "Recorded TV"


Recommended Posts

classic57ba@gmail.com
Posted

EMBY ROKY Ver 4.1 Build 59.  Emby server ver 4.9.3.0.  I can select EMBY from ROKU and it launches into EMBY.  If I then select "Recorded TV" the system crashes back to ROKU. The layout flashes and then it crashes back to ROKU.  I have tested it not using ROKU and it works fine.  I have 5 other Libraries (Movies, Photos, etc) and they all work fine even in ROKU.

Posted

Hi.  What kind of library is that (how is it defined in Emby) and exactly what is in it?

classic57ba@gmail.com
Posted (edited)

It is "TV Shows".  It has recordings from off air TV Series.  It also has downloaded TV Series from Streaming Sites. I have attached a screen grab of the  page.  Only houses .MVK and .SRT files

EMBY ROKU.jpg

Edited by classic57ba@gmail.com
Posted (edited)
Quote

2026-05-01 21:19:10.845 Info DisplayPreferencesService-0HNL7R201VL44:00000011: http/1.1 Response 204 to host1. Time: 0ms. POST http://192.168.68.147:8096/emby/DisplayPreferences/4ada4e0e0a5c45ecbbe2a1c7e8705609tvshows?client=rokusg&userid=x_secret4_x. 
2026-05-01 21:19:11.128 Error TagService-0HNL7R201VL44:00000013: Error processing request
    *** Error Report ***
    Version: 4.9.3.0
    Command line: C:\Data\EMBY Server\64-4.5.0\embyserver-win-x64-4.8.5.0\system\EmbyServer.dll
    Operating system: Microsoft Windows 10.0.26200
    OS/Process: x64/x64
    Framework: .NET 8.0.22
    Runtime: C:/Data/EMBY Server/64-4.5.0/embyserver-win-x64-4.8.5.0/system/System.Private.CoreLib.dll
    Processor count: 12
    Data path: C:\Data\EMBY Server\64-4.5.0\embyserver-win-x64-4.8.5.0\programdata
    Application path: C:\Data\EMBY Server\64-4.5.0\embyserver-win-x64-4.8.5.0\system
    System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
       at Emby.Server.Implementations.Data.SqliteItemRepository.GetWhereClauses(InternalItemsQuery query, List`1 bindParams, String mediaItemsTableQualifier, Boolean includeAncestors)
       at Emby.Server.Implementations.Data.SqliteItemRepository.QueryItemsInTransaction[T](InternalItemsQuery query, IDatabaseConnection db, String[] columnsToSelect, Boolean filterColumns, String[] groupBy, Func`5 rowReaderFn, String methodName)
       at Emby.Server.Implementations.Data.SqliteItemRepository.GetItemListInternal(InternalItemsQuery query, IDatabaseConnection db, CancellationToken cancellationToken)
       at Emby.Server.Implementations.Data.SqliteItemRepository.GetItemList(InternalItemsQuery query, IDataContext dataContext, CancellationToken cancellationToken)
       at Emby.Server.Implementations.Library.LibraryManager.GetItemsResult(InternalItemsQuery query, IDataContext dataContext, CancellationToken cancellationToken)
       at MediaBrowser.Controller.Entities.Folder.GetItemsInternal(InternalItemsQuery query, IDataContext dataContext, CancellationToken cancellationToken)
       at MediaBrowser.Controller.Entities.CollectionFolder.GetItemsInternal(InternalItemsQuery query, IDataContext dataContext, CancellationToken cancellationToken)
       at MediaBrowser.Controller.Entities.Folder.GetItemList(InternalItemsQuery query, CancellationToken cancellationToken)
       at Emby.Api.UserLibrary.TagService.Get(GetPrefixes 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, RestPath restPath, String urlString, String localPath, String contentTypeInPath, CancellationToken cancellationToken)
    Source: Emby.Server.Implementations
    TargetSite: System.Collections.Generic.List`1[System.String] GetWhereClauses(MediaBrowser.Controller.Entities.InternalItemsQuery, System.Collections.Generic.List`1[System.Collections.Generic.KeyValuePair`2[System.String,System.String]], System.String, Boolean)

@Luke What would cause an error with the TagService? Is it the fact this is Recorded TV?

I think the problem there is the unexpected. The Roku app logic doesn't expect what is returned and tries to insert a new field into the object that is undefined. That section on Roku can be beefed up so that when the API returns a condition like this that the default display settings are used and the user has to change them manually as the display settings couldn't be fetched for some reason. It is the error handling on the Roku app and this has never occured so we never expected it either. It can be fixed. But would be nice to the know the reason for the error on the server side.

Edited by speechles
Posted

I’m getting this same issue when I open my movies folder. Tv fine, but I open my movie folder and it crashed back to Roku home. I was watching movies fine last night. 

Posted

Folks, please do the following:

Open the Roku app and turn on "Debug Options" in the settings.
Exit the app  (very important)
Re-open the app and cause the problem (open whatever item is causing a crash)
When back at the Roku home, open the app again and immediately go to the user menu at the top and select "Send Logs..."
Finally, come back here and tell me exactly what time you did that.

Thanks.

Posted
12 hours ago, speechles said:

The Roku app logic doesn't expect what is returned and tries to insert a new field into the object that is undefined

Not sure where you are getting that from but it appears the prefix call is returning a 500 and that is probably what the app is not handling well.

classic57ba@gmail.com
Posted

ebr, I executed the instructions up to the point where it says select "Send Logs".  I can find nowhere in the settings menu where that phrase exists.  I turned on "debug" and when to the app and caused the crash at 1:16 and again at 1:20.  What am I missing

Posted
25 minutes ago, classic57ba@gmail.com said:

What am I missing

 

4 hours ago, ebr said:

When back at the Roku home, open the app again and immediately go to the user menu at the top and select "Send Logs..."

User menu, not settings.

HOWEVER.  I think I've found the issue anyway.  Please check your PMs.

classic57ba@gmail.com
Posted

ebr, that solved the issue.  What are my next steps?  And...thanks a bunch for your help.

Posted

Okay, great.  You can just use that version until the new release goes out early next week.

Thanks.

Posted

I'm experiencing the same issue with the TV shows folder, is there an interim fix?  

Posted
4 hours ago, HHTEX said:

I'm experiencing the same issue with the TV shows folder, is there an interim fix?  

Apologize for the disruption.  It should be fixed for you by Tue morning.

Posted

@LukeThe Roku should handle this with the update but we should probably still look into why these guys are getting 500s on the prefix call. The other apps may just be swallowing this error.

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...