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: Track Info Panel with ability to change font (Read 729265 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Track Info Panel with ability to change font

Reply #150
Foobar with glasswindow

Normal view:


View with one layer (glass.png) for glasseffect:


The same, but with one layer more (light.png) for lightingeffect:


Layers has to be in following order:

1.) Text (valuecode)
2.) Layer (glass.png)
3.) Layer (light.png)


By example for left window in third screenshot:

1.) Text (valuecode)
Code: [Select]
$alignabs(center,middle)
$transition($if(%_time_remaining%,%_time_remaining%,0:00),$rgb(255,255,255),$rgb(100,100,100))
$align(right,middle)
$font(Arial Unicode MS,16,bold,255-0-0)▼

2.) Layer (glass.png)
Code: [Select]
$imageabs(-8,-10,image_back\glass.png,)

3.) Layer (light.png)
Code: [Select]
$imageabs(-8,-12,image_back\light.png,)

Enjoy! Download Layers
Completely screenshot with new layers

((((( Strictly4me )))))


Track Info Panel with ability to change font

Reply #152
@strictly4me, you missed something out in your code, it shows only the remaining time.

Track Info Panel with ability to change font

Reply #153
The Wiki page says .NET is required, although you just need the C++ runtime components. Link

Track Info Panel with ability to change font

Reply #154
@strictly4me, you missed something out in your code, it shows only the remaining time.

Yes because:
Quote
By example for left window in third screenshot:

For the right window, i think you will find by yourself. - Not?

EDIT: Ok,here the codes for right window:

1.) Text (valuecode)
Code: [Select]
$alignabs(center,middle)
$transition($if(%_time_elapsed%,%_time_elapsed%,0:00),$rgb(255,255,255),$rgb(100,100,100))
$align(right,middle)
$font(Arial Unicode MS,16,bold,255-0-0)?

2.) Layer (glass.png)
Code: [Select]
$imageabs(-8,-10,image_back\glass.png,)

3.) Layer (light.png)
Code: [Select]
$imageabs(-8,-12,image_back\light.png,)


((((( Strictly4me )))))

Track Info Panel with ability to change font

Reply #155
Is it possible to add an image without the need for it to be in the image folder of foobar? That way i could include the cover of the music i am listening to into track info panel mod. It would permit some extrem skins ....


Track Info Panel with ability to change font

Reply #157
You can put your image everywhere you want, but trackinfo can't change the images by itself, i think. Better way to make it, using album art panel!

EDIT:
Quote
At the moment the images have to be relative to the foobar directory.

Ok, i didn't know that!

((((( Strictly4me )))))

Track Info Panel with ability to change font

Reply #158
You can put your image everywhere you want, but trackinfo can't change the images by itself, i think. Better way to make it, using album art panel!

EDIT:
Quote
At the moment the images have to be relative to the foobar directory.

Ok, i didn't know that!

((((( Strictly4me )))))

Thanks to both of you for the reply, i ll stick to album art panel

Track Info Panel with ability to change font

Reply #159
Wiki Page
Great "Sub-"Project ...!!
(If I only had have such a wikki by the hand ...earlier ...)

Are you gonna add Info about:
$font / Options :
- "glow-" and "shadow" and a note, that all of them can be combined (e.g. "bolditalicunderlineglow-" )

$alignabs :
- A note, that x and y also can be negative

$imageabs :
- A note, that only pngs are supported, yet.
- A note that following text has to be "$align"ed
- In addition to your existing note about the image-path, a concrete example (e.g.  $imageabs(0,0,your folder\your subfolder\your_pic.png,) )

General:
- #SHADE# and #LINEHEIGHT,n#
- $alignset() and $alignrel(,)

...??

Track Info Panel with ability to change font

Reply #160
Wiki Page
Great "Sub-"Project ...!!
(If I only had have such a wikki by the hand ...earlier ...)

You gonna add Info about:
$font / Options :
- "glow-" and "shadow" and a note, that all of them can be combined (e.g. "bolditalicunderlineglow-" )

$alignabs :
- A note, that x and y also can be negative

