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/XML.pm b/Slim/Formats/XML.pm
  > index 928373f..59f6d9c 100644
  > --- a/Slim/Formats/XML.pm
  > +++ b/Slim/Formats/XML.pm
  > @@ -143,7 +143,8 @@
  > 
  >     if ( $url =~ /(?:radiotime|tunein\.com)/ ) {
  >             # Add the TuneIn username
  > -           if ( $url !~ /username/ && $url =~ /(?:presets|title)/ 
  > +           if ( $url !~ /username/ && $url =~ /(?:presets|title)/
  > +                   && 
Slim::Utils::PluginManager->isEnabled('Slim::Plugin::InternetRadio::Plugin') 
  >                     && ( my $username = 
Slim::Plugin::InternetRadio::TuneIn->getUsername($params->{client}) )
  >             ) {
  >                     $url .= '&username=' . uri_escape_utf8($username);
  > diff --git a/Slim/Plugin/InternetRadio/install.xml 
b/Slim/Plugin/InternetRadio/install.xml
  > index c33ca47..ec6cdc9 100644
  > --- a/Slim/Plugin/InternetRadio/install.xml
  > +++ b/Slim/Plugin/InternetRadio/install.xml
  > @@ -8,7 +8,7 @@
  >     <description>PLUGIN_INTERNET_RADIO_MODULE_NAME_DESC</description>
  >     <creator>Logitech</creator>
  >     <defaultState>enabled</defaultState>
  > -   <enforce>1</enforce>
  > +   <enforce>0</enforce>
  >     <homepageURL>http://www.mysqueezebox.com/support</homepageURL>
  >     <type>2</type><!-- type=extension -->
  >     <targetApplication>
  > 
--------------------
> > 
> 
> -- 
> 
> Michael
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)?   

I've tried unsuccessfully with -i and the name of the patch file (when
in the perl5 directory).



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.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=107956

_______________________________________________
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to