FAQ  •  Register  •  Login

MKV List issues after upgrading to 2.0 Linux

<<

foobarca

Serviio newbie

Posts: 1

Joined: Thu Aug 08, 2019 6:58 pm

Post Thu Aug 08, 2019 7:15 pm

MKV List issues after upgrading to 2.0 Linux

When i was running Serviio 1.9.2 on my linux box I did not have any issues. Since upgrading to Serviio 2.0 I am not listing any mkv files in Serviio. I do see them get indexed in the log as referenced here:
  Code:
2019-08-08 11:52:07,610 INFO  [MediaFileIndexer] Added file '/mnt/share/TestVideoFile.mkv' (title: TestVideoFile) to Library

but when I go to my TV and open that folder, it is empty and I see the following exception in the serviio log:
  Code:
2019-08-08 10:05:09,162 WARN  [ContentDirectory] Browse for object id V_F^FOL*R1 failed with exception: org.servi
io.upnp.service.contentdirectory.command.CommandExecutionException: Cannot execute library command for list: null
java.lang.RuntimeException: org.serviio.upnp.service.contentdirectory.command.CommandExecutionException: Cannot e
xecute library command for list: null
        at org.serviio.upnp.service.contentdirectory.definition.ContainerNode.executeListAction(ContainerNode.jav
a:276)
        at org.serviio.upnp.service.contentdirectory.definition.ActionNode.retrieveContainerItems(ActionNode.java
:143)
        at org.serviio.upnp.service.contentdirectory.ContentDirectoryEngine.browse(ContentDirectoryEngine.java:10
4)
        at org.serviio.upnp.service.contentdirectory.ContentDirectory.Browse(ContentDirectory.java:164)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeOperation(ServiceInvoker.java:214)
        at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeService(ServiceInvoker.java:75)
        at org.serviio.upnp.webserver.ServiceControlRequestHandler.handleRequest(ServiceControlRequestHandler.jav
a:65)
        at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:66)
        at org.apache.http.protocol.HttpService.doService(HttpService.java:423)
        at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:78)
        at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:341)
        at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:204)
Caused by: org.serviio.upnp.service.contentdirectory.command.CommandExecutionException: Cannot execute library co
mmand for list: null
        at org.serviio.upnp.service.contentdirectory.command.AbstractCommand.retrieveItemList(AbstractCommand.jav
a:157)
        at org.serviio.upnp.service.contentdirectory.definition.ContainerNode.executeListAction(ContainerNode.jav
a:273)
        ... 15 more
Caused by: java.lang.NullPointerException
        at org.serviio.upnp.service.contentdirectory.command.ResourceValuesBuilder.buildResources(ResourceValuesB
uilder.java:132)
        at org.serviio.upnp.service.contentdirectory.command.AbstractListObjectsByFSHierarchyCommand.retrieveList
(AbstractListObjectsByFSHierarchyCommand.java:116)
        at org.serviio.upnp.service.contentdirectory.command.AbstractCommand.retrieveItemList(AbstractCommand.jav
a:151)
        ... 16 more


I am able to read this file with ffmpeg:
  Code:
 libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, matroska,webm, from 'TestVideoFile.mkv':
  Metadata:
    encoder         : libebml v1.3.7 + libmatroska v1.5.0
    creation_time   : 2019-08-08T03:41:13.000000Z
  Duration: 00:41:27.04, start: 0.000000, bitrate: 3450 kb/s
    Stream #0:0(eng): Audio: aac (HE-AAC), 48000 Hz, stereo, fltp (default)
    Metadata:
      BPS-eng         : 126759
      DURATION-eng    : 00:41:27.041000000
      NUMBER_OF_FRAMES-eng: 58292
      NUMBER_OF_BYTES-eng: 39407146
      _STATISTICS_WRITING_APP-eng: mkvmerge v34.0.0 ('Sight and Seen') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-08-08 03:41:13
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1280x720, Closed Captions, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 96k tbc (default)
    Metadata:
      BPS-eng         : 3321448
      DURATION-eng    : 00:41:26.901000000
      NUMBER_OF_FRAMES-eng: 59626
      NUMBER_OF_BYTES-eng: 1032514299
      _STATISTICS_WRITING_APP-eng: mkvmerge v34.0.0 ('Sight and Seen') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-08-08 03:41:13
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES


If there are AVI files in the directory, they get read and listed as expected. I am not excluding any file extensions in the app.

Debug logging doesn't give any more insight into why this file isn't being listed. I have tried removing the db and restart serviio, and completely rebuilding ffmpeg and still the same exception. Is there anything else I can do to identify what changed in 2.0 that is causing this exception ?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Aug 13, 2019 9:59 am

Re: MKV List issues after upgrading to 2.0 Linux

This looks like a caching issue on the client side.

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 71 guests

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