2011-07-28, 22:48
Topic title says all, maybe I'm blind but can't find it :confused2:
bambi73 Wrote:Topic title says all, maybe I'm blind but can't find it :confused2:
pecinko Wrote:And what info is stored in that column?
pecinko Wrote:And what info is stored in that column?IMHO it depends on scraper. I guess most of them doesn't use this element (<id>), but in AniDB.net scraper I'm using it for storing Anime Id on site. Now I want to pass it to (or read it from) Python script to avoid another lookup (which was already done by scraper) and access site API directly.
bambi73 Wrote:IMHO it depends on scraper. I guess most of them doesn't use this element (<id>), but in AniDB.net scraper I'm using it for storing Anime Id on site. Now I want to pass it to (or read it from) Python script to avoid another lookup (which was already done by scraper) and access site API directly.
And call this value "for internal use only" is not right imho. When i'm able to change this value from scraper i would like to read it too
I already checked sources and Info label for ID isn't there, is it possible to add it?
pieh Wrote:You would get just raw ID that won't be useful without knowledge about source of metadata.Unfortunately you are right, I got bit too ahead because usually I have one scraper/DB (per media type of course).
bambi73 Wrote:Unfortunately you are right, I got bit too ahead because usually I have one scraper/DB (per media type of course).
Anyway I found "interface" between Python addons and "current GUI state" bit lacking
pecinko Wrote:There might be another way or a way around it.Goal for my addon/script is to provide additional informations (plus another functionality like voting etc.) for AniDB.net animes in library, something like secondary DialogVideoInfo. For this I need that site id what was scraped into database, but unfortunately as Pieh said it means nothing without knowledge if that number came from my scraper.
What exactly are you after and why&how would you like to present it in a skin?
vdrfan Wrote:Passing around a "random" id does not make any sense to me. There are others than the usual imdb and tvdb ids.. it's all about the selected scraper.I think he means id of TVShow or Movie in DB, not that scraper related Id what i meant in first post