|
From: <rs...@us...> - 2010-07-29 15:57:03
|
Revision: 3674
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=3674&view=rev
Author: rsenden
Date: 2010-07-29 15:56:56 +0000 (Thu, 29 Jul 2010)
Log Message:
-----------
Initial check-in of SPressoDisplayPlugin
Added Paths:
-----------
trunk/plugins/SPressoDisplayPlugin/MPE/
trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.mpe1
trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.xmp2
trunk/plugins/SPressoDisplayPlugin/MPE/update.xml
Added: trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.mpe1
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.mpe1
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.xmp2
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.xmp2 (rev 0)
+++ trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.xmp2 2010-07-29 15:56:56 UTC (rev 3674)
@@ -0,0 +1,376 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PackageClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <Version>2.0</Version>
+ <Groups>
+ <Items>
+ <GroupItem Name="Default">
+ <DisplayName>Default</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Default</Description>
+ <Files>
+ <Items>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>..\Release\plugins\process\AControl2.exe</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{d806e83d-02bb-4f38-82a8-82946c85154c}-AControl2.exe</ZipFileName>
+ <DestinationFilename>%Plugins%\process\AControl2.exe</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>..\Release\plugins\process\SPressoDisplayPlugin.dll</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{725a57da-2ead-4fe5-b720-599c7ad0802a}-SPressoDisplayPlugin.dll</ZipFileName>
+ <DestinationFilename>%Plugins%\process\SPressoDisplayPlugin.dll</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>..\Release\InputDeviceMappings\defaults\SPressoAFPD.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{333717a9-871f-491e-a8ec-797e9f44208d}-SPressoAFPD.xml</ZipFileName>
+ <DestinationFilename>%CustomInputDefault%\SPressoAFPD.xml</DestinationFilename>
+ </FileItem>
+ </Items>
+ </Files>
+ </GroupItem>
+ </Items>
+ </Groups>
+ <Sections>
+ <Items>
+ <SectionItem Guid="639be469-28fd-4f97-846f-f6aab81ae5cb" Name="Welcome Screen" ConditionGroup="Default">
+ <Params>
+ <Items>
+ <SectionParam Name="Header text">
+ <Value>Welcome to the Extension Installer for SPressoDisplayPlugin</Value>
+ <ValueType>String</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Description">
+ <Value>This will install SPressoDisplayPlugin version2.1 on your computer. Before installing this plug-in, please make sure that the Asus S-Presso front panel display drivers have been installed by inserting the Asus S-Presso Support CD (drivers will be installed automatically if AutoRun is enabled).
+
+This setup program will disable the Asus AControl.exe program as it cannot co-exist with the MediaPortal plug-in. Instead, it will enable a simple replacement utility that will control temperature and volume controls on the display.
+
+
+It is recommended that you close all other applications before continuing.
+Click Next to continue or Cancel to exit Setup.</Value>
+ <ValueType>String</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Left part image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Header image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>Image in upper right part</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ <Actions>
+ <Items />
+ </Actions>
+ <IncludedGroups />
+ <PanelName>Welcome Screen</PanelName>
+ <WizardButtonsEnum>NextCancel</WizardButtonsEnum>
+ </SectionItem>
+ <SectionItem Guid="8a2234be-f54a-4269-8ba0-e81985c22ed1" Name="Install Section" ConditionGroup="">
+ <Params>
+ <Items>
+ <SectionParam Name="Header Title">
+ <Value>Installing</Value>
+ <ValueType>String</ValueType>
+ <Description>Header title</Description>
+ </SectionParam>
+ <SectionParam Name="Header description">
+ <Value>SPressoDeisplayPlugin version 2.1 is being installed</Value>
+ <ValueType>String</ValueType>
+ <Description>Description of section, shown in under section title</Description>
+ </SectionParam>
+ <SectionParam Name="Header image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>Image in upper right part</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ <Actions>
+ <Items>
+ <ActionItem Name="KillTask" ActionType="KillTask" ConditionGroup="">
+ <Params>
+ <Items>
+ <SectionParam Name="Task name">
+ <Value>AControl2</Value>
+ <ValueType>String</ValueType>
+ <Description>Task name to kill</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ <ExecuteLocation>AfterPanelShow</ExecuteLocation>
+ </ActionItem>
+ <ActionItem Name="InstallFiles" ActionType="InstallFiles" ConditionGroup="Default">
+ <Params>
+ <Items />
+ </Params>
+ <ExecuteLocation>AfterPanelShow</ExecuteLocation>
+ </ActionItem>
+ <ActionItem Name="Script" ActionType="Script" ConditionGroup="">
+ <Params>
+ <Items>
+ <SectionParam Name="Script">
+ <Value>//css_reference "MpeCore.dll";
+
+using MpeCore.Classes;
+using MpeCore;
+using Microsoft.Win32;
+using System.IO;
+
+public class Script
+{
+ private const string KEY_RUN = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run";
+ public static void Main(PackageClass packageClass, ActionItem actionItem)
+ {
+ RegistryKey runKey = Registry.LocalMachine.OpenSubKey(KEY_RUN, true);
+ if ( runKey.GetValue("AControl")!=null) { runKey.DeleteValue("AControl"); };
+
+ string pathToAControl2 = MpeInstaller.TransformInRealPath("%Base%\\plugins\\process\\AControl2.exe");
+ runKey.SetValue("AControl2", pathToAControl2, RegistryValueKind.String);
+ }
+}
+</Value>
+ <ValueType>Script</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Uninstall Script">
+ <Value>//css_reference "MpeCore.dll";
+
+using MpeCore.Classes;
+using MpeCore;
+
+public class Script
+{
+ public static void Main(PackageClass packageClass, UnInstallItem item)
+ {
+ return;
+ }
+}
+</Value>
+ <ValueType>Script</ValueType>
+ <Description />
+ </SectionParam>
+ </Items>
+ </Params>
+ <ExecuteLocation>AfterPanelShow</ExecuteLocation>
+ </ActionItem>
+ <ActionItem Name="KillTask" ActionType="KillTask" ConditionGroup="">
+ <Params>
+ <Items>
+ <SectionParam Name="Task name">
+ <Value>AControl</Value>
+ <ValueType>String</ValueType>
+ <Description>Task name to kill</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ <ExecuteLocation>AfterPanelShow</ExecuteLocation>
+ </ActionItem>
+ <ActionItem Name="RunApplication" ActionType="RunApplication" ConditionGroup="">
+ <Params>
+ <Items>
+ <SectionParam Name="Path to application">
+ <Value>%Plugins%\process\AControl2.exe</Value>
+ <ValueType>Template</ValueType>
+ <Description>Path to the application like
+ %Base%\MediaPortal.exe</Description>
+ </SectionParam>
+ <SectionParam Name="Parameters for application">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>Command line parameters</Description>
+ </SectionParam>
+ <SectionParam Name="Wait for exit">
+ <Value />
+ <ValueType>Bool</ValueType>
+ <Description>Wait for exit </Description>
+ </SectionParam>
+ <SectionParam Name="Don't run when silent install">
+ <Value />
+ <ValueType>Bool</ValueType>
+ <Description>If set to Yes the aplication don't run when the istalation is silent </Description>
+ </SectionParam>
+ <SectionParam Name="Path to uninstall application">
+ <Value />
+ <ValueType>Template</ValueType>
+ <Description>Path to the application which should be executed when uninstall</Description>
+ </SectionParam>
+ <SectionParam Name="Parameters for uninstall application">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>Command line parameters for uninstall app</Description>
+ </SectionParam>
+ <SectionParam Name="Wait for exit on uninstall">
+ <Value />
+ <ValueType>Bool</ValueType>
+ <Description>Wait for exit on uninstall </Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ <ExecuteLocation>AfterPanelShow</ExecuteLocation>
+ </ActionItem>
+ </Items>
+ </Actions>
+ <IncludedGroups>
+ <string>PluginFiles</string>
+ </IncludedGroups>
+ <PanelName>Install Section</PanelName>
+ <WizardButtonsEnum>BackNextCancel</WizardButtonsEnum>
+ </SectionItem>
+ <SectionItem Guid="f7ec49fc-0898-483a-98a3-7492471f41e6" Name="Setup Complete" ConditionGroup="">
+ <Params>
+ <Items>
+ <SectionParam Name="Header text">
+ <Value>The Extension Installer Wizard has successfully installed SPressoDisplayPlugin.</Value>
+ <ValueType>String</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Left part image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description />
+ </SectionParam>
+ <SectionParam Name="Show radio buttons">
+ <Value>NO</Value>
+ <ValueType>Bool</ValueType>
+ <Description>Use radiobutton in place of combobox</Description>
+ </SectionParam>
+ <SectionParam Name="Header image">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>Image in upper right part</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ <Actions>
+ <Items />
+ </Actions>
+ <IncludedGroups />
+ <PanelName>Setup Complete</PanelName>
+ <WizardButtonsEnum>Finish</WizardButtonsEnum>
+ </SectionItem>
+ </Items>
+ </Sections>
+ <Dependencies>
+ <Items />
+ </Dependencies>
+ <GeneralInfo>
+ <Name>SPressoDisplayPlugin</Name>
+ <Id>02fa2bda-53fe-4920-9e5a-72719fac7eee</Id>
+ <Author>Ruud Senden</Author>
+ <HomePage />
+ <ForumPage>http://forum.team-mediaportal.com/showthread.php?p=72281</ForumPage>
+ <UpdateUrl>https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/plugins/SPressoDisplayPlugin/MPE/update.xml</UpdateUrl>
+ <Version>
+ <Major>2</Major>
+ <Minor>1</Minor>
+ <Build>0</Build>
+ <Revision>0</Revision>
+ </Version>
+ <ExtensionDescription>This extension allows MediaPortal to update the front panel display on an Asus S-Presso barebone, and to react to front panel button presses.</ExtensionDescription>
+ <VersionDescription>Version 2.1 includes the following changes:
+
+- Removed support for MediaPortal built-in TV Client (not supported anymore by MediaPortal 1.1.0)
+- AControl2 no longer shows date/time (may fix some interoperability issues between AControl2 and MediaPortal plugin)
+- Created MediaPortal Extension Installer package
+- Various smaller updates</VersionDescription>
+ <DevelopmentStatus>Stable</DevelopmentStatus>
+ <OnlineLocation>https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.mpe1</OnlineLocation>
+ <ReleaseDate>2010-07-29T13:02:35.9879365+02:00</ReleaseDate>
+ <Tags>s-presso afpd display</Tags>
+ <Location>D:\Development\MediaPortal\Plugins\SPressoDisplayPlugin\MPE\SPressoDisplayPlugin.mpe1</Location>
+ <Params>
+ <Items>
+ <SectionParam Name="Icon">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>The icon file of the package (jpg,png,bmp)</Description>
+ </SectionParam>
+ <SectionParam Name="Online Icon">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>The icon file of the package stored online (jpg,png,bmp)</Description>
+ </SectionParam>
+ <SectionParam Name="Configuration file">
+ <Value />
+ <ValueType>Template</ValueType>
+ <Description>The file used to configure the extension.
+ If have .exe extension the will be executed
+ If have .dll extension used like MP plugin configuration</Description>
+ </SectionParam>
+ <SectionParam Name="Online Screenshots">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>Online stored screenshot urls separated by ; </Description>
+ </SectionParam>
+ <SectionParam Name="Force to uninstall on update">
+ <Value>yes</Value>
+ <ValueType>Bool</ValueType>
+ <Description>Show dialog and force to uninstall previous version when updating an extension. Should only be disabled if you are using an NSIS/MSI installer.</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ </GeneralInfo>
+ <UniqueFileList>
+ <Items>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>..\Release\plugins\process\AControl2.exe</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{d806e83d-02bb-4f38-82a8-82946c85154c}-AControl2.exe</ZipFileName>
+ <DestinationFilename>%Plugins%\process\AControl2.exe</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>..\Release\plugins\process\SPressoDisplayPlugin.dll</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{725a57da-2ead-4fe5-b720-599c7ad0802a}-SPressoDisplayPlugin.dll</ZipFileName>
+ <DestinationFilename>%Plugins%\process\SPressoDisplayPlugin.dll</DestinationFilename>
+ </FileItem>
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName>..\Release\InputDeviceMappings\defaults\SPressoAFPD.xml</LocalFileName>
+ <ZipFileName>Installer{CopyFile}\{333717a9-871f-491e-a8ec-797e9f44208d}-SPressoAFPD.xml</ZipFileName>
+ <DestinationFilename>%CustomInputDefault%\SPressoAFPD.xml</DestinationFilename>
+ </FileItem>
+ </Items>
+ </UniqueFileList>
+ <ProjectSettings>
+ <FolderGroups>
+ <FolderGroup InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName />
+ <ZipFileName>Installer{CopyFile}\{8451714b-ac23-455d-a9c6-d07f57dbf6f9}-</ZipFileName>
+ <DestinationFilename>%Plugins%\process</DestinationFilename>
+ <Folder>..\Release\plugins\process</Folder>
+ <Group>Default</Group>
+ <Recursive>false</Recursive>
+ </FolderGroup>
+ <FolderGroup InstallType="CopyFile" SystemFile="false" Modified="true">
+ <Param1 />
+ <UpdateOption>OverwriteIfOlder</UpdateOption>
+ <LocalFileName />
+ <ZipFileName>Installer{CopyFile}\{338600a4-a888-4338-b765-ed47fb0848b4}-</ZipFileName>
+ <DestinationFilename>%CustomInputDefault%</DestinationFilename>
+ <Folder>..\Release\InputDeviceMappings\defaults</Folder>
+ <Group>Default</Group>
+ <Recursive>false</Recursive>
+ </FolderGroup>
+ </FolderGroups>
+ <ProjectFilename>D:\Development\MediaPortal\Plugins\SPressoDisplayPlugin\MPE\SPressoDisplayPlugin.xmp2</ProjectFilename>
+ <UpdatePath1 />
+ <UpdatePath2 />
+ <UpdatePath3 />
+ </ProjectSettings>
+</PackageClass>
\ No newline at end of file
Added: trunk/plugins/SPressoDisplayPlugin/MPE/update.xml
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/MPE/update.xml (rev 0)
+++ trunk/plugins/SPressoDisplayPlugin/MPE/update.xml 2010-07-29 15:56:56 UTC (rev 3674)
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ExtensionCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <Items>
+ <PackageClass>
+ <Version>2.0</Version>
+ <Groups>
+ <Items>
+ <GroupItem Name="Default">
+ <DisplayName>Default</DisplayName>
+ <DefaulChecked>true</DefaulChecked>
+ <Description>Default</Description>
+ <Files>
+ <Items />
+ </Files>
+ </GroupItem>
+ </Items>
+ </Groups>
+ <Sections>
+ <Items />
+ </Sections>
+ <Dependencies>
+ <Items />
+ </Dependencies>
+ <GeneralInfo>
+ <Name>SPressoDisplayPlugin</Name>
+ <Id>02fa2bda-53fe-4920-9e5a-72719fac7eee</Id>
+ <Author>Ruud Senden</Author>
+ <HomePage />
+ <ForumPage>http://forum.team-mediaportal.com/showthread.php?p=72281</ForumPage>
+ <UpdateUrl>https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/plugins/SPressoDisplayPlugin/MPE/update.xml</UpdateUrl>
+ <Version>
+ <Major>2</Major>
+ <Minor>1</Minor>
+ <Build>0</Build>
+ <Revision>0</Revision>
+ </Version>
+ <ExtensionDescription>This extension allows MediaPortal to update the front panel display on an Asus S-Presso barebone, and to react to front panel button presses.</ExtensionDescription>
+ <VersionDescription>Version 2.1 includes the following changes:
+
+- Removed support for MediaPortal built-in TV Client (not supported anymore by MediaPortal 1.1.0)
+- AControl2 no longer shows date/time (may fix some interoperability issues between AControl2 and MediaPortal plugin)
+- Created MediaPortal Extension Installer package
+- Various smaller updates</VersionDescription>
+ <DevelopmentStatus>Stable</DevelopmentStatus>
+ <OnlineLocation>https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.mpe1</OnlineLocation>
+ <ReleaseDate>2010-07-29T13:02:35.9879365+02:00</ReleaseDate>
+ <Tags>s-presso afpd display</Tags>
+ <Location>D:\Development\MediaPortal\Plugins\SPressoDisplayPlugin\MPE\SPressoDisplayPlugin.mpe1</Location>
+ <Params>
+ <Items>
+ <SectionParam Name="Icon">
+ <Value />
+ <ValueType>File</ValueType>
+ <Description>The icon file of the package (jpg,png,bmp)</Description>
+ </SectionParam>
+ <SectionParam Name="Online Icon">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>The icon file of the package stored online (jpg,png,bmp)</Description>
+ </SectionParam>
+ <SectionParam Name="Configuration file">
+ <Value />
+ <ValueType>Template</ValueType>
+ <Description>The file used to configure the extension.
+ If have .exe extension the will be executed
+ If have .dll extension used like MP plugin configuration</Description>
+ </SectionParam>
+ <SectionParam Name="Online Screenshots">
+ <Value />
+ <ValueType>String</ValueType>
+ <Description>Online stored screenshot urls separated by ; </Description>
+ </SectionParam>
+ <SectionParam Name="Force to uninstall on update">
+ <Value>yes</Value>
+ <ValueType>Bool</ValueType>
+ <Description>Show dialog and force to uninstall previous version when updating an extension. Should only be disabled if you are using an NSIS/MSI installer.</Description>
+ </SectionParam>
+ </Items>
+ </Params>
+ </GeneralInfo>
+ <UniqueFileList>
+ <Items />
+ </UniqueFileList>
+ <ProjectSettings>
+ <FolderGroups />
+ </ProjectSettings>
+ </PackageClass>
+ </Items>
+</ExtensionCollection>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rs...@us...> - 2010-07-29 15:57:26
|
Revision: 3675
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=3675&view=rev
Author: rsenden
Date: 2010-07-29 15:57:20 +0000 (Thu, 29 Jul 2010)
Log Message:
-----------
Initial check-in of SPressoDisplayPlugin
Added Paths:
-----------
trunk/plugins/SPressoDisplayPlugin/Release/
trunk/plugins/SPressoDisplayPlugin/Release/InputDeviceMappings/
trunk/plugins/SPressoDisplayPlugin/Release/InputDeviceMappings/defaults/
trunk/plugins/SPressoDisplayPlugin/Release/InputDeviceMappings/defaults/SPressoAFPD.xml
trunk/plugins/SPressoDisplayPlugin/Release/plugins/
trunk/plugins/SPressoDisplayPlugin/Release/plugins/process/
trunk/plugins/SPressoDisplayPlugin/Release/plugins/process/AControl2.exe
trunk/plugins/SPressoDisplayPlugin/Release/plugins/process/SPressoDisplayPlugin.dll
trunk/plugins/SPressoDisplayPlugin/Release/test/
trunk/plugins/SPressoDisplayPlugin/Release/test/SPressoTest.exe
trunk/plugins/SPressoDisplayPlugin/Release/test/SPressoTest.vshost.exe
trunk/plugins/SPressoDisplayPlugin/Release/test/SPressoTest.vshost.exe.manifest
Added: trunk/plugins/SPressoDisplayPlugin/Release/InputDeviceMappings/defaults/SPressoAFPD.xml
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/Release/InputDeviceMappings/defaults/SPressoAFPD.xml (rev 0)
+++ trunk/plugins/SPressoDisplayPlugin/Release/InputDeviceMappings/defaults/SPressoAFPD.xml 2010-07-29 15:57:20 UTC (rev 3675)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<mappings version="3">
+ <remote family="Asus S-Presso Front Panel Buttons">
+ <button name="Play" code="1">
+ <action layer="0" condition="PLAYER" conproperty="MEDIA" command="ACTION" cmdproperty="12" />
+ <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="68" />
+ </button>
+ <button name="Stop" code="2">
+ <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="13" />
+ </button>
+ <button name="Previous" code="3">
+ <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="15" />
+ </button>
+ <button name="Next" code="4">
+ <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="14" />
+ </button>
+ <button name="Volume Up" code="5">
+ <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="103" />
+ </button>
+ <button name="Volume Down" code="6">
+ <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="102" />
+ </button>
+ <button name="Mode FM" code="11">
+ <action layer="0" condition="*" conproperty="-1" command="WINDOW" cmdproperty="30" />
+ </button>
+ <button name="Mode MP3" code="12">
+ <action layer="0" condition="*" conproperty="-1" command="WINDOW" cmdproperty="501" />
+ </button>
+ <button name="Mode Music" code="13">
+ <action layer="0" condition="*" conproperty="-1" command="WINDOW" cmdproperty="501" />
+ </button>
+ <button name="Mode Photo" code="14">
+ <action layer="0" condition="*" conproperty="-1" command="WINDOW" cmdproperty="2" />
+ </button>
+ <button name="Mode DVD" code="15">
+ <action layer="0" condition="*" conproperty="-1" command="WINDOW" cmdproperty="3001" />
+ </button>
+ <button name="Mode VCD" code="16">
+ <action layer="0" condition="*" conproperty="-1" command="WINDOW" cmdproperty="6" />
+ </button>
+ <button name="Mode TV" code="17">
+ <action layer="0" condition="*" conproperty="-1" command="WINDOW" cmdproperty="1" />
+ </button>
+ </remote>
+</mappings>
\ No newline at end of file
Added: trunk/plugins/SPressoDisplayPlugin/Release/plugins/process/AControl2.exe
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/SPressoDisplayPlugin/Release/plugins/process/AControl2.exe
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/SPressoDisplayPlugin/Release/plugins/process/SPressoDisplayPlugin.dll
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/SPressoDisplayPlugin/Release/plugins/process/SPressoDisplayPlugin.dll
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/SPressoDisplayPlugin/Release/test/SPressoTest.exe
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/SPressoDisplayPlugin/Release/test/SPressoTest.exe
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/SPressoDisplayPlugin/Release/test/SPressoTest.vshost.exe
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/SPressoDisplayPlugin/Release/test/SPressoTest.vshost.exe
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/plugins/SPressoDisplayPlugin/Release/test/SPressoTest.vshost.exe.manifest
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/Release/test/SPressoTest.vshost.exe.manifest (rev 0)
+++ trunk/plugins/SPressoDisplayPlugin/Release/test/SPressoTest.vshost.exe.manifest 2010-07-29 15:57:20 UTC (rev 3675)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
+ <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
+ <security>
+ <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
+ <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
+ </requestedPrivileges>
+ </security>
+ </trustInfo>
+</assembly>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rs...@us...> - 2010-07-29 15:58:27
|
Revision: 3676
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=3676&view=rev
Author: rsenden
Date: 2010-07-29 15:58:19 +0000 (Thu, 29 Jul 2010)
Log Message:
-----------
Initial check-in of SPressoDisplayPlugin
Added Paths:
-----------
trunk/plugins/SPressoDisplayPlugin/Source/
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AControl2.cs
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AControl2.csproj
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AControl2.csproj.user
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AudioMixerHelper.cs
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/Properties/
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/Properties/AssemblyInfo.cs
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/obj/
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/obj/Debug/
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/obj/Debug/TempPE/
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/obj/Release/
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/obj/Release/AControl2.csproj.FileListAbsolute.txt
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/obj/Release/AControl2.exe
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/obj/Release/Refactor/
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/obj/Release/TempPE/
trunk/plugins/SPressoDisplayPlugin/Source/Common/
trunk/plugins/SPressoDisplayPlugin/Source/Common/AFPDHelper.cs
trunk/plugins/SPressoDisplayPlugin/Source/Common/AFPDHelper.csproj
trunk/plugins/SPressoDisplayPlugin/Source/Common/AFPDHelper.csproj.user
trunk/plugins/SPressoDisplayPlugin/Source/Common/dummy/
trunk/plugins/SPressoDisplayPlugin/Source/Common/obj/
trunk/plugins/SPressoDisplayPlugin/Source/Common/obj/Debug/
trunk/plugins/SPressoDisplayPlugin/Source/Common/obj/Debug/TempPE/
trunk/plugins/SPressoDisplayPlugin/Source/Common/obj/Release/
trunk/plugins/SPressoDisplayPlugin/Source/Common/obj/Release/AFPDHelper.csproj.FileListAbsolute.txt
trunk/plugins/SPressoDisplayPlugin/Source/Common/obj/Release/Common.csproj.FileListAbsolute.txt
trunk/plugins/SPressoDisplayPlugin/Source/Common/obj/Release/Common.exe
trunk/plugins/SPressoDisplayPlugin/Source/Common/obj/Release/Refactor/
trunk/plugins/SPressoDisplayPlugin/Source/Common/obj/Release/TempPE/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/Properties/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/Properties/AssemblyInfo.cs
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/SPresso.jpg
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/SPressoDisabled.jpg
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/SPressoDisplayPlugin.cs
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/SPressoDisplayPlugin.csproj
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/SPressoDisplayPlugin.csproj.user
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/Settings.cs
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/SetupForm.Designer.cs
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/SetupForm.cs
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/SetupForm.resx
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/WindowId2ModeMappingForm.Designer.cs
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/WindowId2ModeMappingForm.cs
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/WindowId2ModeMappingForm.resx
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/Debug/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/Debug/TempPE/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/Release/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/Release/Refactor/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/Release/ResolveAssemblyReference.cache
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/Release/SPressoDisplayPlugin.SetupForm.resources
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/Release/SPressoDisplayPlugin.WindowId2ModeMappingForm.resources
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/Release/SPressoDisplayPlugin.csproj.FileListAbsolute.txt
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/Release/SPressoDisplayPlugin.csproj.GenerateResource.Cache
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/Release/SPressoDisplayPlugin.dll
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/Release/SPressoMPPlugin.csproj.FileListAbsolute.txt
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/Release/TempPE/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin.sln
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin.suo
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/Properties/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/Properties/AssemblyInfo.cs
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/SPressoDisplayTest.csproj
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/SPressoDisplayTest.csproj.user
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/SPressoTest.cs
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/obj/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/obj/Debug/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/obj/Debug/TempPE/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/obj/Release/
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/obj/Release/SPressoDisplayTest.csproj.FileListAbsolute.txt
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/obj/Release/SPressoTest.csproj.FileListAbsolute.txt
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/obj/Release/SPressoTest.exe
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/obj/Release/TempPE/
Added: trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AControl2.cs
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AControl2.cs (rev 0)
+++ trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AControl2.cs 2010-07-29 15:58:19 UTC (rev 3676)
@@ -0,0 +1,129 @@
+/*
+ * Copyright (C) 2006 Ruud Senden
+ *
+ * This Program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This Program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * Use this program at your own risk, I can not be held responsible
+ * for any damage to your system.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Make; see the file COPYING. If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Threading;
+using Microsoft.Win32;
+
+namespace SPresso
+{
+ class AControl2
+ {
+ private static bool stopRequested = false;
+ private static Thread[] threads;
+
+ static void Main(string[] args)
+ {
+ SystemEvents.PowerModeChanged += new PowerModeChangedEventHandler(SystemEvents_PowerModeChanged);
+ doStart();
+
+ while (true)
+ {
+ Thread.Sleep(99999);
+ }
+
+ // SystemEvents.PowerModeChanged -= new PowerModeChangedEventHandler(SystemEvents_PowerModeChanged);
+ }
+
+ private static void doStart()
+ {
+ stopRequested = false;
+ threads = new Thread[] {
+ new Thread(new ThreadStart(RunUpdateVolume)),
+ new Thread(new ThreadStart(RunUpdateTemp)) };
+
+ // Start all threads
+ for (int i = 0; i < threads.Length; i++)
+ {
+ threads[i].Start();
+ }
+ }
+
+ private static void doStop()
+ {
+ stopRequested = true;
+
+ for (int i = 0; i < threads.Length; i++)
+ {
+ threads[i].Join();
+ }
+
+ stopRequested = false;
+ }
+
+ private static void RunUpdateTemp()
+ {
+ while (!stopRequested)
+ {
+ try
+ {
+ AFPDHelper.CPUTemp();
+ AFPDHelper.SystemTemp();
+ Thread.Sleep(10000);
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine("Thread[RunUpdateTemp] ex: " + ex.Message);
+ }
+ }
+ }
+
+ private static void RunUpdateVolume()
+ {
+
+ while (!stopRequested)
+ {
+ byte currentVolume = 0;
+ try
+ {
+ int volNew, volMin, volMax;
+ volNew = AudioMixerHelper.GetMinMaxVolume(out volMin, out volMax);
+ volNew = 9 * (volNew - volMin) / (volMax - volMin); // Normalize 1-9
+ if (currentVolume != volNew)
+ {
+ currentVolume = (byte)volNew;
+ AFPDHelper.SetIconVolume(currentVolume);
+ }
+ Thread.Sleep(150);
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine("Thread[RunUpdateTemp] ex: " + ex.Message);
+ }
+ }
+ }
+
+ private static void SystemEvents_PowerModeChanged(object sender, PowerModeChangedEventArgs e)
+ {
+ switch (e.Mode)
+ {
+ case PowerModes.Suspend:
+ doStop();
+ break;
+ case PowerModes.Resume:
+ doStart();
+ break;
+ }
+ }
+ }
+}
Added: trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AControl2.csproj
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AControl2.csproj (rev 0)
+++ trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AControl2.csproj 2010-07-29 15:58:19 UTC (rev 3676)
@@ -0,0 +1,80 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.21022</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{6B479F7C-CC74-4FE9-947B-AB752F92ED5A}</ProjectGuid>
+ <OutputType>WinExe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>SPresso</RootNamespace>
+ <AssemblyName>AControl2</AssemblyName>
+ <StartupObject>SPresso.AControl2</StartupObject>
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <FileUpgradeFlags>
+ </FileUpgradeFlags>
+ <OldToolsVersion>2.0</OldToolsVersion>
+ <UpgradeBackupLocation>
+ </UpgradeBackupLocation>
+ <PublishUrl>publish\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.1.0.%2a</ApplicationVersion>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>none</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>..\..\Release\plugins\process</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="..\Common\AFPDHelper.cs">
+ <Link>AFPDHelper.cs</Link>
+ </Compile>
+ <Compile Include="AControl2.cs" />
+ <Compile Include="AudioMixerHelper.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5</ProductName>
+ <Install>false</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
\ No newline at end of file
Added: trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AControl2.csproj.user
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AControl2.csproj.user (rev 0)
+++ trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AControl2.csproj.user 2010-07-29 15:58:19 UTC (rev 3676)
@@ -0,0 +1,15 @@
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <PublishUrlHistory>publish\</PublishUrlHistory>
+ <InstallUrlHistory>
+ </InstallUrlHistory>
+ <SupportUrlHistory>
+ </SupportUrlHistory>
+ <UpdateUrlHistory>
+ </UpdateUrlHistory>
+ <BootstrapperUrlHistory>
+ </BootstrapperUrlHistory>
+ <FallbackCulture>en-US</FallbackCulture>
+ <VerifyUploadedFiles>false</VerifyUploadedFiles>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
Added: trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AudioMixerHelper.cs
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AudioMixerHelper.cs (rev 0)
+++ trunk/plugins/SPressoDisplayPlugin/Source/AControl2/AudioMixerHelper.cs 2010-07-29 15:58:19 UTC (rev 3676)
@@ -0,0 +1,301 @@
+/*
+ * Copyright (C) 2005-2006 Team MediaPortal
+ * http://www.team-mediaportal.com
+ *
+ * This Program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This Program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Make; see the file COPYING. If not, write to
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ * http://www.gnu.org/copyleft/gpl.html
+ *
+ */
+
+// This file was copied from MediaPortal, such that AControl2.exe doesn't
+// depend on MediaPortal.
+using System;
+using System.Runtime.InteropServices;
+
+namespace SPresso
+{
+ public class AudioMixerHelper
+ {
+ public const int MMSYSERR_NOERROR = 0;
+ public const int MAXPNAMELEN = 32;
+ public const int MIXER_LONG_NAME_CHARS = 64;
+ public const int MIXER_SHORT_NAME_CHARS = 16;
+ public const int MIXER_GETLINEINFOF_COMPONENTTYPE = 0x3;
+ public const int MIXER_GETCONTROLDETAILSF_VALUE = 0x0;
+ public const int MIXER_GETLINECONTROLSF_ONEBYTYPE = 0x2;
+ public const int MIXER_SETCONTROLDETAILSF_VALUE = 0x0;
+ public const int MIXERLINE_COMPONENTTYPE_DST_FIRST = 0x0;
+ public const int MIXERLINE_COMPONENTTYPE_SRC_FIRST = 0x1000;
+ public const int MIXERLINE_COMPONENTTYPE_DST_SPEAKERS = (MIXERLINE_COMPONENTTYPE_DST_FIRST + 4);
+ public const int MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE =(MIXERLINE_COMPONENTTYPE_SRC_FIRST + 3);
+ public const int MIXERLINE_COMPONENTTYPE_SRC_LINE = (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 2);
+ public const int MIXERCONTROL_CT_CLASS_FADER = 0x50000000;
+ public const int MIXERCONTROL_CT_UNITS_UNSIGNED = 0x30000;
+ public const int MIXERCONTROL_CONTROLTYPE_FADER = (MIXERCONTROL_CT_CLASS_FADER | MIXERCONTROL_CT_UNITS_UNSIGNED);
+ public const int MIXERCONTROL_CONTROLTYPE_VOLUME =(MIXERCONTROL_CONTROLTYPE_FADER + 1);
+
+ [DllImport("winmm.dll", CharSet=CharSet.Ansi)]
+ private static extern int mixerClose (int hmx);
+ [DllImport("winmm.dll", CharSet=CharSet.Ansi)]
+ private static extern int mixerGetControlDetailsA (int hmxobj,ref MIXERCONTROLDETAILS pmxcd , int fdwDetails);
+ [DllImport("winmm.dll", CharSet=CharSet.Ansi)]
+ private static extern int mixerGetDevCapsA(int uMxId, MIXERCAPS pmxcaps, int cbmxcaps);
+ [DllImport("winmm.dll", CharSet=CharSet.Ansi)]
+ private static extern int mixerGetID (int hmxobj, int pumxID, int fdwId);
+ [DllImport("winmm.dll", CharSet=CharSet.Ansi)]
+ private static extern int mixerGetLineControlsA (int hmxobj,ref MIXERLINECONTROLS pmxlc, int fdwControls);
+ [DllImport("winmm.dll", CharSet=CharSet.Ansi)]
+ private static extern int mixerGetLineInfoA (int hmxobj,ref MIXERLINE pmxl , int fdwInfo);
+ [DllImport("winmm.dll", CharSet=CharSet.Ansi)]
+ private static extern int mixerGetNumDevs();
+ [DllImport("winmm.dll", CharSet=CharSet.Ansi)]
+ private static extern int mixerMessage(int hmx , int uMsg , int dwParam1 , int dwParam2);
+ [DllImport("winmm.dll", CharSet=CharSet.Ansi)]
+ private static extern int mixerOpen (out int phmx , int uMxId , int dwCallback , int dwInstance , int fdwOpen);
+ [DllImport("winmm.dll", CharSet=CharSet.Ansi)]
+ private static extern int mixerSetControlDetails(int hmxobj ,ref MIXERCONTROLDETAILS pmxcd , int fdwDetails);
+
+ public struct MIXERCAPS
+ {
+ public int wMid;
+ public int wPid;
+ public int vDriverVersion;
+ [MarshalAs(UnmanagedType.ByValTStr, SizeConst=MAXPNAMELEN)]
+ public string szPname;
+ public int fdwSupport;
+ public int cDestinations;
+ }
+
+ public struct MIXERCONTROL
+ {
+ public int cbStruct;
+ public int dwControlID;
+ public int dwControlType;
+ public int fdwControl;
+ public int cMultipleItems;
+ [MarshalAs( UnmanagedType.ByValTStr, SizeConst=MIXER_SHORT_NAME_CHARS)]
+ public string szShortName ;
+ [MarshalAs( UnmanagedType.ByValTStr, SizeConst=MIXER_LONG_NAME_CHARS)]
+ public string szName;
+ public int lMinimum;
+ public int lMaximum;
+ [MarshalAs(UnmanagedType.U4, SizeConst=10)]
+ public int reserved;
+ }
+
+ public struct MIXERCONTROLDETAILS
+ {
+ public int cbStruct;
+ public int dwControlID;
+ public int cChannels;
+ public int item;
+ public int cbDetails;
+ public IntPtr paDetails;
+ }
+
+ public struct MIXERCONTROLDETAILS_UNSIGNED
+ {
+ public int dwValue;
+ }
+
+ public struct MIXERLINE
+ {
+ public int cbStruct;
+ public int dwDestination;
+ public int dwSource;
+ public int dwLineID;
+ public int fdwLine;
+ public int dwUser;
+ public int dwComponentType;
+ public int cChannels;
+ public int cConnections;
+ public int cControls;
+ [MarshalAs(UnmanagedType.ByValTStr, SizeConst=MIXER_SHORT_NAME_CHARS)]
+ public string szShortName;
+ [MarshalAs(UnmanagedType.ByValTStr, SizeConst=MIXER_LONG_NAME_CHARS )]
+ public string szName;
+ public int dwType;
+ public int dwDeviceID;
+ public int wMid;
+ public int wPid;
+ public int vDriverVersion ;
+ [MarshalAs(UnmanagedType.ByValTStr, SizeConst=MAXPNAMELEN)]
+ public string szPname ;
+ }
+
+ public struct MIXERLINECONTROLS
+ {
+ public int cbStruct;
+ public int dwLineID;
+
+ public int dwControl;
+ public int cControls;
+ public int cbmxctrl;
+ public IntPtr pamxctrl;
+ }
+
+ private static bool GetVolumeControl(int hmixer, int componentType, int ctrlType, out MIXERCONTROL mxc, out int vCurrentVol)
+ {
+ // This function attempts to obtain a mixer control.
+ // Returns True if successful.
+ MIXERLINECONTROLS mxlc = new MIXERLINECONTROLS();
+ MIXERLINE mxl = new MIXERLINE();
+ MIXERCONTROLDETAILS pmxcd = new MIXERCONTROLDETAILS();
+ MIXERCONTROLDETAILS_UNSIGNED du = new MIXERCONTROLDETAILS_UNSIGNED();
+ mxc = new MIXERCONTROL();
+ int rc;
+ bool retValue;
+ vCurrentVol = -1;
+
+ mxl.cbStruct = Marshal.SizeOf(mxl);
+ mxl.dwComponentType = componentType;
+
+ rc = mixerGetLineInfoA(hmixer,ref mxl,MIXER_GETLINEINFOF_COMPONENTTYPE );
+
+ if(MMSYSERR_NOERROR == rc)
+ {
+ int sizeofMIXERCONTROL = 152;
+ int ctrl = Marshal.SizeOf(typeof(MIXERCONTROL));
+ mxlc.pamxctrl = Marshal.AllocCoTaskMem(sizeofMIXERCONTROL);
+ mxlc.cbStruct = Marshal.SizeOf(mxlc);
+ mxlc.dwLineID = mxl.dwLineID;
+ mxlc.dwControl = ctrlType;
+ mxlc.cControls = 1;
+ mxlc.cbmxctrl = sizeofMIXERCONTROL;
+
+ // Allocate a buffer for the control
+ mxc.cbStruct = sizeofMIXERCONTROL;
+
+ // Get the control
+ rc = mixerGetLineControlsA(hmixer,ref mxlc, MIXER_GETLINECONTROLSF_ONEBYTYPE);
+
+ if(MMSYSERR_NOERROR == rc)
+ {
+ retValue = true;
+
+ // Copy the control into the destination structure
+ mxc = (MIXERCONTROL)Marshal.PtrToStructure(mxlc.pamxctrl,typeof(MIXERCONTROL));
+ }
+ else
+ {
+ retValue = false;
+ }
+ int sizeofMIXERCONTROLDETAILS = Marshal.SizeOf(typeof(MIXERCONTROLDETAILS));
+ int sizeofMIXERCONTROLDETAILS_UNSIGNED = Marshal.SizeOf(typeof(MIXERCONTROLDETAILS_UNSIGNED));
+ pmxcd.cbStruct = sizeofMIXERCONTROLDETAILS;
+ pmxcd.dwControlID = mxc.dwControlID;
+ pmxcd.paDetails =
+
+ Marshal.AllocCoTaskMem(sizeofMIXERCONTROLDETAILS_UNSIGNED) ;
+ pmxcd.cChannels = 1;
+ pmxcd.item = 0;
+ pmxcd.cbDetails = sizeofMIXERCONTROLDETAILS_UNSIGNED;
+
+ rc = mixerGetControlDetailsA(hmixer,ref pmxcd, MIXER_GETCONTROLDETAILSF_VALUE);
+
+ du = (MIXERCONTROLDETAILS_UNSIGNED)Marshal.PtrToStructure( pmxcd.paDetails, typeof(MIXERCONTROLDETAILS_UNSIGNED));
+
+ vCurrentVol = du.dwValue;
+
+ return retValue;
+ }
+
+ retValue = false;
+ return retValue;
+ }
+
+ private static bool SetVolumeControl(int hmixer, MIXERCONTROL mxc, int volume)
+ {
+ // This function sets the value for a volume control.
+ // Returns True if successful
+
+ bool retValue;
+ int rc;
+ MIXERCONTROLDETAILS mxcd = new MIXERCONTROLDETAILS();
+ MIXERCONTROLDETAILS_UNSIGNED vol = new MIXERCONTROLDETAILS_UNSIGNED();
+
+ mxcd.item = 0;
+ mxcd.dwControlID = mxc.dwControlID;
+ mxcd.cbStruct = Marshal.SizeOf(mxcd);
+ mxcd.cbDetails = Marshal.SizeOf(vol);
+
+ // Allocate a buffer for the control value buffer
+ mxcd.cChannels = 1;
+ vol.dwValue = volume;
+
+ // Copy the data into the control value buffer
+ mxcd.paDetails = Marshal.AllocCoTaskMem(Marshal.SizeOf( typeof(MIXERCONTROLDETAILS_UNSIGNED)));
+ Marshal.StructureToPtr(vol, mxcd.paDetails,false);
+
+ // Set the control value
+ rc = mixerSetControlDetails(hmixer,ref mxcd, MIXER_SETCONTROLDETAILSF_VALUE);
+
+ if(MMSYSERR_NOERROR == rc)
+ {
+ retValue = true;
+ }
+ else
+ {
+ retValue = false;
+ } return retValue;
+ }
+
+ public static int GetVolume()
+ {
+ int mixer;
+ MIXERCONTROL volCtrl = new MIXERCONTROL();
+ int currentVol;
+ mixerOpen(out mixer,0 ,0 ,0, 0);
+ int type = MIXERCONTROL_CONTROLTYPE_VOLUME;
+ GetVolumeControl(mixer, MIXERLINE_COMPONENTTYPE_DST_SPEAKERS,type,out volCtrl, out currentVol);
+ mixerClose(mixer);
+
+ return currentVol;
+ }
+
+ public static int GetMinMaxVolume(out int iMin, out int iMax)
+ {
+ int mixer;
+ MIXERCONTROL volCtrl = new MIXERCONTROL();
+ int currentVol;
+ mixerOpen(out mixer,0 ,0 ,0, 0);
+ int type = MIXERCONTROL_CONTROLTYPE_VOLUME;
+ GetVolumeControl(mixer, MIXERLINE_COMPONENTTYPE_DST_SPEAKERS,type,out volCtrl, out currentVol);
+ mixerClose(mixer);
+ iMin = volCtrl.lMinimum;
+ iMax = volCtrl.lMaximum;
+ return currentVol;
+ }
+
+ public static void SetVolume(int vVolume)
+ {
+ int mixer;
+ MIXERCONTROL volCtrl = new MIXERCONTROL();
+ int currentVol;
+ mixerOpen(out mixer,0 ,0 ,0, 0);
+ int type = MIXERCONTROL_CONTROLTYPE_VOLUME;
+ GetVolumeControl(mixer, MIXERLINE_COMPONENTTYPE_DST_SPEAKERS,type,out volCtrl, out currentVol);
+ if(vVolume > volCtrl.lMaximum) vVolume = volCtrl.lMaximum;
+ if(vVolume < volCtrl.lMinimum) vVolume = volCtrl.lMinimum;
+ SetVolumeControl(mixer, volCtrl, vVolume);
+ GetVolumeControl(mixer, MIXERLINE_COMPONENTTYPE_DST_SPEAKERS,type,out volCtrl, out currentVol);
+ if(vVolume != currentVol)
+ {
+ throw new Exception("Cannot Set Volume");
+ }
+ mixerClose(mixer);
+ }
+ }
+}
Added: trunk/plugins/SPressoDisplayPlugin/Source/AControl2/Properties/AssemblyInfo.cs
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/Source/AControl2/Properties/AssemblyInfo.cs (rev 0)
+++ trunk/plugins/SPressoDisplayPlugin/Source/AControl2/Properties/AssemblyInfo.cs 2010-07-29 15:58:19 UTC (rev 3676)
@@ -0,0 +1,33 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("AControl2")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("AControl2")]
+[assembly: AssemblyCopyright("Copyright © Ruud Senden 2006-2010")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("4de7f669-be8e-453e-8753-0f9943e044be")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+[assembly: AssemblyVersion("2.1.0.0")]
+[assembly: AssemblyFileVersion("2.1.0.0")]
Added: trunk/plugins/SPressoDisplayPlugin/Source/AControl2/obj/Release/AControl2.csproj.FileListAbsolute.txt
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/Source/AControl2/obj/Release/AControl2.csproj.FileListAbsolute.txt (rev 0)
+++ trunk/plugins/SPressoDisplayPlugin/Source/AControl2/obj/Release/AControl2.csproj.FileListAbsolute.txt 2010-07-29 15:58:19 UTC (rev 3676)
@@ -0,0 +1,10 @@
+D:\Develop\MediaPortal\SPresso\Release\AControl2.exe
+D:\Develop\MediaPortal\SPresso\Source\AControl2\obj\Release\ResolveAssemblyReference.cache
+D:\Develop\MediaPortal\SPresso\Source\AControl2\obj\Release\AControl2.exe
+D:\Develop\MediaPortal\SPressoDisplayPlugin\Release\AControl2.exe
+D:\Develop\MediaPortal\SPressoDisplayPlugin\Source\AControl2\obj\Release\ResolveAssemblyReference.cache
+D:\Develop\MediaPortal\SPressoDisplayPlugin\Source\AControl2\obj\Release\AControl2.exe
+D:\Develop\MediaPortal\SPressoDisplayPlugin\Release\plugins\process\AControl2.exe
+D:\Development\MediaPortal\Plugins\SPressoDisplayPlugin\Release\plugins\process\AControl2.exe
+D:\Development\MediaPortal\Plugins\SPressoDisplayPlugin\Source\AControl2\obj\Release\ResolveAssemblyReference.cache
+D:\Development\MediaPortal\Plugins\SPressoDisplayPlugin\Source\AControl2\obj\Release\AControl2.exe
Added: trunk/plugins/SPressoDisplayPlugin/Source/AContr...
[truncated message content] |
|
From: <rs...@us...> - 2010-07-29 20:15:50
|
Revision: 3684
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=3684&view=rev
Author: rsenden
Date: 2010-07-29 20:15:43 +0000 (Thu, 29 Jul 2010)
Log Message:
-----------
Initial check-in of SPressoDisplayPlugin
Added Paths:
-----------
trunk/plugins/SPressoDisplayPlugin/README_files/
trunk/plugins/SPressoDisplayPlugin/README_files/colorschememapping.xml
trunk/plugins/SPressoDisplayPlugin/README_files/filelist.xml
trunk/plugins/SPressoDisplayPlugin/README_files/themedata.thmx
Added: trunk/plugins/SPressoDisplayPlugin/README_files/colorschememapping.xml
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/README_files/colorschememapping.xml (rev 0)
+++ trunk/plugins/SPressoDisplayPlugin/README_files/colorschememapping.xml 2010-07-29 20:15:43 UTC (rev 3684)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<a:clrMap xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/>
\ No newline at end of file
Added: trunk/plugins/SPressoDisplayPlugin/README_files/filelist.xml
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/README_files/filelist.xml (rev 0)
+++ trunk/plugins/SPressoDisplayPlugin/README_files/filelist.xml 2010-07-29 20:15:43 UTC (rev 3684)
@@ -0,0 +1,6 @@
+<xml xmlns:o="urn:schemas-microsoft-com:office:office">
+ <o:MainFile HRef="../README.HTML"/>
+ <o:File HRef="themedata.thmx"/>
+ <o:File HRef="colorschememapping.xml"/>
+ <o:File HRef="filelist.xml"/>
+</xml>
\ No newline at end of file
Added: trunk/plugins/SPressoDisplayPlugin/README_files/themedata.thmx
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/SPressoDisplayPlugin/README_files/themedata.thmx
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rs...@us...> - 2010-07-29 20:16:01
|
Revision: 3685
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=3685&view=rev
Author: rsenden
Date: 2010-07-29 20:15:55 +0000 (Thu, 29 Jul 2010)
Log Message:
-----------
Initial check-in of SPressoDisplayPlugin
Added Paths:
-----------
trunk/plugins/SPressoDisplayPlugin/HISTORY_files/
trunk/plugins/SPressoDisplayPlugin/HISTORY_files/colorschememapping.xml
trunk/plugins/SPressoDisplayPlugin/HISTORY_files/filelist.xml
trunk/plugins/SPressoDisplayPlugin/HISTORY_files/themedata.thmx
Added: trunk/plugins/SPressoDisplayPlugin/HISTORY_files/colorschememapping.xml
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/HISTORY_files/colorschememapping.xml (rev 0)
+++ trunk/plugins/SPressoDisplayPlugin/HISTORY_files/colorschememapping.xml 2010-07-29 20:15:55 UTC (rev 3685)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<a:clrMap xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/>
\ No newline at end of file
Added: trunk/plugins/SPressoDisplayPlugin/HISTORY_files/filelist.xml
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/HISTORY_files/filelist.xml (rev 0)
+++ trunk/plugins/SPressoDisplayPlugin/HISTORY_files/filelist.xml 2010-07-29 20:15:55 UTC (rev 3685)
@@ -0,0 +1,6 @@
+<xml xmlns:o="urn:schemas-microsoft-com:office:office">
+ <o:MainFile HRef="../HISTORY.HTML"/>
+ <o:File HRef="themedata.thmx"/>
+ <o:File HRef="colorschememapping.xml"/>
+ <o:File HRef="filelist.xml"/>
+</xml>
\ No newline at end of file
Added: trunk/plugins/SPressoDisplayPlugin/HISTORY_files/themedata.thmx
===================================================================
(Binary files differ)
Property changes on: trunk/plugins/SPressoDisplayPlugin/HISTORY_files/themedata.thmx
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <rs...@us...> - 2011-11-04 14:48:12
|
Revision: 4323
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=4323&view=rev
Author: rsenden
Date: 2011-11-04 14:48:05 +0000 (Fri, 04 Nov 2011)
Log Message:
-----------
Updated for MP 1.2.x compatibility
Modified Paths:
--------------
trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.mpe1
trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.xmp2
trunk/plugins/SPressoDisplayPlugin/README.HTML
trunk/plugins/SPressoDisplayPlugin/Release/plugins/process/AControl2.exe
trunk/plugins/SPressoDisplayPlugin/Release/plugins/process/SPressoDisplayPlugin.dll
trunk/plugins/SPressoDisplayPlugin/Release/test/SPressoTest.exe
trunk/plugins/SPressoDisplayPlugin/Source/AControl2/obj/Release/AControl2.exe
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/Properties/AssemblyInfo.cs
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/SPressoDisplayPlugin.csproj
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/SPressoDisplayPlugin.csproj.user
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/Settings.cs
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/Release/SPressoDisplayPlugin.csproj.GenerateResource.Cache
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin/obj/Release/SPressoDisplayPlugin.dll
trunk/plugins/SPressoDisplayPlugin/Source/SPressoDisplayPlugin.suo
trunk/plugins/SPressoDisplayPlugin/Source/SPressoTest/obj/Release/SPressoTest.exe
Modified: trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.mpe1
===================================================================
(Binary files differ)
Modified: trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.xmp2
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.xmp2 2011-11-04 14:04:43 UTC (rev 4322)
+++ trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.xmp2 2011-11-04 14:48:05 UTC (rev 4323)
@@ -4,6 +4,7 @@
<Groups>
<Items>
<GroupItem Name="Default">
+ <ParentGroup />
<DisplayName>Default</DisplayName>
<DefaulChecked>true</DefaulChecked>
<Description>Default</Description>
@@ -23,12 +24,12 @@
<ZipFileName>Installer{CopyFile}\{725a57da-2ead-4fe5-b720-599c7ad0802a}-SPressoDisplayPlugin.dll</ZipFileName>
<DestinationFilename>%Plugins%\process\SPressoDisplayPlugin.dll</DestinationFilename>
</FileItem>
- <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
<Param1 />
<UpdateOption>OverwriteIfOlder</UpdateOption>
<LocalFileName>..\Release\InputDeviceMappings\defaults\SPressoAFPD.xml</LocalFileName>
<ZipFileName>Installer{CopyFile}\{333717a9-871f-491e-a8ec-797e9f44208d}-SPressoAFPD.xml</ZipFileName>
- <DestinationFilename>%CustomInputDefault%\SPressoAFPD.xml</DestinationFilename>
+ <DestinationFilename>%Base%\defaults\InputDeviceMappings\SPressoAFPD.xml</DestinationFilename>
</FileItem>
</Items>
</Files>
@@ -261,8 +262,45 @@
</Items>
</Sections>
<Dependencies>
- <Items />
+ <Items>
+ <DependencyItem>
+ <Type>MediaPortal</Type>
+ <Id />
+ <MinVersion>
+ <Major>1</Major>
+ <Minor>1</Minor>
+ <Build>6</Build>
+ <Revision>27644</Revision>
+ </MinVersion>
+ <MaxVersion>
+ <Major>1</Major>
+ <Minor>1</Minor>
+ <Build>6</Build>
+ <Revision>27644</Revision>
+ </MaxVersion>
+ <WarnOnly>false</WarnOnly>
+ <Message>requires MediaPortal version 1.1.6.27644 to 1.1.6.27644.</Message>
+ <Name>MediaPortal</Name>
+ </DependencyItem>
+ </Items>
</Dependencies>
+ <PluginDependencies>
+ <Items>
+ <PluginDependencyItem AssemblyName="SPressoDisplayPlugin.dll">
+ <CompatibleVersion>
+ <Items>
+ <CompatibleVersionItem>
+ <MinRequiredVersion>1.1.6.27644</MinRequiredVersion>
+ <DesignedForVersion>1.1.6.27644</DesignedForVersion>
+ </CompatibleVersionItem>
+ </Items>
+ </CompatibleVersion>
+ <SubSystemsUsed>
+ <Items />
+ </SubSystemsUsed>
+ </PluginDependencyItem>
+ </Items>
+ </PluginDependencies>
<GeneralInfo>
<Name>SPressoDisplayPlugin</Name>
<Id>02fa2bda-53fe-4920-9e5a-72719fac7eee</Id>
@@ -272,17 +310,12 @@
<UpdateUrl>https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/plugins/SPressoDisplayPlugin/MPE/update.xml</UpdateUrl>
<Version>
<Major>2</Major>
- <Minor>1</Minor>
+ <Minor>2</Minor>
<Build>0</Build>
<Revision>0</Revision>
</Version>
<ExtensionDescription>This extension allows MediaPortal to update the front panel display on an Asus S-Presso barebone, and to react to front panel button presses.</ExtensionDescription>
- <VersionDescription>Version 2.1 includes the following changes:
-
-- Removed support for MediaPortal built-in TV Client (not supported anymore by MediaPortal 1.1.0)
-- AControl2 no longer shows date/time (may fix some interoperability issues between AControl2 and MediaPortal plugin)
-- Created MediaPortal Extension Installer package
-- Various smaller updates</VersionDescription>
+ <VersionDescription>Updated for MediaPortal 1.2.x</VersionDescription>
<DevelopmentStatus>Stable</DevelopmentStatus>
<OnlineLocation>https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/plugins/SPressoDisplayPlugin/MPE/SPressoDisplayPlugin.mpe1</OnlineLocation>
<ReleaseDate>2010-07-29T13:02:35.9879365+02:00</ReleaseDate>
@@ -336,41 +369,21 @@
<ZipFileName>Installer{CopyFile}\{725a57da-2ead-4fe5-b720-599c7ad0802a}-SPressoDisplayPlugin.dll</ZipFileName>
<DestinationFilename>%Plugins%\process\SPressoDisplayPlugin.dll</DestinationFilename>
</FileItem>
- <FileItem InstallType="CopyFile" SystemFile="false" Modified="false">
+ <FileItem InstallType="CopyFile" SystemFile="false" Modified="true">
<Param1 />
<UpdateOption>OverwriteIfOlder</UpdateOption>
<LocalFileName>..\Release\InputDeviceMappings\defaults\SPressoAFPD.xml</LocalFileName>
<ZipFileName>Installer{CopyFile}\{333717a9-871f-491e-a8ec-797e9f44208d}-SPressoAFPD.xml</ZipFileName>
- <DestinationFilename>%CustomInputDefault%\SPressoAFPD.xml</DestinationFilename>
+ <DestinationFilename>%Base%\defaults\InputDeviceMappings\SPressoAFPD.xml</DestinationFilename>
</FileItem>
</Items>
</UniqueFileList>
<ProjectSettings>
- <FolderGroups>
- <FolderGroup InstallType="CopyFile" SystemFile="false" Modified="true">
- <Param1 />
- <UpdateOption>OverwriteIfOlder</UpdateOption>
- <LocalFileName />
- <ZipFileName>Installer{CopyFile}\{8451714b-ac23-455d-a9c6-d07f57dbf6f9}-</ZipFileName>
- <DestinationFilename>%Plugins%\process</DestinationFilename>
- <Folder>..\Release\plugins\process</Folder>
- <Group>Default</Group>
- <Recursive>false</Recursive>
- </FolderGroup>
- <FolderGroup InstallType="CopyFile" SystemFile="false" Modified="true">
- <Param1 />
- <UpdateOption>OverwriteIfOlder</UpdateOption>
- <LocalFileName />
- <ZipFileName>Installer{CopyFile}\{338600a4-a888-4338-b765-ed47fb0848b4}-</ZipFileName>
- <DestinationFilename>%CustomInputDefault%</DestinationFilename>
- <Folder>..\Release\InputDeviceMappings\defaults</Folder>
- <Group>Default</Group>
- <Recursive>false</Recursive>
- </FolderGroup>
- </FolderGroups>
- <ProjectFilename>D:\Development\MediaPortal\Plugins\SPressoDisplayPlugin\MPE\SPressoDisplayPlugin.xmp2</ProjectFilename>
- <UpdatePath1 />
+ <FolderGroups />
+ <ProjectFilename>SPressoDisplayPlugin.xmp2</ProjectFilename>
+ <UpdatePath1>D:\Development\MediaPortal\Plugins\KeyboardInputPlugin\MPE\update.xml</UpdatePath1>
<UpdatePath2 />
<UpdatePath3 />
</ProjectSettings>
+ <IsSkin>false</IsSkin>
</PackageClass>
\ No newline at end of file
Modified: trunk/plugins/SPressoDisplayPlugin/README.HTML
===================================================================
--- trunk/plugins/SPressoDisplayPlugin/README.HTML 2011-11-04 14:04:43 UTC (rev 4322)
+++ trunk/plugins/SPressoDisplayPlugin/README.HTML 2011-11-04 14:48:05 UTC (rev 4323)
@@ -26,8 +26,6 @@
<link rel=colorSchemeMapping href="README_files/colorschememapping.xml">
<!--[if gte mso 9]><xml>
<w:WordDocument>
- <w:SpellingState>Clean</w:SpellingState>
- <w:GrammarState>Clean</w:GrammarState>
<w:TrackMoves>false</w:TrackMoves>
<w:TrackFormatting/>
<w:HyphenationZone>21</w:HyphenationZone>
@@ -234,12 +232,11 @@
mso-font-signature:0 0 0 0 0 0;}
@font-face
{font-family:Consolas;
- panose-1:0 0 0 0 0 0 0 0 0 0;
+ panose-1:2 11 6 9 2 2 4 3 2 4;
mso-font-charset:0;
- mso-generic-font-family:roman;
- mso-font-format:other;
- mso-font-pitch:auto;
- mso-font-signature:0 0 0 0 0 0;}
+ mso-generic-font-family:modern;
+ mso-font-pitch:fixed;
+ mso-font-signature:-520092929 1073806591 9 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
@@ -265,7 +262,7 @@
mso-outline-level:1;
font-size:16.0pt;
font-family:"Arial","sans-serif";
- mso-fareast-font-family:SimSun;
+ mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-font-kerning:16.0pt;}
h2
@@ -282,7 +279,7 @@
mso-outline-level:2;
font-size:14.0pt;
font-family:"Arial","sans-serif";
- mso-fareast-font-family:SimSun;
+ mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
font-style:italic;}
a:link, span.MsoHyperlink
@@ -314,7 +311,7 @@
font-family:"Cambria","serif";
mso-ascii-font-family:Cambria;
mso-ascii-theme-font:major-latin;
- mso-fareast-font-family:SimSun;
+ mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:major-fareast;
mso-hansi-font-family:Cambria;
mso-hansi-theme-font:major-latin;
@@ -334,7 +331,7 @@
font-family:"Cambria","serif";
mso-ascii-font-family:Cambria;
mso-ascii-theme-font:major-latin;
- mso-fareast-font-family:SimSun;
+ mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:major-fareast;
mso-hansi-font-family:Cambria;
mso-hansi-theme-font:major-latin;
@@ -350,15 +347,10 @@
mso-style-link:"Plain Text";
mso-ansi-font-size:10.5pt;
mso-bidi-font-size:10.5pt;
- font-family:"Consolas","serif";
+ font-family:Consolas;
mso-ascii-font-family:Consolas;
- mso-hansi-font-family:Consolas;}
-span.SpellE
- {mso-style-name:"";
- mso-spl-e:yes;}
-span.GramE
- {mso-style-name:"";
- mso-gram-e:yes;}
+ mso-hansi-font-family:Consolas;
+ mso-bidi-font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
@@ -375,8 +367,16 @@
{page:WordSection1;}
/* List Definitions */
@list l0
- {mso-list-id:6635120;
- mso-list-template-ids:75410220;}
+ {mso-list-id:573395997;
+ mso-list-template-ids:861022582;}
+@list l0:level1
+ {mso-level-number-format:bullet;
+ mso-level-text:\F0B7;
+ mso-level-tab-stop:36.0pt;
+ mso-level-number-position:left;
+ text-indent:-18.0pt;
+ mso-ansi-font-size:10.0pt;
+ font-family:Symbol;}
@list l1
{mso-list-id:894004367;
mso-list-type:hybrid;
@@ -418,113 +418,105 @@
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l2
+ {mso-list-id:1272275385;
+ mso-list-template-ids:-2072723930;}
+@list l2:level1
+ {mso-level-number-format:bullet;
+ mso-level-text:\F0B7;
+ mso-level-tab-stop:36.0pt;
+ mso-level-number-position:left;
+ text-indent:-18.0pt;
+ mso-ansi-font-size:10.0pt;
+ font-family:Symbol;}
+@list l3
+ {mso-list-id:1275290077;
+ mso-list-template-ids:866950128;}
+@list l4
{mso-list-id:1852068051;
mso-list-type:hybrid;
mso-list-template-ids:183894846 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
-@list l2:level1
+@list l4:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
-@list l2:level2
+@list l4:level2
{mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l2:level3
+@list l4:level3
{mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l2:level4
+@list l4:level4
{mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l2:level5
+@list l4:level5
{mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l2:level6
+@list l4:level6
{mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l2:level7
+@list l4:level7
{mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l2:level8
+@list l4:level8
{mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l2:level9
+@list l4:level9
{mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l3
- {mso-list-id:1852261567;
- mso-list-template-ids:113511196;}
-@list l3:level1
- {mso-level-number-format:bullet;
- mso-level-text:\F0B7;
- mso-level-tab-stop:36.0pt;
- mso-level-number-position:left;
- text-indent:-18.0pt;
- mso-ansi-font-size:10.0pt;
- font-family:Symbol;}
-@list l4
+@list l5
{mso-list-id:1933656922;
mso-list-type:hybrid;
mso-list-template-ids:1039941474 68354049 68354051 68354053 68354049 68354051 68354053 68354049 68354051 68354053;}
-@list l4:level1
+@list l5:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
-@list l4:level2
+@list l5:level2
{mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l4:level3
+@list l5:level3
{mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l4:level4
+@list l5:level4
{mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l4:level5
+@list l5:level5
{mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l4:level6
+@list l5:level6
{mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l4:level7
+@list l5:level7
{mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l4:level8
+@list l5:level8
{mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l4:level9
+@list l5:level9
{mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
-@list l5
- {mso-list-id:1956399818;
- mso-list-template-ids:-1303510286;}
-@list l5:level1
- {mso-level-number-format:bullet;
- mso-level-text:\F0B7;
- mso-level-tab-stop:36.0pt;
- mso-level-number-position:left;
- text-indent:-18.0pt;
- mso-ansi-font-size:10.0pt;
- font-family:Symbol;}
ol
{margin-bottom:0cm;}
ul
@@ -550,7 +542,7 @@
font-family:"Times New Roman","serif";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
- <o:shapedefaults v:ext="edit" spidmax="2050"/>
+ <o:shapedefaults v:ext="edit" spidmax="3074"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
@@ -568,15 +560,15 @@
mso-ansi-language:EN-GB'>License & Disclaimer<o:p></o:p></span></h2>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>Copyright
-(C) 2006-2008 <span class=SpellE>Ruud</span> <span class=SpellE>Senden</span><o:p></o:p></span></p>
+(C) 2006-2010 Ruud Senden<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><span
style='mso-spacerun:yes'>\xA0</span><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>This
Program is free software; you can redistribute it and/or modify it under the
-terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2, or (at your option) any later version.<o:p></o:p></span></p>
+terms of the GNU General Public License as published by the Free Software Foundation;
+either version 2, or (at your option) any later version.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><span
style='mso-spacerun:yes'>\xA0</span><o:p></o:p></span></p>
@@ -606,44 +598,38 @@
<h2><span lang=EN-GB style='mso-fareast-font-family:"Times New Roman";
mso-ansi-language:EN-GB'>Introduction<o:p></o:p></span></h2>
-<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>This is a <span
-class=SpellE>MediaPortal</span> <span class=SpellE>Plugin</span> for supporting
-various features of the Asus S-<span class=SpellE>Presso</span> S1-P111 <span
-class=SpellE>barebone</span>. This includes the following functionality:<o:p></o:p></span></p>
+<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>This is a
+MediaPortal Plugin for supporting various features of the Asus S-Presso S1-P111
+barebone. This includes the following functionality:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'><o:p> </o:p></span></p>
<ul style='margin-top:0cm' type=disc>
- <li class=MsoNormal style='mso-list:l4 level1 lfo3;tab-stops:list 36.0pt'><span
+ <li class=MsoNormal style='mso-list:l5 level1 lfo3;tab-stops:list 36.0pt'><span
lang=EN-GB style='mso-ansi-language:EN-GB'>Light the various mode icons
- based on the currently playing media or the current screen in <span
- class=SpellE>MediaPortal</span>.<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l4 level1 lfo3;tab-stops:list 36.0pt'><span
+ based on the currently playing media or the current screen in MediaPortal.<o:p></o:p></span></li>
+ <li class=MsoNormal style='mso-list:l5 level1 lfo3;tab-stops:list 36.0pt'><span
lang=EN-GB style='mso-ansi-language:EN-GB'>Light the Play, Pause and
- Record icons depending on the status of the <span class=SpellE>MediaPortal</span>
- player.<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l4 level1 lfo3;tab-stops:list 36.0pt'><span
+ Record icons depending on the status of the MediaPortal player.<o:p></o:p></span></li>
+ <li class=MsoNormal style='mso-list:l5 level1 lfo3;tab-stops:list 36.0pt'><span
lang=EN-GB style='mso-ansi-language:EN-GB'>Display the current time when
- the <span class=SpellE>MediaPortal</span> player isn't playing.<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l4 level1 lfo3;tab-stops:list 36.0pt'><span
+ the MediaPortal player isn't playing.<o:p></o:p></span></li>
+ <li class=MsoNormal style='mso-list:l5 level1 lfo3;tab-stops:list 36.0pt'><span
lang=EN-GB style='mso-ansi-language:EN-GB'>Display the elapsed time then
- the <span class=SpellE>MediaPortal</span> player is playing.<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l4 level1 lfo3;tab-stops:list 36.0pt'><span
+ the MediaPortal player is playing.<o:p></o:p></span></li>
+ <li class=MsoNormal style='mso-list:l5 level1 lfo3;tab-stops:list 36.0pt'><span
lang=EN-GB style='mso-ansi-language:EN-GB'>Perform actions when the front
panel buttons are pressed.<o:p></o:p></span></li>
</ul>
<h2><span lang=EN-GB style='mso-fareast-font-family:"Times New Roman";
-mso-ansi-language:EN-GB'>Supported <span class=SpellE>MediaPortal</span>
-versions<o:p></o:p></span></h2>
+mso-ansi-language:EN-GB'>Supported MediaPortal versions<o:p></o:p></span></h2>
-<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>This <span
-class=SpellE>plugin</span> has been compiled against the <span class=SpellE>MediaPortal</span>
-1.1.0 source code, and has also been tested against that version. However, it
-may also work for earlier and/or later <span class=SpellE>MediaPortal</span>
-versions. If you find that it works with any other version than <span
-class=SpellE>MediaPortal</span> 1.1.0, please post a message on the forum (see
-below).<o:p></o:p></span></p>
+<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>This plugin
+has been compiled against the MediaPortal 1.1.0 source code, and has also been
+tested against that version. However, it may also work for earlier and/or later
+MediaPortal versions. If you find that it works with any other version than
+MediaPortal 1.1.0, please post a message on the forum (see below).<o:p></o:p></span></p>
<h2><span lang=EN-GB style='mso-fareast-font-family:"Times New Roman";
mso-ansi-language:EN-GB'>Installation Instructions<o:p></o:p></span></h2>
@@ -652,49 +638,43 @@
<li class=MsoNormal style='mso-list:l1 level1 lfo6;tab-stops:list 36.0pt'><span
lang=EN-GB style='mso-ansi-language:EN-GB'>Make sure that the Asus Front
Panel Display utility has been installed. This is available on the Asus
- Support CD that came with your S-<span class=SpellE>Presso</span>. When
- installed, you should have files named AControl.exe, Afpd.dll and
- AFPDSet.exe in your c:\windows\system32 directory. If the required
- Afpd.dll and asusio.sys are not installed, the plug-in will not work.<o:p></o:p></span></li>
+ Support CD that came with your S-Presso. When installed, you should have
+ files named AControl.exe, Afpd.dll and AFPDSet.exe in your
+ c:\windows\system32 directory. If the required Afpd.dll and asusio.sys are
+ not installed, the plug-in will not work.<o:p></o:p></span></li>
<li class=MsoNormal style='mso-list:l1 level1 lfo6;tab-stops:list 36.0pt'><span
lang=EN-GB style='mso-ansi-language:EN-GB'>Install the extension using the
- <span class=SpellE>MediaPortal</span> Extension Installer, or perform the
- following manual installation steps:<o:p></o:p></span></li>
+ MediaPortal Extension Installer, or perform the following manual
+ installation steps:<o:p></o:p></span></li>
<ol style='margin-top:0cm' start=1 type=1>
<li class=MsoNormal style='mso-list:l1 level2 lfo6;tab-stops:list 72.0pt'><span
- lang=EN-GB style='mso-ansi-language:EN-GB'>Disable <span class=SpellE>autostart</span>
- of the Asus-supplied AControl.exe program, for example a utility like <span
- class=SpellE>Autoruns</span> from <span class=SpellE>SysInternals</span>
- can be used for this (<a
+ lang=EN-GB style='mso-ansi-language:EN-GB'>Disable autostart of the
+ Asus-supplied AControl.exe program, for example a utility like Autoruns
+ from SysInternals can be used for this (<a
href="http://www.sysinternals.com/Utilities/Autoruns.html">http://www.sysinternals.com/Utilities/Autoruns.html</a>).
The plug-in will not work correctly if the AControl.exe program is
running.<o:p></o:p></span></li>
<li class=MsoNormal style='mso-list:l1 level2 lfo6;tab-stops:list 72.0pt'><span
lang=EN-GB style='mso-ansi-language:EN-GB'>Copy the AControl2.exe
(replacement program for Asus AControl.exe) and SPressoDisplayPlugin.dll
- (<span class=SpellE>MediaPortal</span> <span class=SpellE>plugin</span>)
- files from the Release\<span class=SpellE>Plugins</span>\Process
- directory to your <span class=SpellE>MediaPortal</span> <span
- class=SpellE>Plugins</span>\Process directory.<o:p></o:p></span></li>
+ (MediaPortal plugin) files from the Release\Plugins\Process directory to
+ your MediaPortal Plugins\Process directory.<o:p></o:p></span></li>
<li class=MsoNormal style='mso-list:l1 level2 lfo6;tab-stops:list 72.0pt'><span
lang=EN-GB style='mso-ansi-language:EN-GB'>Copy the SPressoAFPD.xml file
- from the Release\<span class=SpellE>InputDeviceMappings</span>\defaults
- directory to your <span class=SpellE>MediaPortal</span> <span
- class=SpellE>InputDeviceMappings</span>\defaults folder.<o:p></o:p></span></li>
+ from the Release\InputDeviceMappings\defaults directory to your
+ MediaPortal InputDeviceMappings\defaults folder.<o:p></o:p></span></li>
<li class=MsoNormal style='mso-list:l1 level2 lfo6;tab-stops:list 72.0pt'><span
lang=EN-GB style='mso-ansi-language:EN-GB'>Add a shortcut to
- AControl2.exe to your Start -> All Programs -> <span class=SpellE>Startup</span>
- folder.<o:p></o:p></span></li>
+ AControl2.exe to your Start -> All Programs -> Startup folder.<o:p></o:p></span></li>
<li class=MsoNormal style='mso-list:l1 level2 lfo6;tab-stops:list 72.0pt'><span
- lang=EN-GB style='mso-ansi-language:EN-GB'>Restart your <span
- class=GramE>PC,</span> verify that the front panel display correctly
- displays volume and temperatures.<o:p></o:p></span></li>
+ lang=EN-GB style='mso-ansi-language:EN-GB'>Restart your PC, verify that
+ the front panel display correctly displays volume and temperatures.<o:p></o:p></span></li>
</ol>
<li class=MsoNormal style='mso-list:l1 level1 lfo6;tab-stops:list 36.0pt'><span
lang=EN-GB style='mso-ansi-language:EN-GB'>(Optional) Configure the
plug-in (see next section).<o:p></o:p></span></li>
<li class=MsoNormal style='mso-list:l1 level1 lfo6;tab-stops:list 36.0pt'><span
- lang=EN-GB style='mso-ansi-language:EN-GB'>Start <span class=SpellE>MediaPortal</span>.<o:p></o:p></span></li>
+ lang=EN-GB style='mso-ansi-language:EN-GB'>Start MediaPortal.<o:p></o:p></span></li>
</ol>
<h2><span lang=EN-GB style='mso-fareast-font-family:"Times New Roman";
@@ -702,49 +682,44 @@
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>The plug-in
is configurable via the plug-in configuration screen. This screen is available
-via <span class=SpellE>MediaPortal</span> Configuration -> <span
-class=SpellE>Plugins</span> -> Process <span class=SpellE>Plugins</span>
--> <span class=SpellE>SPressDisplayPlugin</span> -> Configure). The
-following configuration options are available:<o:p></o:p></span></p>
+via MediaPortal Configuration -> Plugins -> Process Plugins ->
+SPressDisplayPlugin -> Configure). The following configuration options are
+available:<o:p></o:p></span></p>
<ul style='margin-top:0cm' type=disc>
- <li class=MsoNormal style='mso-list:l2 level1 lfo9;tab-stops:list 36.0pt'><span
+ <li class=MsoNormal style='mso-list:l4 level1 lfo9;tab-stops:list 36.0pt'><span
lang=EN-GB style='mso-ansi-language:EN-GB'>Enable/disable extensive
logging.<br>
Enabling this option makes the plug-in write more debugging information to
- the <span class=SpellE>MediaPortal</span> log files. Please note however
- that this will result in multiple log messages per second being written to
- the log file, so this option should be used with care and only be enabled
- for short periods.<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l2 level1 lfo9;tab-stops:list 36.0pt'><span
+ the MediaPortal log files. Please note however that this will result in
+ multiple log messages per second being written to the log file, so this
+ option should be used with care and only be enabled for short periods.<o:p></o:p></span></li>
+ <li class=MsoNormal style='mso-list:l4 level1 lfo9;tab-stops:list 36.0pt'><span
lang=EN-GB style='mso-ansi-language:EN-GB'>Front Panel Button Mapping.<br>
- This button will pop up another screen similar to the standard <span
- class=SpellE>MediaPortal</span> Remote <span class=SpellE>Plugin</span>
- configuration screens. This screen lists all available front panel
- buttons, including the various mode changes. Using this screen, you can
- configure the actions for each button. Please refer to the <span
- class=SpellE>MediaPortal</span> documentation on Remote button mapping for
- more information about this configuration window.<o:p></o:p></span></li>
- <li class=MsoNormal style='mso-list:l2 level1 lfo9;tab-stops:list 36.0pt'><span
+ This button will pop up another screen similar to the standard MediaPortal
+ Remote Plugin configuration screens. This screen lists all available front
+ panel buttons, including the various mode changes. Using this screen, you
+ can configure the actions for each button. Please refer to the MediaPortal
+ documentation on Remote button mapping for more information about this
+ configuration window.<o:p></o:p></span></li>
+ <li class=MsoNormal style='mso-list:l4 level1 lfo9;tab-stops:list 36.0pt'><span
lang=EN-GB style='mso-ansi-language:EN-GB'>Window -> Mode Display
Mapping.<br>
This button will pop up another screen on which you can define a mapping
- between <span class=SpellE>MediaPortal</span> windows and the Mode
- indicators on the front panel display. For each individual <span
- class=SpellE>MediaPortal</span> window (including windows available in
- plug-ins), you can define which mode icon (e.g. DVD, VCD, etc) is lit on
- the front panel display.<o:p></o:p></span></li>
+ between MediaPortal windows and the Mode indicators on the front panel
+ display. For each individual MediaPortal window (including windows
+ available in plug-ins), you can define which mode icon (e.g. DVD, VCD,
+ etc) is lit on the front panel display.<o:p></o:p></span></li>
</ul>
<h2><span lang=EN-GB style='mso-fareast-font-family:"Times New Roman";
mso-ansi-language:EN-GB'>Other information<o:p></o:p></span></h2>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-GB'>A thread
-about this <span class=SpellE>plugin</span> has been started on the <span
-class=SpellE>MediaPortal</span> forum at <a
+about this plugin has been started on the MediaPortal forum at <a
href="http://forum.team-mediaportal.com/showthread.php?p=72281%20">http://forum.team-mediaportal.com/showthread.php?p=72281</a>.
-Please let me know there how this <span class=SpellE>plugin</span> works for
-you, and whether yo...
[truncated message content] |