JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

RMIR/IR.exe feature request - importing XML files
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Tue Aug 03, 2010 4:04 pm    Post subject: RMIR/IR.exe feature request - importing XML files Reply with quote

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

http://www.hifi-remote.com/forums/dload.php?action=file&file_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.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!


Last edited by The Robman on Wed Aug 04, 2010 2:31 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
gfb107
Expert


Joined: 03 Aug 2003
Posts: 3411
Location: Cary, NC

                    
PostPosted: Tue Aug 03, 2010 6:31 pm    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message Visit poster's website
mdavej
Expert


Joined: 08 Oct 2003
Posts: 4500

                    
PostPosted: Tue Aug 03, 2010 7:30 pm    Post subject: Reply with quote

I second that motion, Greg. RMIR is a better fit for slingboxers anyway.

... and another RM request (OT, sorry, but this one is really easy). Can you make the default file open filter all (txt and rmdu)?
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Tue Aug 03, 2010 7:52 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message Visit poster's website
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4515
Location: Cambridge, UK

                    
PostPosted: Wed Aug 04, 2010 3:42 am    Post subject: Reply with quote

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.

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.
_________________
Graham
Back to top
View user's profile Send private message
wnewell



Joined: 13 Jan 2009
Posts: 158
Location: DFW, Texas

                    
PostPosted: Wed Aug 04, 2010 7:22 am    Post subject: Reply with quote

Someone should edit the JP1 Software tools locked sticky post from 2003 that doesn't mention RMIR and bring it up to date.
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Wed Aug 04, 2010 7:40 am    Post subject: Reply with quote

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.

Could you consider adding the feature to RMIR then please.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
alanrichey
Expert


Joined: 24 Mar 2008
Posts: 3529
Location: UK/USA

                    
PostPosted: Wed Aug 04, 2010 8:09 am    Post subject: Re: IR.exe feature request - importing XML files Reply with quote

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.


I'll get those details for you in the next couple of days.

Al
Back to top
View user's profile Send private message
alanrichey
Expert


Joined: 24 Mar 2008
Posts: 3529
Location: UK/USA

                    
PostPosted: Wed Aug 04, 2010 10:44 am    Post subject: Reply with quote

Actually it only took a couple of hours Smile

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.

http://www.hifi-remote.com/forums/dload.php?action=file&file_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 ?
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Wed Aug 04, 2010 11:17 am    Post subject: Reply with quote

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.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
alanrichey
Expert


Joined: 24 Mar 2008
Posts: 3529
Location: UK/USA

                    
PostPosted: Wed Aug 04, 2010 11:42 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Wed Aug 04, 2010 2:36 pm    Post subject: Reply with quote

gfb107 wrote:
Is there a reason for not wanting this function in rmir? XML parsing is very easy in java

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.

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!
Back to top
View user's profile Send private message Visit poster's website
gfb107
Expert


Joined: 03 Aug 2003
Posts: 3411
Location: Cary, NC

                    
PostPosted: Wed Aug 04, 2010 3:10 pm    Post subject: Reply with quote

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
_________________
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Wed Aug 04, 2010 4:45 pm    Post subject: Reply with quote

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

I hadn't noticed that the button code was there, so you're right, it would be better to parse for that.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
gfb107
Expert


Joined: 03 Aug 2003
Posts: 3411
Location: Cary, NC

                    
PostPosted: Thu Aug 19, 2010 9:53 pm    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control