Get selected scraper for source? - 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: Get selected scraper for source? (/showthread.php?tid=327139) |
Get selected scraper for source? - elgatito - 2018-01-15 Hello. I need to get selected scraper for each source, added to Kodi. So I do request "Files.GetSources" to get all the sources, I get "file" for each movie/episode. But how to get scraper selected for that source? Why I need it: because "uniqueid" is filled with "unknown" field, which can be tmdb/tvdb/trakt item, as they all use integers for IDs, and I want to properly know which ID is that. Plugin will run locally, so probably will have access to Kodi's xml files (if needed) and sure JSON RPC. RE: Get selected scraper for source? - elgatito - 2018-01-27 As far as I understand - the only way is to run a query in the database? Thought maybe some kind of parameters in Files.GetDirectory to know if that is a Trakt/TMDB/TVDB ID (they are all using Int identifiers). Still no luck with that. |