Hi.
One of my LMS (latest 7.9.1 nightly, macOS 10.12) has no internet connection. To make debugging easier and my log less cluttered, I would very much like to get rid of the error messages that complain (every couple of minutes or so) about timed out connection attempts:
If there is no option in the settings (I didn't find one), I'd gladly settle for a little hack or someting like this.Code:Connect timed out: [17-09-08 17:36:10.0633] Slim::Plugin::InternetRadio::Plugin::_gotRadioError (67) Unable to retrieve radio directory from SN: Connect timed out: [17-09-08 17:37:05.0670] Slim::Formats::XML::gotErrorViaHTTP (310) Error: getting http://opml.radiotime.com/Index.aspx?partnerId=16
Thank you.
Results 1 to 10 of 17
-
2017-09-08, 10:31 #1
- Join Date
- Jul 2010
- Posts
- 36
Can I disable html call to opml.radiotime.com?
-
2017-09-08, 14:24 #2
Can I disable html call toopml.radiotime.com?
> One of my LMS (latest 7.9.1 nightly, macOS 10.12) has no internet
> connection. To make debugging easier and my log less cluttered, I would
> very much like to get rid of the error messages that complain (every
> couple of minutes or so) about timed out connection attempts:
Don't use the Radios menu. Or accept those messages as another potential
pointer to your issue? If you get an error complaining about connection
time outs every few minutes, then you've got a networking issue.
--
Michael
-
2017-09-09, 04:46 #3
- Join Date
- Jul 2010
- Posts
- 36
Ok, what I meant was "has no internet connection" because it's by design, like a stand-alone setup, only LAN with a local server. I don't use the Radio Menu, was just curious if it's possible to disable what seems to be downloading a radio station list or something. I figured the error messages would go away then. Well, nevermind...
-
2017-09-09, 04:59 #4
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 15,687
A hack that might work you would be to edit the install.xml file in the plugin/InternetRadio directory. Change MaxVersion from "*" to 7.3, save and restart LMS. This will break loading of the InternetRadio plugin. I don't know whether LMS will work OK without the plugin as it seems to be one that cannot be disabled in the Plugins tab..
-
2017-09-09, 08:44 #5
- Join Date
- Jul 2010
- Posts
- 36
Thank you very much, bpa. Really appreciate your help however stupid my little problem may seem. In the end I just disabled/commented most of the retry subfunction in the plugin.pm file. This way the plugin is not broken and it won't endlessly retry to connect to the internet in vain. Sure, I'll have to edit this file after every update. I'll just update less often then. So thank you very much.
-
2018-01-28, 02:07 #6
- Join Date
- Nov 2010
- Location
- Hertfordshire, UK
- Posts
- 2,701
I quite often deliberately run without any internet connection. However, with a connection (as far as I know) on starting LMS last night I saw a delay of 4 minutes waiting for LMS to start. The log was as below. It's as if LMS then went to sleep and was then 'woken' by my "server power control" plugin. This may be just a one-off. Any views?
Code:[18-01-27 22:59:35.1598] Plugins::SrvrPowerCtrl::Settings::new (242) Server Power Control, version 20141101.163656, is running on LMS version 7.9.1 on unix:Debian, user squeezeboxserver [18-01-27 23:00:19.7854] Slim::Formats::XML::gotErrorViaHTTP (338) Error: getting http://opml.radiotime.com/Index.aspx?partnerId=16 Timed out waiting for data [18-01-27 23:00:19.7863] Slim::Plugin::InternetRadio::Plugin::_gotRadioError (67) Unable to retrieve radio directory from SN: Timed out waiting for data [18-01-27 23:04:41.5512] Plugins::SrvrPowerCtrl::Watchdog::OnWakeupWatchdog (651) Wakeup Call!!
LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, FLACs 16->24 bit, 44.1->192kbps. Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 17.10 laptop firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
-
2018-01-28, 05:36 #7
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 874
Maybe a new --nointernet switch for LMS would be a good thing to have.
Then various bit of code that cannot be disabled from Settings could check for that.
-
2018-01-28, 16:14 #8
- Join Date
- Aug 2012
- Location
- Austria
- Posts
- 736
A simple workaround would be to redirect the request to a local web server.
-
2018-01-29, 09:10 #9
- Join Date
- Nov 2010
- Location
- Hertfordshire, UK
- Posts
- 2,701
LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, FLACs 16->24 bit, 44.1->192kbps. Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 17.10 laptop firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
-
2018-01-29, 12:40 #10
- Join Date
- Aug 2012
- Location
- Austria
- Posts
- 736
Assuming the following:
- web server will run on the same server as LMS
- busybox is installed (it usually is)
- files needed go into /home/user/www (can be any dir)
Code:mkdir /home/user/www; cd /home/user/www wget -O Index.aspx "http://opml.radiotime.com/Index.aspx?partnerId=16"
Code:A:127.0.0.1 D:* .aspx:text/xml
Code:127.0.0.1 opml.radiotime.com
Code:sudo busybox httpd -p 80 -h /home/user/www -c /home/user/www/httpd.conf
Code:wget "http://opml.radiotime.com/Index.aspx?partnerId=16"