| |||||||
| General Support Post problems you have when using MediaPortal, or pre installation questions in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member | MediaPortal Version: 0.2.1.0 Windows Version: Windows XP Professional SP2 CPU Type: Intel Pentium III 700 HDD: Samsung 80MiB E-IDE Memory: 640 MiB SDR Motherboard: Gigabyte BX2000 Motherboard Chipset: Intel 440BX Motherboard Bios: n/a Video Card: HIS Radeon 9550 Video Card Driver: Sound Card: Soundblaster PCI 1024 Sound Card AC3: Sound Card Driver: 1. TV Card: n/a 1. TV Card Type: n/a 1. TV Card Driver: n/a 2. TV Card: n/a 2. TV Card Type: n/a 2. TV Card Driver: n/a 3. TV Card: n/a 3. TV Card Type: n/a 3. TV Card Driver: n/a 4. TV Card: n/a 4. TV Card Type: n/a 4. TV Card Driver: n/a MPEG2 Video Codec: n/a MPEG2 Audio Codec: n/a Satelite/CableTV Provider: n/a HTPC Case: Simple Desktop Cooling: Fanless Power Supply: Remote: Medion MD 41169 via IRMan TV: 4:3 CRT TV - HTPC Connection: SCART (Peritel) Hi, I just updated to MP 0.2.1.0. When I try to learn remote commands in the configuration app, all seems ok - pressing the remote keys again shows the correct action. But when closing and reopening the config app all learnings are _lost_. It's reproducible anytime. As far as I can see the learned commands aren't stored anymore, in earlier versions of MP (0.2.0.0 and backwards) this was done in a file called 'remotevalues.xml'. But such a file is neither read nor written in MP 0.2.1.0. Any ideas? Please help - remoting is a fundamental thing of a mediacenter.... <edit> Reproduction: 1. Goto Remote -> SerialUIR in the cnfig app 2. Learn some commands and verify that learing was successful 3. Close and reopen config app, previously learned commands are _lost_ 4. You can repeat this several times, but the result is the same The latest svn-snapshot also doesn't resolve this issue. </edit> Regards, moh Last edited by moh; 2006-10-30 at 21:14. |
| | |
| | #2 (permalink) |
| Portal Member | Ok, did a little bit more investigation on this. It seems that the private contructor (singleton?) of the SerialUIR.cs Code: private SerialUIR()
{
remotefile = Config.GetFile(Config.Dir.Config, "remotevalues.xml");
}
And because the persistor and loader which make use of this variable are encapsulated in try-catch-blocks without handling an exception the config-app behaves normal - but internally that part goes wrong. Code: public void SaveInternalValues()
{
try
{
System.Xml.XmlTextWriter writer = new System.Xml.XmlTextWriter(remotefile, System.Text.Encoding.Unicode);
writer.WriteStartElement("docElement");
foreach(string key in commandsLearned.Keys)
{
writer.WriteStartElement("entry");
writer.WriteAttributeString("actionInt", ((int)commandsLearned[key]).ToString());
writer.WriteAttributeString("actionDescription", (commandsLearned[key]).ToString());
writer.WriteString(key);
writer.WriteEndElement();
}
writer.WriteEndElement();
writer.Close();
}
catch(Exception)
{
}
}
TIA, moh |
| | |
| | #3 (permalink) |
| Portal Member | Ok, seems that I'm wrong here, reposted this in the QA-area: [Remoting] Store/Load learned events doesn't work anymore Sorry, moh |
| | |
![]() |
| Bookmarks |
| Tags |
| commands, learning, remote |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pinnacle MediaCenter 100i Remote | kadafi | General Support | 28 | 2007-02-06 19:57 |
| Zalman MCE remote does not work on MP | constantinos | General Support | 4 | 2006-12-29 22:10 |
| Getting Hauppauge Remote for NOVA-T-500 to work | Sh4nn0w | Tips and Tricks | 1 | 2006-12-17 18:02 |
| MCE remote via IrTrans not working since RC3+cvn_15/04/06 | guytpetj | The old Bugreport Forum | 16 | 2006-09-12 19:38 |
| [0.1.3.0] MCE remote : some buttons don't work | scoobidoo | The old Bugreport Forum | 62 | 2005-11-01 11:07 |