Jump to content

App Crashes When Clicking Photos From Menu


FrostByte

Recommended Posts

FrostByte

Problem: Ever since updating to version 1.0.0c I'm getting errors trying to display photos.  When I click Photos from either the Menu or the top of the Home screen the app logs me out and asks me to log back in unless I have auto login set and then it logs back in automatically and jumps me back to the Home screen.  Others on the same release of the app and server report no issues so I'm trying to find out what is different about my setup

 

Some things I have tried is removing Photos from the library and then added them back into a different location, but with just a few photos actually in the new location.  Current structure is

C:\Photos\2015\Southampton

 

The app log doesn't have any information, but the server log seems to kick out a 401 or 500 error whenever the error occurs

 

 

 Ip: 192.168.1.102:46049. Headers: Host=192.168.1.129:8096,User-Agent=Mozilla/5.0 (SmartHub; SMART-TV; U; Linux/SmartTV+2014; Maple2012) AppleWebKit/537.42+ (KHTML, like Gecko) SmartTV Safari/537.42+,Accept=*/*,Accept-Encoding=gzip, deflate,Connection=Keep-Alive
2015-10-28 17:14:09.7538 Info - HttpServer: HTTP Response 200 to 192.168.1.102. Response time: 1.9796 ms.
 Url: http://192.168.1.129:8096/mediabrowser/Items/138ce9c288a5269e7b44d44afee9f397/Images/Backdrop/0?maxwidth=960&maxheight=540&Quality=80
2015-10-28 17:14:10.2019 Info - HttpServer: HTTP GET http://192.168.1.129:8096/mediabrowser/Users/8195155e9c5249dfbb7380e6b5e0938f/Items?format=json&SortBy=Random&IncludeItemTypes=Series,Movie&Recursive=true&CollapseBoxSetItems=false&Limit=20
 Ip: 192.168.1.102:46049. Headers: Host=192.168.1.129:8096,User-Agent=Mozilla/5.0 (SmartHub; SMART-TV; U; Linux/SmartTV+2014; Maple2012) AppleWebKit/537.42+ (KHTML, like Gecko) SmartTV Safari/537.42+,X-MediaBrowser-Token=b39cb54a37bf4476959693b5b5f0b9d1,Authorization=MediaBrowser Client="Samsung TV", Device="Samsung UN55F8000", DeviceId="7XCHC5ZTAUQ3Q", Version="v1.0.0c", UserId="8195155e9c5249dfbb7380e6b5e0938f",Content-Type=application/json; charset=UTF-8,Accept=*/*,Accept-Encoding=gzip, deflate,Connection=Keep-Alive
2015-10-28 17:14:10.2019 Error - HttpAsyncTaskHandler: Error occured while Processing Request: Access token has expired.
 *** Error Report ***
 Version: 3.0.5768.7
 Command line: C:\Users\Rick\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe -service
 Operating system: Microsoft Windows NT 6.2.9200.0
 Processor count: 2
 64-Bit OS: True
 64-Bit Process: False
 Program data path: C:\Users\Rick\AppData\Roaming\Emby-Server
 Application Path: C:\Users\Rick\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe
 Access token has expired.
 MediaBrowser.Controller.Net.SecurityException
    at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateSecurityToken(IServiceRequest request, String token)
    at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.ValidateUser(IServiceRequest request, IAuthenticationAttributes authAttribtues)
    at MediaBrowser.Server.Implementations.HttpServer.Security.AuthService.Authenticate(IServiceRequest request, IAuthenticationAttributes authAttribtues)
    at MediaBrowser.Controller.Net.AuthenticatedAttribute.RequestFilter(IRequest request, IResponse response, Object requestDto)
    at ServiceStack.ServiceStackHost.ApplyRequestFiltersSingle(IRequest req, IResponse res, Object requestDto)
    at ServiceStack.ServiceStackHost.ApplyRequestFilters(IRequest req, IResponse res, Object requestDto)
    at ServiceStack.Host.RestHandler.ProcessRequestAsync(IRequest httpReq, IResponse httpRes, String operationName)
 
2015-10-28 17:14:10.2019 Info - HttpServer: HTTP Response 401 to 192.168.1.102. Response time: 2.0065 ms.
 Url: http://192.168.1.129:8096/mediabrowser/Users/8195155e9c5249dfbb7380e6b5e0938f/Items?format=json&SortBy=Random&IncludeItemTypes=Series,Movie&Recursive=true&CollapseBoxSetItems=false&Limit=20
