Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support


Go Back   Australian Media Center Community > Vista Media Center > Vista Media Center - The Software

Community Information

Reply
 
Thread Tools
Old 16th January 2007, 08:12 AM   #1 (permalink)
MC Specialist
 
DeadlyChicken's Avatar
Status DeadlyChicken is Offline:
ActivityPosts: 487
Reputation & Thanks Support Rating:
DeadlyChicken
Points Earned: 30

DeadlyChicken has been Thanked 6 times in 6 posts
recording the pause buffer

Hi there, I know there is a great little util out there for recording the pause buffer in MCE, written by a German fellow I believe.

http://www.xpmediacentre.com.au/comm...tv-buffer.html

I plan o install tonigt but has anyone else got this going on Vista. I don't see any reason why it wouldn't work in Vista but would be nice if someone had already done it and has pointers to any issues that I might hit.

cheers anyhow and if not I will report back here to you.
  Reply With Quote
Old 16th January 2007, 02:19 PM   #2 (permalink)
MC Specialist
 
DeadlyChicken's Avatar
Status DeadlyChicken is Offline:
ActivityPosts: 487
Reputation & Thanks Support Rating:
DeadlyChicken
Points Earned: 30

DeadlyChicken has been Thanked 6 times in 6 posts
Re: recording the pause buffer

Failed

Noticed a couple of possible errors I made so will try again tonight

nah, cant get it going, starting live TV says cant load this program do I want to remove it

dissapointing as its a great util

Last edited by DeadlyChicken; 16th January 2007 at 07:35 PM.
  Reply With Quote
Old 29th January 2007, 07:44 PM   #3 (permalink)
MCE Apprentice
No Avatar
Status Spyn Doctor is Offline:
ActivityPosts: 20
Reputation & Thanks Support Rating:
Spyn Doctor
Points Earned: 43

Spyn Doctor has been Thanked 7 times in 3 posts
Re: recording the pause buffer

I've now ported the add-in to Vista, so it does now work there too:

http://thegreenbutton.com/forums/thread/162083.aspx

Doc
  Reply With Quote
Old 30th January 2007, 11:00 AM   #4 (permalink)
MC Specialist
 
DeadlyChicken's Avatar
Status DeadlyChicken is Offline:
ActivityPosts: 487
Reputation & Thanks Support Rating:
DeadlyChicken
Points Earned: 30

DeadlyChicken has been Thanked 6 times in 6 posts
Re: recording the pause buffer

You are awesome mate, I did not have time to even use my TV last night until I was heading for the bed. so will try to apply this today.

any eta on the Englsih translation version at all ?? again many thanks this is a great util and should have been in media center fromt eh outset
  Reply With Quote
Old 30th January 2007, 06:12 PM   #5 (permalink)
MCE Apprentice
No Avatar
Status Spyn Doctor is Offline:
ActivityPosts: 20
Reputation & Thanks Support Rating:
Spyn Doctor
Points Earned: 43

Spyn Doctor has been Thanked 7 times in 3 posts
Re: recording the pause buffer

Quote:
Originally Posted by DeadlyChicken View Post
any eta on the Englsih translation version at all ??
Yes, the eta was yesterday.
(I finished the English description before I made the above post, see the thread at the Green Button. )

Doc
  Reply With Quote
Old 31st January 2007, 05:37 PM   #6 (permalink)
MC Specialist
 
DeadlyChicken's Avatar
Status DeadlyChicken is Offline:
ActivityPosts: 487
Reputation & Thanks Support Rating:
DeadlyChicken
Points Earned: 30

DeadlyChicken has been Thanked 6 times in 6 posts
Re: recording the pause buffer

ok atill no go, now with the new version I get the error message
addin not responding you will now be returned to media center, when you start media center up

I am sure I did everything right, I got teh new J distributable, runreg all the addins, then reg new ones, change propeties file, reboot, and now I get the not responding error in media center. any thoughts ??

cheers
  Reply With Quote
Old 31st January 2007, 06:39 PM   #7 (permalink)
MCE Apprentice
No Avatar
Status Spyn Doctor is Offline:
ActivityPosts: 20
Reputation & Thanks Support Rating:
Spyn Doctor
Points Earned: 43

Spyn Doctor has been Thanked 7 times in 3 posts
Re: recording the pause buffer

I got this error message when I started to check if the old version (for xpMCE) would work with Vista or not. As it turned out, it did not work, and this was the error I got. I subsequently figured out what caused the error and removed the reason.
So my question would be: Are you sure that you are using the new version of the add-in? Not wanting to step on any toes, but I have to double check, just to be sure: If you check the readme that comes in the ZIP file, does it say "Vista" there (and Version "28 Jan 2007")? And if so, did you remember to copy the two DLLs to your ehome folder? Or could it be that you downloaded the new ZIP file and did the registration and everything, but that the DLLs in the ehome folder are still the old ones?
The old JHTAddIn.dll is 86016 bytes large, the new one should be 77824 bytes instead!
Doc
  Reply With Quote
Old 1st February 2007, 08:43 AM   #8 (permalink)
MC Specialist
 
