FAQ  •  Register  •  Login

Unexpected stopping playing LG 42LM640T

<<

nickmz

Serviio newbie

Posts: 6

Joined: Thu Nov 07, 2013 8:06 am

Post Thu Nov 07, 2013 8:10 am

Re: Unexpected stopping playing LG 42LM640T

Googled this post. I have the same error with Serviio 1.3.1, Ubuntu 12.04, BubbleUPnP client on Android

  Code:
2013-11-04 20:31:25,126 WARN  [ResourceDeliveryProcessor] Invalid request, sending back 400 error
org.serviio.upnp.protocol.http.transport.InvalidResourceRequestException: Invalid incoming request: /resource/30226/MEDIA_ITEM/AVC_MP4_MP_SD_AAC_MULT5-0
        at org.serviio.upnp.protocol.http.transport.RequestedResourceDescriptor.<init>(RequestedResourceDescriptor.java:69)
        at org.serviio.upnp.protocol.http.transport.AbstractProtocolHandler.getRequestedResourceDescription(AbstractProtocolHandler.java:36)
        at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:65)
        at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:86)
        at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
        at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
        at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:77)
        at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
        at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:192)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
        at org.serviio.upnp.protocol.http.transport.RequestedResourceDescriptor.<init>(RequestedResourceDescriptor.java:66)
        ... 8 more
<<

nickmz

Serviio newbie

Posts: 6

Joined: Thu Nov 07, 2013 8:06 am

Post Thu Nov 07, 2013 8:40 am

Re: Unexpected stopping playing LG 42LM640T

I think you should protect

  Code:
this.quality = DeliveryQuality.QualityType.valueOf(requestFields[3]);


with

  Code:
 if (requestFields.length > 3) {}


and use default value for QualityType.

Sorry, was too upset and used JD-GUI :)
<<

jayhawk81

Streaming enthusiast

Posts: 28

Joined: Sun Apr 21, 2013 11:38 pm

Post Thu Nov 07, 2013 5:29 pm

Re: Unexpected stopping playing LG 42LM640T

Can you please elaborate on the above code? Where does it need to go? Is this replacing the first line of code with the second you provided or adding the second one?

Thanks
<<

nickmz

Serviio newbie

Posts: 6

Joined: Thu Nov 07, 2013 8:06 am

Post Fri Nov 08, 2013 4:53 am

Re: Unexpected stopping playing LG 42LM640T

It's all about the internal Java code - developers should know what to do with that. The problem is that Java code accesses the element by index #3 without ensuring that the array has at least 4 header elements.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16879

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Nov 10, 2013 6:52 pm

Re: Unexpected stopping playing LG 42LM640T

do you have a longer log to see the incoming request?

From my experience, BubbleUPnP caches some responses, so if you switch profiles it'll still send request for files that don't exist for the current profile (particular transcoded versions). That is a bad request, and sending a default quality (or a file transcoded to an unsupported file for a different profile) would be wrong.
<<

nickmz

Serviio newbie

Posts: 6

Joined: Thu Nov 07, 2013 8:06 am

Post Mon Nov 11, 2013 6:33 am

Re: Unexpected stopping playing LG 42LM640T

Here it is - https://dl.dropboxusercontent.com/u/314 ... iio.log.gz

I've switched to using "MediaHouse UPnP / DLNA Browser" - I'll see how it works.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16879

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Nov 11, 2013 5:19 pm

Re: Unexpected stopping playing LG 42LM640T

Could you try AV media Controller (see Intel tools in my signature), browse to the same file, get its properties and post here the resource URLs?

The URLs in the log are missing the /ORIGINAL bit, I need to confirm if it's the player ignoring it or Serviio not serving it.
<<

nickmz

Serviio newbie

Posts: 6

Joined: Thu Nov 07, 2013 8:06 am

Post Wed Nov 13, 2013 7:07 am

Re: Unexpected stopping playing LG 42LM640T

Sorry - I have no .NET/Mono installed. I tried UPnP-Inspector instead.

Here is the DB selection for failed items:

https://dl.dropboxusercontent.com/u/3146456/serviio/serviio.txt

