[mythtv-users] Alternative to music section of mythweb
John Armstrong
ja at ggrove.plus.com
Mon Apr 3 20:08:08 UTC 2006
----- Original Message -----
From: Christopher McEwan
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.
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.
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.
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 ;)
4) Made a few simple table/text changes.
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
http://82.41.254.167/music.zip (rename to php)
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Will try typing the message before sending this time.
Have updated it with some of your ideas, altered copy uploaded.
1 Have put the variables at the top, but just used one variable for the
stylesheet directory name, rather than one for each file.
2 I didn't have any artists with lower case starting letters, so hadn't
spotted that
3 Just needed ?lists=artist adding to the URL for the by initial link.
4 Haven't included those. Preferred how mine looked :-). I suppose it would
be easier to modify if the table formatting went in a set of styles.
Have also altered the coverart function so it finds the first jpg file in
the same folder as the first track of the album, rather than one specific
filename.
John
More information about the mythtv-users
mailing list