<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.secondlife.com/w/index.php?action=history&amp;feed=atom&amp;title=User%3ACow_Taurog%2FRadio_tuner</id>
	<title>User:Cow Taurog/Radio tuner - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.secondlife.com/w/index.php?action=history&amp;feed=atom&amp;title=User%3ACow_Taurog%2FRadio_tuner"/>
	<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Cow_Taurog/Radio_tuner&amp;action=history"/>
	<updated>2026-07-06T00:02:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Cow_Taurog/Radio_tuner&amp;diff=1196117&amp;oldid=prev</id>
		<title>Lady Sumoku: Replaced old &lt;LSL&gt; block with &lt;source lang=&quot;lsl2&quot;&gt;, also for &lt;php&gt;</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Cow_Taurog/Radio_tuner&amp;diff=1196117&amp;oldid=prev"/>
		<updated>2015-04-12T03:46:44Z</updated>

		<summary type="html">&lt;p&gt;Replaced old &amp;lt;LSL&amp;gt; block with &amp;lt;source lang=&amp;quot;lsl2&amp;quot;&amp;gt;, also for &amp;lt;php&amp;gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:46, 11 April 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These scripts will allow you to change your land&amp;#039;s [[Streaming Music|music url]] from a list of presets, or by saying the url of a &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://en.wikipedia.org/wiki/PLS_(file_format) *.pls playlist file] over chat. Place the fread.php file on a webhost, set the tuner script to use that url, and drop the tuner script into a prim. There is also a relay script for group land. You can copy the url of a playlist file from a webpage, or a &amp;#039;Tune in&amp;#039; link from &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://shoutcast.com shoutcast.com]&amp;lt;/span&amp;gt; as well.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These scripts will allow you to change your land&amp;#039;s [[Streaming Music|music url]] from a list of presets, or by saying the url of a &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://en.wikipedia.org/wiki/PLS_(file_format) *.pls playlist file] over chat. Place the fread.php file on a webhost, set the tuner script to use that url, and drop the tuner script into a prim. There is also a relay script for group land. You can copy the url of a playlist file from a webpage, or a &amp;#039;Tune in&amp;#039; link from &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://shoutcast.com shoutcast.com]&amp;lt;/span&amp;gt; as well.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Tuner==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Tuner==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lsl&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;source lang=&quot;lsl2&quot;&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;string gsBaseURL=&amp;quot;http://example.com/fread.php?url=&amp;quot;; // Set this to point to your fread.php file&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;string gsBaseURL=&amp;quot;http://example.com/fread.php?url=&amp;quot;; // Set this to point to your fread.php file&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;integer giChan=8437; // This channel is used to communicate with the relay.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;integer giChan=8437; // This channel is used to communicate with the relay.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l144&quot;&gt;Line 144:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 144:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     }         &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     }         &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lsl&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;source&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Group relay==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Group relay==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the land you want to change the music url on is [[Groups and Land|owned by a group]], you need to use this relay script. Place it in a prim, and deed it to the group that owns the land. This script is also useful if you have more than one parcel of land in the same sim, and want to change the music in more than one place at the same time. Make sure the both the script and the prim have full permissions set before deeding so you can sell it back to yourself and make changes if needed.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the land you want to change the music url on is [[Groups and Land|owned by a group]], you need to use this relay script. Place it in a prim, and deed it to the group that owns the land. This script is also useful if you have more than one parcel of land in the same sim, and want to change the music in more than one place at the same time. Make sure the both the script and the prim have full permissions set before deeding so you can sell it back to yourself and make changes if needed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lsl&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;source lang=&quot;lsl2&quot;&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;integer giChan=8437; // replace this with something random, match with the tuner script&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;integer giChan=8437; // replace this with something random, match with the tuner script&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;string gsOriginalMusic;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;string gsOriginalMusic;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l162&quot;&gt;Line 162:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 162:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lsl&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;source&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==fread.php==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==fread.php==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[llHTTPRequest]] only supports the reading of certain filetypes, and *.pls is not one of them. This script will display any URL fed to it as text.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[llHTTPRequest]] only supports the reading of certain filetypes, and *.pls is not one of them. This script will display any URL fed to it as text.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;php&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;source lang=&quot;&lt;/ins&gt;php&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;?php&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;?php&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$file = $_GET[&amp;#039;url&amp;#039;];&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$file = $_GET[&amp;#039;url&amp;#039;];&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l176&quot;&gt;Line 176:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 176:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;print $contents;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;print $contents;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;?&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;?&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;php&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;source&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lady Sumoku</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Cow_Taurog/Radio_tuner&amp;diff=167353&amp;oldid=prev</id>
		<title>Cow Taurog: create page</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Cow_Taurog/Radio_tuner&amp;diff=167353&amp;oldid=prev"/>
		<updated>2008-12-08T09:20:40Z</updated>

		<summary type="html">&lt;p&gt;create page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;These scripts will allow you to change your land&amp;#039;s [[Streaming Music|music url]] from a list of presets, or by saying the url of a &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://en.wikipedia.org/wiki/PLS_(file_format) *.pls playlist file] over chat. Place the fread.php file on a webhost, set the tuner script to use that url, and drop the tuner script into a prim. There is also a relay script for group land. You can copy the url of a playlist file from a webpage, or a &amp;#039;Tune in&amp;#039; link from &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://shoutcast.com shoutcast.com]&amp;lt;/span&amp;gt; as well. &lt;br /&gt;
