On 4/1/06, <b class="gmail_sendername">John Armstrong</b> &lt;<a href="mailto:ja@ggrove.plus.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ja@ggrove.plus.com</a>&gt; wrote:<div><span class="gmail_quote">
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
From: &quot;Josh Burks&quot; &lt;<a href="mailto:dotnofoolin@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dotnofoolin@gmail.com</a>&gt;<br>&gt; One thing I changed is I removed the URL hard coding. I didn't want to
<br>&gt; clobber the music.php that came with MythWeb, and you had 
music.php in<br>&gt; all your links, so I did the following search and replace in vi to<br>&gt; change the file (sorry, I'm not familar with patch):<br>&gt;<br>&gt; :94,104s/music.php/&lt;?php \$_SERVER\[\'PHP_SELF\'\] ?&gt;/g
<br>&gt; :114,$s/music.php/&quot; \. \$_SERVER\[\'PHP_SELF\'\] \. &quot;/g<br>&gt;<br>&gt; Now I can name the file anything I want, such as musicv2.php and all<br>&gt; the links work.<br><br>Good idea. Have made that change.
<br><br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mythtv-users@mythtv.org
</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>First
off, nice bit of work ! I was planning on writing something very
simmilar myself. I have made a few changes to your script hope you dont
mind.<br><br>1) All user configuration is now at the top of the file
using simple variables, which I think makes it easier for users to edit
etc.<br><br>2) When clicking on all artists the sorting was a little
too messy for me. For example there was 2 &quot;a&quot; and 2 &quot;A&quot; instead of just
one &quot;A&quot; with all the &quot;a/A&quot; artists listed under it (hope this makes
sense ? anyway I put in a fix to sort it properly now so there is only
one &quot;A&quot; for all artists begining with a and one &quot;B&quot; for all artists
begining with &quot;B&quot; etc.
<br><br>3) In doing the recursive change mentioned above the &quot;Artists
by initial&quot; no longer links properly.. its not a big problem but
something that needs fixing ;)<br><br>4) Made a few simple table/text changes.<br>
<br>
Im gonna keep working on it some more to make it more suit my needs,
you can grab a copy of the script with the changes i've made
<a href="http://82.41.254.167/music.zip">http://82.41.254.167/music.zip</a> (rename to php)<br><br clear="all"><br>-- <br>Regards,<br><br><br>~CM