MP opens and closes Picturedatabase too often (1 Viewer)

hansdegit

Portal Pro
May 18, 2005
200
0
52
Schagen, The Netherlands
Home Country
Netherlands Netherlands
Windows Version: XP Pro SP2
CPU Type: AMD Athlon64 3000
Memory: 512M
Motherboard: Asus K8N
Motherboard Chipset: nvidia nforce3 250
Motherboard Bios: Ami
Video Card: Asus Radeon 9250
Video Card Driver: Catalyst 8.241.0.0
Sound Card: On-Board ALC850
Sound Card AC3: coaxial and optical
Sound Card Driver:
1. TV Card: Digital Evrywhere FloppyDTV
1. TV Card Type: DVB-C
1. TV Card Driver: BDA 4.2.0
2. TV Card: Hauppauge WinTV PVR150 PCI
2. TV Card Type: Analog HW
2. TV Card Driver: 2.0.43.24103
Video Codec: Dscaler
Audio Codec: Intervideo WinDVD 7
Satelite/CableTV Provider: Multikabel Netherlands
HTPC Case: Silverstone LC10M Lascala
Power Supply: Tagan TG330 UO1
Remote: Hauppauge Silver 45 button
TV: Philips widescreen CRT
TV - HTPC Connection: DoItYourself RGB->Scart

Error:
When I enter My Pictures, I see CPU usage climb to 100%. I think this is the result of opening and closing the picturedatabase too often. Why do I think so? Because in mediaportal.log, these 3 lines are repeated over and over:
[snip]
31-5-2006 16:07:24 dbs:close:pictureDatabase.db3
31-5-2006 16:07:24 opening picture database
31-5-2006 16:07:24 picture database opened
31-5-2006 16:07:27 dbs:close:pictureDatabase.db3
31-5-2006 16:07:27 opening picture database
31-5-2006 16:07:27 picture database opened
31-5-2006 16:07:32 dbs:close:pictureDatabase.db3
31-5-2006 16:07:32 opening picture database
31-5-2006 16:07:32 picture database opened
31-5-2006 16:07:36 dbs:close:pictureDatabase.db3
[/snip]

It would be more efficient to open the database once, update/select all pictures in one sweep, and then close the database.

I could be wrong.
 

Users who are viewing this thread

Top Bottom