We previously constructed image:// urls without the use of CURL. This led to inconsistent URLs - i.e. pass the constructed image:// url through CURL and it will end up no longer matching.
This fixes them to be constructed using CURL. We need to update the databases to suit, but this is relatively simple.
It fixes #13431.
adds CTextureCache::CanCacheImageURL for testing whether an image:// …
…URL may be cached on demand
adds unit test for CTextureCache::GetWrappedImageURL
use CURL for creating wrapped URLs to make sure they are consistent. …
…Fixes embedded music thumbs not being available via JSON-RPC
update old embedded music and video art URLs in the databases
remove temporary workaround for music images in the image handler - t…
…hey're integrated into the texturecache now
not needed: you should make sure URIUtils::HasEncodedHostname returns true, then CURL does all this for you.
Thanks - have added a commit on top to take care of that.
set image:// URLs to use encoded hostnames, thus allowing CURL to tak…
…e care of the encoding/decoding