$imageabs :
- A note, that only pngs are supported, yet.
- A note that following text has to be "$align"ed
- In addition to your existing note about the image-path, a concrete example (e.g.  $imageabs(0,0,your folder\your subfolder\your_pic.png,) )

General:
- #SHADE# and #LINEHEIGHT,n#
- $alignset() and $alignrel(,)

...??
Why don't you add them yourself? Thats the beauty of a wiki

Track Info Panel with ability to change font

Reply #161
Why don't you add them yourself? ...
... Something you can think about !! 
1. I dont think my english is that well and so I m unsure in using it ...!!
2. Nevetheless, I tried. -But it seems to be locked !!

But thanks for your interest ...!!



Track Info Panel with ability to change font

Reply #164
Is it possible to use an external source for fonts than the ones on your system ?
You're talking to my guy all wrong... It's the wrong tone. Say it again, and i'll stab you in the face with a soldering iron!

Track Info Panel with ability to change font

Reply #165
- #SHADE# and #LINEHEIGHT,n#
- $alignset() and $alignrel(,)

What do these do specifically? How are they applied etc.?

*I wish there was a comprehensive wiki page for each component*

Track Info Panel with ability to change font

Reply #166
Very nice plugin you made there, but it would be nice if one could also resize the image. For example like this: $imageabs(0,0,test.png,100,100) where the last two parameters are width and height.

Track Info Panel with ability to change font

Reply #167
Very nice plugin you made there, but it would be nice if one could also resize the image. For example like this: $imageabs(0,0,test.png,100,100) where the last two parameters are width and height.

Especially if you could use % width of panel so that an image always covers 100% of the panel for instance.

Track Info Panel with ability to change font

Reply #168
Why don't you add them yourself? ...
... Something you can think about !! 
1. I dont think my english is that well and so I m unsure in using it ...!!
2. Nevetheless, I tried. -But it seems to be locked !!

But thanks for your interest ...!!

1. I wouldn't worry about the english. Even if you add something wrong someone with better english skills can correct it later. The important thing is to add information. 
2. See the section "to contribute content" in the wiki's main page. Jan can validate your user so you can contribute content.

Track Info Panel with ability to change font

Reply #169
Just for we Brits, could you get the plugin to recognise 'centre' as well as 'center'?

I just spent a while head scratching as to why a bit of code wasn't working, then realised it came down to American spelling.

Track Info Panel with ability to change font

Reply #170
Just for we Brits, could you get the plugin to recognise 'centre' as well as 'center'?

I just spent a while head scratching as to why a bit of code wasn't working, then realised it came down to American spelling.

center is the common spelling for non-english speakers. Even if in french the verb is "centrer".

Track Info Panel with ability to change font

Reply #171
center is the common spelling for non-english speakers. Even if in french the verb is "centrer".
I'm not saying replace 'center'.  It wouldn't be too hard to get it to recognise both spellings.

 

Track Info Panel with ability to change font

Reply #172

- add support for %_system_*% variables (time and date) to make natural language timestamps working

This suggestion is obsolete, because of foo_cwb_hooks.

Not quite,because the value of fields like %cwb_systemdatetime% doesn't update in the trackinfo mod
  untill the second  you start playing a track (it does in a usual trackinfo panel).
Favourite artist:CD-R
Favourite album:700MB

Track Info Panel with ability to change font

Reply #173
Just for we Brits, could you get the plugin to recognise 'centre' as well as 'center'?

I just spent a while head scratching as to why a bit of code wasn't working, then realised it came down to American spelling.


   
I had the same problem with colour-color

Track Info Panel with ability to change font

Reply #174


- add support for %_system_*% variables (time and date) to make natural language timestamps working

This suggestion is obsolete, because of foo_cwb_hooks.

Not quite,because the value of fields like %cwb_systemdatetime% doesn't update in the trackinfo mod
  untill the second  you start playing a track (it does in a usual trackinfo panel).


Hmmm... it doesn't really matter in case of natural language timestamps, I think, because it doesn't need those variables to constatntly update during playback.