Post Reply 
No artwork
22-11-2012, 09:53 (This post was last modified: 22-11-2012 09:53 by bubbleguuum.)
Post: #13
RE: No artwork
(22-11-2012 08:56)simoncn Wrote:  
(22-11-2012 00:40)bubbleguuum Wrote:  @simon

Various UPnP software and hardware epic failing at URL encoding/decoding is a classic (that, and failing at XML encoding/decoding in very creative ways).

That's why I always generate URLs that require no percent encoding and no queries in path if the URL can be used by a recipient I have no control over.
Gzip+base64 is a good idea as it is decodable to the original string.

Naim is super slow at fixing its software, if they ever fix it.

I guess proxying Minimserver with BubbleUPnP Server could serve as a temporary workaround, as it will generate simple URLs that even the dumbest UPnP client should have no problem with.

Thanks for the suggestion to use gzip+base64. I'll look into doing this, either as an option or as the default approach. Having the client URL easily reversible to the original server-side path when reading trace logs is important to me for debugging purposes.

This would presumably explain why so many web page URLs contain extremely long unreadable strings!


An alternative to gzip+base64 is to use a md5sum of the file path.
That limits URL length at the (small) expense to have to store the md5sum => file path association in a file. Which is very easily done by using Java serialization on a HashMap for example. That's what I'm doing in BubbleUPnP Server. But in other scenarios I just use gzip+base64.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
No artwork - wazza69 - 21-11-2012, 15:29
RE: No artwork - simoncn - 21-11-2012, 16:05
RE: No artwork - wazza69 - 21-11-2012, 16:25
RE: No artwork - simoncn - 21-11-2012, 17:41
RE: No artwork - wazza69 - 21-11-2012, 20:01
RE: No artwork - simoncn - 21-11-2012, 20:19
RE: No artwork - wazza69 - 21-11-2012, 21:34
RE: No artwork - mreip1 - 21-11-2012, 22:02
RE: No artwork - wazza69 - 21-11-2012, 23:26
RE: No artwork - simoncn - 21-11-2012, 23:44
RE: No artwork - bubbleguuum - 22-11-2012, 00:40
RE: No artwork - simoncn - 22-11-2012, 08:56
RE: No artwork - bubbleguuum - 22-11-2012 09:53
RE: No artwork - simoncn - 22-11-2012, 10:46
RE: No artwork - bubbleguuum - 22-11-2012, 10:53
RE: No artwork - simoncn - 22-11-2012, 12:09
RE: No artwork - simoncn - 21-02-2013, 17:19
RE: No artwork - bubbleguuum - 22-02-2013, 11:14
RE: No artwork - Crom - 26-11-2012, 17:41
RE: No artwork - bbrip - 26-11-2012, 18:39
RE: No artwork - simoncn - 26-11-2012, 18:54
RE: No artwork - Crom - 27-11-2012, 16:10
RE: No artwork - Crom - 27-11-2012, 16:47
RE: No artwork - wazza69 - 29-11-2012, 12:40
RE: No artwork - simoncn - 29-11-2012, 13:52
RE: No artwork - simoncn - 21-02-2013, 17:08

Forum Jump:


User(s) browsing this thread: 1 Guest(s)