Jump to content

Unable to Change Recording Schedule for Series


bjs.pdx

Recommended Posts

bjs.pdx

I'm running an Emby server on a Shield TV Pro with Emby Premium.  I'm trying to setup a recording of a series ("Bull") but am running into difficulties.  I had it scheduled and wanted to make a change but now I just get a looping circle and can't change or delete the program.  It's a little hard to see in the screenshot. Emby version is Version 4.0.2.0.

 

My impression is some sort of database corruption but not sure how I can tell or troubleshoot.

 

post-434598-0-00697900-1552860787_thumb.png

Link to comment
Share on other sites

bjs.pdx

Found this in the server logs and wondered if it could be related to my problem:

 

2019-03-17 15:44:19.719 Error HttpServer: Error processing request
    *** Error Report ***
    Version: 4.0.2.0
    Command line: /data/app/com.emby.embyserver-rVHe4wh9F8eCMxfrFfIluA==/base.apk
    Operating system: Unix 4.9.109.2
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: False
    Processor count: 4
    Program data path: /storage/emulated/0/Android/data/com.emby.embyserver/files
    Application directory: /data/user/0/com.emby.embyserver
    Mono: 5.14.0 (explicit/000780ca82c)
    Android Version: 8.0.0-REL - SDK: 26 'O'
    Patch Level: 3664093_1378.1894 (2018-11-05)
    Fingerprint: NVIDIA/foster_e_hdd/foster:8.0.0/OPR6.170623.010/3664093_1378.1894:user/release-keys
    Model: SHIELD Android TV - NVIDIA/NVIDIA
    Hardware: foster/foster_e_hdd/foster_e_hdd/unknown
    SupportedAbis: arm64-v8a, armeabi-v7a, armeabi
    System.ArgumentNullException: System.ArgumentNullException: Value cannot be null.
    Parameter name: result
     at Emby.Server.Implementations.HttpServer.HttpResultFactory.GetResult[T] (MediaBrowser.Model.Services.IRequest requestContext, T result, System.Collections.Generic.IDictionary`2[TKey,TValue] responseHeaders) [0x00008] in <5837600bbe23491d837720283845e3f2>:0
     at MediaBrowser.Api.BaseApiService.ToOptimizedResult[T] (T result) [0x0000c] in <20c7b849910449e5ae52da95fa40f045>:0
     at MediaBrowser.Api.LiveTv.LiveTvService+<Get>d__51.MoveNext () [0x00092] in <20c7b849910449e5ae52da95fa40f045>:0
    --- End of stack trace from previous location where exception was thrown ---
     at Emby.Server.Implementations.Services.ServiceExecGeneral+<GetTaskResult>d__3.MoveNext () [0x00081] in <5837600bbe23491d837720283845e3f2>:0
    --- End of stack trace from previous location where exception was thrown ---
     at Emby.Server.Implementations.Services.ServiceHandler+<ProcessRequestAsync>d__14.MoveNext () [0x0023e] in <5837600bbe23491d837720283845e3f2>:0
    --- End of stack trace from previous location where exception was thrown ---
     at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>d__56.MoveNext () [0x00af1] in <5837600bbe23491d837720283845e3f2>:0
    Source: mscorlib
    TargetSite: Void Throw()
     at Emby.Server.Implementations.HttpServer.HttpResultFactory.GetResult[T] (MediaBrowser.Model.Services.IRequest requestContext, T result, System.Collections.Generic.IDictionary`2[TKey,TValue] responseHeaders) [0x00008] in <5837600bbe23491d837720283845e3f2>:0
     at MediaBrowser.Api.BaseApiService.ToOptimizedResult[T] (T result) [0x0000c] in <20c7b849910449e5ae52da95fa40f045>:0
     at MediaBrowser.Api.LiveTv.LiveTvService+<Get>d__51.MoveNext () [0x00092] in <20c7b849910449e5ae52da95fa40f045>:0
    --- End of stack trace from previous location where exception was thrown ---
     at Emby.Server.Implementations.Services.ServiceExecGeneral+<GetTaskResult>d__3.MoveNext () [0x00081] in <5837600bbe23491d837720283845e3f2>:0
    --- End of stack trace from previous location where exception was thrown ---
     at Emby.Server.Implementations.Services.ServiceHandler+<ProcessRequestAsync>d__14.MoveNext () [0x0023e] in <5837600bbe23491d837720283845e3f2>:0
    --- End of stack trace from previous location where exception was thrown ---
     at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>d__56.MoveNext () [0x00af1] in <5837600bbe23491d837720283845e3f2>:0
    
2019-03-17 15:44:19.720 Info HttpServer: HTTP Response 400 to 192.168.5.24. Time: 13ms

Edited by bjs.pdx
Link to comment
Share on other sites

bjs.pdx

Been trying to post the data as text.  How do I download the log file so I can attach it?  When I access the logs via the web interface it just opens the log.  When I tried to copy and paste it seems to fail.

Link to comment
Share on other sites

denz

You should be able to right click on the log and select "save target as" that will save it to the location you specify.

Link to comment
Share on other sites

bjs.pdx

Not sure if this helps, but this is the seriestimers.json and timers.json files from the Shield TV Pro...

 

I manually added a recording for one episode of Bull and it appears in the timers.json file.  Wondering if I could edit the series timers manually to add the program and get things back to normal.

 

Thoughts?

 

seriestimers.json.txt

timers.json.txt

Edited by bjs.pdx
Link to comment
Share on other sites

bjs.pdx

The system thinks there is a series recording scheduled. If I try to make any changes to the series settings I get the spinning circle. This morning I tried to delete the recording using the Emby client app on the Shield and it just popped up a message saying it was unable to delete the scheduled recording, which makes sense since I can't find any record of it.

 

Can I just delete the two json files and force the system to create new ones or will that make things even worse?  Is there another file that contains a reference to the non-existent series recording schedule?

Edited by bjs.pdx
Link to comment
Share on other sites

bjs.pdx

I think I may have finally found a solution to my problem.  I deleted all scheduled recordings for individual shows and series.  I then looked at the json files and found there was still an entry for Bull in the timers.json file.  I copied it to a backup file then edit the original to force it to a blank and rebooted the Shield to force a restart of Emby.  I was just able to add back a recording of the series for Bull.  I'll add back others and see if the recordings actually work.

Link to comment
Share on other sites

bjs.pdx

Some time ago...don't really remember.  Creating a blank file seems to have fixed that problem.  I have another issue with the Roku app though.  Seems that if I watch a recorded tv program and delete from the Roku, the Emby app terminates or crashes and leaves me at the Roku home page.

Link to comment
Share on other sites

  • 3 weeks later...

Interesting, thanks for the feedback.

 

The next server release will start using the bif files in other apps, including the web app, so it will be interesting to see if there's any problems there.

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