NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information NextPVR Announcements v
« Previous 1 … 5 6 7 8 9 … 11 Next »
v0.97.7

Thread Closed 
 
  • 0 Vote(s) - 0 Average
v0.97.7
lseats
Offline

Senior Member

Posts: 337
Threads: 16
Joined: Aug 2004
#41
2006-05-14, 03:58 AM
sub Wrote:Ok, fix here: http://forums.nextpvr.com/showthread.php...post111520

That did the trick.
GB-PVR - ShowAnalyzer
Server 2003 - 4 tuners
1 TeraByte of disk space
4 MVPs
lonegeek
Offline

Senior Member

Posts: 416
Threads: 82
Joined: Sep 2005
#42
2006-05-14, 04:02 AM
Is net 2.0 more cpu intensive and more of a memory hog...or does it perform better and more efficeitently?
[SIZE="1"]SPECS: AMD Sempron 3100+|1 GB Ram|nVidia 6200|160GB HD(Recordings)&250GB HD(Archive)|DVD Burner|USB-UIRT|TUNERS:Hauppauge PVR-250 & ATi HDTV WONDER|SOURCES:Dish Network Reciever 311 & OTA ATSC:Terk SquareShooter With RadioShack Pre-Amp[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#43
2006-05-14, 04:16 AM
Quote:Is net 2.0 more cpu intensive and more of a memory hog...or does it perform better and more efficeitently?
From a user perspective, I really dont think you'll notice any significant difference either way between .net 1.1 and .net 2.0.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#44
2006-05-14, 04:45 AM
sub Wrote:OK, good to know.

Moving to .NET 2.0 and changing databases is going to cause a few issues like this for plugins. Those that are most likely are going to have problems are those that directly try to access the GBPVR.MDB database, which is something I've always recommended developers should avoid. Hopefully their respective authors can provide updates relatively soon to correct any issues.
im pretty sure the bug is related to this line of code
Code:
ScheduleHelper.getInstance().LoadRecordingSchedule()
i get an error reporting that method isnt available, before it was....
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#45
2006-05-14, 04:46 AM
tipstir Wrote:This time around I just updated .NET 2.0 and GBPVR and still it happens and that error box shows up. Removed .NET 1.1 and it still shows up. Crash and crash.

As anyone tested all of this on MCE 2005 SP2 or only XP Pro SP2. I should have grab the logs, but I didn't see anything errors..
Did you do what I advised earlier? ie, looking in the Event Logger and clicking on the "What data does this erro report contain" link? At the moment you seem to be just saying "it doesnt, I'm going back to the old version", but not actually trying to work out what is causing your problem and resolving it.

Quote:Oh well, too bad you didn't stick with the .NET 1.1.....
I'm actually guessing its nothing to do with .NET 2.0, or everyone would probably have the problem.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#46
2006-05-14, 04:54 AM
reven Wrote:im pretty sure the bug is related to this line of code
Code:
ScheduleHelper.getInstance().LoadRecordingSchedule()
i get an error reporting that method isnt available, before it was....
That call is still available, but you might need to recompile your plugin. "getInstance()" is now returning an [SIZE=2]IScheduleHelper instead of a ScheduleHelper. I wasnt aware anything other than the enhanced web admin was using this (it has been corrected)
[/SIZE]
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#47
2006-05-14, 05:02 AM
I was doing this in the video archive plug-in and commongbpvrutilies.dll library as well. Changing my code to expect the new type and recompiling fixed the problem.

Jeff
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#48
2006-05-14, 05:58 AM
I can see in that error message that the problem is being caused by the PicturesPlugin. Delete it's DLL and you should ok.

This same problem was mentioned a couple of pages back.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#49
2006-05-14, 06:24 AM
Sub, quick question on the SQLLite support... Are you using the ADO.NET 2.0 Provider available from here:

http://sqlite.phxsoftware.com/

Just curious, as I know that the CDK Scheduler will need some tweaking to get it up to speed as it does do a few data base calls through OLE to get information from the databases that isn't available through the GBPVR API.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#50
2006-05-14, 06:35 AM
Quote:Sub, quick question on the SQLLite support... Are you using the ADO.NET 2.0 Provider available from here:

http://sqlite.phxsoftware.com/
Yes.

Quote:Just curious, as I know that the CDK Scheduler will need some tweaking to get it up to speed as it does do a few data base calls through OLE to get information from the databases that isn't available through the GBPVR API.
If its code running inside GB-PVR (plugin), then you can do the following to get a database connection:
Code:
using System.Data.Common;
using GBPVR.Public;
...
// get DB provider
DbProviderFactory dbProviderFactory = DatabaseHelperFactory.getDbProviderFactory();

// get DB connection, and open it
DbConnection dbConnection = dbProviderFactory.CreateConnection();
dbConnect.ConnectionString = DatabaseHelperFactory.getDbConnectionString();
dbConnect.Open();

... do some stuff

// free DB connection
dbConnect.Close();


Alternatively, you can make use of the following settings in config.xml to determine which database provider and connection string to use.
Code:
<DatabaseConnectionString>Provider=Microsoft.Jet.OLEDB.4.0;Data Source=".\gbpvr.mdb";User Id=admin;Password=</DatabaseConnectionString>
<DatabaseProviderFactory>System.Data.OleDb.OleDbFactory</DatabaseProviderFactory>
<DatabaseIdentityQuery>select @@identity</DatabaseIdentityQuery>
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (23): « Previous 1 … 3 4 5 6 7 … 23 Next »
Jump to page 


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode