RMIR/IR.exe feature request - importing XML files
Moderator: Moderators
-
The Robman
- Site Owner
- Posts: 21944
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
RMIR/IR.exe feature request - importing XML files
Graham, would it be possible to add a new file type to the list that IR and/or RMIR can open? The new file type would be *.XML files that are created by people using their Slingbox to learn signals.
To this end, I have created a zip file that contains the following:
a) A sample XML file that contains learned signals
b) A dummy RDF that IR can use to process the XML file
c) A sample IR file that is what I would expect to see if I were to save the XML results as an IR file
https://www.hifi-remote.com/forums/dload ... le_id=8733
I have named the buttons in the RDF so they match the ones in the XML sample. When I get a complete list of the actual button names that we can expect to see in the XML files, I will update the RDF to match.
There is a deviceType parm in the XML data but I don't know what it means yet. I'm hoping that it will tell us the device type (eg, DVD, etc). If that turns out to be the case, I will also add that info to the RDF.
To this end, I have created a zip file that contains the following:
a) A sample XML file that contains learned signals
b) A dummy RDF that IR can use to process the XML file
c) A sample IR file that is what I would expect to see if I were to save the XML results as an IR file
https://www.hifi-remote.com/forums/dload ... le_id=8733
I have named the buttons in the RDF so they match the ones in the XML sample. When I get a complete list of the actual button names that we can expect to see in the XML files, I will update the RDF to match.
There is a deviceType parm in the XML data but I don't know what it means yet. I'm hoping that it will tell us the device type (eg, DVD, etc). If that turns out to be the case, I will also add that info to the RDF.
Last edited by The Robman on Wed Aug 04, 2010 1:31 pm, edited 1 time in total.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Is there a reason for not wanting this function in rmir? XML parsing is very easy in java
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
-
The Robman
- Site Owner
- Posts: 21944
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
No reason at all, if you think you can add it to RMIR, go for it.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
I am not currently planning any new features for IR.exe, but will bear it in mind for the future. At present my JP1 time is being spent on RMIR, working towards version 2.00, which Greg and I hope will be a big step forward towards it being a viable tool rather than a development prototype. My latest additions to it are Fav/Scan and Timed Macros.The Robman wrote:Graham, would it be possible to add a new file type to the list that IR can open? The new file type would be *.XML files that are created by people using their Slingbox to learn signals.
Graham
-
The Robman
- Site Owner
- Posts: 21944
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
Could you consider adding the feature to RMIR then please.mathdon wrote:I am not currently planning any new features for IR.exe, but will bear it in mind for the future. At present my JP1 time is being spent on RMIR, working towards version 2.00, which Greg and I hope will be a big step forward towards it being a viable tool rather than a development prototype. My latest additions to it are Fav/Scan and Timed Macros.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
-
alanrichey
- Expert
- Posts: 3533
- Joined: Mon Mar 24, 2008 7:14 am
- Location: UK/USA
Re: IR.exe feature request - importing XML files
I'll get those details for you in the next couple of days.The Robman wrote:When I get a complete list of the actual button names that we can expect to see in the XML files, I will update the RDF to match.
There is a deviceType parm in the XML data but I don't know what it means yet. I'm hoping that it will tell us the device type (eg, DVD, etc). If that turns out to be the case, I will also add that info to the RDF.
Al
-
alanrichey
- Expert
- Posts: 3533
- Joined: Mon Mar 24, 2008 7:14 am
- Location: UK/USA
Actually it only took a couple of hours
I have uploaded a picture of the Remote that is used when you learn the codes at betaremotes.com. Should help you understand the buttons.
https://www.hifi-remote.com/forums/dload ... le_id=8738
Right, Devicetypes that are used are as follows:
DVD player = 5
VCR = 3
DVR = 4
Satellite = 2
DVD Recorder = 6
Cable Box = 8
And the buttons that are learned, with their codes are
{deleted}
OK ?
I have uploaded a picture of the Remote that is used when you learn the codes at betaremotes.com. Should help you understand the buttons.
https://www.hifi-remote.com/forums/dload ... le_id=8738
Right, Devicetypes that are used are as follows:
DVD player = 5
VCR = 3
DVR = 4
Satellite = 2
DVD Recorder = 6
Cable Box = 8
And the buttons that are learned, with their codes are
{deleted}
OK ?
-
The Robman
- Site Owner
- Posts: 21944
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
Thanks Al. Can you confirm that these are the names that will appear in the XML files? For example, I see that Skip+ and Skip- actually show up in XML as "Skip Forward" and "Skip Back".
I've updated the RDF to include the info you posted.
I've updated the RDF to include the info you posted.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
-
alanrichey
- Expert
- Posts: 3533
- Joined: Mon Mar 24, 2008 7:14 am
- Location: UK/USA
Sorry, I wasn't thinking, I just copied from my PL RDF file.
Here it is again with the real names:
Power=1
Play=24
Stop=25
Pause=26
Rewind=27
Fast Forward=28
Record=29
Skip Forward=30
Skip Back=31
Guide=35
Menu=33
Back=36
Info=46
Up=38,
Down=39
Left=40
Right=41
OK=42
Live=32
DVR=34
Zoom=47
Red=74
Green=75
Yellow=76
Blue=77
Grey1 = 53
Grey2 = 54
Grey3 = 55
Grey4 = 56
Volup=6
Voldown=7
Page up=43
Page down+44
ChanUp=4
ChanDown=5
Mute=8
Jump=21
1=9
2=10
3=11
4=12
5=13
6=14
7=15
8=16
9=17
0=18
*= 22
# = 23
Clear=37
Enter=19
Here it is again with the real names:
Power=1
Play=24
Stop=25
Pause=26
Rewind=27
Fast Forward=28
Record=29
Skip Forward=30
Skip Back=31
Guide=35
Menu=33
Back=36
Info=46
Up=38,
Down=39
Left=40
Right=41
OK=42
Live=32
DVR=34
Zoom=47
Red=74
Green=75
Yellow=76
Blue=77
Grey1 = 53
Grey2 = 54
Grey3 = 55
Grey4 = 56
Volup=6
Voldown=7
Page up=43
Page down+44
ChanUp=4
ChanDown=5
Mute=8
Jump=21
1=9
2=10
3=11
4=12
5=13
6=14
7=15
8=16
9=17
0=18
*= 22
# = 23
Clear=37
Enter=19
-
The Robman
- Site Owner
- Posts: 21944
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
Can you or Graham give me some indication of whether you are considering adding this feature so I know whether I should be pursuing other options. Of course, if my first choice of IR or RMIR is not an option, my next choice would be IRScope or RM, which still leaves me with you two.gfb107 wrote:Is there a reason for not wanting this function in rmir? XML parsing is very easy in java
If you're not going to update any of those tools to handle these files, I'll need to see if someone would be willing to write a stand alone program to convert the XML files into IR files, so that users can look at their learned signals using RMIR or IR.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
I am planning to add this. I am traveling now so don't have much time for watching the forums.
The XML file has both the button name and the button code. I will most likely use the button code for parsing so getting the names exactly right isn't critical from that perspective
The XML file has both the button name and the button code. I will most likely use the button code for parsing so getting the names exactly right isn't critical from that perspective
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
-
The Robman
- Site Owner
- Posts: 21944
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
I hadn't noticed that the button code was there, so you're right, it would be better to parse for that.gfb107 wrote:The XML file has both the button name and the button code. I will most likely use the button code for parsing so getting the names exactly right isn't critical from that perspective
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Give v1.99c-preview2 a try.
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)