New topic as requested
The problem is simple - the HTPC seems to allow connection from the local network, but there is some problem with the media, in that nothing can be found.
This however is working fine from an external client, based in a remote location.
I also get a problem when pressing the 'download' button - thought this might be related:
#Edit
Further testing shows that it plays fine using the IP address to connect to (http://192.168.1.2:8080) but not the machine name (http://media-pc:8080)
Any ideas?
The problem is simple - the HTPC seems to allow connection from the local network, but there is some problem with the media, in that nothing can be found.
This however is working fine from an external client, based in a remote location.
I also get a problem when pressing the 'download' button - thought this might be related:
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at MPExtended.Libraries.Service.Configuration.get_Services() inC:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.Service\Configuration.cs:line 74
at MPExtended.Libraries.Service.Network.NetworkInformation.<IsLocalAddress>b__2c(IPAddress x) inC:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.Service\Network\NetworkInformation.cs:line 137
at System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
at MPExtended.Libraries.Service.Network.NetworkInformation.IsLocalAddress(String address) inC:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.Service\Network\NetworkInformation.cs:line 136
at MPExtended.Libraries.Service.Network.NetworkInformation.IsOnLAN(String address) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.Service\Network\NetworkInformation.cs:line 115
at MPExtended.Applications.WebMediaPortal.Controllers.StreamController.GetStreamMode() in C:\Users\Oxan\Documents\Projects\MPExtended\Applications\MPExtended.Applications.WebMediaPortal\Controllers\StreamController.cs:line 122
at MPExtended.Applications.WebMediaPortal.Controllers.StreamController.Download(WebMediaType type, String item) in C:\Users\Oxan\Documents\Projects\MPExtended\Applications\MPExtended.Applications.WebMediaPortal\Controllers\StreamController.cs:line 140
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
at System.Web.Mvc.Controller.ExecuteCore()
at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext)
at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5()
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
at System.Web.Mvc.MvcHandler.<>c__DisplayClasse.<EndProcessRequest>b__d()
at System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f)
at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action)
at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at MPExtended.Libraries.Service.Configuration.get_Services() inC:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.Service\Configuration.cs:line 74
at MPExtended.Libraries.Service.Network.NetworkInformation.<IsLocalAddress>b__2c(IPAddress x) inC:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.Service\Network\NetworkInformation.cs:line 137
at System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
at MPExtended.Libraries.Service.Network.NetworkInformation.IsLocalAddress(String address) inC:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.Service\Network\NetworkInformation.cs:line 136
at MPExtended.Libraries.Service.Network.NetworkInformation.IsOnLAN(String address) in C:\Users\Oxan\Documents\Projects\MPExtended\Libraries\MPExtended.Libraries.Service\Network\NetworkInformation.cs:line 115
at MPExtended.Applications.WebMediaPortal.Controllers.StreamController.GetStreamMode() in C:\Users\Oxan\Documents\Projects\MPExtended\Applications\MPExtended.Applications.WebMediaPortal\Controllers\StreamController.cs:line 122
at MPExtended.Applications.WebMediaPortal.Controllers.StreamController.Download(WebMediaType type, String item) in C:\Users\Oxan\Documents\Projects\MPExtended\Applications\MPExtended.Applications.WebMediaPortal\Controllers\StreamController.cs:line 140
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
at System.Web.Mvc.Controller.ExecuteCore()
at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext)
at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5()
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
at System.Web.Mvc.MvcHandler.<>c__DisplayClasse.<EndProcessRequest>b__d()
at System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f)
at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action)
at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
#Edit
Further testing shows that it plays fine using the IP address to connect to (http://192.168.1.2:8080) but not the machine name (http://media-pc:8080)
Any ideas?
Last edited: