On 4/1/06, <b class="gmail_sendername">John Armstrong</b> <<a href="mailto:ja@ggrove.plus.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ja@ggrove.plus.com</a>> 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: "Josh Burks" <<a href="mailto:dotnofoolin@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dotnofoolin@gmail.com</a>><br>> One thing I changed is I removed the URL hard coding. I didn't want to
<br>> clobber the music.php that came with MythWeb, and you had
music.php in<br>> all your links, so I did the following search and replace in vi to<br>> change the file (sorry, I'm not familar with patch):<br>><br>> :94,104s/music.php/<?php \$_SERVER\[\'PHP_SELF\'\] ?>/g
<br>> :114,$s/music.php/" \. \$_SERVER\[\'PHP_SELF\'\] \. "/g<br>><br>> Now I can name the file anything I want, such as musicv2.php and all<br>> 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 "a" and 2 "A" instead of just
one "A" with all the "a/A" artists listed under it (hope this makes
sense ? anyway I put in a fix to sort it properly now so there is only
one "A" for all artists begining with a and one "B" for all artists
begining with "B" etc.
<br><br>3) In doing the recursive change mentioned above the "Artists
by initial" 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