LilySurfaceScraper icon indicating copy to clipboard operation
LilySurfaceScraper copied to clipboard

Add a button in preferences to open the scraper's directory

Open baronlanteigne opened this issue 4 years ago • 3 comments

[edit] original title: Let user specify a "template" for texture source url websites

I'm referring to how when a website changes its url or its structure, the addon is broken. It would be nice if the user could adjust which url to read from in the clipboard import and how. The default value would be whatever works when the addon is released but if something changes at least the user can keep using the addon with a new url (by replacing cc0textures with ambientCG, ie) until a fix is released.

baronlanteigne avatar May 31 '21 13:05 baronlanteigne

Hi @johannbl I tried to make it easy enough to do so, you can follow instructions in https://github.com/eliemichel/LilySurfaceScraper#adding-new-sources and basically look at the files in the Scrapers directory. Let me know if you have any idea of how I could make this even clearer/easier!

eliemichel avatar Jun 02 '21 07:06 eliemichel

Oh! Thanks, this is it. Maybe a GUI in the preferences could let you edit all instances of "cc0textures" in its .py file so it can be replaced by "ambientcg" in one field but your current solution is just a few more steps. Not the end of the world. Maybe you could add a button in the preferences to open this directory because it's used to add new sources too. I think if that button was there I could have found it more intuitively. Thanks.

baronlanteigne avatar Jun 02 '21 12:06 baronlanteigne

Good suggestion!

eliemichel avatar Jun 05 '21 08:06 eliemichel