slyi Wrote:I understand your using the icefilms meta code as a base, and it may sound like a lot to change it for little benefit, but it would mean one far cleaner code for Would you consider using some common functions for get/set db items.
To be honest, i have not been able read the code to well partly because i only started learning python a couple of weeks ago and i wanted to start with clean slate for my own knowledge but there seems to over lapping functions in each scraper tvdb & tmdb. I review your git, so more at the weekend and may send you on patch for review for common code i find.
I can assure you I won't be the one to rework the code, doing the cleaning that I'm doing right now is enough of a job
Keep in mind the code is currently under constant development, almost daily I'm working on it cleaning things up, adding comments, removing unnecessary code etc. I'll try to post my updates to git more frequently
Also, the TVDB scraper was not written by any of us but taken from an open source project elsewhere.. I don't think I want to mess with it too much, I've been focusing more on how they are called and the supporting functions
slyi Wrote:I believe you want castandrole attribute to show the role details aswell. Looking at http://wiki.xbmc.org/?title=InfoLabels
I would like to see item below
CastAndRole
ListItem.Episode
ListItem.Season
ListItem.TVShowTitle
ListItem.Property(TotalSeasons)
ListItem.Property(TotalEpisodes)
ListItem.Property(WatchedEpisodes)
ListItem.Property(UnWatchedEpisodes)
ListItem.Property(NumEpisodes)
Container.FolderThumb
Container.TvshowThumb
Container.SeasonThumb
Fanart.Image
ListItem.StarRating
Some of these I don't believe are available to me from the scrapers, don't mix properties that are available to the skin vs what can be supplied via scrapers
eg.
ListItem.Property(TotalSeasons)
ListItem.Property(TotalEpisodes)
ListItem.Property(WatchedEpisodes)
ListItem.Property(UnWatchedEpisodes)
ListItem.Property(NumEpisodes)
I believe all are out of my control but instead handled internally via xbmc/skin functions
Most of the others are already included, I'll post soon as to what metadata I am currently collecting for TV Shows/Episodes
slyi Wrote:The reason i mentioned a json file it that is text rather than binary and partly i don't yet fully understand the sqllite advantages/api's.
My main objection to one massive download is that say i watch x-files re-runs i don't see the need to have all jersey shore data and images polluting my limited HD. ;-)
BTW: For thumbnails/fanart what image format do you use png or dds?
I hear you about jersey shore
The metadata download pack I believe is almost necessary to stay friendly with the sites we are scraping, though for those of us more tech savvy we can go in and manually remove the data we don't want
The covers/fanart I believe are all jpg, it's dependent on what the scraping sites have available