Kodi Community Forum
real filename as input to CreateSearchUrl - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60)
+--- Thread: real filename as input to CreateSearchUrl (/showthread.php?tid=53643)



real filename as input to CreateSearchUrl - sberk - 2009-06-27

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?


RE: real filename as input to CreateSearchUrl - and7ey - 2014-03-13

No answer since 2009...
Have the same problem, sberk, have you found any solution?


RE: real filename as input to CreateSearchUrl - jmarshall - 2014-03-15

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.


RE: real filename as input to CreateSearchUrl - Karlson2k - 2014-03-17

$$3 may break existing scrapers.
It's better to add some flag, like "clearname='no'".


RE: real filename as input to CreateSearchUrl - gregorv - 2014-06-11

did someone find a solution for this ?
How can I get the name without the replacements of space or '-' to a '+' char?
Thanks
Gregor