Bugzilla – Bug 15040
backup alarm playing instead of internet radio station, internet connection up and runnning
Last modified: 2010-03-29 08:23:14 UTC
3/5 times the alarm on my SB Radio won't play the internet radio station that i selected but instead a "backup alarm". when i then press the preset button for the station that should be playing it's immediately available and plays. it would be nice if the SB Radio could just try a bit longer to get the stream.
Dirk: does your ISP change your IP address on you? see bug 14870, I feel this may be a dupe of that bug
very rarely, only when i power-cycle my cable modem --- i just checked in the log of my router and its IP address has been stable for at least the last two weeks, which is longer than i have the SB radio. i'm attaching my SB Radio's /var/log/messages in case that might help. the alarm was set for 7:00 this morning (2009-11-04 local time, which was still yesterday your time). the Nov 4 07:02:24 squeezeplay: INFO audio.decode - Playback.lua:413 connect 82.197.180.12:80 GET /1/regi_zentr/mp3_128 HTTP/1.0^M line is me pressing the preset button for the radio station after i got the fallback alarm at 7:00.
Created attachment 6275 [details] SB radio's /var/log/messages alarm was set for 7:00 to play Internet radio station, got fallback alarm instead. when, at 7:02, i pressed the preset button for the radio station i wanted to hear, it came on instantaneously.
*** This bug has been marked as a duplicate of bug 11611 ***
This isn't a duplicate of of 11611 at all. It is a totally different bug: 11611 involves the backup alarm /not/ firing when there is no connectivity; this one involves it firing too quickly when there is. The fix is really simple if somebody knows where it goes: all that needs to happen is that the connectivity test needs to be lengthened--currently, on my ISP with good connectivity, the backup alarm fire at just faster than the average connection time (if I find a station that has a fast server, I can beat the backup alarm, in most cases I can't, but I suspect it is a question of a second or two at most). What needs to happen in the short term is the time-out needs to be lengthened (or instructions posted here for how to manually lengthen the time-out. I would say a time-out of 59 seconds would be great and solve most of the problems. In the long term, it would be nice to add a "fall back timeout" option to the alarm screen so that people could customise it to what they were comfortable with. I poked around in the alarm.lua but couldn't find the line where the timeout is set (and don't really know the language). If somebody could help me find where the timeout is set, the bug would be fixed right away and we could get a patch up.
(In reply to comment #4) > *** This bug has been marked as a duplicate of bug 11611 *** IS there a way of changing the status of this? It really isn't a duplicate of 11611.
(In reply to comment #3) > Created an attachment (id=6275) [details] > SB radio's /var/log/messages > > alarm was set for 7:00 to play Internet radio station, got fallback alarm > instead. when, at 7:02, i pressed the preset button for the radio station i > wanted to hear, it came on instantaneously. The crucial bit is here; it looks like the timeout is set to 20 seconds (see the line "Nov 4 07:00:20 squeezeplay: INFO audio.decode - Playback.lua:413 connect 89.202.121.131:80 GET /static/sounds/alarm/slim-backup-alarm.mp3 HTTP/1.0")--if we knew where that was set as the benchmark, the fix would be immediate; I can't find it and don't understand the lua language to be able to mess around with it): Nov 4 07:00:01 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:420 _menuSink(1) nil menuDirective: add isCurrentServer:true Nov 4 07:00:01 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:691 hiding any 'connecting to server' popup after menu response from current server, SlimServer {mysqueezebox.com} Nov 4 07:00:01 squeezeplay: INFO applet.ChooseMusicSource - ChooseMusicSourceApplet.lua:540 Hiding popup, exists?: nil Nov 4 07:00:02 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:420 _menuSink(1) nil menuDirective: add isCurrentServer:true Nov 4 07:00:02 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:691 hiding any 'connecting to server' popup after menu response from current server, SlimServer {mysqueezebox.com} Nov 4 07:00:02 squeezeplay: INFO applet.ChooseMusicSource - ChooseMusicSourceApplet.lua:540 Hiding popup, exists?: nil Nov 4 07:00:02 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:420 _menuSink(1) nil menuDirective: add isCurrentServer:true Nov 4 07:00:02 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:691 hiding any 'connecting to server' popup after menu response from current server, SlimServer {mysqueezebox.com} Nov 4 07:00:02 squeezeplay: INFO applet.ChooseMusicSource - ChooseMusicSourceApplet.lua:540 Hiding popup, exists?: nil Nov 4 07:00:02 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:420 _menuSink(1) nil menuDirective: add isCurrentServer:true Nov 4 07:00:02 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:691 hiding any 'connecting to server' popup after menu response from current server, SlimServer {mysqueezebox.com} Nov 4 07:00:02 squeezeplay: INFO applet.ChooseMusicSource - ChooseMusicSourceApplet.lua:540 Hiding popup, exists?: nil Nov 4 07:00:02 squeezeplay: INFO applet.SlimDiscovery - SlimDiscoveryApplet.lua:508 notify_playerPower: true Nov 4 07:00:02 squeezeplay: INFO squeezeplay - JiveMain.lua:228 Turn soft power on Nov 4 07:00:02 squeezeplay: WARN applet.AlarmSnooze - AlarmSnoozeApplet.lua:91 active Nov 4 07:00:02 squeezeplay: INFO applet.AlarmSnooze - AlarmSnoozeApplet.lua:118 open alarm window Nov 4 07:00:12 squeezeplay: INFO squeezeplay.applets - AppletManager.lua:704 store settings: Playback Nov 4 07:00:20 squeezeplay: INFO audio.decode - decode_start_handler:274 init decoder mp3 Nov 4 07:00:20 squeezeplay: INFO audio.decode - Playback.lua:413 connect 89.202.121.131:80 GET /static/sounds/alarm/slim-backup-alarm.mp3 HTTP/1.0^M Nov 4 07:00:20 squeezeplay: debug_pagefaults:192 Pagefaults, Major:0 Minor:1 Nov 4 07:00:21 squeezeplay: debug_pagefaults:192 Pagefaults, Major:0 Minor:1 Nov 4 07:00:40 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:420 _menuSink(1) nil menuDirective: add isCurrentServer:true Nov 4 07:00:40 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:691 hiding any 'connecting to server' popup after menu response from current server, SlimServer {mysqueezebox.com} Nov 4 07:00:40 squeezeplay: INFO applet.ChooseMusicSource - ChooseMusicSourceApplet.lua:540 Hiding popup, exists?: nil Nov 4 07:00:40 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:420 _menuSink(1) nil menuDirective: add isCurrentServer:true Nov 4 07:00:40 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:691 hiding any 'connecting to server' popup after menu response from current server, SlimServer {mysqueezebox.com} Nov 4 07:00:40 squeezeplay: INFO applet.ChooseMusicSource - ChooseMusicSourceApplet.lua:540 Hiding popup, exists?: nil Nov 4 07:00:40 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:420 _menuSink(1) nil menuDirective: add isCurrentServer:true Nov 4 07:00:40 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:691 hiding any 'connecting to server' popup after menu response from current server, SlimServer {mysqueezebox.com} Nov 4 07:00:40 squeezeplay: INFO applet.ChooseMusicSource - ChooseMusicSourceApplet.lua:540 Hiding popup, exists?: nil Nov 4 07:00:40 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:420 _menuSink(1) nil menuDirective: add isCurrentServer:true Nov 4 07:00:40 squeezeplay: INFO applet.SlimMenus - SlimMenusApplet.lua:691 hiding any 'connecting to server' popup after menu response from current server, SlimServer {mysqueezebox.com} Nov 4 07:00:40 squeezeplay: INFO applet.ChooseMusicSource - ChooseMusicSourceApplet.lua:540 Hiding popup, exists?: nil Nov 4 07:00:40 squeezeplay: WARN applet.AlarmSnooze - AlarmSnoozeApplet.lua:91 snooze Nov 4 07:01:09 squeezeplay: INFO applet.ScreenSavers - ScreenSaversApplet.lua:243 activating Clock screensaver Nov 4 07:01:39 squeezeplay: WARN net.thread - NetworkThread.lua:146 network thread timeout for Task(SocketHttp {mysqueezebox.com_Request}(R)) Nov 4 07:02:24 squeezeplay: WARN applet.AlarmSnooze - AlarmSnoozeApplet.lua:91 active Nov 4 07:02:24 squeezeplay: INFO applet.AlarmSnooze - AlarmSnoozeApplet.lua:118 open alarm window Nov 4 07:02:24 squeezeplay: INFO audio.decode - decode_start_handler:274 init decoder mp3 Nov 4 07:02:24 squeezeplay: INFO audio.decode - Playback.lua:413 connect 82.197.180.12:80 GET /1/regi_zentr/mp3_128 HTTP/1.0^M