View Full Version : Icon to indicate lyrics added
evil_louie
03-28-2005, 09:48 AM
Hi Andrei,
I have a suggestion for a future version of OrangeCD:
Would it be possible to add an icon after the song title in an album tracklisting to indicate that lyrics have been added?
That would be helpful when adding lyrics, to avoid looking through albums or tracks that have them already.
Maybe one type of icon to indicate that lyrics have been added, and another if it is instrumental.
...and maybe an additional type of icon if notes have been added to the individual track.
Would this be possible?
Thanks
Guest
03-28-2005, 08:18 PM
I agree that there should be some distinction. Maybe you could just change the color of the type. Any way, anything would help. Thanks for the continued improvement!!!
Yes! It will be right.
And will be very good if you'll add "next song" button in lyrics page.
Trawlerman
03-30-2005, 08:59 AM
Good idea fellas.
At the moment if you run your mouse over the track it highlights it in blue and underscores it like a web brower does on a hyperlink.
How about, leaving the highlight/underscore off it unless there is actually some lyrics to link to?
It would make finding lyrics so much easier.
pheisholt
03-30-2005, 05:30 PM
If you want your track list to show whether a track includes lyrics or not, you can add the following line to your theme:
<!---->*<!---->
This is how you do it:
1. Open the CRISP theme (Crisp.dax) using DAXEDIT.EXE
2. Select the 'Album page' tab
3. Look for the <!--[TrackTime/]--> tag
4. Add the above line after the 'TrackTime' tag
The result should look something like this:
.....
<!--[/if]-->
evil_louie
03-31-2005, 09:41 AM
That's a good idea - but does it have to be the Crisp theme?
I just use the default theme, which is all I need. Will this modification work with that, too?
Thanks
pheisholt
03-31-2005, 02:40 PM
No, you can do the same with any theme which includes a function to loop thru the tracks of an album. All you have to do is place <!---->*<!----> inside the loop.
My suggestion was to place the asterisk after the ;<!--[tracktime/]--> tag, simply beacuse it seems like a natural place to display that kind of information.
In the Default theme.dax you could for instance place the lyrics asterisk after this line:
<!--[track]--><tr><td valign=top><!--[tracknum/]-->.
JohnsonbI4
04-01-2005, 12:10 AM
how does that line (<!---->*<!----> ) look like if i want (for exaple):
tracks with lyrics RED
without lyrics BLUE
Instrumental WHITE
what do i put in instead of * ?
pheisholt: It's good idea (modifying the current theme), but how about new look? If I would add some signs, do I kept even formatting as I have now?
pheisholt
04-01-2005, 10:18 AM
Hi Johnsonbl4
I'll send you the code as soon as I get home from work...
Hi alex
I'm not sure that I understand your question. What do you want to achieve/do?
pheisholt
04-01-2005, 01:27 PM
Here's one way you could color code your tracks. Replace the <!--[tracktime/]--> tag in the Album page with these four lines:
<!--[if(lyrics)]-->
<font color="red"><!--[tracktime/]-->
pheisholt
04-01-2005, 04:17 PM
I've updated the CrispPlay theme with two optional ways to identify tracks with lyrics.
You can either COLOR CODE the track time and/or add an ASTERISK after the track time, if the track has lyrics.
The 'SHOW_LYRICS_ASTERISK' and 'SHOW_LYRICS_COLOR' functions are optional and may be switched on or off. The color is defined by setting the '$LY_COLOR' value.
The new version of CrispPlay (v.1.42) can be downloaded from http://ocd.juventas.net.
Guest
04-02-2005, 03:07 AM
Hi Paul,
Many thanks for the tips on tracks with lyrics. I have modified your suggestions to identify 'classic' tracks with an icon immediately to the right. What I have done is use the 'track author' field, omitting the brackets and line-break. If it is a 'Classic track', I put CT in the 'author' field (which I don't really ever use)...
However, is there a way that I can further modify this to show a different (or additional) icon for, say, one of my own 'favourite tracks' (FT)? I need to be able to say something like:
"If trackauthor includes the value FT... or CT, then a particular icon should show". How do I show an 'if value' argument (not being a megastar at HTML or whatever this is?!).... Is it possible?
Malc
Guest
04-02-2005, 03:10 AM
Please note, I am not a guest, but a member! It's just that my password somehow won't get accepted any more! I have e-mailed Andrei for a solution, but no joy yet...
pheisholt
04-02-2005, 05:08 AM
Hi Malcolm
If I've understood your question right, you would have to pass the <!--[trackauthor]--> value to a javascript, and have the javascript select the correct icon based on the value found in <!--[trackauthor]-->.
This is one way of doing iit:
1. Add the following code to the head section of the Album page:
--------------------------------------------------------
<script language="javascript">
pheisholt
04-05-2005, 06:15 AM
Malcolm wrote:
-----------------------------------------------------------------------
Paul, it all works really well. Thanks ever so much for your trouble. In fact I have now added a line that will show TWO icons (CT and FT) side-by-side if they occur together, and I have started using icons elsewhere, too. Like a Videocassette icon instead of showing just 'VC', followed by the VC number the album is stored on, and an Audiocassette one.... and a Minidisc one!! Going icon crazy, I will probably add the facility to show a guitar icon for tracks with top solos - the possibilities are endless now I know what to do. That is, if writing housing development brochures, or ads to recruit 'Junior Surveyors' for Milton Keynes council doesn't get in the way!! Ain't life interesting....
I wonder if Andrei has any plans for additional icons under the 'miscellaneous properties' tab for albums? I could certainly use a couple more that are clearly identifiable (perhaps for Minidisc, for VC and for AC). At the moment I make do (don't we all). Could I add them somehow, or is this something that's buried too deep for amateur exploration?!
Regards,
Malcolm
-----------------------------------------------------------------------
Hi Malcolm
I'm glad it worked out. Using icons like that sounds like a great idea.
I have no idea what Andrei's plans are. But so far I have simply created my own icons/images, placed them in the OrangeCD folder, and then added a reference to them in my code.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.