[Slim-Checkins] r33793 - in /7.7/trunk/platforms/readynas/addon_template: SQUEEZEBOX.html SQUEEZEBOX.js SQUEEZEBOX.xml

[email protected]
Newsgroups gmane.music.equipment.slimdevices.cvs
Message-ID <[email protected]>
Author: mherger
Date: Tue Jan 31 08:44:32 2012
New Revision: 33793

URL: http://svn.slimdevices.com/slim?rev=33793&view=rev
Log:
Bug: n/a
Description: dynamically build link to LMS web UI on ReadyNAS web UI

Modified:
    7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.html
    7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.js
    7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.xml

Modified: 7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.html
URL: http://svn.slimdevices.com/slim/7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.html?rev=33793&r1=33792&r2=33793&view=diff
==============================================================================
--- 7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.html (original)
+++ 7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.html Tue Jan 31 08:44:32 2012
@@ -1,2 +1,2 @@
 <!-- User defined content -->
-<p><a href="" id="sbwebui" target="_blank">Free the Music!</a></p>
+<p id="sbwebui"><a href="" target="_blank">Free Your Music!</a></p>

Modified: 7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.js
URL: http://svn.slimdevices.com/slim/7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.js?rev=33793&r1=33792&r2=33793&view=diff
==============================================================================
--- 7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.js (original)
+++ 7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.js Tue Jan 31 08:44:32 2012
@@ -6,7 +6,7 @@
 {
 	// set a link to the Logitech Media Server web UI
 	// TODO: read the port from the server's configuration
-	$('#sbwebui').attr('href', 'http://' + window.location.hostname + ':9000')
+	$('#sbwebui').html('<a href="http://' + window.location.hostname + ':9000" target="_blank">Free Your Music!</a>');
 }
 
 self.SQUEEZEBOX_enable = function()

Modified: 7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.xml
URL: http://svn.slimdevices.com/slim/7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.xml?rev=33793&r1=33792&r2=33793&view=diff
==============================================================================
--- 7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.xml (original)
+++ 7.7/trunk/platforms/readynas/addon_template/SQUEEZEBOX.xml Tue Jan 31 08:44:32 2012
@@ -5,8 +5,8 @@
   <version>7.7.2</version>
   <detail_url>http://wiki.slimdevices.com</detail_url>
   <author>Logitech Inc.</author>
-  <get_url>SQUEEZEBOX_HANDLER.pl</get_url>
-  <set_url>SQUEEZEBOX_HANDLER.pl</set_url>
+  <get_url>../addons/SQUEEZEBOX/SQUEEZEBOX_HANDLER.pl</get_url>
+  <set_url>../addons/SQUEEZEBOX/SQUEEZEBOX_HANDLER.pl</set_url>
   <preaction>SQUEEZEBOX_preaction</preaction>
   <onloadaction>SQUEEZEBOX_onloadaction</onloadaction>
   <current_url></current_url>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.