2015-10-28 17:14:10.2539 Info - HttpServer: HTTP GET http://192.168.1.129:8096/mediabrowser/Users/Public?format=json
 Ip: 192.168.1.102:46049. Headers: Host=192.168.1.129:8096,User-Agent=Mozilla/5.0 (SmartHub; SMART-TV; U; Linux/SmartTV+2014; Maple2012) AppleWebKit/537.42+ (KHTML, like Gecko) SmartTV Safari/537.42+,X-MediaBrowser-Token=b39cb54a37bf4476959693b5b5f0b9d1,Authorization=MediaBrowser Client="Samsung TV", Device="Samsung UN55F8000", DeviceId="7XCHC5ZTAUQ3Q", Version="v1.0.0c", UserId="8195155e9c5249dfbb7380e6b5e0938f",Content-Type=application/json; charset=UTF-8,Accept=*/*,Accept-Encoding=gzip, deflate,Connection=Keep-Alive
2015-10-28 17:14:10.2539 Info - HttpServer: HTTP Response 200 to 192.168.1.102. Response time: 2.0056 ms.

-------------------------------

 

2015-10-28 17:14:07.5507 Info - HttpServer: HTTP Response 200 to 192.168.1.102. Response time: 184.9572 ms.
 Url: http://192.168.1.129:8096/mediabrowser/Users/8195155e9c5249dfbb7380e6b5e0938f/Items?format=json
2015-10-28 17:14:07.5797 Info - HttpServer: HTTP GET http://192.168.1.129:8096/mediabrowser/Users/8195155e9c5249dfbb7380e6b5e0938f/Items?format=json&SortBy=SortName&SortOrder=Ascending&Fields=PrimaryImageAspectRatio,SortName,SyncInfo&StartIndex=0&Limit=500&Recursive=false&IncludeItemTypes=&MediaTypes=&ParentId=null
 Ip: 192.168.1.102:46044. Headers: Host=192.168.1.129:8096,User-Agent=Mozilla/5.0 (SmartHub; SMART-TV; U; Linux/SmartTV+2014; Maple2012) AppleWebKit/537.42+ (KHTML, like Gecko) SmartTV Safari/537.42+,X-MediaBrowser-Token=b39cb54a37bf4476959693b5b5f0b9d1,Authorization=MediaBrowser Client="Samsung TV", Device="Samsung UN55F8000", DeviceId="7XCHC5ZTAUQ3Q", Version="v1.0.0c", UserId="8195155e9c5249dfbb7380e6b5e0938f",Content-Type=application/json; charset=UTF-8,Accept=*/*,Accept-Encoding=gzip, deflate,Connection=Keep-Alive
2015-10-28 17:14:07.5797 Error - DtoUtils: ServiceBase<TRequest>::Service Exception
 *** Error Report ***
 Version: 3.0.5768.7
 Command line: C:\Users\Rick\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe -service
 Operating system: Microsoft Windows NT 6.2.9200.0
 Processor count: 2
 64-Bit OS: True
 64-Bit Process: False
 Program data path: C:\Users\Rick\AppData\Roaming\Emby-Server
 Application Path: C:\Users\Rick\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe
 Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
 System.FormatException
    at System.Guid.TryParseGuidWithNoStyle(String guidString, GuidResult& result)
    at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
    at System.Guid..ctor(String g)
    at MediaBrowser.Api.UserLibrary.ItemsService.<GetItems>d__5.MoveNext()
 --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at MediaBrowser.Api.UserLibrary.ItemsService.<Get>d__0.MoveNext()
 
2015-10-28 17:14:07.5797 Error - HttpServer: Error processing request for /mediabrowser/Users/8195155e9c5249dfbb7380e6b5e0938f/Items?format=json&SortBy=SortName&SortOrder=Ascending&Fields=PrimaryImageAspectRatio,SortName,SyncInfo&StartIndex=0&Limit=500&Recursive=false&IncludeItemTypes=&MediaTypes=&ParentId=null
 *** Error Report ***
 Version: 3.0.5768.7
 Command line: C:\Users\Rick\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe -service
 Operating system: Microsoft Windows NT 6.2.9200.0
 Processor count: 2
 64-Bit OS: True
 64-Bit Process: False
 Program data path: C:\Users\Rick\AppData\Roaming\Emby-Server
 Application Path: C:\Users\Rick\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe
 Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
 ServiceStack.HttpError
 No Stack Trace Available
 
2015-10-28 17:14:07.5797 Info - HttpServer: HTTP Response 500 to 192.168.1.102. Response time: 2.0032 ms.
 Url: http://192.168.1.129:8096/mediabrowser/Users/8195155e9c5249dfbb7380e6b5e0938f/Items?format=json&SortBy=SortName&SortOrder=Ascending&Fields=PrimaryImageAspectRatio,SortName,SyncInfo&StartIndex=0&Limit=500&Recursive=false&IncludeItemTypes=&MediaTypes=&ParentId=null
2015-10-28 17:14:07.5997 Info - HttpServer: HTTP GET http://192.168.1.129:8096/mediabrowser/Users/Public?format=json
 Ip: 192.168.1.102:46045. Headers: Host=192.168.1.129:8096,User-Agent=Mozilla/5.0 (SmartHub; SMART-TV; U; Linux/SmartTV+2014; Maple2012) AppleWebKit/537.42+ (KHTML, like Gecko) SmartTV Safari/537.42+,X-MediaBrowser-Token=b39cb54a37bf4476959693b5b5f0b9d1,Authorization=MediaBrowser Client="Samsung TV", Device="Samsung UN55F8000", DeviceId="7XCHC5ZTAUQ3Q", Version="v1.0.0c", UserId="8195155e9c5249dfbb7380e6b5e0938f",Content-Type=application/json; charset=UTF-8,Accept=*/*,Accept-Encoding=gzip, deflate,Connection=Keep-Alive​

 

 

I'll keep this thread updated as I progress in case anyone else sees this issue or has an idea of something to try

Link to comment
Share on other sites

FrostByte

Fixed:  CBers found out there was a recent server change requiring you to enable enhanced presentation for photos.

 

From the server do these steps:

 

User Settings

Home Screen Settings

Under the View Styles heading place a check mark next to Photos

Save

 

Note: this also fixes the display problem of photos within Media Folders

Edited by FrostByte
Link to comment
Share on other sites

CBers

Fixed: CBers found out there was a recent server change requiring you to enable enhanced presentation for photos.

 

 

I'm not saying there was a recent server change, as I belive that option has been there a while, but it does have an effect on this app and the Emby for Android TV app, but in opposite effects!

 

@@ebr is liaising with Luke to get to the root of it.

Link to comment
Share on other sites

FrostByte

Ok, something on the server or within the app must have changed though because I never had that checked before and I could always get Photos from Media Folders without it being messed up like that.  Thanks for elevating

Link to comment
Share on other sites

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