|
|
Besvar ![]() |
Forfatter | |
khj4200 ![]() Bruger ![]() ![]() Oprettet: 22-Marts-2006 Sted: Denmark Status: Offline Point: 202 |
![]() Sendt: 16-Februar-2008 kl. 00:12 |
Jeg har fundet et fix til at stop-knappen også virklig stopper med at buffer live-tv, så den ikke bare står og køre på harddisken. Før gik jeg ud af mediecentret eller startede og stoppede noget musik, for at få den til at stoppe live-tv bufferen. Måske der er andre der kan bruge nedenstående: I have updated the code to use an INI file for it's configuration settings. It now reads the c:\StopFixSettings.ini file dynamically to check it's settings. You should exit out of and shut down MCE and uninstall any previous version. Then install this new version. (Please select All Users instead of the Me Only option in the installer). Then you can restart MCE. If the StopMCE program works from within the MCE programs menu, but does not work when the stop button is pushed then it has to be one of three things: 1) The StopFix.mce was installed into a different folder then the default US 2) The Stop Button (or whatever button you want to use) is different then the standard MediaStop command. This can now be changed in the INI file. 3) Media Center is not the default application for MCL files. Please read the early posts in this thread on how to fix that. If you turn the debuging on in the INI file, then it will log the decimal value of every key pressed to c:\StopFix.log. This can help you to determine exactly what decimal value is being returned when you press the stop button on the remote. If the value is different the standard MediaStop command (decimal value 178), then you can simply change it in the INI file. The INI file is read dynamically, so there is no need to restart MCE everytime you make a change in the INI file. Also if there are any errors in that happen in the StopFix AddIn, then they will also be logged to the log file. Hopefully this will helps you folks that are having problems with the original version. Please make sure you read back through the origial instructions as MediaCenter must be the default application for MCL files as described in previous posts or the Stop button will never work correctly. The install files are still located at: http://www.packardinfo.com/StopFix.zip The are really two parts to this solution. One is the StopFix.mcl which shows up in the MCE program menu. This is what actually stops the Media file. Which is why it always works when you run it from the MCE programs menu. The second part is a shell that creates a keyboard hook to watch for the Stop Button to be pressed. When it detects that the button has indeed been pressed, all it simply does is run the StopFix.mcl. It's basically a program that creates a hotkey reference to the MCL file, more or less. That is why you wont see any code in the StopFix.mcl file for the key capture. All of that stuff is wrapped into the MCE AddIn which is written in c#. Enjoy. Se mere på linket: http://thegreenbutton.com/forums/4/143135/ShowThread.aspx |
|
![]() |
|
MCenterFreak ![]() Guld medlem ![]() ![]() Oprettet: 09-Februar-2005 Sted: Denmark Status: Offline Point: 5446 |
![]() |
Er der efterhånden nogen tilbage der bruger MCE?
|
|
DVBViewer klient/Server, LG Ultra HD TV 65", Digital Devices DVB-S2, 4 tunere IHC Net og Control, som magisk tænder og slukker alt
P.S. Hvis jeg har mest grej når jeg dør, så har jeg vundet!-) |
|
![]() |
Besvar ![]() |
|
Skift forum | Forum-tilladelser ![]() Du kan ikke oprette nye emner i dette forum Du kan ikke besvare indlæg i dette forum Du kan ikke slette dine indlæg i dette forum Du kan ikke redigere dine indlæg i dette forum Du kan ikke oprette afstemninger i dette forum Du kan ikke stemme i dette forum |