Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Adding "Album Total Length" & Copyright Custom UI Skin (Read 686 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Adding "Album Total Length" & Copyright Custom UI Skin

Hi,

i wan´t to add some Additional Infos to Zetro XX Skin in the Group Header

It´s written in JScript with WSH Panel Mod.

I have add a additional Line under Tracks,Codec,Genre but i don´t now what Variables i have to create for reading ID Tag "Copyright" and Check the Album Total Lenght.
Code: [Select]
   

 // extra group infos (3rd line)
            gr.SetTextRenderingHint(5);
            //var total_grp_length = TimeFromSeconds(list.groups[list.hlist[this.id]-1]);
            if(group.nbrows==2 && group.type!=0) {
                try {
                    gr.DrawString(total_grp_items+(total_grp_items>1?" TRKS":" TRK")+" | "+this.codec+" | "+this.genre.toUpperCase(), mini_font, g_textcolor&0x44ffffff, text_x+1, (this.y-cover.margin)+2, text_w-1, row.h, lb_stringformat);
 gr.DrawString(total_grp_items+(total_grp_items>1?" TRKS":" TRK")+" | "+this.codec+" | "+this.genre.toUpperCase(), mini_font, g_textcolor&0x44ffffff, text_x+1, (this.y-cover.margin)+2, text_w-1, row.h, lb_stringformat);
                        
            };
        };