Page 1 of 1

Missing sources, Unicode incorrect, How to export/import?

PostPosted: Wed Nov 14, 2012 10:32 pm
by gordon
As shown in attachment
Serviio.jpg
Serviio.jpg (160.72 KiB) Viewed 5131 times

I Checked stream URL, Added and Saved 49 Live Streams in Online sources Library.
The problems are,
1. Only first 20 of them are shown in my Panasonic P50ST50 (I finished adding yesterday night, it is still the same this morning)
2. Unicode characters are shown correctly in Display name, but incorrectly in Online sources Source Name list.
3. Also, may I ask, how can I export/import Live Streams and other settings so that I can uninstall Serviio and then re-install?

Re: Missing sources, Unicode incorrect, How to export/import

PostPosted: Fri Nov 16, 2012 12:00 am
by gordon
Had a look at serviio.log, possilby the following error is related to problem 1: missing sources.

2012-11-15 21:59:25,090 ERROR [ContainerNode] Cannot retrieve results of action command: Cannot execute library command for list: null
org.serviio.upnp.service.contentdirectory.command.CommandExecutionException: Cannot execute library command for list: null
at org.serviio.upnp.service.contentdirectory.command.AbstractCommand.retrieveItemList(AbstractCommand.java:135)
at org.serviio.upnp.service.contentdirectory.definition.ContainerNode.executeListAction(ContainerNode.java:242)
at org.serviio.upnp.service.contentdirectory.definition.ContainerNode.findContainerItems(ContainerNode.java:182)
at org.serviio.upnp.service.contentdirectory.definition.ContainerNode.retrieveContainerItems(ContainerNode.java:83)
at org.serviio.upnp.service.contentdirectory.ContentDirectoryEngine.browse(ContentDirectoryEngine.java:102)
at org.serviio.upnp.service.contentdirectory.ContentDirectory.Browse(ContentDirectory.java:152)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeOperation(ServiceInvoker.java:253)
at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeService(ServiceInvoker.java:93)
at org.serviio.upnp.webserver.ServiceControlRequestHandler.handleRequest(ServiceControlRequestHandler.java:66)
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:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:191)
Caused by: java.lang.NullPointerException
at org.serviio.dlna.MediaFormatProfileResolver.resolveVideoMPEG2TSFormat(MediaFormatProfileResolver.java:258)
at org.serviio.dlna.MediaFormatProfileResolver.resolveVideoFormat(MediaFormatProfileResolver.java:100)
at org.serviio.dlna.MediaFormatProfileResolver.resolve(MediaFormatProfileResolver.java:48)
at org.serviio.delivery.resource.VideoDeliveryEngine.retrieveOriginalMediaInfo(VideoDeliveryEngine.java:79)
at org.serviio.delivery.resource.VideoDeliveryEngine.retrieveOriginalMediaInfo(VideoDeliveryEngine.java:45)
at org.serviio.delivery.resource.AbstractDeliveryEngine.getMediaInfoForProfile(AbstractDeliveryEngine.java:70)
at org.serviio.delivery.MediaResourceRetrievalStrategy.getMediaInfoForAvailableProfiles(MediaResourceRetrievalStrategy.java:74)
at org.serviio.upnp.service.contentdirectory.command.ResourceValuesBuilder.buildResources(ResourceValuesBuilder.java:58)
at org.serviio.upnp.service.contentdirectory.command.AbstractListOnlineObjectsByHierarchyCommand.retrieveList(AbstractListOnlineObjectsByHierarchyCommand.java:126)
at org.serviio.upnp.service.contentdirectory.command.AbstractCommand.retrieveItemList(AbstractCommand.java:129)
... 17 more

Re: Missing sources, Unicode incorrect, How to export/import

PostPosted: Fri Nov 16, 2012 1:37 am
by miksa
gordon wrote:3. Also, may I ask, how can I export/import Live Streams and other settings so that I can uninstall Serviio and then re-install?
for export/import Serviio repository you may want to look at REST API.

Re: Missing sources, Unicode incorrect, How to export/import

PostPosted: Fri Nov 16, 2012 3:08 am
by gordon
Thank you so much, miksa. You saved me lots of work.
http://<pc5dczc_server_ip>:23424/rest/repository