Here are the screenshots of UPnP-Inspector for two failed items:

https://dl.dropboxusercontent.com/u/3146456/serviio/Browse%20MediaServer%20Serviio%20(nas)_024.png
https://dl.dropboxusercontent.com/u/3146456/serviio/Browse%20MediaServer%20Serviio%20(nas)_025.png

It seems that Serviio provides correct URL - at least right now and for UPnP-Inspector
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16879

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Nov 15, 2013 3:43 pm

Re: Unexpected stopping playing LG 42LM640T

Looks like it..
<<

nickmz

Serviio newbie

Posts: 6

Joined: Thu Nov 07, 2013 8:06 am

Post Sun Nov 17, 2013 6:53 am

Re: Unexpected stopping playing LG 42LM640T

I've checked once again. The exception occured on Android both in Bubble UPnP and MediaHouse but ONLY when a video is passed to MX Player. Passing to any other video player didn't lead to the exception. The exception in Serviio didn't stop MX Player from playing the video - I didn't noticed any visual problem.
<<

bubbleguuum

Serviio newbie

Posts: 17

Joined: Tue Feb 05, 2013 1:18 am

Post Sun Nov 17, 2013 12:41 pm

Re: Unexpected stopping playing LG 42LM640T

nickmz wrote:I've checked once again. The exception occured on Android both in Bubble UPnP and MediaHouse but ONLY when a video is passed to MX Player. Passing to any other video player didn't lead to the exception. The exception in Serviio didn't stop MX Player from playing the video - I didn't noticed any visual problem.



MX Player does additional http requests based on the http URL is was given to play, to infer eventual subtitles URLs.
In these additional requests it may remove the last path segment of the URL.
<<

subora

Serviio newbie

Posts: 17

Joined: Tue Apr 30, 2013 8:39 pm

Post Sun Mar 23, 2014 6:51 pm

Re: Unexpected stopping playing LG 42LM640T

Hello! Once again that error - jusi watching and unexpected stopping playing.
DS413, serviio 1.4.1.1, last 1.7 java
This is log:
2014-03-23 21:59:14,384 INFO [RendererManager] Stored a new renderer: uuid='9382df87-7c09-4b84-a90f-898e3b752e4b', name = 'LG TV / player', ipAddress='192.168.0.119', profile = '8'
2014-03-23 22:06:07,672 INFO [RendererManager] Stored a new renderer: uuid='2996bba4-1dd2-11b2-86e1-fe92e7b41bda', name = 'LG TV', ipAddress='192.168.0.119', profile = '1'
2014-03-23 22:08:45,667 INFO [RendererManager] Stored a new renderer: uuid='497ec32e-3b20-43d5-8d0d-9f82910295ca', name = 'LG TV / player', ipAddress='192.168.0.119', profile = '8'
2014-03-23 22:13:08,498 INFO [RendererManager] Stored a new renderer: uuid='2996bba4-1dd2-11b2-86e1-fe92e7b41bda', name = 'LG TV', ipAddress='192.168.0.119', profile = '1'
...
2014-03-23 22:46:20,780 INFO [RendererManager] Stored a new renderer: uuid='c724ea79-d9d8-4016-aa31-608dd10d808b', name = 'LG TV / player', ipAddress='192.168.0.119', profile = '8'
2014-03-23 22:46:21,121 WARN [EventDispatcher] Couldn't send event message for subscription 98267348-d048-45df-9c93-8516062e05ce, will keep trying until subscription expires
2014-03-23 22:46:21,126 WARN [EventDispatcher] Couldn't send event message for subscription e9241561-9d2f-477c-8155-36c84a46dd8d, will keep trying until subscription expires
<<

subora

Serviio newbie

Posts: 17

Joined: Tue Apr 30, 2013 8:39 pm

Post Wed Apr 02, 2014 7:08 am

Re: Unexpected stopping playing LG 42LM640T

Hello! Once again and smth new erorrs:
see more: http://pastebin.com/39U2SER3
Previous

Return to LG

Who is online

Users browsing this forum: No registered users and 3 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.