Jump to content

Multiple Tuners not utilized


mellomade

Recommended Posts

mellomade

Server Log

 

Version 3.0.5743.22005

 

I have 2 HDHR Tuners (1 CONNECT & 1 EXTEND) configured to work with EmbyTV.  It seems to pick up one tuner just fine and use that for recording - but it never uses the second tuner.  If I schedule more than 2 recordings the first 2 populate the first tuner but the rest get ignored.

 

Ideas?

Link to comment
Share on other sites

I assume your guide display correctly merges the channels and doesn't show duplicates, right? And do they both have the same list of channels exposed to emby? meaning, the favorite-only setting on the emby side, as well was any possible settings on the HDHR side.

Link to comment
Share on other sites

mellomade

Yep - guide only shows the channels I have enabled on the tuner(s).  Both tuners are set up indentically.  No dups.

 

Interesting note however - when I go into Live TV and look at the tuner list (autoconfigured) both tuners show fine and EmbyTV appears to be using the first tuner listed.  When I go into the details though (for each tuner) there is no IP address listed and it won't let me select favorites (check box is not working) on either tuner.

Link to comment
Share on other sites

Ok, i'm going to have to add more debug logging because what it does is loop through all the devices. for some reason it must think your other device doesn't have that channel. when we get the channels from the device i'll dump them into the log and that should help solve this.

Link to comment
Share on other sites

mellomade

Debug Log

 

edit - If I kill the first 2 recordings after a period of time (CBS4 Morning News and 9News in this log) - then the third recording that initially fails (Curious George) gets picked up by the 60 second fallback once one of those first 2 tuners is free.  So it seems to see the channel just fine.

Edited by mellomade
Link to comment
Share on other sites

drakus72

3 tuners and it keeps pulling only from the top one and not the rest. 2 shows currently recording and won't record a 3rd or 4th. Pulls same tuner that is already recording.

2015-09-23 20:22:14.8986 Info - App: Retrying recording in 60 seconds.
2015-09-23 20:23:03.0884 Info - App: Recording timer fired.
2015-09-23 20:23:03.0884 Info - App: Streaming Channel hdhr_32.1
2015-09-23 20:23:03.0884 Info - App: GetChannelStream: channel id: hdhr_32.1. stream id: 
2015-09-23 20:23:03.1704 Info - App: Beginning recording.
2015-09-23 20:23:03.1704 Info - App: Writing file to path: E:\LiveTV\Series\Empire\Empire S02E01 The Devils Are Here.ts
2015-09-23 20:23:03.1704 Info - App: HttpClientManager GET: http://192.168.2.132:5004/auto/v32.1
2015-09-23 20:23:03.1974 Error - App: Error getting response from http://192.168.2.132:5004/auto/v32.1
	*** Error Report ***
	Version: 3.0.5744.24447
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	The remote server returned an error: (503) Server Unavailable.
	System.Net.WebException
	   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)
	
2015-09-23 20:23:03.1974 Error - App: Error recording
	*** Error Report ***
	Version: 3.0.5744.24447
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	The remote server returned an error: (503) Server Unavailable.
	MediaBrowser.Model.Net.HttpException
	   at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1e.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.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsync>d__7.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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
	   at MediaBrowser.Server.Implementations.LiveTv.EmbyTV.EmbyTV.<RecordStream>d__86.MoveNext()
	InnerException: System.Net.WebException
	The remote server returned an error: (503) Server Unavailable.
	   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)
	
2015-09-23 20:23:03.1974 Info - App: Retrying recording in 60 seconds.
2015-09-23 20:23:14.9060 Info - App: Recording timer fired.
2015-09-23 20:23:14.9060 Info - App: Streaming Channel hdhr_32.1
2015-09-23 20:23:14.9060 Info - App: GetChannelStream: channel id: hdhr_32.1. stream id: 
2015-09-23 20:23:15.0310 Info - App: Beginning recording.
2015-09-23 20:23:15.0310 Info - App: Writing file to path: E:\LiveTV\Series\Empire\Empire S02E01 The Devils Are Here.ts
2015-09-23 20:23:15.0310 Info - App: HttpClientManager GET: http://192.168.2.132:5004/auto/v32.1
2015-09-23 20:23:15.0470 Error - App: Error getting response from http://192.168.2.132:5004/auto/v32.1
	*** Error Report ***
	Version: 3.0.5744.24447
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	The remote server returned an error: (503) Server Unavailable.
	System.Net.WebException
	   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)
	
