Posts: 3,912
Joined: Apr 2004
Reputation:
29
kricker
Team-XBMC QA Specialist
Posts: 3,912
Woooot! Man if I could program I'd be bashing away at it right now.
Posts: 27
Joined: Oct 2008
Reputation:
0
2008-10-20, 11:04
(This post was last modified: 2008-10-20, 11:07 by ssboisen.)
I'dd like to look into this, I just have to make sure i understand the scrapers right. This is the first time i'm trying to patch something into XBMC so I don't really know the source that well. Anyone care to elaborate a bit on how the various classes that use the scrapers work together? Maybe if you got an uml class diagram it would be excellent!
I'm actually a bit confused whether it's even necessary to alter the code, would it be posible to just create a new scraper in xml?
Posts: 4,132
Joined: May 2004
Reputation:
4
sho
Team-XBMC Member
Posts: 4,132
It has been stated before by a dev that scraping by anything but season/ep will require a code change in XBMC.
Posts: 13
Joined: Apr 2006
Reputation:
0
chacha
Junior Member
Posts: 13
looking forward to your findings on this. Thanks!
Posts: 15
Joined: Jan 2009
Reputation:
0
2009-01-12, 14:59
(This post was last modified: 2009-01-12, 17:23 by DranDane.)
I have the same problem with videos from Microsoft Tech Days, Sun events, dimecast webisodes, conferencies, etc... All these videos are not movies, not TV shows but act like a TV show. it should be interesting to think about a new video content like "Others" that should use a generic 'genre', 'title', ... template.
Posts: 58
Joined: Aug 2008
Reputation:
0
I spent a few hours looking at the code and what would be involved in supporting scrapers that scan for episode dates. Instead of searching for season and episode, I would have a few expressions that would parse for the year, month and date. It would then be a question of changing the code to compare the parsed date with the "first aired date" from the data pulled from tvdb or whatever the source is.
The question I have is to how I should do the compare without making things ugly. The episodes are stored in IMDB_EPISODELIST which is a map based on season and episode. I would either have to change this structure around to support the date-based match or iterate the whole list. I'm normally more of a C developer so I'm not sure if there's simply a modification I could make to this class to support both lookups. Any feedback from the devs would be appreciated.
The other potential issue is with regexp conflicts between date and episode formatted lists. For example the date-formatted shows I have already match with the current expressions with the date looking like episode and season values. The expressions would have to be ordered carefully, or perhaps some kind of explicit option on which one to use for which directory would be best.
-Chris
Posts: 3,912
Joined: Apr 2004
Reputation:
29
kricker
Team-XBMC QA Specialist
Posts: 3,912
Has anyone looked into this anymore at all? The script tlunde linked to on the feature request ticket looks like it could be quite helpful to someone who know how to code.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
the script covers the trivial api usage part. csbook pinpointed what needs to be changed.
Posts: 3,912
Joined: Apr 2004
Reputation:
29
kricker
Team-XBMC QA Specialist
Posts: 3,912
ahhh, I see. Okay. I'll just sit back and wait patiently.