kipeta wrote:
> Thanks Philippe for the great plugin. I manage to integrate my kitchen
> radio (Revo SuperConnect) to LMS with it. No special
> settings/configurations required.
>
> However I'd like to propose one minor patch in order to the get settings
> page links work with other skins (eg. Daphile). Just add "[% webroot %]"
> prefix to href's.
>
> >
Code:
--------------------
> >
> --- UPnPBridge/HTML/EN/plugins/UPnPBridge/settings/basic.html.orig
> +++ UPnPBridge/HTML/EN/plugins/UPnPBridge/settings/basic.html
> @@ -5,7 +5,7 @@
>
> [% WRAPPER setting title="PLUGIN_UPNPBRIDGE_AUTORUN"
desc="PLUGIN_UPNPBRIDGE_AUTORUN_DESC" %]
> <input name="autorun" type="checkbox" [% IF autorun %] checked
[% END %]> [% "PLUGIN_UPNPBRIDGE_RUNNING_$running" | string %] [% IF binary %]
([% binary %]) [% END %]
> -   <b><a href="upnpbridge-guide.htm" target="user
guide">[% "PLUGIN_UPNPBRIDGE_USERGUIDELINK" | string %]</a></b>
> +   <b><a href="[% webroot %]upnpbridge-guide.htm"
target="user guide">[% "PLUGIN_UPNPBRIDGE_USERGUIDELINK" | string %]</a></b>
> [%IF running %] <b><font color="red">  [%
"PLUGIN_UPNPBRIDGE_WARNING" | string %]</font></b> [% END %]
> [% END %]
>
> @@ -43,7 +43,7 @@
> [% END %]
> [% WRAPPER setting title="PLUGIN_UPNPBRIDGE_LOGGING"
desc="PLUGIN_UPNPBRIDGE_LOGGING_DESC" %]
> <input name="logging" type="checkbox" [% IF logging %] checked
[% END %]> [% "PLUGIN_UPNPBRIDGE_LOGENABLE" | string %]
> -  <a href="/upnpbridge-log.log" target="log">[%
"PLUGIN_UPNPBRIDGE_LOGLINK" | string %]</a>
> +  <a href="[% webroot %]upnpbridge-log.log" target="log">[%
"PLUGIN_UPNPBRIDGE_LOGLINK" | string %]</a>
>  [% "PLUGIN_UPNPBRIDGE_LOGSIZE" | string %] <input
type="text" class="stdedit" name="log_limit" id="log_limit" value="[% log_limit
%]" size="2">
>  <input name="eraselog" type="checkbox" [% IF eraselog %]
checked [% END %]> [% "PLUGIN_UPNPBRIDGE_ERASELOG" | string %]
>  <input name="cleanlog" type="submit" value=[%
"PLUGIN_UPNPBRIDGE_CLEANLOG" | string %]>
> @@ -51,7 +51,7 @@
> [% WRAPPER setting title="PLUGIN_UPNPBRIDGE_CONFIG"
desc="PLUGIN_UPNPBRIDGE_CONFIG_DESC" %]
> [% configpath %]
> <input type="text" class="stdedit" name="configfile"
id="configfile" value="[% configfile %]" size="20">
> - <a href="/upnpbridge-config.xml" target="config">[%
"PLUGIN_UPNPBRIDGE_CONFLINK" | string %]</a>
> + <a href="[% webroot %]upnpbridge-config.xml" target="config">[%
"PLUGIN_UPNPBRIDGE_CONFLINK" | string %]</a>
>   <input name="autosave" type="checkbox" [% IF autosave
%] checked [% END %]>[% "PLUGIN_UPNPBRIDGE_AUTOSAVECONFIG" | string %]
> [% IF binary %]
>  <input name="genconfig" type="submit"
onclick="alert('generating configuration will take ~30 seconds')" value=[%
"PLUGIN_UPNPBRIDGE_GENCONFIG" | string %]>
>
--------------------
> >
Hi Kimmo - Thanks for the suggestion. I've added in both plugins, in dev
repository version (to be released soon)
LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins