recordere.dk forum     Det danske community for hjemmets elektronik og indhold     Siden 2003
<b>Forside</b> Forside > Recordere, afspillere og foto > Microsoft Media Center, MCE og HTPC
  Nye indlæg Nye indlæg  Seneste forum emner Seneste   Seneste forum emner (vindue) Vindue   De emner du deltager i Mine emner RSS Feed - Stop live-buffer i mce med stop-knap
  FAQ FAQ  Søg i forum   Opret ny bruger Opret ny bruger  Log ind Log ind

Emne lukketStop live-buffer i mce med stop-knap

 Besvar Besvar
Forfatter
Besked
khj4200 Se dropdown menu
Bruger
Bruger
Avatar

Oprettet: 22-Marts-2006
Sted: Denmark
Status: Offline
Point: 202
Direkte link til dette indlæg Emne: Stop live-buffer i mce med stop-knap
    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 Windows MCE folder (C:\Documents and Settings\All Users\Start Menu\Programs\Accessories\MEDIA Center\MEDIA Center Programs). The path to the MCL file can be changed in the INI file.

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

Til top
MCenterFreak Se dropdown menu
Guld medlem
Guld medlem
Avatar

Oprettet: 09-Februar-2005
Sted: Denmark
Status: Offline
Point: 5446
Direkte link til dette indlæg Sendt: 16-Februar-2008 kl. 00:47
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!-)
Til top
 
 Besvar Besvar
 
Skift forum Forum-tilladelser Se dropdown menu