DeadlyChicken's Avatar
Status DeadlyChicken is Offline:
ActivityPosts: 487
Reputation & Thanks Support Rating:
DeadlyChicken
Points Earned: 30

DeadlyChicken has been Thanked 6 times in 6 posts
Re: recording the pause buffer

ok still getting this error.


Here is what I did.

I had origionally installed tghe #jj 1.1 for the attempt with your mce2005 util. so first I got the #j 2.0 and installed that.
Then I opened a cmd prompt as administrator and browsed to the folder I had it in ( C:\Buffer ) I ran all the unreg tools and all seemed to go throguh fine.
now I deleted the contents of the buffer folder.

Now I got the newlty downloaded vista version and unzipped it to the C:\buffer folder.
I ran the reg for main background and I edited the propeties doc and removed the comment from teh savebuffer setting.

Then I copied over the two LDLL files into C:\windows\ehome and overwrote the two in there. The new DLL files are confirmed to have the stated filesizes. but just to be sure I deleted them from ehome and copied new ones back in but no change in teh result.

is there anything else I can do here ?

When I tried to get the mce 2005 one going it came up with an error saying do I want to remove the app ( maybe due to the #j 1.1 being used instead of 2.0 ? ) anyhow I eventually said yes as it seemed to come up even after unregistering ?

not sure if this could effect my current situation ?

Right went home at lunch to have another go.

I realised that I had installed #j 2.0 with 1.1 still installed, so I removed 1.1

Still no joy the same error message.

So I then repaired the installed ersion 2.0 and still no joy :/

So then just to make sure that Vista had been replacing and not aborting when I asked to replace files ( e.g. when downloading the zip and when copying the DLL files ) so I deleted the zip file in the downloads section and ten re downlaoded it. Made sure that it was the zip with the vista readme, and the file sizes were as you have stated. then I deleted the ones in teh ehome and copied these ones back over the top and still no joy.

was there any other requirement other than #j 2.0 ? like a certain .NET version ??

cheers for any help I really love this util and would love to get it going in Vista

DC

Last edited by DeadlyChicken; 1st February 2007 at 02:16 PM.
  Reply With Quote
Old 1st February 2007, 06:30 PM   #9 (permalink)
MCE Apprentice
No Avatar
Status Spyn Doctor is Offline:
ActivityPosts: 20
Reputation & Thanks Support Rating:
Spyn Doctor
Points Earned: 43

Spyn Doctor has been Thanked 7 times in 3 posts
Re: recording the pause buffer

The steps you took for installation sound exactly right.
And no, there are no other requirements. The necessary .NET 2.0 is already part of Vista. My best guess right now would be that the attempts to install the previous MCE 2005 version and the strange "Do you want to remove the app?" question you got (which I haven't seen yet myself) could be the root of the trouble.

Could you try to enable the logging? Add this entry:

logFolder=PATH_TO_FOLDER

to the properties file, where you replace PATH_TO_FOLDER with a fully qualified path to your add-in install folder (or some other folder). Remember to use "/" or "\\" instead of the normal "\" in the path.

Then when you start MCE, a log file should be created in that folder (could take a few seconds before the log appears). Anything interesting in there?

If all else fails, I'll prepare a special version of the DLL for you with additional debug output for the log file, so that we can get to the bottom of this...

Doc
  Reply With Quote
Old 1st February 2007, 11:25 PM   #10 (permalink)
MC Specialist
 
DeadlyChicken's Avatar
Status DeadlyChicken is Offline:
ActivityPosts: 487
Reputation & Thanks Support Rating:
DeadlyChicken
Points Earned: 30

DeadlyChicken has been Thanked 6 times in 6 posts
Re: recording the pause buffer

ok I tried this and it comes up simply wiht
the date and time and Background Add-in started :/
  Reply With Quote
Old 1st February 2007, 11:30 PM   #11 (permalink)
MCE Apprentice
No Avatar
Status Spyn Doctor is Offline:
ActivityPosts: 20
Reputation & Thanks Support Rating:
Spyn Doctor
Points Earned: 43

Spyn Doctor has been Thanked 7 times in 3 posts
Re: recording the pause buffer

I'll prepare a special DLL for you with more debug infos for the logfile (but that will have to wait until the evening - my evening that is currently it's 2:30pm here...)

Doc
  Reply With Quote
Old 2nd February 2007, 05:10 AM   #12 (permalink)
MCE Apprentice
No Avatar
Status Spyn Doctor is Offline:
ActivityPosts: 20
Reputation & Thanks Support Rating:
Spyn Doctor
Points Earned: 43

Spyn Doctor has been Thanked 7 times in 3 posts
Re: recording the pause buffer

Hi DeadlyChicken!

Try the attached DLL please. Just put it into the ehome folder.
Then start MCE and post the contents of the logfile that is created (the log should now also mention Vista and V.1).

Doc
Attached Files
File Type: zip JHTAddInDLL.zip (25.7 KB, 4 views)
  Reply With Quote
Old 2nd February 2007, 09:18 AM   #13 (permalink)
MC Specialist
 
DeadlyChicken's Avatar
Status DeadlyChicken is Offline:
ActivityPosts: 487
Reputation & Thanks Support Rating:
DeadlyChicken
Points Earned: 30

DeadlyChicken has been Thanked 6 times in 6 posts
Re: recording the pause buffer

will go home for lunch and test it then, thanks again for your assistance with this problem

DC
  Reply With Quote
Old 2nd February 2007, 12:48 PM   #14 (permalink)
MC Specialist
 
DeadlyChicken's Avatar
Status DeadlyChicken is Offline:
ActivityPosts: 487
Reputation & Thanks Support Rating:
DeadlyChicken
Points Earned: 30

DeadlyChicken has been Thanked 6 times in 6 posts
Re: recording the pause buffer

ok, thought that was just going to work for a second :

but it errored again this time with this info

Fri Feb 02 13:45:05 GMT+11:00 2007 Background Add-In Started (Vista, V1)
Fri Feb 02 13:45:05 GMT+11:00 2007 Getting processes
Fri Feb 02 13:45:05 GMT+11:00 2007 Installing keyboard hook for process: 5064


I do have the MS media center keybaord ( its the only keyboard I have on this machine )

The only other thing I noted was I do have .NEt 1.1 installed for some reason ( I am not sure why I have this installed ?? all this machine has is vista, free epg and ffdshow so far ?? I could try removing this if you think it might cause a problem somehow, ? )
  Reply With Quote
Old 2nd February 2007, 07:16 PM   #15 (permalink)
MCE Apprentice
No Avatar
Status Spyn Doctor is Offline:
ActivityPosts: 20
Reputation & Thanks Support Rating:
Spyn Doctor
Points Earned: 43

Spyn Doctor has been Thanked 7 times in 3 posts
Re: recording the pause buffer

Thanks for the info. This is really strange. The output shows that the correct new JHTAddIn.dll is indeed being used. It shows also, that the hanging does not occur at the same location where I had it occurring (when I started porting the add-in), but it happens at a later stage: The ID of the process which runs the ehshell seems to be determined correctly, but when the keyboard hook (for the remote control keys) is to be hooked to that ehshell process, the add-in process obviously doesn't return, so MCE stops it with the error message you are seeing.
Right now, I have not many further ideas of what may be the reason for this (and I have no other users complaining about this either, although I must admit I don't have much feedback for the Vista add-in anyway, so I guess that either not many are using it or they have no problems).

One last thing I can think of: The keyboard hook part is actually located in the second DLL, the JHTAddInUtil.dll. Could you check that this DLL is also the new Vista version (in your ehome folder)? The Vista version of that DLL should have 20480 bytes.
Also, maybe there is some new fangled DLL caching in Vista which is creating problems here? (But I'm only speculating here...) You could for example try to search through your whole system if you can find any cached copies of the two DLLs anywhere else than in the ehome and the add-in install folders? (Preferrably using an admin account...)

Also you could try running MCE as an administrator, to see if that makes any difference (i.e. log in as an admin or right-click the MCE icon, then "Start as administrator...").

Finally, check that there are no restricted file access rights or anything on the DLLs (in the ehome folder). To be exact, when I installed the add-in on my computer I did so here:
  • I was logged in as a normal user (not administrator).
  • I copied the two DLLs to the ehome folder using the same normal user account.
  • Still under the normal user account, I ran the reg*.cmd scripts by right-clicking them, then "Run as administrator...".

I know you've probably already did this many times, but if all else fails, the only thing I can recommend is to try to clean up the system from any previous traces of my add-in and then try the above procedure again:
  • Run the unreg*.cmd scripts (as an admin).
  • Check that the add-in has indeed been unregistered correctly,i.e. go into MCE, go to "Settings" and one of the sub-sub entries there shows you a list of all currently registered add-ins. (Sorry I can't give you the specific "path" to this page, but I'm not sitting at a Vista machine right now. It's somewhere under "Settings", then I think one further menu item, and then a further button or something). The JHT Background Add-In should not appear in this list anymore.
  • Delete the DLLs from the ehome folder. To double check: With your normal user account, go to the ehome folder and delete the DLLs. Then switch to an admin account and check that the DLLs there are also gone (if not, delete them there too). Just being paranoid here: Vista has this new "File System Virtualization" feature, so could it be that under different accounts there are different versions of the DLLs (from your different installation attempts) visible in the ehome folder? Therefore my suggestion to check the ehome folder with each account you may have used (i.e. any normal accounts plus any admin accounts) during any of your installation attempts, and make sure that under neither of these accounts any of my DLLs shows up in the ehome folder...
  • Check that MCE starts normally, without the error message.
  • Then try the re-registration as I described above.

Other than that, I fear I am running out of options. This is really hard to diagnose/solve, since I myself don't have the same problem. And since I can't reproduce it, it's also hard to determine what's the reason or even fix it...

As to your other questions:

Which kind of keyboard you have should not make a difference.

And the .NET 1.1 framework (some version of it) is installed together with Vista, that's where you got it. I've got it too - I even updated it to .NET 1.1 SP1 (required for My Movies) and that didn't create any problems for my add-in. The different versions of .NET should be able to co-exist without problems.

Doc
  Reply With Quote
Reply

Bookmarks