2015-09-23 20:23:15.0470 Error - App: Error recording
	*** Error Report ***
	Version: 3.0.5744.24447
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	The remote server returned an error: (503) Server Unavailable.
	MediaBrowser.Model.Net.HttpException
	   at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1e.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.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsync>d__7.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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
	   at MediaBrowser.Server.Implementations.LiveTv.EmbyTV.EmbyTV.<RecordStream>d__86.MoveNext()
	InnerException: System.Net.WebException
	The remote server returned an error: (503) Server Unavailable.
	   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)
	
2015-09-23 20:23:15.0470 Info - App: Retrying recording in 60 seconds.
2015-09-23 20:23:52.6452 Info - App: SessionInfoWebSocketListener Begin transmitting over websocket to 192.168.2.169:55106
2015-09-23 20:23:52.6452 Info - App: ScheduledTasksWebSocketListener Begin transmitting over websocket to 192.168.2.169:55106
2015-09-23 20:23:52.6452 Info - App: ActivityLogWebSocketListener Begin transmitting over websocket to 192.168.2.169:55106
2015-09-23 20:23:52.7162 Info - App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json
2015-09-23 20:23:52.8472 Info - App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json
2015-09-23 20:23:55.1113 Info - App: ActivityLogWebSocketListener stop transmitting over websocket to 192.168.2.169:55106
2015-09-23 20:23:55.1113 Info - App: ActivityLogWebSocketListener Begin transmitting over websocket to 192.168.2.169:55106
2015-09-23 20:23:55.1113 Info - App: SessionInfoWebSocketListener stop transmitting over websocket to 192.168.2.169:55106
2015-09-23 20:23:55.1113 Info - App: ScheduledTasksWebSocketListener stop transmitting over websocket to 192.168.2.169:55106
2015-09-23 20:24:00.2836 Error - NotFoundHttpHandler: 192.168.2.250:8096 Request not found: /favicon.ico
2015-09-23 20:24:13.8614 Info - App: HttpClientManager GET: http://192.168.2.132/tuners.html
2015-09-23 20:24:13.8954 Info - App: HttpClientManager GET: http://192.168.2.98/tuners.html
2015-09-23 20:24:13.9224 Info - App: HttpClientManager GET: http://192.168.2.106/tuners.html
2015-09-23 20:24:52.3636 Info - App: IntervalTrigger fired for task: Organize new media files
2015-09-23 20:24:52.3636 Info - App: Queueing task OrganizerScheduledTask
2015-09-23 20:24:52.3636 Info - App: Executing Organize new media files
2015-09-23 20:24:52.3636 Info - App: Organize new media files Completed after 0 minute(s) and 0 seconds
2015-09-23 20:24:52.3636 Info - ServerManager: Sending web socket message ScheduledTaskEnded
2015-09-23 20:25:22.5183 Info - App: Recording timer fired.
2015-09-23 20:25:22.5183 Info - App: Streaming Channel hdhr_9.1
2015-09-23 20:25:22.5183 Info - App: GetChannelStream: channel id: hdhr_9.1. stream id: 
2015-09-23 20:25:22.6233 Info - App: Beginning recording.
2015-09-23 20:25:22.6233 Info - App: Writing file to path: E:\LiveTV\Series\A Wicked Offer\A Wicked Offer S01E08 Here Comes the Bribe.ts
2015-09-23 20:25:22.6233 Info - App: HttpClientManager GET: http://192.168.2.132:5004/auto/v9.1
2015-09-23 20:25:22.6523 Error - App: Error getting response from http://192.168.2.132:5004/auto/v9.1
	*** Error Report ***
	Version: 3.0.5744.24447
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	The remote server returned an error: (503) Server Unavailable.
	System.Net.WebException
	   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)
	
