[Android Apps and Games] itsworking:
Error when space in smb share name

Hi,

I am using BubbleUpnp server on a raspberry pi at home. Also at home is a Kodi Krypton 17.4 vanilla Kodi upnp server.

When accessing a video file via internet and the BubbleUpnp java Thether client with a separate Kodi Krypton 17.4 client

I can browse descriptions and images happily, when accessing a video file (located on a smb share) I

get the following error (more logging below):

Caused by: java.net.URISyntaxException: Illegal character in path at index 18: smb://ZEN/Incoming Torrent/Kodi/Movies/Fantas....

Kodie handles a space in "smb://ZEN/Incoming Torrent/Kodi/Mo" without a problem.

Wat am I doing wrong with BubbleUpnp, can I fix it, or could you make a patch?

Regards,

Harald

[main (1) ] INFO - 24:00:00.96 - Main : starting BubbleUPnP Server 0.9-update26...

[main (1) ] INFO - 24:00:00.182 - Main : os.arch: arm, x86: false

[main (1) ] INFO - 24:00:00.215 - Main : os.name: Linux

[main (1) ] INFO - 24:00:00.235 - Main : os.version: 4.9.41+

[main (1) ] INFO - 24:00:00.251 - Main : java.home: /usr/lib/jvm/jdk-7-oracle-arm-vfp-hflt/jre

[main (1) ] INFO - 24:00:00.265 - Main : java.vendor: Oracle Corporation

[main (1) ] INFO - 24:00:00.286 - Main : java.version: 1.7.0_60

[main (1) ] INFO - 24:00:00.299 - Main : java.class.path: BubbleUPnPServerLauncher.jar

[main (1) ] INFO - 24:00:00.983 - Main : md5sum: c9468f7d34abddac5064c0b9a65a118b

[main (1) ] INFO - 24:00:01.00 - Main : restart_count: 0

[main (1) ] INFO - 24:00:01.24 - Main : file.encoding: UTF-8

[main (1) ] INFO - 24:00:01.38 - Main : default charset: UTF-8

[main (1) ] INFO - 24:00:01.50 - Main : bin dir: /usr/local/bin/BubbleUPnPServer

[main (1) ] INFO - 24:00:07.549 - d : >>> Starting UPnP service...

.....

[com.bubblesoft.bubbleupnpser] INFO - 24:26:26.924 - r$b : proxy: onResponseComplete: total response bytes: 56745

[qtp1334670-216 (216) ] INFO - 24:26:29.658 - u : proxy stream request /stream/video/d9529aa8538b51bd072314514d59118b.mp4 => smb://ZEN/Incoming Torrent/Kodi/Movies/Fan...

[qtp1334670-216 (216) ] WARNING - 24:26:29.671 - b : /stream/video/d9529aa8538b51bd072314514d59118b.mp4

java.lang.IllegalArgumentException: Illegal character in path at index 18: smb://ZEN/Incoming Torrent/Kodi/Movies/Fant...

at java.net.URI.create(URI.java:859)

at org.eclipse.jetty.a.k.a(SourceFile:521)

at com.bubblesoft.bubbleupnpserver.server.servlets.r.a(SourceFile:649)

at com.bubblesoft.bubbleupnpserver.server.servlets.u.a(SourceFile:809)

at org.eclipse.jetty.servlet.f.a(SourceFile:652)

at org.eclipse.jetty.servlet.e.doHandle(SourceFile:445)

at org.eclipse.jetty.server.b.c.doHandle(SourceFile:1044)

at org.eclipse.jetty.servlet.e.doScope(SourceFile:372)

at org.eclipse.jetty.server.b.c.doScope(SourceFile:978)

at org.eclipse.jetty.server.b.i.handle(SourceFile:135)

at org.eclipse.jetty.server.b.g.handle(SourceFile:116)

at org.eclipse.jetty.server.b.h.handle(SourceFile:68)

at org.eclipse.jetty.server.b.f.handle(SourceFile:154)

at org.eclipse.jetty.server.b.g.handle(SourceFile:116)

at org.eclipse.jetty.server.u.a(SourceFile:369)

at org.eclipse.jetty.server.b.v(SourceFile:464)

at org.eclipse.jetty.server.e.v(SourceFile:53)

at org.eclipse.jetty.server.b.E(SourceFile:913)

at org.eclipse.jetty.server.b$c.a(SourceFile:975)

at org.eclipse.jetty.c.n.i(SourceFile:641)

at org.eclipse.jetty.c.n.h(SourceFile:231)

at org.eclipse.jetty.server.e.k(SourceFile:72)

at org.eclipse.jetty.server.a.a$a.run(SourceFile:264)

at org.eclipse.jetty.h.g.a.c(SourceFile:608)

at org.eclipse.jetty.h.g.a$3.run(SourceFile:543)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.net.URISyntaxException: Illegal character in path at index 18: smb://ZEN/Incoming Torrent/Kodi/Movies/Fantas