==Tuner==&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
string gsBaseURL=&amp;quot;http://example.com/fread.php?url=&amp;quot;; // Set this to point to your fread.php file&lt;br /&gt;
integer giChan=8437; // This channel is used to communicate with the relay.&lt;br /&gt;
integer giDialog=8957; // This channel is used for the dialog menu.&lt;br /&gt;
float gfResetDelay=20; // This is the number of seconds the script will wait for a response.&lt;br /&gt;
integer giPrivateChan=200; // This is a private channel for saying a playlist url.&lt;br /&gt;
//These are presets for the dialog menu&lt;br /&gt;
list gl1=[&amp;quot;DI.fm&amp;quot;,&amp;quot;Somafm&amp;quot;,&amp;quot;-None-&amp;quot;,&amp;quot;XRM Alt&amp;quot;,&amp;quot;Hot 108&amp;quot;,&amp;quot;Open PLS&amp;quot;];&lt;br /&gt;
list glD1=[&amp;quot;Trance&amp;quot;,&amp;quot;Vocal&amp;quot;,&amp;quot;ElecHouse&amp;quot;,&amp;quot;Chillout&amp;quot;,&amp;quot;EuroDance&amp;quot;,&amp;quot;House&amp;quot;,&amp;quot;SoulHouse&amp;quot;,&amp;quot;FunkHouse&amp;quot;,&amp;quot;TrblHouse&amp;quot;,&amp;quot;HardDance&amp;quot;,&amp;quot;Minimal&amp;quot;,&amp;quot;2&amp;gt;&amp;quot;];&lt;br /&gt;
list glD2=[&amp;quot;&amp;lt;1&amp;quot;,&amp;quot;Techno&amp;quot;,&amp;quot;Progresve&amp;quot;,&amp;quot;GoaPsy&amp;quot;,&amp;quot;Hardstyle&amp;quot;,&amp;quot;Hardcore&amp;quot;,&amp;quot;DjMixes&amp;quot;,&amp;quot;Lounge&amp;quot;,&amp;quot;Drum&amp;amp;Bass&amp;quot;,&amp;quot;OldElectr&amp;quot;,&amp;quot;Ambient&amp;quot;,&amp;quot;3&amp;gt;&amp;quot;];&lt;br /&gt;
list glD3=[&amp;quot;&amp;lt;2&amp;quot;,&amp;quot;Breaks&amp;quot;,&amp;quot;FutureSyn&amp;quot;,&amp;quot;Gabber&amp;quot;,&amp;quot;XRM Alt&amp;quot;,&amp;quot;-None-&amp;quot;];&lt;br /&gt;
list glS1=[&amp;quot;Lush&amp;quot;,&amp;quot;Digi&amp;quot;,&amp;quot;GrvSalad&amp;quot;,&amp;quot;DrneZone&amp;quot;,&amp;quot;SpaceSta&amp;quot;,&amp;quot;BeatBlnd&amp;quot;,&amp;quot;IndiePop&amp;quot;,&amp;quot;Cliqhop&amp;quot;,&amp;quot;SncVerse&amp;quot;,&amp;quot;ILstreet&amp;quot;,&amp;quot;BootLiqr&amp;quot;,&amp;quot;2&amp;gt;&amp;quot;];&lt;br /&gt;
list glS2=[&amp;quot;&amp;lt;1&amp;quot;,&amp;quot;TagsTrip&amp;quot;,&amp;quot;ScrtAgnt&amp;quot;,&amp;quot;Doomed&amp;quot;];&lt;br /&gt;
// Declarations&lt;br /&gt;
key gkDet;&lt;br /&gt;
string gsPlaylistURL;&lt;br /&gt;
key gkRequest;&lt;br /&gt;
integer giIndex1;&lt;br /&gt;
integer giIndex2;&lt;br /&gt;
string gsStart=&amp;quot;File1=&amp;quot;;&lt;br /&gt;
string gsEnd=&amp;quot;Title1=&amp;quot;;&lt;br /&gt;
integer DEBUG=2; // 0-none, 1-minimal, 2-verbose&lt;br /&gt;
&lt;br /&gt;
default{&lt;br /&gt;
    state_entry(){&lt;br /&gt;
        llListen(giDialog,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;);&lt;br /&gt;
        llSetTimerEvent(gfResetDelay);&lt;br /&gt;
    }&lt;br /&gt;
    timer(){llResetScript();}&lt;br /&gt;
    on_rez(integer param){llResetScript();}&lt;br /&gt;
    touch_start(integer num){&lt;br /&gt;
        //if(llSameGroup(llDetectedKey(num-1))==TRUE){&lt;br /&gt;
            gkDet=llDetectedKey(num-1);&lt;br /&gt;
            llDialog(gkDet,&amp;quot;Pick a station...&amp;quot;,gl1,giDialog);&lt;br /&gt;
        //}&lt;br /&gt;
    }&lt;br /&gt;
    listen(integer chan,string name,key id,string mess){&lt;br /&gt;
        if(mess==&amp;quot;DI.fm&amp;quot;){state difm;}&lt;br /&gt;
        if(mess==&amp;quot;Somafm&amp;quot;){state somafm;}&lt;br /&gt;
        if(mess==&amp;quot;Open PLS&amp;quot;){state hearpls;}&lt;br /&gt;
        if(mess==&amp;quot;-None-&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;XRM Alt&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://72.236.163.63:12929&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Hot 108&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://scfire-dtc-aa03.stream.aol.com:80/stream/1071&amp;quot;);llResetScript();}&lt;br /&gt;
    }        &lt;br /&gt;
}&lt;br /&gt;
state hearpls{&lt;br /&gt;
    state_entry(){&lt;br /&gt;
        llSetTimerEvent(gfResetDelay);&lt;br /&gt;
        llListen(0,&amp;quot;&amp;quot;,gkDet,&amp;quot;&amp;quot;);&lt;br /&gt;
        llListen(giPrivateChan,&amp;quot;&amp;quot;,gkDet,&amp;quot;&amp;quot;);&lt;br /&gt;
        llSay(0,&amp;quot;Say the URL of a *.pls file to play over public chat or /&amp;quot;+(string)giPrivateChan+&amp;quot;.&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    timer(){llSay(0,&amp;quot;Timeout.&amp;quot;);llResetScript();}&lt;br /&gt;
    listen(integer chan,string name,key id,string mess){&lt;br /&gt;
        gsPlaylistURL=mess;&lt;br /&gt;
        state openpls;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
state openpls{&lt;br /&gt;
    state_entry(){&lt;br /&gt;
        gkRequest=llHTTPRequest(gsBaseURL+gsPlaylistURL,[],&amp;quot;&amp;quot;);&lt;br /&gt;
        llSetTimerEvent(gfResetDelay);&lt;br /&gt;
    }&lt;br /&gt;
    timer(){llSay(0,&amp;quot;Timeout.&amp;quot;);llResetScript();}&lt;br /&gt;
    http_response(key request,integer status,list meta,string body){if(gkRequest==request){if(status==200){if(body!=&amp;quot;&amp;quot;){&lt;br /&gt;
        giIndex1=(llSubStringIndex(body,gsStart)+llStringLength(gsStart));&lt;br /&gt;
        giIndex2=(llSubStringIndex(body,gsEnd)-2);&lt;br /&gt;
        body=llGetSubString(body,giIndex1,giIndex2);&lt;br /&gt;
        llSetParcelMusicURL(body);&lt;br /&gt;
        llRegionSay(giChan,&amp;quot;setmusic|&amp;quot;+body);&lt;br /&gt;
        llResetScript();&lt;br /&gt;
    }}}}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
state difm{&lt;br /&gt;
    state_entry(){&lt;br /&gt;
        llListen(giDialog,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;);&lt;br /&gt;
        llDialog(gkDet,&amp;quot;Pick a station...&amp;quot;,glD1,giDialog);&lt;br /&gt;
        llSetTimerEvent(gfResetDelay);&lt;br /&gt;
    }&lt;br /&gt;
    timer(){llResetScript();}&lt;br /&gt;
    on_rez(integer param){llResetScript();}&lt;br /&gt;
    listen(integer chan,string name,key id,string mess){&lt;br /&gt;
        if(mess==&amp;quot;3&amp;gt;&amp;quot;){llDialog(gkDet,&amp;quot;Pick a station...&amp;quot;,glD3,giDialog);}&lt;br /&gt;
        if(mess==&amp;quot;&amp;lt;2&amp;quot;){llDialog(gkDet,&amp;quot;Pick a station...&amp;quot;,glD2,giDialog);}&lt;br /&gt;
        if(mess==&amp;quot;2&amp;gt;&amp;quot;){llDialog(gkDet,&amp;quot;Pick a station...&amp;quot;,glD2,giDialog);}&lt;br /&gt;
        if(mess==&amp;quot;&amp;lt;1&amp;quot;){llDialog(gkDet,&amp;quot;Pick a station...&amp;quot;,glD1,giDialog);}&lt;br /&gt;
        if(mess==&amp;quot;-None-&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Trance&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://scfire-ntc-aa01.stream.aol.com:80/stream/1003&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Vocal&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://scfire-ntc-aa02.stream.aol.com:80/stream/1065&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;ElecHouse&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://scfire-ntc-aa03.stream.aol.com:80/stream/1025&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Chillout&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://scfire-mtc-aa02.stream.aol.com:80/stream/1035&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;EuroDance&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://scfire-mtc-aa02.stream.aol.com:80/stream/1024&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;House&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://scfire-mtc-aa01.stream.aol.com:80/stream/1007&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;SoulHouse&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://di-fm-01.quintex.com:8880&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;FunkHouse&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://91.121.228.33:8004&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;TrblHouse&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://di-fm-01.quintex.com:8882&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;HardDance&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://209.247.146.98:8000&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Minimal&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://66.135.35.144:8000&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Techno&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://208.122.59.30:7204&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Progresve&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://scfire-ntc-aa04.stream.aol.com:80/stream/1026&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;GoaPsy&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://scfire-ntc-aa01.stream.aol.com:80/stream/1008&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Hardstyle&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://72.51.40.90:8000&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Hardcore&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://88.191.69.69:80&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;DjMixes&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://209.247.146.100:8000&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Lounge&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://scfire-ntc-aa04.stream.aol.com:80/stream/1009&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Drum&amp;amp;Bass&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://207.200.96.229:8030&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;OldElectr&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://205.188.215.225:8004&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Ambient&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://205.188.215.228:8006&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Breaks&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://205.188.215.225:8002&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;FutureSyn&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://208.122.59.30:7234&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Gabber&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://205.188.215.226:8006&amp;quot;);llResetScript();}&lt;br /&gt;
    }        &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
state somafm{&lt;br /&gt;
    state_entry(){&lt;br /&gt;
        llListen(giDialog,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;);&lt;br /&gt;
        llDialog(gkDet,&amp;quot;Pick a station...&amp;quot;,glS1,giDialog);&lt;br /&gt;
        llSetTimerEvent(gfResetDelay);&lt;br /&gt;
    }&lt;br /&gt;
    timer(){llResetScript();}&lt;br /&gt;
    on_rez(integer param){llResetScript();}&lt;br /&gt;
    listen(integer chan,string name,key id,string mess){&lt;br /&gt;
        if(mess==&amp;quot;2&amp;gt;&amp;quot;){llDialog(gkDet,&amp;quot;Pick a station...&amp;quot;,glS2,giDialog);}&lt;br /&gt;
        if(mess==&amp;quot;&amp;lt;1&amp;quot;){llDialog(gkDet,&amp;quot;Pick a station...&amp;quot;,glS1,giDialog);}&lt;br /&gt;
        if(mess==&amp;quot;-None-&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Lush&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://standby.somafm.com:8802&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Digi&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://standby.somafm.com:8902&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;GrvSalad&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://207.200.96.226:8000&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;DrneZone&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://207.200.96.226:8002&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;SpaceSta&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://steady.somafm.com:8202&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;BeatBlnd&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://steady.somafm.com:8386&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;IndiePop&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://steady.somafm.com:8076&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Cliqhop&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://steady.somafm.com:8080&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;SncVerse&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://standby.somafm.com:8602&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;ILstreet&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://steady.somafm.com:8502&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;BootLiqr&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://steady.somafm.com:7002&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;TagsTrip&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://205.188.234.9:8000&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;ScrtAgnt&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://207.200.96.228:8000&amp;quot;);llResetScript();}&lt;br /&gt;
        if(mess==&amp;quot;Doomed&amp;quot;){llRegionSay(giChan,&amp;quot;setmusic|http://steady.somafm.com:8302&amp;quot;);llResetScript();}&lt;br /&gt;
    }        &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
==Group relay==&lt;br /&gt;
If the land you want to change the music url on is [[Groups and Land|owned by a group]], you need to use this relay script. Place it in a prim, and deed it to the group that owns the land. This script is also useful if you have more than one parcel of land in the same sim, and want to change the music in more than one place at the same time. Make sure the both the script and the prim have full permissions set before deeding so you can sell it back to yourself and make changes if needed.&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
integer giChan=8437; // replace this with something random, match with the tuner script&lt;br /&gt;
string gsOriginalMusic;&lt;br /&gt;
integer listen0;&lt;br /&gt;
&lt;br /&gt;
default{&lt;br /&gt;
    on_rez(integer param){llResetScript();}&lt;br /&gt;
    state_entry(){llListen(giChan,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;);}&lt;br /&gt;
    listen(integer chan,string name,key id,string mess){&lt;br /&gt;
        list lText=llParseString2List(mess,[&amp;quot;|&amp;quot;],[]);&lt;br /&gt;
        string s1=llList2String(lText,0);&lt;br /&gt;
        string s2=llList2String(lText,1);&lt;br /&gt;
        if(s1==&amp;quot;setmusic&amp;quot;){llSetParcelMusicURL(s2);}&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
==fread.php==&lt;br /&gt;
[[llHTTPRequest]] only supports the reading of certain filetypes, and *.pls is not one of them. This script will display any URL fed to it as text.&lt;br /&gt;
&amp;lt;php&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$file = $_GET[&amp;#039;url&amp;#039;];&lt;br /&gt;
$handle = fopen($file, &amp;#039;r&amp;#039;);&lt;br /&gt;
$contents = &amp;#039;&amp;#039;;&lt;br /&gt;
while (!feof($handle)) {&lt;br /&gt;
  $contents .= fread($handle, 8192);&lt;br /&gt;
}&lt;br /&gt;
fclose($handle);&lt;br /&gt;
print $contents;&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/php&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cow Taurog</name></author>
	</entry>
</feed>