MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » Help on Development » Development


Development You want to code something for the TV-Server? Share it in here!

Reply
 
Thread Tools Display Modes
Old 2008-03-04, 08:13   #1 (permalink)
Portal Member
 
Maephisto's Avatar
 
Join Date: May 2007
Age: 26
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default TVLibrary

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 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?

Maephisto is offline   Reply With Quote
Old 2008-03-08, 20:08   #2 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,556
Thanks: 90
Thanked 102 Times in 75 Posts

Country:

My System

Default

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.
__________________
rtv is offline   Reply With Quote
Reply

Bookmarks

Tags
tvlibrary

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TVLibrary recreation not required but requested kuehnch pre 1.0 RC1 0 2007-05-18 09:16
Migrating TVLibrary to latest SVN-build mikem100 Get Support 0 2007-02-23 09:42


All times are GMT +1. The time now is 04:11.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress