(2015-04-21, 21:13)membrane Wrote: Let me renew my offer to adapt my video add-ons to the sportcenter.
I could cover every NHL, DEL and EBEL hockey game with a short summary (~5min). The last two even allow to rewatch full games. Content from laola1.tv (like La Liga) could also be covered, but this would require some help from the DB.
There are three ways to do this:
1. Let the client handle all the scraping
2. Provide some flags in your DB that videos are available
3. Provide an id/url, so that the video add-on just need to get the corresponding video
I would prefer the last method, this would be the most seamless integration.
My idea for this is a way for the main addon to call external scripts. I don't know yet how to identify them nor what info to pass and to expect a return as it is yet too early. Probably the best is using script.modules or something similar. I promise I'll contact you when things are a bit more developed. They are going quite fast but it is still too early.
My idea to replays and full matches was to use the game details dialog. See screenshot below for soccer:
Upon clicking on search highlights or search full match it would look for this info either in external scripts or in the internal database.
This dialog would be started when you click on a past match. This includes any widgets, last matches view on league view, last matches view on team view, calendar or livescores.
This will bring to another issue. I was yesterday looking at some sites that present information about nhl calendar and nhl match information. My goal was to make a bot that could scrape those sites and feed information into thesportsdb. What information do you think, as an nhl fan, that is usefull for a nhl match when looking for details of a certain match?
I use to watch some nhl games because I like the sport but I don't know which information is relevant for a true ice hockey follower.
So if you can look at the dialog above for soccer and let me know which info is important to icehockey it would be cool. If you know about any sites with this information (the easier to scrape the better) let me know.