[SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2017-09-08 Thread afriend
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: Code:

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2017-09-08 Thread Michael Herger
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.

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2017-09-09 Thread afriend
mherger wrote: > you've got a networking issue. 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

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2017-09-09 Thread bpa
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 knwo whether lMS will work OK without the plugin. -

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2017-09-09 Thread afriend
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 h

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2018-01-28 Thread PasTim
mherger wrote: > > 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 attem

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2018-01-28 Thread Paul Webster
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. Paul Webster http://dabdig.blogspot.com Paul Webster's Profile: ht

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2018-01-28 Thread Roland0
A simple workaround would be to redirect the request to a local web server. SW: 'Web UI for LMS' (http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta)) | 'Playlist Editor / Generator' (http://forums.slimdevices.com/showthread.php?108199-Announce-LMS-Playl

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2018-01-29 Thread PasTim
Roland0 wrote: > A simple workaround would be to redirect the request to a local web > server. It may be simple for those who understand such stuff well, but I wouldn't have a clue where to start :-) LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, FLACs 16->24 bit, 44.1->192kbps. Touch & EDO.

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2018-01-29 Thread Roland0
PasTim wrote: > It may be simple for those who understand such stuff well, but I > wouldn't have a clue where to start :-) 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:

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2018-01-29 Thread PasTim
Roland0 wrote: > 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

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2018-01-29 Thread Michael Herger
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. --nointernet would be difficult to enforce, as we have little control over eg. 3rd party plugins. But right now the InternetRadio plugin is

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2018-01-29 Thread Michael Herger
If you want to give this a try, then edit the Slim/Plugin/InternetRadio/install.xml, remove the "enforce" line. Restart LMS. Now you should be able to disable it in the plugin settiongs. -- Michael ___ beta mailing list beta@lists.slimdevices.com htt

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2018-01-30 Thread PasTim
mherger wrote: > If you want to give this a try, then edit the > Slim/Plugin/InternetRadio/install.xml, remove the "enforce" line. > Restart LMS. Now you should be able to disable it in the plugin > settiongs. > > Full patch: > > > Code: > > diff --git a/Slim/Formats/X

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2018-01-30 Thread Michael Herger
Thanks. Sorry to be so ignorant, but how do I run that with the patch command (I've only ever run patch a few times in my life)? Hehe... I would have to look it up myself... I'm using a graphical tool. But it's only two lines anyway. Replace the 1 with a 0, and copy/paste the other line to th

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2018-01-30 Thread Paul Webster
mherger wrote: > > 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. > > --nointernet would be difficult to enforce, as we have little control > over eg. 3rd party plugins. True

Re: [SlimDevices: Beta] Can I disable html call to opml.radiotime.com?

2018-01-30 Thread PasTim
mherger wrote: > > Thanks. Sorry to be so ignorant, but how do I run that with the > patch > > command (I've only ever run patch a few times in my life)? > > Hehe... I would have to look it up myself... I'm using a graphical tool. > > But it's only two lines anyway. Replace the 1 with a 0, and