[Updated 14 Jul!] MPExtended WebMediaPortal 0.5.4 (1 Viewer)

Oxan

Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    That's strange, shouldn't happen. Let me look at that.
     

    bhengeveld

    Portal Pro
    December 11, 2009
    142
    46
    Home Country
    Netherlands Netherlands
    First of all: awesome! Works pretty much out of the box. But I don't appear to be able to play FLAC files in the music section. Is it not a function of webMP, or is something configured badly at my side? (which I hope, since about 90% of my music files is in FLAC...)
     

    gurken

    MP Donator
  • Premium Supporter
  • August 7, 2009
    954
    105
    Home Country
    Austria Austria
    when i make some records via webmediaportal the priority in my schedule list is always 0, any options to set another priority?
     

    LizardKing

    Portal Member
    March 29, 2012
    5
    1
    Milton Keynes
    Home Country
    England England
    Great plugin!! My in-laws in Malta love the fact they have access to all my Media
    !
    I've had this issue over a few releases now so dont know is its an issue with my setup or MPext / WebMP / Skin (Though it happens with the default skin as well)
    Every so often when i log in im greeted with links to just Home and Settings with no recent media listed.
    Clinking the Settings link gives me the following error.

    Code:
    Please include the information below when you report this error.
     
        WebMediaPortal version 0.5.1 (commit bfb2c36).
        Request: http://myhostnamehere:8082/Settings
     
     
    Exception has been thrown by the target of an invocation.
     
      at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
      at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
      at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
      at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
      at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
      at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
      at MPExtended.Applications.WebMediaPortal.Mvc.DropdownExtensions.DropDownListFor[TModel,TProperty](HtmlHelper`1 htmlHelper, Expression`1 expression, Object htmlAttributes) in C:\Users\Oxan\Documents\Projects\MPExtended\Applications\MPExtended.Applications.WebMediaPortal\Mvc\DropdownExtensions.cs:line 85
      at MPExtended.Applications.WebMediaPortal.Mvc.DropdownExtensions.DropDownListFor[TModel,TProperty](HtmlHelper`1 htmlHelper, Expression`1 expression) in C:\Users\Oxan\Documents\Projects\MPExtended\Applications\MPExtended.Applications.WebMediaPortal\Mvc\DropdownExtensions.cs:line 67
      at ASP._Page_Skins_BlueShift_Settings_Index_cshtml.Execute() in c:\Program Files (x86)\MPExtended\WebMediaPortal\www\Skins\BlueShift\Settings\Index.cshtml:line 69
      at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
      at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
      at System.Web.WebPages.StartPage.RunPage()
      at System.Web.WebPages.StartPage.ExecutePageHierarchy()
      at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
      at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
      at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
      at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)
      at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19()
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
      at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1c.<>c__DisplayClass1e.<InvokeActionResultWithFilters>b__1b()
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
      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)
     
    There was an error writing to the pipe: The pipe is being closed. (232, 0xe8).
     
    Server stack trace:
      at System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
      at System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout, BufferManager bufferManager)
      at System.ServiceModel.Channels.FramingDuplexSessionChannel.OnSend(Message message, TimeSpan timeout)
      at System.ServiceModel.Channels.OutputChannel.Send(Message message, TimeSpan timeout)
      at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout)
      at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
      at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
      at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
     
    Exception rethrown at [0]:
      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
      at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
      at MPExtended.Services.StreamingService.Interfaces.IWebStreamingService.GetTranscoderProfilesForTarget(String target)
      at MPExtended.Applications.WebMediaPortal.Models.SettingsViewModel.GetProfiles(IWebStreamingService service, IEnumerable`1 targets) in C:\Users\Oxan\Documents\Projects\MPExtended\Applications\MPExtended.Applications.WebMediaPortal\Models\SettingsViewModels.cs:line 242
      at MPExtended.Applications.WebMediaPortal.Models.SettingsViewModel.get_TVProfiles() in C:\Users\Oxan\Documents\Projects\MPExtended\Applications\MPExtended.Applications.WebMediaPortal\Models\SettingsViewModels.cs:line 71
     
    The write operation failed, see inner exception.
     
      at System.Net.Security.NegotiateStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
      at System.Net.Security.NegotiateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
      at System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
     
    There was an error writing to the pipe: The pipe is being closed. (232, 0xe8).
     
      at System.ServiceModel.Channels.PipeConnection.WriteHelper(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout, Object& holder)
      at System.ServiceModel.Channels.PipeConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
      at System.ServiceModel.Channels.BufferedConnection.WriteNow(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, BufferManager bufferManager)
      at System.ServiceModel.Channels.BufferedConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
      at System.ServiceModel.Channels.ConnectionStream.Write(Byte[] buffer, Int32 offset, Int32 count)
      at System.Net.Security.NegotiateStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
      at System.Net.Security.NegotiateStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
     
    There was an error writing to the pipe: The pipe is being closed. (232, 0xe8).
     
      at System.ServiceModel.Channels.PipeConnection.StartSyncWrite(Byte[] buffer, Int32 offset, Int32 size, Object& holder)
      at System.ServiceModel.Channels.PipeConnection.WriteHelper(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan ti

    However upon clicking settings it then populate links to Movies, TV shows etc. And it then works as it should and can go back into the settings normally.
    Running - Win7, Mediaportal 1.2.3.0 and Streamed MP

    I do run it alongside the likes of couchpotatoe/sickbeard and sabz (hence running on port 8082) so maybe it doesnt like that?
    Interesting that it has reference to "c:\users\Oxen\etc" (can also be found in the log files) i'm guessing thats just debug info left over
    thanks

    edit, just seen this being asked
    https://forum.team-mediaportal.com/...nded-service-0-5-1.114105/page-14#post-940561

    I take it this maybe a known issue? :)
     
    Last edited:

    sweborn

    Extension Designer
    June 8, 2007
    303
    214
    Home Country
    Sweden Sweden
    Is it possible to stream/play external srt subtitle files in flash player. Can I eventually add some html row?
    It should be possible because ampdroid can play external srt files with flash player.
     
    Last edited:

    erichzann

    MP Donator
  • Premium Supporter
  • October 25, 2011
    244
    34
    Oxford
    Home Country
    United Kingdom United Kingdom
    Everything works great for me except I can't play mp4 files using chrome. I will post my logs shortly but if any one else has had this problem it would be good to hear how you solved it.

    Thanks

    Edit: Changing the profile to Flash sorted the problem. Is it not possible to play mp4 and mkv files direct?
     
    Last edited:

    Keyser

    New Member
    December 15, 2012
    3
    0
    53
    Home Country
    Denmark Denmark
    Very very nice plugin that almost does everything needed. I do have a few missing pieces though:

    1: I think an option to delete recorded shows from the Web UI is the most needed feature.
    2: Detecting the browser/platform accesing the Web UI, so default streaming config can be different for different platforms. Particularly the ignoring of local browsers that always goes in Direct Mode Even though default has been set to HTTP Streaming.

    A possible bug: I can't watch recorded shows on an IOS device (setting it to HTTP Live streaming). I get an error on the devices saying the "action could not be completed" (translated from danish...)
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    I've had this issue over a few releases now so dont know is its an issue with my setup or MPext / WebMP / Skin (Though it happens with the default skin as well)
    Every so often when i log in im greeted with links to just Home and Settings with no recent media listed.
    Clinking the Settings link gives me the following error.
    Yes, that's a known problem. It usually happens after MPExtended hasn't been used for a while. I'm not sure how I'm going to fix that yet.

    I do run it alongside the likes of couchpotatoe/sickbeard and sabz (hence running on port 8082) so maybe it doesnt like that?
    Interesting that it has reference to "c:\users\Oxen\etc" (can also be found in the log files) i'm guessing thats just debug info left over
    thanks
    No, running on port 8082 shouldn't be a problem. The reference to C:\Users\Oxan is simply the location of the source code during compilation.

    Is it possible to stream/play external srt subtitle files in flash player. Can I eventually add some html row?
    It should be possible because ampdroid can play external srt files with flash player.
    It isn't supported in WebMP yet. Will probably be added sometime in the future. It's a bit more complex than simply adding an html row, you'll also need to modify the C# code a bit to pass the selected language to the service, but shouldn't be that hard. Patches welcome!

    Edit: Changing the profile to Flash sorted the problem. Is it not possible to play mp4 and mkv files direct?
    It should be. Which VLC version are you using?

    1: I think an option to delete recorded shows from the Web UI is the most needed feature.
    2: Detecting the browser/platform accesing the Web UI, so default streaming config can be different for different platforms. Particularly the ignoring of local browsers that always goes in Direct Mode Even though default has been set to HTTP Streaming.[/quote]
    Both are planned for 0.6 :)

    A possible bug: I can't watch recorded shows on an IOS device (setting it to HTTP Live streaming). I get an error on the devices saying the "action could not be completed" (translated from danish...)
    Your MPExtended logs would be useful.
     

    Keyser

    New Member
    December 15, 2012
    3
    0
    53
    Home Country
    Denmark Denmark
    Oxan, those new features sounds great. Any idea how far away the 0.6 release is?

    Attached is my webmediaportal logs from when i see the error on IOS devices. I have however probably discovered the problem myself. It may be related to "no US characters" in the recorded show names. In the logs I replay two recorded shows. The first one replays succesfully on IOS whereas the second one fails with the descibed error. I supect the danish character Å is the culprit as it is included ind the showname of the second recording.

    Anyways. This plugin you are working on could be what brings Mediaportal from a "slightly above mediocre" status to something really great. I cannot understand how the developers of Mediaportal can ignore webaccess to the system?
    The world has for the last 5 - 10 years becoming more and more mobile, so Web access and fully featured IOS/ANDROID/WP8 native clients must be the single most important feature of a home entertainment hub.
    I think what the Mediaportal Team needs the most are some proper architecture experts that knows how to conceptually design the home entertainment system of the future. Right about the only really good descision they made was to create the TV-Server as an independent module.
     

    Attachments

    • WebMediaPortal.zip
      5.9 KB

    Users who are viewing this thread

    Top Bottom