Re: [SlimDevices: Plugins] Use your DirecTV Remote with your Squeezebox

2010-01-06 Thread maggior

I discovered last night that the remote with my newest DirecTV box is an
RC64.  It looks almost exactly like the RC32.  The only difference
appears to be some of the labelling on the buttons.  I programmed in the
code 20623 in it and it worked just like the RC32.

On another note, in the Custom.map file I disabled the press and hold
functionality for the numeric keys.  I realized after I posted the files
that this isn't necessary.  It's actually a residual change from a
different approach I was taking initially.  I don't personally use the
press and hold 1 to add to favorite 1, but if you do and you use these
files, you'll want to remote the lines that say 1.hold =  dead,
2.hold =  dead, etc.

If any interest is shown in this, I'll update the files in this thread
and I'll be happy to work with anybody that wants it to work a little
differently.  

Cheers!


-- 
maggior

Rich
-
Setup: 2 SB3s, 4 Booms, 1 duet, 1 receiver.  SuSE 11.0 Server running
SqueezeCenter 7.3.3, MusicIP, and SqueezeSlave.  
Current library stats: 30,015 songs, 2,448 albums, 451 artists.
http://www.last.fm/user/maggior

maggior's Profile: http://forums.slimdevices.com/member.php?userid=9080
View this thread: http://forums.slimdevices.com/showthread.php?t=73546

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Use your DirecTV Remote with your Squeezebox

2010-01-05 Thread maggior

For reference, here is a picture of the remote.  If you have a remote
that looks like this but is a different model, give it a try and let me
know.  I can't imagine that they would remove sets of IR codes with
newer models.

Cheers!


+---+
|Filename: DIRRC32-2.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=8976|
+---+

-- 
maggior

Rich
-
Setup: 2 SB3s, 4 Booms, 1 duet, 1 receiver.  SuSE 11.0 Server running
SqueezeCenter 7.3.3, MusicIP, and SqueezeSlave.  
Current library stats: 30,015 songs, 2,448 albums, 451 artists.
http://www.last.fm/user/maggior

maggior's Profile: http://forums.slimdevices.com/member.php?userid=9080
View this thread: http://forums.slimdevices.com/showthread.php?t=73546

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] Use your DirecTV Remote with your Squeezebox

2010-01-04 Thread maggior

I recently purchased a Boom for our bedroom which places an SB3 (aka
Classic) and a Boom in the same room.  This brings about the problem of
controlling one squeezebox and not affecting the other.  As many of you
are aware, the way to handle this is to configure one of the
squeezeboxes to use the JVC DVD player control IR codes.

I don't own any universal remotes or JVC DVD players, but I do have
DirecTV.  The remotes that I have for my boxes are programmable.  So,
rather than add a remote, I decided to try to get my DirecTV remote to
work with my squeezebox. 

I got something to work that I have found useful.  I think others may
find this useful too, so I thought I'd post my files.

It occurs to me as I write this that this could be useful with Booms as
well since it's remote has limited functionality. 

Before I describe how to set this up, let me explain how the remote is
laid out as I've set it up.  You will see that it isn't exactly the most
intuitive layout.  This is largely because many of the buttons on the
remote are not active when AV1 or AV2 is selected.  Other buttons will
only control your TV no matter what mode is selected.  For this reason,
the volume up/down, channel up/down, mute, and prev buttons don't work
when controlling another device, so they couldn't be used here.

Here is the mapping of the buttons:
DTV.SB Equivalent
=
PWR.POWER
PAUSE...PAUSE
RWNDREW
REPEAT..VOL Down
STOPSTOP
NEXTVOL Up
FFWDFWD
PLAYPLAY
EXITBRIGHTNESS
MENUNOW_PLAYING
ARROW UPARROW UP
ARROW RIGHT.ARROW RIGHT
ARROW_DOWN..ARROW DOWN
ARROW_LEFT..ARROW LEFT
SELECT..ADD

1...FAVORITES
2...SLEEP
3...SEARCH
4...BROWSE
5...SHUFFLE
6...REPEAT
7...NOW PLAYING
8...SIZE
9...BRIGHTNESS

A quick note on the button names.  The REPEAT button is the one in
between the rewind and stop buttons.  The NEXT button is the one in
between the stop and fast forward buttons.

Unfortunately, the buttons GUIDE, ACTIVE, LIST, BACK, and INFO are not
active on the DTV remote when set to an AV mode.  This is why only EXIT
and MENU are used in my mapping.

The rational behind the number key layout is that the bottom 3 rows of
buttons on the SB candy bar remote are mapped to the top 3 rows of
number keys on the DTV remote, except for 2.  This is where the 0 would
be on the candy bar remote.  I mapped this to the oddball button of
sleep.  If you look at the two remotes and examine the mapping, you will
see what I mean.

I chose to do the number key mapping because I only use the number
buttons when performing searches (which is actually rare).  Even though
I've overridden the functionality here, they will continue to work in
this way when in search mode.  I have not done any other testing of the
number buttons.


OK, now for the nitty gritty details.  The DTV remote model that I have
is the RC32.  I believe this to be pretty common.  I also am running
Linux, so the files are Linux format.  If you are a Windows user, these
will most likely work.  When editing them, use an editor that can edit
Linux files.  Wordpad can handle this.  I am also running 7.3.3 of
squeezecenter.  I don't know how this will work on the current 7.4.x
lines.

1) Program your DTV remote
- Slid the AV switch on top to AV1 or AV2
- Press mute and select at the same time and wait for the light to
flash 2 times.
- enter the code 20623

2) Copy the files from the attached archive (Custom.map and
dtv_jvc_dvd.ir) to the directory /usr/share/squeezecenter/IR

3) Using the web UI, go to the settings of the player you wish to
control with your DTV remote.  Use the dropdown to get to the remote
settings.  Check the box dtv_jvc_dvd.  Uncheck Slim_Devices_Remote
and jvc_dvd if you want to control the squeezebox exclusively with the
DTV remote.  For Remote Button Functions, select custom.

4) Restart squeezecenter with the command /etc/init.d/squeezecetner
restart.

The remote should now be functional.  As a quick test, press the PWR
button on the DTV remote with the AV slide switch set to the appropriate
setting.  This should power your squeezebox on and off.

For windows and Mac users, you need to program the DTV remote the same
way.  Search for the IR directory and put the files there.  Start and
stop squeezecenter however you normally do for your environment.

If you find this useful, great!  Let me know if you have any
suggestions.

Enjoy!


+---+
|Filename: DTV_Remote_IR.zip|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=8969|
+---+

-- 
maggior

Rich
-
Setup: 2 SB3s, 4 Booms, 1