Jump to content

Issue with resuming TV show - recorded by nextpvr on hdhomerun


Go to solution Solved by vaise,

Recommended Posts

Posted

I am now using dd-wrt on my router.

 

Since then (or since the emby update, not sure), our playback of paused recorded TV shows is not working.  

 

I found this below in the server logs - 192.168.1.1 is my router, now running DD-WRT.

 

What is it trying to do on that router ?

Is this related to the issue of resuming recordings ?

 

Transcode log does not kick off.

 

Client is Roku - and no issue until about 3/4 days ago. 

Oncve this issue happens, we cant ever play these files again - we can only delete them - which is a bit of a pain.

 

to recap issue :

 

start emby (we use the beta)

start a recorded TV show

pause it (I dont know if it matter how long)

click resume, get loading message........

exit, come back in, retry - same issue

 

 

server log below showing the router connection to 192.168.1.1.

 

2017-04-25 21:23:27.8041 Info HttpClient: HttpClientManager POST: http://192.168.1.1:1780
2017-04-25 21:23:27.8041 Error HttpClient: Error getting response from http://192.168.1.1:1780
    *** Error Report ***
    Version: 3.2.13.0
    Command line: C:\Users\Williams\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    Processor count: 8
    Program data path: C:\Users\Williams\AppData\Roaming\Emby-Server
    Application directory: C:\Users\Williams\AppData\Roaming\Emby-Server\System
    System.AggregateException: One or more errors occurred. ---> System.Net.WebException: The server committed a protocol violation. Section=ResponseStatusLine
     at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
     at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
     --- End of inner exception stack trace ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__22.MoveNext()
    ---> (Inner Exception #0) System.Net.WebException: The server committed a protocol violation. Section=ResponseStatusLine
     at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
     at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)<---
    
    System.AggregateException
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__22.MoveNext()
    InnerException: System.Net.WebException
    System.Net.WebException: The server committed a protocol violation. Section=ResponseStatusLine
     at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
     at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
     at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
     at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

    
2017-04-25 21:23:27.8041 Error PortMapper: Error creating port map: One or more errors occurred.
2017-04-25 21:23:27.8107 Info HttpClient: HttpClientManager POST: http://192.168.1.1:1780
2017-04-25 21:23:27.8107 Error HttpClient: Error getting response from http://192.168.1.1:1780
    *** Error Report ***
    Version: 3.2.13.0
    Command line: C:\Users\Williams\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    Processor count: 8
    Program data path: C:\Users\Williams\AppData\Roaming\Emby-Server
    Application directory: C:\Users\Williams\AppData\Roaming\Emby-Server\System
    System.AggregateException: One or more errors occurred. ---> System.Net.WebException: The server committed a protocol violation. Section=ResponseStatusLine
     at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
     at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
     --- End of inner exception stack trace ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__22.MoveNext()
    ---> (Inner Exception #0) System.Net.WebException: The server committed a protocol violation. Section=ResponseStatusLine
     at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
     at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)<---
    
    System.AggregateException
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__22.MoveNext()
    InnerException: System.Net.WebException
    System.Net.WebException: The server committed a protocol violation. Section=ResponseStatusLine
     at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
     at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
     at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
     at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
    
2017-04-25 21:23:27.8107 Error PortMapper: Error creating port map: One or more errors occurred.

Posted

Hi.  Can you please attach the entire server log?

 

Also when you say:

 

 

pause it (I dont know if it matter how long)

click resume, get loading message........

 

Do you mean you actually pause the show using the pause button on the remote and the transport and playback interface are still on screen - or are you actually backing out of the playback to the detail screen?

Posted

Hi,

 

I am backing out, often emby app is closed, come back to it later - i.e if I go to sleep. wake up the next day and click on resume.

 

That log is 27meg now.........

 

Have to simulate it again - but wife none too happy on me testing this and meaning her shows cant be watched again.

 

I will get a show she does not mind losing and try to simulate now.

 

Thanks.

Posted

OK - very easy to duplicate - and I have a clean logs for you.

 

This is the process.

 

Restarted emby server (for clean logs)

started roku beta app up

went to recorded Tv shows, started watching penn and teller

Fast forwarded 7 minutes in.

Pressed pause, then back, back, right out of emby.

Went back in to emby beta.

went down to resume the show, clicked resume.

Bar comes up just less that 50%, says loading, but has frozen, after a bit of time, the screen TV show has come back but they are frozen.  nothing works.

 

This show can now NO LONGER be resumed ever.

 

Hope that helps - should be easy to duplicate for anyone.  Issue started either after last update or DD-WRT router setup - both happened same day.

 

seems to fire a new server log when this happens, so you have two server logs and three ffmpeg logs for thie above test.

 

Cheers,

Vaise.

 

 

server-63628799966.txt

ffmpeg-transcode-1d53de19-bf05-43f4-a34f-3801cde41fa9.txt

ffmpeg-transcode-9dbd8589-a1c3-4a2b-a704-ceb99a22f186.txt

ffmpeg-transcode-63ca7d1b-6f9e-4bac-843d-a55af164cc7e.txt

server-63628761600.txt

Posted

So, when that happens, the Emby app is frozen and you cannot get back to the home screen to send a log from it?

 

I am unable to reproduce that.  I can stop and start and resume multiple times.  Not sure what is going on.

Posted

Nope, I can back out of it, and exit.  I can also (I have now seen), restart the show from the beginning, just not resume.  Wife said she could not do that last night.

 

I can repeat the test if you like.

 

Maybe it relates to the nextpvr plugin side if you cant duplicate it.

Posted

Nope, I can back out of it, and exit. 

 

Okay, then, when this happens, please follow the instructions here to send a log from the app.  Scroll down to the section on logs for Android/Fire and new Roku TV...

  • 4 weeks later...
  • Solution
Posted

Hi,

 

I just wanted to say this is all fixed and it is working like it used to after the .16 update.

 

Thanks.

  • Like 1
Posted

Thanks for the feedback.

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