- June 13, 2006
- 979
- 178
- Home Country
-
Belgium
- Thread starter
- #161
But what I still dont really get, how does it work with e.g. DVB-EPG or other EPG-Sources? There are several ways to get Data. Do you have to convert all to .xml too? I have still the meaning that the way round you plan it is too inflexible, but maybe I got something wrong?!?![]()
Well, when a new program needs to be imported into the guide, it can be fed to TvScheduler with this service method:
Guid ImportProgram(GuideProgram guideProgram, GuideSource source);
GuideProgram is a data-container with many properties (Title, SubTitle, StartTime, Actors, Rating,...) that is filled with the information and GuideSource can be set to XmlTv, DvbEpg or Other. So this is a very flexible and open way to feed information to TvScheduler, from a DVB-EPG grabber, a ClickFinder plugin, any other program...
Perhaps this is a bit clearer?
How does ClickFinder get its data into TVE3's database right now? Direct insert?
This is a plugin by rtv for TVEngine.
PS: where is ClickFinder's source? I really think it should be incredible easy to modify it to import into TvScheduler's guide. The most work would be to add the settings so it knows where TvScheduler is (url and port). A bit like the setting I have in my own plugin.
If TVE3 would manage the connection to TvScheduler globally somewhere even this "problem" would go away, any plugin would then automatically know where to send it TvScheduler methods.
Today plugins talk directly to TVE3's objects. While this may seem powerful this is usually a problem somewhere along the road. Making a plugin go through a well-defined API like the one from TvScheduler really helps improve stability and compatibility.