2015-09-23 20:25:22.6523 Error - App: Error recording
	*** Error Report ***
	Version: 3.0.5744.24447
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	The remote server returned an error: (503) Server Unavailable.
	MediaBrowser.Model.Net.HttpException
	   at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1e.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.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsync>d__7.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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
	   at MediaBrowser.Server.Implementations.LiveTv.EmbyTV.EmbyTV.<RecordStream>d__86.MoveNext()
	InnerException: System.Net.WebException
	The remote server returned an error: (503) Server Unavailable.
	   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)
	
2015-09-23 20:25:22.6523 Info - App: Retrying recor
Edited by drakus72
Link to comment
Share on other sites

drakus72

only 1 hd home rune working. not pulling the rest.

 

hmm.. interesting, didn't see that posting, will have to turn on the debugging and report log. 

 

Will do in the morning. It is getting late.

Link to comment
Share on other sites

drakus72

updated log for tuner pooling

2015-09-25 11:24:59.7188 Info - App: Recording timer fired.
2015-09-25 11:24:59.7188 Info - App: Streaming Channel hdhr_2.1
2015-09-25 11:24:59.7378 Info - App: HttpClientManager GET: http://192.168.2.132/lineup.json
2015-09-25 11:24:59.7688 Info - App: HttpClientManager GET: http://192.168.2.98/lineup.json
2015-09-25 11:24:59.7848 Info - App: HttpClientManager GET: http://192.168.2.106/lineup.json
2015-09-25 11:24:59.8428 Info - App: GetChannelStream: channel id: hdhr_2.1. stream id: 
2015-09-25 11:25:05.1071 Info - App: Beginning recording.
2015-09-25 11:25:05.1071 Info - App: Writing file to path: E:\LiveTV\Series\CBS 2 News at 11 00AM\CBS 2 News at 11 00AM 1999-12-27 -.ts
2015-09-25 11:25:05.1071 Info - App: HttpClientManager GET: http://192.168.2.132:5004/auto/v2.1
2015-09-25 11:27:28.7073 Info - App: IntervalTrigger fired for task: Organize new media files
2015-09-25 11:27:28.7073 Info - App: Queueing task OrganizerScheduledTask
2015-09-25 11:27:28.7073 Info - App: Executing Organize new media files
2015-09-25 11:27:28.7073 Info - App: Sorting file E:\TV Down\The Player - S01E01 - Pilot.mkv
2015-09-25 11:27:28.7073 Warn - App: Unable to find series in library matching name The Player
2015-09-25 11:27:28.7073 Info - App: Organize new media files Completed after 0 minute(s) and 0 seconds
2015-09-25 11:27:28.7143 Info - ServerManager: Sending web socket message ScheduledTaskEnded
2015-09-25 11:29:32.7334 Info - App: Recording timer fired.
2015-09-25 11:29:32.7334 Info - App: Streaming Channel hdhr_5.1
2015-09-25 11:29:32.7334 Info - App: GetChannelStream: channel id: hdhr_5.1. stream id: 
2015-09-25 11:29:36.0096 Info - App: Beginning recording.
2015-09-25 11:29:36.0096 Info - App: Writing file to path: E:\LiveTV\Series\NBC5 News at 11 00AM\NBC5 News at 11 00AM 2014-09-08 -.ts
2015-09-25 11:29:36.0096 Info - App: HttpClientManager GET: http://192.168.2.132:5004/auto/v5.1
2015-09-25 11:29:48.4503 Info - App: Recording timer fired.
2015-09-25 11:29:48.4503 Info - App: Streaming Channel hdhr_2.1
2015-09-25 11:29:48.4503 Info - App: GetChannelStream: channel id: hdhr_2.1. stream id: 
2015-09-25 11:29:48.5373 Info - App: Beginning recording.
2015-09-25 11:29:48.5373 Info - App: Writing file to path: E:\LiveTV\Series\CBS 2 News at 11 00AM\CBS 2 News at 11 00AM 1999-12-27 -.ts
2015-09-25 11:29:48.5373 Info - App: HttpClientManager GET: http://192.168.2.132:5004/auto/v2.1
2015-09-25 11:29:48.5643 Error - App: Error getting response from http://192.168.2.132:5004/auto/v2.1
	*** Error Report ***
	Version: 3.0.5746.20156
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	The remote server returned an error: (503) Server Unavailable.
	System.Net.WebException
	   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)
	
