I'm trying to get some directory browsing working for a plugin, but the performance I'm seeing as it loads preview images for the UiList isn't as good as any of the built-in browsers (Videos, Pictures, etc), especially with large images sizes.
I figure it must be related to the caching of images, but I'm not 100% sure how I should be doing it?
- Can I just create a single ImageCache object (via GetInstance) and then reuse it as often as I want?
- At the time I parse the files in the directory and build the UiList, should I fire off a background thread to pre-cache everything? If so, would it be something like the following for each file?
- When I then want the actual image, do I just call GetImage or should I check if it's in the cache again (even though I've already asked for it)? Does the cache have a limit?
If none of that makes sense, does anyone have some other suitable pseudo-code for dealing with this scenario?
Hello,
I'd like to use NPVR but in the device settings my TV card doesn't show up. I have a Hauppauge PVR-350 installed on Vista 32bit, the latest Hauppauge driver installed. It works fine with Windows Media Center. In the log file I get these messages:
2011-01-01 14:10:51.494 [DEBUG][1] About to check for analog tuners
2011-01-01 14:10:51.510 [DEBUG][1] FindFilterByName failed to locate filter: MainConcept (HCW) MPEG Multiplexer-Plus
2011-01-01 14:10:51.510 [DEBUG][1] MainConcept mux not present. Disabling analog support.
With NPVR some mysteries occur:
- The "*" & the "#" button give a 3 or 8 instead of an F7 for the "*" button.
- When pressing the green button, an exception is generated the the application crashes.
- The coloured buttons don't work at all, no respons.
Strange behaviour; using NPVR .36 on exact same system (win7 32bit - hauppauge changer - ...) Only difference is NPVR <=> GPVR.
My problem with the Schedules Direct EPG is fixed (Thanks, Sub) so I'm trying to get my DVB satellite capture source set up. I'm running NPVR in the same box as GB-PVR so it's using the same hardware (Twinhan DVB card...1025, IIRC) and drivers. It all works fine in GB-PVR but NPVR scan doesn't find the channels. I'm using the same values in both and the ini files for the satellite are virtually identical. GB-PVR finds two channels as Unknown1(AC3) and Unknown2(AC3). Looking at the NPVR log (attached) it looks like the signal strength and quality are there (and the same as GB-PVR shows) but it doesn't appear to find the channels. The TwinhanDTV app also finds and plays them just fine so I'm pretty sure the signal is sufficient. It's looking at AMC21, tp 22 (12140V) if you want to check Lyngsat. I'm trying to get the PBS HD channels. This where I record about 80% of my shows so I'd really like to get it going so I can swing over to NPVR. Any idea where to look? Any help will be appreciated.
I think it would be great if I do a Find More that it would include shows I have already recorded. That way if I recorded some movie a long time ago & forgot about it, if I see it in the listings & do a Find More, I will see that I have already recorded it. It would also be handy for episodes of TV shows.
Also, is there any way to move through the recordings a page at a time or to jump to a letter in the alphabet? I thought I could do that with TV Recordings in GBPVR, but don't seem to be able to figure out how to do it in NPVR.
I do not have any analog devices. All cable, clear QAM. I've got 4 tuners--1 dual-tuner HDHR giving 2 and 1 AverMedia A188C PCIe Pure ATSC card giving 2. All tuners are connected to the same cable source and have the same channels configured in npvr. Generally, the HDHR tuners are the ones being used since they have the highest priority.
For this test, the following channels were used:
[INDENT]
I started the following 4 recordings all with 1 minute pre-padding and 2 minutes post-padding. I verified the tuner being used both with the HDHR Config (GUI) and the npvr tray status display.
[INDENT]
(10457): E:\NPVR Recordings\5 Eyewitness News at 430\5 Eyewitness News at 430_20101231_16301700.ts (Channel 231 - HDHR #1)
[/INDENT]
Everything starts out just fine. 2 HDHR tuners being used, 4 programs being recorded to 4 files.
Then I scheduled one additional recording:
[INDENT]
(10455): E:\NPVR Recordings\FOX at 5\FOX at 5_20101231_17001730.ts (Channel 234)
[/INDENT]
Now at 17:00 (not 16:59 which pre-padding would indicate), nrecord starts this recording, but it uses HDHR #0. The HDHR Config (GUI) shows that the tuned frequency/channel for HDHR #0 is indeed changed from 75 to 79 at that time. The nprv tray status then shows 3 recordings on that tuner for the 2 minute period 17:00-17:02. When I play the original 2 recordings from HDHR #0, 2 minutes before the end of recording #10456 the file goes from channel 232 to channel 231. What's very strange is that recording #10453 seems to remain on channel 233. And the new recording #10455 records channel 234. The 2 recordings from HDHR #1 seem to work just fine.
There are 2 problems with this situation:
Recording #10456 "changes channel" in the middle of the file (actually 2 minutes before the end of the file). These changes cause problems with comskip and mvpmcx2--especially since these two channels aren't using the same resolution.
Recording #10455 doesn't get its pre-padding eventhough there is already an active & available tuner on the frequency it needs both during the pre-padding and all recording and post-padding times. (In fact, the file for recording #10454 has the contents that should have also been in recording #10455.)
I recently built a new system running Windows 7 Home Premium 64 bit. I downloaded nPVR and had it running (whilst still in process of figuring out all the keyboard commands ) but am now getting:
Some kind of disk I/O error occured
disk I/O error.
everytime I go to live tv or when I go into settings and click on devices. I have tried uninstalling/reinstalling my Hauppage 2250 and nPVR, even upgraded to 1.5.36 to no avail. I keep getting the same error and am unable to view live tv now.
Any help would be appreciated. (Also, I looked for the thread on what to do when posting but can't find it on here now so don't know how to upload my logs if you need to look at them.)
Oh yes, WinTV7 has no problems running, it just doesn't have the same clarity of pic that nPVR does.
Once or twice per week, usually in the afternoon, I get several small files of a handful of programs that are currently recording (recurring programs). It seems random as to when this anomaly occurs. But it consistently happens every few days. I have tried rebooting. I have also deleted the db3 file and started over with scanning channels and recreating my recording schedule. Neither has fixed the problem. I am running nPVR on two other computers (same builds), that do not have this problem. I have also disabled the 1st tuner card in my list, thinking that might be an issue, but the problem still occurs. Any ideas? Also, the broken recordings occur for both manually scheduled recurring recordings and for EPG selected recurring programs. I have also right clicked on the system tray icon, and chose "restart recording service," to no avail.
I have 3 manual recurring recordings that cross midnight each day, and when the EPG update occurs at midnight, nPVR continues recording the original programs, and also begins recording 3 new programs from midnight until the respective stop times. I am running 1.5.33.