Wigster wrote:
> Now, the basic keys work ok (power, play, pause, shuffle, repeat,
> vollume up/down). However, as far as I can tell, KEY_NEXT and
> KEY_FORWARD have exactly the same actions: they move to the next track
> in the currently playing playlist. Same goes for KEY_BACK and
> KEY_REWIND: they skip the beginning of the current track, and then to
> the previous one. I was thinking that FORWARD/REWIND would skip within
> the track and NEXT/BACK would skip to the next/previous track. Is this
> something I can configure somewhere?
This requires a change to squeezelite to enable repeat for those keys.
Update squeezelite to 1.9.7-1270 from the picoreplayer webgui main tab.
Then pressing the key momentarily skips to the next/prev track and if
you hold either one LMS "scans" forward/back within the current track.
Wigster wrote:
> Also, how can I configure the numeric buttons to launch particular
> favourites? Right now KEY_1 etc do nothing apart from registering in
> Squeezelite.
You can push the "Favorites" button, then enter the number of a favorite
(something between 1 and 99), and then hit "Play" and squeezelte will
start playing the favorite.
Another option is to create a /home/tc/.lircrc file to map the KEY_1 to
KEY_6 to presets.
Code:
--------------------
begin
button = KEY_1
repeat = 1
prog = squeezelite
config = preset_1
end
begin
button = KEY_2
repeat = 1
prog = squeezelite
config = preset_2
end
begin
button = KEY_3
repeat = 1
prog = squeezelite
config = preset_3
end
begin
button = KEY_4
repeat = 1
prog = squeezelite
config = preset_4
end
begin
button = KEY_5
repeat = 1
prog = squeezelite
config = preset_5
end
begin
button = KEY_6
repeat = 1
prog = squeezelite
config = preset_6
end
--------------------
Pressing 1..6 will play the preset and holding the key will set the
currently playing track/stream to the preset. There are no
Slim_Devices_Remote IR codes in LMS for presets 7-10.
Also, note that I've removed the -c from the inputlircd command lines in
my instructions as I found squeezelite ignores "shifted" key codes.
+-------------------------------------------------------------------+
|Filename: dotlircrc.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31200|
+-------------------------------------------------------------------+
Ralphy
*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix