|
JP1 Remotes
|
View previous topic :: View next topic |
Author |
Message |
gfb107 Expert
Joined: 03 Aug 2003 Posts: 3411 Location: Cary, NC |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21244 Location: Chicago, IL |
Posted: Wed Aug 17, 2005 7:41 am Post subject: |
|
|
But if RM has no concept of device types, how will you know what types to associate each letter with? _________________ 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 |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21244 Location: Chicago, IL |
Posted: Wed Aug 17, 2005 9:44 am Post subject: |
|
|
Greg, how are you handling protocols for the bin files? As I haven't completed the [Protocols] section of the Slingbox RDF yet, is RM including a protocol with all upgrades when you use the export to bin option? If it isn't, it probably should. Then to prevent that, we'll need to add most of the protocols to the RDFs until such time that we can acurrately determine which ones are really built in and which ones are not. _________________ 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 |
|
|
gfb107 Expert
Joined: 03 Aug 2003 Posts: 3411 Location: Cary, NC |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21244 Location: Chicago, IL |
Posted: Wed Aug 17, 2005 11:24 am Post subject: |
|
|
OK then, leave it as is for now, until I can get something to put in the RDFs. _________________ 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 |
|
|
gfb107 Expert
Joined: 03 Aug 2003 Posts: 3411 Location: Cary, NC |
Posted: Wed Aug 17, 2005 9:13 pm Post subject: |
|
|
The Robman wrote: | But if RM has no concept of device types, how will you know what types to associate each letter with? |
Once again, it'll just be a string lookup. RM knows the name of the device type, and can use that to find the abbreviation. So I'll just code the abbreviation look up table as you've documented above. If no abbreviation is found, I'll just use the whole name. _________________ -- 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 |
|
|
gfb107 Expert
Joined: 03 Aug 2003 Posts: 3411 Location: Cary, NC |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21244 Location: Chicago, IL |
Posted: Wed Aug 17, 2005 10:53 pm Post subject: |
|
|
gfb107 wrote: | Once again, it'll just be a string lookup. RM knows the name of the device type, and can use that to find the abbreviation. So I'll just code the abbreviation look up table as you've documented above. If no abbreviation is found, I'll just use the whole name. |
But what I was gettng at is this, suppose one RDF calls the Cable mode "CBL" and another calls it "CBL/SAT" and yet another calls it "Cable", how will RM know that they are all "Cable" and should use the "C" letter? That's why I actually came around to your original way of thinking, once you reminded me that RM doesn't know device types.
gfb107 wrote: | I noticed there's no abbreviation for DVD? I think it's Y, based on some of the .bin files you've shared. |
Sorry, I must have skipped that line for some reason. I've edited the original post to include DVD, and yes, it's "Y".
gfb107 wrote: | I think there are others missing as well. Aren't there 15 possible device types? |
There are only 10 types in this chip. It's missing the following types: Phono, Cassette, DAT and Misc Audio. I don't know what the letters are for each of those types, but I can probably find out. _________________ 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 |
|
|
gfb107 Expert
Joined: 03 Aug 2003 Posts: 3411 Location: Cary, NC |
Posted: Wed Aug 17, 2005 11:16 pm Post subject: |
|
|
OK, I'm back to putting it in the RDF.
I have a question though. It looks to me like it isn't the device type but the device type alias that is being abbreviated. I say this because Laserdisc isn't a device type, it's a device type alias (at least in the Slingbox RDF).
Assuming it is for the device type alias, we can just enhance the syntax of the DeviceTypeAliases section, 'cause I'm pretty sure IR doesn't use it.
We'll just append the abbreviation after the alias name, with a colon separating the name from the abbreviation.
Like this: Code: | [DeviceTypes]
Cable = 1,1
Sat = 2,3
VCR = 3,4
DVD = 4,6
CD = 6,9
Audio = 5
TV = 0
[DeviceTypeAliases]
Cable = Cable:C,Video Acc:N
Sat = SAT:S
VCR = VCR:V,Tape,Laserdisc:L,DAT
DVD = DVD:Y
CD = CD:D,Home Auto:H
Audio = Tuner,Misc Audio,Phono,Amp:AM
TV = TV:T |
If no abbreviation is provided in the RDF, the full alias name will be used instead.
Thoughts? _________________ -- 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 |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21244 Location: Chicago, IL |
Posted: Wed Aug 17, 2005 11:29 pm Post subject: |
|
|
gfb107 wrote: | I have a question though. It looks to me like it isn't the device type but the device type alias that is being abbreviated. I say this because Laserdisc isn't a device type, it's a device type alias (at least in the Slingbox RDF). |
Even though the Slingbox doesn't support those device types, the chip does. As mentioned earlier, I still need to add all the missing device types and keymaps to the RDFs. I didn't know these other types existed when I created the RDFs, so I lumped them in with the supported device types.
So, bottom line, they are real device types. The ones that would still be mixed in are the 4 missing ones. _________________ 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 |
|
|
gfb107 Expert
Joined: 03 Aug 2003 Posts: 3411 Location: Cary, NC |
Posted: Thu Aug 18, 2005 6:45 am Post subject: |
|
|
OK, so we'll just have to add a new section to the RDF. We'll call it DeviceAbbreviations. It will contain a comma separated list of the form type name=abbreviation. For example: Code: | [DeviceTypes]
Cable = 1,1
Sat = 2,3
VCR = 3,4
DVD = 4,6
CD = 6,9
Audio = 5
TV = 0
[DeviceAbbreviations]
Cable=C,Sat=S,VCR=V,DVD=Y,CD=D,TV=T |
Note: In my example, created using the device types in the Slingbox RDF, I didn't know the abbreviation for Audio, so I just left it out. _________________ -- 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 |
|
|
gfb107 Expert
Joined: 03 Aug 2003 Posts: 3411 Location: Cary, NC |
Posted: Thu Aug 18, 2005 8:08 am Post subject: |
|
|
Here's the latest test version of RemoteMaster.zip. This time it's a zip file, which contains RemoteMaster.jar and an rdf directory containing the two Slingbox RDFs. The RDFs should be copied to the directory where RM is configured to look for RDFs.
I've added support for parsing the DeviceAbbreviations section of the RDF, as described above. This is used for generating the default name for the exported binary file.
I've also added the ability to include protocol code in the exported binary file. This is disabled by default, but can be enabled in the Options menu. Once enabled, RM will remember it until it is turned off. _________________ -- 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 |
|
|
gfb107 Expert
Joined: 03 Aug 2003 Posts: 3411 Location: Cary, NC |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21244 Location: Chicago, IL |
Posted: Thu Aug 18, 2005 6:38 pm Post subject: |
|
|
The new Slingbox images look good. However you need to tweek the new file name logic because it's dropping the leading zero from the setup code when the setup code is less than 1000. _________________ 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 |
|
|
gfb107 Expert
Joined: 03 Aug 2003 Posts: 3411 Location: Cary, NC |
|
Back to top |
|
|
|
|
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
|