Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2020-01-15 Thread ovonrein


Argh!  After a recent system update, my Touch updated its firmware and I
was back to the unpatched Fallback Alarm.  And did not I know it when
the disco beat hit me at full blast.  So I spent hours googling around,
for I had lost the bookmark from when I originally patched it years ago.
Finally I found it again here.  So I thought I add a post to summarize
from this thread the steps necessary on Windows 10 to drop the volume:

To enable access on the Touch (cf post #4):
Home > Settings > Advanced > Remote Login > Enable SSH

the Touch will reveal its IP, eg 192.168.1.42

To access the thus enabled Touch from Windows 10, from the CMD shell
run:
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -caes128-cbc
root@192.168.1.42

Once logged into the Touch (cf post #1)
# cd /usr/share/jive/applets/AlarmSnooze
# vi AlarmSnoozeApplet.lua

When inside the vi editor, scroll down (or type "/soundFall" ENTER) to 

function soundFallbackAlarm(self)
log:warn("*** Alarm: soundFallbackAlarm()")
self.alarmVolume = 43 -- forget fade in stuff, just do it - it's
an alarm!
-- cache previous volume setting

Navigate to the 43, DEL DEL. 
Press "i" to insert your preferred volume level (eg 12).  ESC.  You
should now have eg

self.alarmVolume = 12 -- forget fade in stuff, just do it - it's
an alarm!

Enter ":wq" to write the file and quit.
# exit

PS:  I cannot understand why after all these years this volume parameter
has not made it into the Settings/Players/Advanced in LMS.  This is
really an arcane procedure to patch a volume level.



ovonrein's Profile: http://forums.slimdevices.com/member.php?userid=2130
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-09-13 Thread adamslim

My attempt to patch it failed in the same way.

I shall ssh into my consumer device, LOL


-- 
adamslim

You can't have too much music, but I do have too much hifi

Rock/Excalibur/MC30S, Touch, Caiman, Audion Pre, 6B4G SET, Lowther
monsters
SB3, Charlize 2, One Thing Quad ESLs
Boom x 2, Radio

adamslim's Profile: http://forums.slimdevices.com/member.php?userid=7355
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-05-02 Thread Kooorpen

erland;542570 Wrote: 
> Which firmware version are you using ? (See Settings/Advanced/About)
> 1.Have you edited the file manually yourself earlier ? If you have, you
> will have to restore it to how it looked originally first, either by
> manually editing the file or doing a factory reset.
> 
> 2.Did it really say "Patch not installed, contact." ?
> Or did you mean "Patch not applied, failure during patching. For more
> information see /tmp/PatchInstaller.rej" ?

1. Yes I did, sorry :(
2. Yes it said just so. :(
Thank you anyhow for the patch. Many users are surely helped by it.


-- 
Kooorpen

Kooorpen's Profile: http://forums.slimdevices.com/member.php?userid=37379
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-05-02 Thread erland

Kooorpen;542550 Wrote: 
> Hey,
> Followed your steps above, but after installation the message was
> "Patch not installed, contact..." What am I doing wrong or is there
> things here that´s not compatible. I don´t know.
> 
Which firmware version are you using ? (See Settings/Advanced/About)
Have you edited the file manually yourself earlier ? If you have, you
will have to restore it to how it looked originally first, either by
manually editing the file or doing a factory reset.

Did it really say "Patch not installed, contact." ?
Or did you mean "Patch not applied, failure during patching. For more
information see /tmp/PatchInstaller.rej" ?


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-05-02 Thread Kooorpen

erland;542496 Wrote: 
> For anyone using 7.5, I've now added a patch for this that can be
> installed through the third party Patch Installer applet. 
> 
> 1. Install the third party Patch Installer applet through
> Settings/Advanced/Applet Installer
> 2. Install the "Low Volume Fallback Alarm" patch through
> Settings/Advanced/Patch Installer (you have to uncheck the "Recommended
> Patches Only" checkbox to be able to see it)
> 
> The patch will change the volume to 20 instead of the default 43.
> The Patch Installer applet requires 7.5, so this procedure won't work
> for users using 7.4.* or earlier releases.
Hey,
Followed your steps above, but after installation the message was
"Patch not installed, contact..." What am I doing wrong or is there
things here that´s not compatible. I don´t know.


-- 
Kooorpen

Kooorpen's Profile: http://forums.slimdevices.com/member.php?userid=37379
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-05-02 Thread PeterPeter

When I try to select "Patch installer" nothing happens and there is no
"Recommended Patches Only" option visible.

Pete


-- 
PeterPeter

PeterPeter's Profile: http://forums.slimdevices.com/member.php?userid=37416
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-05-02 Thread erland

PeterPeter;542535 Wrote: 
> Hi Erland, does your low volume for the fallback alarm applet work with
> 7.5.1 as I cannot find it, "Recommended Applets Only" is unchecked and
> I can see other applets including your own but no  low volume fallback
> alarm.
> 
It's not in "Applet Installer" it's in "Patch Installer" menu, you will
get that menu after installing the Patch Installer applet.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-05-02 Thread PeterPeter

Hi Erland, does your low volume for the fallback alarm applet work with
7.5.1 as I cannot find it, "Recommended Applets Only" is unchecked and
I can see other applets including your own but no  low volume fallback
alarm.

Regards Pete


-- 
PeterPeter

PeterPeter's Profile: http://forums.slimdevices.com/member.php?userid=37416
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-05-02 Thread erland

For anyone using 7.5, I've now added a patch for this that can be
installed through the third party Patch Installer applet. 

1. Install the third party Patch Installer applet through
Settings/Advanced/Applet Installer
2. Install the "Low Volume Fallback Alarm" patch through
Settings/Advanced/Patch Installer (you have to uncheck the "Recommended
Patches Only" checkbox to be able to see it)

The patch will change the volume to 20 instead of the default 43.
The Patch Installer applet requires 7.5, so this procedure won't work
for users using 7.4.* or earlier releases.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-04-20 Thread Jakearama

My pleasure!

Jakearama. :)


-- 
Jakearama

Jakearama's Profile: http://forums.slimdevices.com/member.php?userid=2686
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-04-20 Thread localhorst

Woo - that easy (slaps himself)! Thanks a million, Jakearama! :)


-- 
localhorst

Neu online: das unabhängige 'Squeezebox Forum'
(http://www.squeezebox-forum.de)

localhorst's Profile: http://forums.slimdevices.com/member.php?userid=36446
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-04-20 Thread Jakearama

localhorst;537929 Wrote: 
> How did you get on the Radio with WinSCP? All i get is:

Just change the "File Protocol" type on the WinSCP login screen to
"SCP" (see the attached jpeg).

Ignore any error messages and away you go!

Jakearama.


+---+
|Filename: Winscp_Login[1].jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=9711|
+---+

-- 
Jakearama

Jakearama's Profile: http://forums.slimdevices.com/member.php?userid=2686
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-04-20 Thread localhorst

Jakearama;537924 Wrote: 
> 2. From your PC, use a program like WINSCP to SSH into the IP address of
> the Radio

How did you get on the Radio with WinSCP? All i get is:
> Cannot initialize SFTP protocol. Is the host running a SFTP server?


-- 
localhorst

Neu online: das unabhängige 'Squeezebox Forum'
(http://www.squeezebox-forum.de)

localhorst's Profile: http://forums.slimdevices.com/member.php?userid=36446
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-04-20 Thread Jakearama

Here is some useful information should you want to replace the
Jingle-Jangle standard fallback alarm with your own MP3 (I've put
together parts of what has been posted by others and what I found on
the net, because I thought it would be useful to have this in this
thread as well). One word of caution, be certain the file size of your
replacement alarm.mp3 is roughly the same as the fallback alarm.mp3
(not megs in size) as you may use up all available memory in the
Radio.

To access the Squeezebox Radio via SSH:

1. On the Radio, choose "Home > Settings > Advanced > Remote Login >
Enable SSH". You should see a message telling you the root password and
IP address. If you don't see the message, restart your Radio and try
again.

2. From your PC, use a program like WINSCP to SSH into the IP address
of the Radio

3. Enter "root" (without quotes) as the user and enter the password
displayed on the Radio when you "enable ssh" (the default is
"1234"(without quotes)).

Once you are in via SSH, you can find the default alarm.mp3 at the
location:

/usr/share/jive/applets/AlarmSnooze/alarm.mp3

Simply copy your alarm.mp3 to this location and replace the default. It
is also a good idea to reduce the fallback alarm volume as indicated in
this thread as I found it was playing even my "replacement" fallback
alarm.mp3 at heart attack levels!!

Worked like a charm for me, no more Jingle-Jangle!

Good Luck!!!

Jakearama.


-- 
Jakearama

Jakearama's Profile: http://forums.slimdevices.com/member.php?userid=2686
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-04-20 Thread localhorst

Nice one - thanks gerko! I already had a few heard attacks because of
this. ;)
This should be in future an editable option on the radio itself or on
the server.


-- 
localhorst

Neu online: das unabhängige 'Squeezebox Forum'
(http://www.squeezebox-forum.de)

localhorst's Profile: http://forums.slimdevices.com/member.php?userid=36446
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


Re: [SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-04-19 Thread simsboard

I'm posting to this very useful thread just to keep it up!

best regards!
simsboard


-- 
simsboard

so far only 1x Squeezebox Radio
mainly used with mysb.com
http://www.lastfm.de/user/weanabazi

simsboard's Profile: http://forums.slimdevices.com/member.php?userid=33135
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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


[SlimDevices: Radio] Workaround for too loud fallback alarm: change volume

2010-04-15 Thread gerko

The fallback alarm is ringing the last week many times. This alarm is
too loud. 
One option is to change the alarm.mp3 file, but another one is to
change the volume setting:

1. Log in to the radio using ssh
2. Edit the AlarmSnoozeApplet file: 
vi /usr/share/jive/applets/AlarmSnooze/AlarmSnoozeApplet.lua
3. search for volume (/volume)
You will find this function:
function soundFallbackAlarm(self)
log:warn("soundFallbackAlarm()")
self.localPlayer:volumeLocal(43)
self.localPlayer:stop(true)
self.alarmInProgress = 'rtc'
self.localPlayer:playFileInLoop(self.alarmTone)
end
4. change the value of 43 to a lower one, e.g. 20:
self.localPlayer:volumeLocal(20)
5. save the file and you don't wake up with a heart-attack-alarm

Hopefully you don't need the fallback alarm.


-- 
gerko

gerko's Profile: http://forums.slimdevices.com/member.php?userid=34933
View this thread: http://forums.slimdevices.com/showthread.php?t=77403

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