Jump to content
Flirc Forums
Sign in to follow this  
cladmonitor

XML Configuration files with Validation

Recommended Posts

Backstory:

So 24 hours in and I have my Flirc doing everything I want (Ill make the appropriate thank you in another post). I wish I could say the experience of setting it up didn't come with a few speed bumps. 

 

I ended up running into an issue where the Flirc would program on my Windows 7 box but when I'd get it on my XBMCbuntu system it wouldn't respond. I tried all the USB ports (some are on different hubs) but alas it would not work. I tried rebooting several times, I tried re-flashing / wiping then re-importing / upgrading-fw / downgrading-fw, nothing helped ... finally I tired a very simple setup (arrows only) and it seemed to be fine. So, I decided to watch the raw input and noticed that the device would initialize in linux but the first time I sent an IR command the driver would crash and the input would disconnect with my full config.

 

At this point I had to simply go through and re-map all my keys and custom buttons from my Harmony One

 

Suggestions:

 

Basically all this is why I think some sort of configuration validator would have fixed this, obviously there was something in the config that was not correct. The reason for XML would be:

1) XML would make it easy for an advanced end-user to look through config, manually edit and fix issues.

2) XML validation could pick up on 99% config errors.

3) XML would make it easy to share configuration (mappings) with other users via the forum. 

 

Thanks,
Clad

 

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...