Kodi Community Forum

Full Version: real filename as input to CreateSearchUrl
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a database with a web interface containing information about my videos - I'd like to write a scraper for it.
As key in my DB I use the full filename, but when CreateSearchUrl is called $$1 only contains the filename processed for lookups not the real one Sad.

Is there a way to get the real filename into CreateSearchUrl?
No answer since 2009...
Have the same problem, sberk, have you found any solution?
As far as I'm aware this isn't done, no. It would be relatively simple to provide it in e.g. $$3 or some such. Patches welcome, though we'd need to consider that some scrapers may be using $$3 for other stuff? Not sure.
$$3 may break existing scrapers.
It's better to add some flag, like "clearname='no'".
did someone find a solution for this ?
How can I get the name without the replacements of space or '-' to a '+' char?
Thanks
Gregor