Heimdall integration ideas
#1
It goes both ways, how to best integrate heimdall into xbmc, and how to extend heimdall with its own add-ons/modules. topfs2 has had some initial thoughts on Heimdall integration here: http://forum.xbmc.org/showthread.php?tid...pid1175374

Some considerations,
* Multiple modules are used in parallel, so prioritization will need to happen in the engine or xbmc somewhere
* Should it be made available as a python library for other add-ons and scrapers?
* Alternatively, the API can be presented to add-ons via JSON-RPC instead of the python library
* Backwards compatibility might be retained if a heimdall module was written that loads xbmc scraper xmls
* Thinking globally, stand-alone heimdall use is still in the pipes, so maybe someday xbmc connects to a heimdall process

What strategies are good approaches to this problem? What kinds of challenges will we face in migrating from the existing xml-based scraping api? And will the wife finally accept xbmc? Wink
BTC: 1JtXwJdGdE9YnYgThWBT2StFCU5sEYkbVD (personal), https://kodi.tv/contribute/donate-bitcoin (foundation). Donations in the form of controllers, especially ones that don't work in Kodi, are also appreciated.
Reply
#2
Thanks for pushing this!

I think that a good first step would be to make heimdall available as a dependency in the repos, so any python addon can import and use it.
With this we can hopefully have plugins or scripts test it out and we will probably get tons of feedback on what works and what doesn't, or whats confusing and what isn't :)

I think you outlined a few confusing parts in the gsoc thread. Basically I've been unsure on lending from semantic web during the development, and it might be valid to switch to a simpler document representation instead (with simple property names which isn't globally unique as semantic web predicates are.).

As for using heimdall for movie, tv show and music scraping I think we have a bit further to go. But the first step will greatly help this though!

As I see it to get heimdall to build the pipeline for movies, tv shows and music we first need to get python scripts as a possible scraper, then by extension to step 1 we could at the very least try heimdall and see how it works.

(2013-03-30, 23:57)garbear Wrote: * Backwards compatibility might be retained if a heimdall module was written that loads xbmc scraper xmls

This is a vital step I think, we must retain the ability to write a scraper in the old way. Regexp is an incredibly powerful tool for language processing and scraping and the old pipelines are battle tested and those guys have spent incredibly much work on perfecting that pipeline, which is something we can't throw away :)
Heimdall is, IMO, a way to build the pipelines dynamically and empower the scraper writer to write the scraping steps in any way he finds it best!
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Heimdall integration ideas00