Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

How to load a resource with + symbol in its name?

CigarasCigaras Posts: 121 ✭✭

Title says it all, if I try to execute a command Resource.ExternalPath('icon+test.png') (or R('icon+test.png') for short) this is what I get in my logs and image does not show:

2017-05-19 09:42:39,980 (120) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.plugins.test/resources/icon+test.png?t=1495175883
2017-05-19 09:42:39,984 (120) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.plugins.test/resources/icon test.png
2017-05-19 09:42:39,997 (120) :  DEBUG (runtime:88) - Sending packed state data (105 bytes)
2017-05-19 09:42:39,997 (120) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes

Any suggestions?

I can't change the name of the image I am using.


Sign In or Register to comment.