2015-09-25 11:29:48.5643 Error - App: Error recording
	*** Error Report ***
	Version: 3.0.5746.20156
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	The remote server returned an error: (503) Server Unavailable.
	MediaBrowser.Model.Net.HttpException
	   at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1e.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.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsync>d__7.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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
	   at MediaBrowser.Server.Implementations.LiveTv.EmbyTV.EmbyTV.<RecordStream>d__86.MoveNext()
	InnerException: System.Net.WebException
	The remote server returned an error: (503) Server Unavailable.
	   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)
	
2015-09-25 11:29:48.5643 Info - App: Retrying recording in 60 seconds.
2015-09-25 11:30:00.5990 Error - HttpServer: Error in HttpConnection.BeginReadRequest. ConnectionId: e6fa35ca9d2b47ff9c365fd9f289de91
	*** Error Report ***
	Version: 3.0.5746.20156
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Unable to read data from the transport connection: An established connection was aborted by the software in your host machine.
	System.IO.IOException
	   at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
	   at SocketHttpListener.Net.HttpConnection.BeginReadRequest()
	InnerException: System.Net.Sockets.SocketException
	An established connection was aborted by the software in your host machine
	   at System.Net.Sockets.Socket.BeginReceive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
	   at System.Net.Sockets.NetworkStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
	
2015-09-25 11:30:00.5990 Error - HttpServer: Error this.ProcessRequest(context)(Exception while writing error to the response)
	*** Error Report ***
	Version: 3.0.5746.20156
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Cannot access a disposed object.
	Object name: 'SocketHttpListener.Net.HttpListenerResponse'.
	System.ObjectDisposedException
	   at SocketHttpListener.Net.HttpListenerResponse.set_StatusCode(Int32 value)
	   at MediaBrowser.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.set_StatusCode(Int32 value)
	   at MediaBrowser.Server.Implementations.HttpServer.HttpListenerHost.ErrorHandler(Exception ex, IRequest httpReq)
	
2015-09-25 11:30:00.8460 Info - App: SessionInfoWebSocketListener Begin transmitting over websocket to 65.112.72.244:39122
2015-09-25 11:30:00.8460 Info - App: ScheduledTasksWebSocketListener Begin transmitting over websocket to 65.112.72.244:39122
2015-09-25 11:30:00.8460 Info - App: ActivityLogWebSocketListener Begin transmitting over websocket to 65.112.72.244:39122
2015-09-25 11:30:01.6261 Info - App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json
2015-09-25 11:30:01.6261 Info - App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json
2015-09-25 11:30:02.5781 Info - App: ActivityLogWebSocketListener stop transmitting over websocket to 65.112.72.244:39122
2015-09-25 11:30:02.5781 Info - App: ActivityLogWebSocketListener Begin transmitting over websocket to 65.112.72.244:39122
2015-09-25 11:30:02.5781 Info - App: SessionInfoWebSocketListener stop transmitting over websocket to 65.112.72.244:39122
2015-09-25 11:30:02.5781 Info - App: ScheduledTasksWebSocketListener stop transmitting over websocket to 65.112.72.244:39122
2015-09-25 11:30:02.6521 Info - App: HttpClientManager GET: http://192.168.2.132/tuners.html
2015-09-25 11:30:02.6791 Info - App: HttpClientManager GET: http://192.168.2.98/tuners.html
2015-09-25 11:30:02.7041 Info - App: HttpClientManager GET: http://192.168.2.106/tuners.html
2015-09-25 11:30:15.4268 Info - App: Recording timer fired.
2015-09-25 11:30:15.4268 Info - App: Streaming Channel hdhr_7.1
2015-09-25 11:30:15.4268 Info - App: GetChannelStream: channel id: hdhr_7.1. stream id: 
2015-09-25 11:30:15.5068 Info - App: Beginning recording.
2015-09-25 11:30:15.5068 Info - App: Writing file to path: E:\LiveTV\Series\Windy City Live\Windy City Live 2015-09-25 -.ts
2015-09-25 11:30:15.5068 Info - App: HttpClientManager GET: http://192.168.2.132:5004/auto/v7.1
2015-09-25 11:30:15.5218 Error - App: Error getting response from http://192.168.2.132:5004/auto/v7.1
	*** Error Report ***
	Version: 3.0.5746.20156
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	The remote server returned an error: (503) Server Unavailable.
	System.Net.WebException
	   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)
	
