TVLibrary (1 Viewer)

Maephisto

Portal Member
May 17, 2007
5
0
Home Country
Italy Italy
Hi guys,
I'm developing a DigitalTV application. Like Mediaportal, I used Directshow .NET and everything works well. The real pain is about the frequency scanning: I don't know much about DVB and MSDN isn't clear. So I decided to take a look at the source code of Mediaportal. Digging in DVBOwners News Bites - DVB News, Links, Guides and other related things forum, I found an old post from Frodo regarding TVLibrary :eek: I downloaded TVLibrary from there (version 2.0.0.3), but then I discovered a - I suppose - more recent version of this library in TVEngine3 code. When I try to run the TestApp included in the older version everything runs smooth, while using the TestApp contained in the newer version of TVLibrary returns me an error on this line:

Code:
SqlBuilder sb = new SqlBuilder(Gentle.Framework.StatementType.Select, typeof(Setting));

This is the message of the exception

Code:
"FATAL ERROR: No configuration store was found!
Gentle is unable to continue!

The handlers emitted the following error messages:
Unable to create GentleSectionHandler for section named \"gentle\" in file \"C:\\Mediaportal\\TvEngine3\\TVLibrary\\TestApp\\bin\\Debug\\TestApp.vshost.exe.config\".

Unable to create FileHandler for file Gentle.config.
This usually means that the file could not be found in any of the default search locations.

The handlers threw the following exceptions:
Error: DeveloperErrorUnclassified
Gentle.Common.GentleException: No configuration file could be located.
   at Gentle.Common.FileHandler..ctor(String file)
  at Gentle.Common.Configurator.AddFileHandler(String configStoreName, String fileName)"

I believe it has something to do with a Gentle.config configuration file, which is useful to configure Gentle framework: probably I have to configure a DB on my pc, but I don't know the details and I don't know anything 'bout Gentle framework. Could you help me?

:D
 

rtv

Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    If you're not familar with gentle the easiest way to get it to work is installing the TV Service somewhere and configure its DB once.

    If you want to run only some tve3 "parts" on their own then make sure the gentle assemblies and their data providers are referrenced correctly. Put a copy of your previously configured gentle.config in the working dir as well.
     

    Users who are viewing this thread

    Top Bottom