2015-09-25 11:30:15.5218 Error - App: Error recording
	*** Error Report ***
	Version: 3.0.5746.20156
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	The remote server returned an error: (503) Server Unavailable.
	MediaBrowser.Model.Net.HttpException
	   at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1e.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.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsync>d__7.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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
	   at MediaBrowser.Server.Implementations.LiveTv.EmbyTV.EmbyTV.<RecordStream>d__86.MoveNext()
	InnerException: System.Net.WebException
	The remote server returned an error: (503) Server Unavailable.
	   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)
	
2015-09-25 11:30:15.5218 Info - App: Retrying recording in 60 seconds.
2015-09-25 11:30:19.8201 Info - App: HttpClientManager GET: http://192.168.2.132/tuners.html
2015-09-25 11:30:19.8691 Info - App: HttpClientManager GET: http://192.168.2.98/tuners.html
2015-09-25 11:30:19.8871 Info - App: HttpClientManager GET: http://192.168.2.106/tuners.html
2015-09-25 11:30:28.5006 Info - App: HttpClientManager GET: http://192.168.2.132/tuners.html
2015-09-25 11:30:28.5556 Info - App: HttpClientManager GET: http://192.168.2.98/tuners.html
2015-09-25 11:30:28.5756 Info - App: HttpClientManager GET: http://192.168.2.106/tuners.html
2015-09-25 11:30:30.7017 Info - App: ScheduledTasksWebSocketListener Begin transmitting over websocket to 65.112.72.244:43790
2015-09-25 11:30:32.9788 Info - App: ScheduledTasksWebSocketListener stop transmitting over websocket to 65.112.72.244:43790
Link to comment
Share on other sites

mellomade

Any updates on these issues with tuner pooling?  I just tried the latest dev build and EmbyTV still ignores the second listed tuner completely.

Link to comment
Share on other sites

please try dev build 3.0.5751.731, which has an attempted fix. if there's still a problem, please post the debug log. thanks.

Link to comment
Share on other sites

mellomade

Debug Log

 

Now it won't let me set any recordings on any tuners.  I can set the recording via the web interface and everything 'looks' like normal - but now nothing will record on any tuner.

Link to comment
Share on other sites

mellomade

Debug Log

 

Sorry - that was my fault - had the date on my Windows PC set back because MakeMKV was having licensing issues.  Reset and posted log above that shows the failure.  Thanks!

Link to comment
Share on other sites

  • 2 weeks later...
mellomade

Debug Log

 

Version 3.0.5764.21427

 

I still have this problem where more than 2 tuners cannot be utilized.  Emby auto configures the 2 tuners just fine - and if I remove the first one it will record to the second one fine - so I am not sure what is going on.

 

And I have noticed that when mousing over the Guide, Emby shows Play and Record buttons in the popup - but the 'Record' button doesn't do anything.

 

And another side note - has anyone noticed that it takes 2 clicks to do anything in the Emby web interface now?  Instead of just clicking on Record for example I have to click twice before anything is accepted.

Edited by mellomade
Link to comment
Share on other sites

mellomade

Sorry Luke - even tried to remove/readd tuners and SD login info.  Same deal.

 

Version 3.0.5764.27497

 

Debug Log

Edited by mellomade
Link to comment
Share on other sites

mellomade

Debug Log

 

Version 3.0.5767.1069

 

@@Luke - while the current fixes have allowed access to the other tuner(s) - there still seems to be some issues with how they are addressed.

 

In the debug log linked above - I have scheduled the following shows to record from the 4 tuners I have configured in Emby.  I have the default padding set to 2 minutes on either side of the recording.

 

5621314cdb3f1_Untitled1.jpg

 

At 10:58 - folders for all 4 shows are created and the first two recordings start (albeit with errors) on time.  The last 2 (Today and SuperWhy) do not start at 10:58.  60 seconds passes and another attempt to start recording initiates.  This time Today is picked up on the second tuner but SuperWhy is ignored.  The last recording (SuperWhy) never gets picked up.

 

FWIW - if I start these recordings manually when they are airing they get picked up just fine and all 4 tuners are used.  Scheduling seems to be problematic.

 

Let me know if you need more detail.

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