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 723783 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Track Info Panel with ability to change font

Reply #75
from the read-me
Quote
Before the first $align function, text is displayed in "compatibility" mode.

so the following code:

%title%$tab()%artist%$char(10)

is internally converted to:

$alignrel(left,top)%title$alignrel(right,top)%artist%$alignset()

After you manually use the first $align function this automatic conversion is no longer performed.


so $char(10) seems to have no effect afterthe first $align()

Track Info Panel with ability to change font

Reply #76
$align(center,top)Tags$char(10)
$align(left,bottom)Artiste: [%artist%][' ('%performer%')']$char(10)

That should do it.


I think the problem is that the text anti-collision is kicking in. Try this:

Code: [Select]
$alignabs(center,top)Tags
$alignabs(left,bottom)Artiste: [%artist%][' ('%performer%')']

Track Info Panel with ability to change font

Reply #77
I think the problem is that the text anti-collision is kicking in. Try this:

Code: [Select]
$alignabs(center,top)Tags
$alignabs(left,bottom)Artiste: [%artist%][' ('%performer%')']


No i find the trick, the right code is:
Quote
$align(center,top)Tags$alignset()
$alignrel(left,top)Artiste: [%artist%][' ('%performer%')']

so now i have what i want :

Track Info Panel with ability to change font

Reply #78
im not quite sure what i missed but it only says "[unknown function]" for me, with the version form the first post.

Track Info Panel with ability to change font

Reply #79
here's what I managed to pull so far with the new spiffy trackinfo  loved the way you can place different texts one above the other...

here it is in ''follow cursor' mode,
and in 'now playing'.

in 'now playing' the green bars behind are animated with moving green lights

here's the code if anyone is interested:
Code: [Select]
$puts(off_col,$rgb(63,92,89))
$puts(s,~)
$puts(anim,
$if(%isplaying%,$select($add($mod(%playback_time_seconds%,5),1),
$rgb(102,179,105)$get(s)$rgb()$get(s)$get(s)$get(s)$get(s),
$rgb()$get(s)$rgb(102,179,105)$get(s)$rgb()$get(s)$get(s)$get(s),
$rgb()$get(s)$get(s)$rgb(102,179,105)$get(s)$rgb()$get(s)$get(s),
$rgb()$get(s)$get(s)$get(s)$rgb(102,179,105)$get(s)$rgb()$get(s),
$rgb()$get(s)$get(s)$get(s)$get(s)$rgb(102,179,105)$get(s)$rgb()),
$rgb()$get(s)$get(s)$get(s)$get(s)$get(s))
)
$get(off_col)
$font(,5, ,)
$alignabs(center,top)
$repeat($get(anim),20)$char(10)$char(10)
$repeat($get(anim),20)$char(10)$char(10)
$repeat($get(anim),20)$char(10)$char(10)
$repeat($get(anim),20)$char(10)$char(10)
$repeat($get(anim),20)$char(10)$char(10)
$repeat($get(anim),20)
$alignabs(center,top)
$font(wingdings 2,50, shadow , 52-52-62 )$char(98)
$font(wingdings 2,50, shadow , 52-52-62 )$char(99)
$font(wingdings 2,50, shadow , 52-52-62 )$char(100)
$font(wingdings 2,50, shadow , 52-52-62 )$char(97)
$alignabs(center,middle)
$font(Bangle,9,shadow-italic,102-120-240)
$if(%_trackinfo_notrack%,No track,Artist: %artist%$char(10)
Title: %title%$char(10)
Album: %album%)
$alignabs(right,bottom)
$if($strcmp(%_trackinfo_mode%,Now playing),
$font(webdings,22,shadow, 82-100-150 )$char(79),
$font(webdings,22,shadow, 82-100-150 )$char(78))

(sorry about the code bit being so big.. I don't know how to limit its size...) / fixed, thanks Squeller 

Track Info Panel with ability to change font

Reply #80
Is there a way to terminate the alignment in a similar fashion to the $rgb() tag?
Also, it seems that double $char(10) tags no longer produce an empty line.

For example, this
Code: [Select]
Foo$char(10)$char(10)bar


Produces this
Code: [Select]
Foo
bar

Is it possible with this new version?

Track Info Panel with ability to change font

Reply #81
The broken $char(10) appears to have something to do with alignments.

Try this:
Code: [Select]
$alignrel(left,)Foo$char(10)$char(10)bar


Produces this:
Quote
Foo

bar

Track Info Panel with ability to change font

Reply #82
I have a crash by this plugin here's the crash log:
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 015D22C4h
Access violation, operation: write, address: 00000000h
Call path:
entry=>app_mainloop
This is the first crash logged by this instance.
Code bytes (015D22C4h):
015D2284h:  66 8B 11 83 C1 02 66 85 D2 75 F5 2B CF D1 F9 74
015D2294h:  1A 8D BC 24 74 02 00 00 8B CE 2B FE 0F B7 11 66
015D22A4h:  89 14 0F 83 C1 02 66 85 D2 75 F1 8D 70 02 6A 2C
015D22B4h:  56 66 C7 00 2C 00 E8 F1 D0 02 00 8B CE 83 C4 08
015D22C4h:  66 C7 00 00 00 8D 79 02 8D 64 24 00 66 8B 11 83
015D22D4h:  C1 02 66 85 D2 75 F5 2B CF D1 F9 74 1E 8D BC 24
015D22E4h:  AC 01 00 00 8B CE 2B FE 8D 64 24 00 0F B7 11 66
015D22F4h:  89 14 0F 83 C1 02 66 85 D2 75 F1 8D 70 02 6A 2C
Stack (0012EEFCh):
0012EEDCh:  00000000 0000000C BBE7AB18 0012F460
0012EEECh:  00009C90 B2076B60 BF81642D B2076D38
0012EEFCh:  00E5E128 00E53BAC 0012F364 00E53B30
0012EF0Ch:  013C0D18 7C91056D 00E5E1F4 00350032
0012EF1Ch:  002D0035 00350032 002D0035 00350032
0012EF2Ch:  00000035 30303030 30303030 00E50000
0012EF3Ch:  30303030 00000014 00000016 01FFFFFF
0012EF4Ch:  000000B0 0012EF58 FFFFFFFF 0012EDA0
0012EF5Ch:  00E58AF9 0012EFB4 7C90EE18 7C917BB8
0012EF6Ch:  FFFFFFFF 00000118 7813525C 00E50000
0012EF7Ch:  00000001 00E53D48 78135293 7EBF4BBA
0012EF8Ch:  000000A4 0012F2E8 000000A4 003C0000
0012EF9Ch:  0000000A 00000000 0000000E 00000000
0012EFACh:  0012EF88 00010000 00000023 0012EF14
0012EFBCh:  06B6E88E 0012F000 7C90EE18 7C910570
0012EFCCh:  FFFFFFFF 7C91056D 00490FED 003C0000
0012EFDCh:  00000000 006C0067 0077006F 0000002D
0012EFECh:  0012F054 01F6DB80 00E58AF8 0012EFE4
0012EFFCh:  00000093 0012F078 004945C0 7E98BE28
0012F00Ch:  FFFFFFFE 0049100C 0040C783 0012F04C
Registers:
EAX: 00000000, EBX: 00E5E262, ECX: 00E5E27C, EDX: 0000002C
ESI: 00E5E27C, EDI: FF2D0F02, EBP: 032B01E0, ESP: 0012EEFC
Crash location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h

Loaded modules:
foobar2000                      loaded at 00400000h - 004F0000h
ntdll                            loaded at 7C900000h - 7C9B0000h
kernel32                        loaded at 7C800000h - 7C8F4000h
COMCTL32                        loaded at 773D0000h - 774D2000h
msvcrt                          loaded at 77C10000h - 77C68000h
ADVAPI32                        loaded at 77DD0000h - 77E6B000h
RPCRT4                          loaded at 77E70000h - 77F01000h
GDI32                            loaded at 77F10000h - 77F56000h
USER32                          loaded at 77D40000h - 77DD0000h
SHLWAPI                          loaded at 77F60000h - 77FD6000h
SHELL32                          loaded at 7C9C0000h - 7D1D4000h
ole32                            loaded at 774E0000h - 7761C000h
shared                          loaded at 10000000h - 1002A000h
comdlg32                        loaded at 763B0000h - 763F9000h
IMM32                            loaded at 76390000h - 763AD000h
LPK                              loaded at 629C0000h - 629C9000h
USP10                            loaded at 74D90000h - 74DFB000h
uxtheme                          loaded at 5AD70000h - 5ADA8000h
MSCTF                            loaded at 74720000h - 7476B000h
msctfime                        loaded at 755C0000h - 755EE000h
foo_abx                          loaded at 00A60000h - 00A93000h
foo_albumlist                    loaded at 00AB0000h - 00AF1000h
foo_autoplaylist                loaded at 00B20000h - 00B50000h
foo_burninate                    loaded at 00B70000h - 00BA7000h
VERSION                          loaded at 77C00000h - 77C08000h
foo_cdda                        loaded at 00BD0000h - 00C06000h
foo_channel_mixer                loaded at 00C30000h - 00C6A000h
foo_common                      loaded at 00C80000h - 00CBA000h
foo_converter                    loaded at 00CE0000h - 00D49000h
foo_dbsearch                    loaded at 00D70000h - 00DCC000h
foo_dsp_delta                    loaded at 00DF0000h - 00E0E000h
foo_dsp_skip_silence            loaded at 00E30000h - 00E3A000h
MSVCR80                          loaded at 78130000h - 781CB000h
foo_dsp_std                      loaded at 00E60000h - 00EA1000h
foo_freedb2                      loaded at 00ED0000h - 00F10000h
foo_input_monkey                loaded at 00F30000h - 00F79000h
foo_input_ofr                    loaded at 00FA0000h - 00FDC000h
OptimFROG                        loaded at 00FF0000h - 01022000h
foo_input_std                    loaded at 01050000h - 0115A000h
foo_input_tta                    loaded at 01180000h - 011AD000h
foo_masstag                      loaded at 011D0000h - 01220000h
foo_masstag_addons              loaded at 01240000h - 01249000h
foo_menu_addons                  loaded at 01260000h - 0126E000h
foo_navigator                    loaded at 01280000h - 012A1000h
foo_osd                          loaded at 012D0000h - 01305000h
foo_playlist_manager            loaded at 01330000h - 01377000h
foo_pqview                      loaded at 013A0000h - 013BC000h
foo_psf                          loaded at 013E0000h - 014C2000h
foo_rgscan                      loaded at 014F0000h - 01535000h
foo_uie_quicksearch              loaded at 01560000h - 015A8000h
foo_uie_trackinfo_mod            loaded at 015D0000h - 0160F000h
foo_ui_columns                  loaded at 01620000h - 016BB000h
foo_ui_std                      loaded at 016E0000h - 01737000h
foo_unpack                      loaded at 01760000h - 0178E000h
foo_utils                        loaded at 017B0000h - 017E9000h
foo_version                      loaded at 01810000h - 01836000h
dbghelp                          loaded at 59A60000h - 59B01000h
DSOUND                          loaded at 73F10000h - 73F6C000h
WINMM                            loaded at 76B40000h - 76B6D000h
wdmaud                          loaded at 72D20000h - 72D29000h
WINTRUST                        loaded at 76C30000h - 76C5E000h
CRYPT32                          loaded at 77A80000h - 77B14000h
MSASN1                          loaded at 77B20000h - 77B32000h
IMAGEHLP                        loaded at 76C90000h - 76CB8000h
msacm32                          loaded at 72D10000h - 72D18000h
MSACM32                          loaded at 77BE0000h - 77BF5000h
midimap                          loaded at 77BD0000h - 77BD7000h
KsUser                          loaded at 73EE0000h - 73EE4000h

Stack dump analysis:
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C917BB8h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlReAllocateHeap" (+000001BBh)
Address: 7813525Ch, location: "MSVCR80", loaded at 78130000h - 781CB000h
Symbol: "realloc" (+0000035Fh)
Address: 78135293h, location: "MSVCR80", loaded at 78130000h - 781CB000h
Symbol: "realloc" (+00000396h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910570h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000133h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 00490FEDh, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004945C0h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 0049100Ch, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 0040C783h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 00403680h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C911538h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000AA9h)
Address: 7C911596h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 0145E555h, location: "foo_psf", loaded at 013E0000h - 014C2000h
Address: 004A6FB4h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 01600668h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 0045BF42h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004614D1h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004A7861h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 00460B1Dh, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 00460B2Ah, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 7C9105C8h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+0000018Bh)
Address: 7C910551h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000114h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 004A4688h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 0043793Fh, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004DFA1Ch, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004DBE00h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004DFA1Ch, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004BEE9Ch, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004BEE84h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910570h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000133h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 78134B9Fh, location: "MSVCR80", loaded at 78130000h - 781CB000h
Symbol: "free" (+000000CDh)
Address: 015D4B06h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D4AB4Eh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "wvsprintfW" (+000002D1h)
Address: 77D4AAAAh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "wvsprintfW" (+0000022Dh)
Address: 77D4A862h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "wsprintfW" (+00000000h)
Address: 015D2B0Fh, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 7475E548h, location: "MSCTF", loaded at 74720000h - 7476B000h
Address: 74730E78h, location: "MSCTF", loaded at 74720000h - 7476B000h
Symbol: "TF_UninitSystem" (+00000A0Fh)
Address: 01604F04h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 0160091Fh, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D488B8h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+0000003Ah)
Address: 015D2155h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D48709h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000072h)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D487EBh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000154h)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D70494h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetClipboardFormatNameA" (+0000014Fh)
Address: 77D48808h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000171h)
Address: 77D4B368h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+00000183h)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D56DDBh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "EndDialog" (+00000112h)
Address: 77D70494h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetClipboardFormatNameA" (+0000014Fh)
Address: 77D4B378h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+00000193h)
Address: 77D4B3B4h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+000001CFh)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D4ECE9h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "IsCharAlphaW" (+00000129h)
Address: 7C90EAE3h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "KiUserCallbackDispatcher" (+00000013h)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D4B31Bh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+00000136h)
Address: 77D494F7h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongA" (+0000007Bh)
Address: 77D4B3D8h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+000001F3h)
Address: 77D48564h, location: "USER32", loaded at 77D40000h - 77DD0000h
Address: 77D70494h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetClipboardFormatNameA" (+0000014Fh)
Address: 77D489C8h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+0000014Ah)
Address: 77D489E8h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DispatchMessageW" (+0000000Fh)
Address: 77D6EA3Bh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "CallMsgFilterW" (+00000213h)
Address: 00F0028Ch, location: "foo_freedb2", loaded at 00ED0000h - 00F10000h
Address: 77D5688Ah, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "LoadBitmapA" (+000000E2h)
Address: 01530332h, location: "foo_rgscan", loaded at 014F0000h - 01535000h
Address: 00F0028Ch, location: "foo_freedb2", loaded at 00ED0000h - 00F10000h
Address: 77D568CCh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DialogBoxIndirectParamAorW" (+00000036h)
Address: 015D0000h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 0160B0A0h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D6620h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D56741h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DialogBoxParamW" (+0000003Fh)
Address: 015D0000h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 0160B0A0h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D6620h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D1EF5h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D0000h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D6620h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 00FFFFFFh, location: "OptimFROG", loaded at 00FF0000h - 01022000h
Address: 01604F04h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 01530332h, location: "foo_rgscan", loaded at 014F0000h - 01535000h
Address: 01600888h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D451Eh, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 01604F94h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D48709h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000072h)
Address: 01600828h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D2878h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D48832h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+0000019Bh)
Address: 77D487FFh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000168h)
Address: 77D48AFEh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowThreadProcessId" (+000000A6h)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D488A9h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+0000002Bh)
Address: 77D488B2h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 0160091Fh, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D2155h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D48709h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000072h)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D487EBh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000154h)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D70494h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetClipboardFormatNameA" (+0000014Fh)
Address: 77D48808h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000171h)
Address: 77D4D3BBh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetTopWindow" (+0000024Ch)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D484BCh, location: "USER32", loaded at 77D40000h - 77DD0000h
Address: 77D48564h, location: "USER32", loaded at 77D40000h - 77DD0000h
Address: 77D4B2A1h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+000000BCh)
Address: 77D4B23Ch, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+00000057h)
Address: 77D70494h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetClipboardFormatNameA" (+0000014Fh)
Address: 77D4B258h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+00000073h)
Address: 015D2E96h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D4ECC3h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "IsCharAlphaW" (+00000103h)
Address: 77D4ECD2h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "IsCharAlphaW" (+00000112h)
Address: 77D70494h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetClipboardFormatNameA" (+0000014Fh)
Address: 77D4ECD8h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "IsCharAlphaW" (+00000118h)
Address: 77D4ECD2h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "IsCharAlphaW" (+00000112h)
Address: 77D56DDBh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "EndDialog" (+00000112h)
Address: 77D56DEBh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "EndDialog" (+00000122h)
Address: 77D48AFEh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowThreadProcessId" (+000000A6h)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D488A9h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+0000002Bh)
Address: 77D488B2h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 0160091Fh, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D2155h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D48709h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000072h)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D487EBh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000154h)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D70494h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetClipboardFormatNameA" (+0000014Fh)
Address: 77D70494h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetClipboardFormatNameA" (+0000014Fh)
Address: 77D48808h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000171h)
Address: 77D489A5h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+00000127h)
Address: 015D2110h, location: "foo_uie_trackinfo_mod", loaded at 015D0000h - 0160F000h
Address: 77D6E7CCh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "IsDialogMessageW" (+0000008Eh)
Address: 77D70494h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetClipboardFormatNameA" (+0000014Fh)
Address: 77D489C8h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+0000014Ah)
Address: 77D489E8h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DispatchMessageW" (+0000000Fh)
Address: 0042EBC5h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 77D4E666h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DestroyWindow" (+00000000h)
Address: 0042F6FBh, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 004BD3D8h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 004C459Ch, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004C459Ch, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004C4580h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C911596h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 004E1158h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 7C917BB0h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlReAllocateHeap" (+000001B3h)
Address: 100032E1h, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uGetCallStackPath" (+000004D1h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C9106F0h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000011Ch)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 0049147Dh, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004E11D8h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 0044CAEBh, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 0040C796h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 0040369Ah, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 0049423Ah, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004BD530h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 10002D97h, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000B7h)
Address: 004BD530h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004AC7DAh, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004BD530h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 0042F8E7h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004DD970h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004942C4h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 0048F7BCh, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 0048F7B6h, location: "foobar2000", loaded at 00400000h - 004F0000h
Address: 004B19E8h, location: "foobar2000", loaded at 00400000h - 004F0000h

Version info:
foobar2000 v0.9.3.1
UNICODE

Additional info:
freedb tagger 0.5.2  (foo_freedb2)
Standard Input Array 1.0  (foo_input_std)
Default User Interface 0.9acc  (foo_ui_std)
ZIP/GZIP reader 1.0  (foo_unpack)
Autoplaylist Manager 1.0  (foo_autoplaylist)
Components versions viewer 0.3  (foo_version)
Album List 3.2.0  (foo_albumlist)
Playlist tools 0.5.8  (foo_utils)
Masstagger Addons 0.2  (foo_masstag_addons)
Standard DSP array 1.0  (foo_dsp_std)
TTA Audio Decoder (unofficial) 2.4.2  (foo_input_tta)
Skip silence 0.1  (foo_dsp_skip_silence)
Channel Mixer 0.9.4  (foo_channel_mixer)
Quick Search Toolbar 2.8f  (foo_uie_quicksearch)
ABX comparator 1.3  (foo_abx)
FLAC decoder 1.1.0  (foo_input_std)
Converter 1.0.1  (foo_converter)
Database search 1.3.1 beta 11  (foo_dbsearch)
RAR reader 1.1  (foo_unpack)
OptimFROG Lossless/DualStream Decoder 1.21b  (foo_input_ofr)
Audio CD Writer 2.0.1  (foo_burninate)
Menu Addons 0.1  (foo_menu_addons)
Masstagger 1.6  (foo_masstag)
Common services 0.1  (foo_common)
CD Audio Decoder 2.1.1  (foo_cdda)
Monkey's Audio decoder 2.1.1  (foo_input_monkey)
Playlist Manager 1.0.2  (foo_playlist_manager)
On-Screen Display 1.52  (foo_osd)
ReplayGain Scanner 2.0.2  (foo_rgscan)
Track info panel mod 0.8  (foo_uie_trackinfo_mod)
LPCM <--> delta-PCM converter 0.1.1  (foo_dsp_delta)
Highly Experimental 2.0.5  (foo_psf)
Navigator 0.2  (foo_navigator)
Columns UI 0.1.3 beta 1v5  (foo_ui_columns)
It happened when I were trying to do the eclipsis code that Yotsuya provides
Code: [Select]
$left(
Place your existing code here.
,$div($sub(%_width%,$calcwidth($char(8230))),$calcwidth($char(34))))$char(8230)
I put my entire code in the "Place your existing code here." with some $align functions in it. Apply and it crash but not all the time though.

Track Info Panel with ability to change font

Reply #83
I have a problem. One of my track info panels keeps outputting a question mark for missing tags, though I've put the tag script between square brackets.

Code: [Select]
// Original Artist
[$font(,,nocleartype bold,)Original Version: $font(,,nocleartype,)%original artist%$char(10)


Output:
Original Arist: ?

This only happens when the $font function is in the square brackets.

Track Info Panel with ability to change font

Reply #84
Is this the full code your problem goes around ...??

Then you should use the second bracket ( "]" ) ...!!

Track Info Panel with ability to change font

Reply #85
It seems putting tht $font function in the bracket cause that, try using $if.

Track Info Panel with ability to change font

Reply #86
1) The code has no close bracket ']' as Sw!ng pointed out.
2) How did "Original Version:" become "Original Arist:"

Is there more code going on that we dont see? I am able to use $font() functions inside brackets without a problem.

Track Info Panel with ability to change font

Reply #87
1) The code has no close bracket ']' as Sw!ng pointed out.
2) How did "Original Version:" become "Original Arist:"

Is there more code going on that we dont see? I am able to use $font() functions inside brackets without a problem.


Opps. I typed out an example rather quickly. That's why the sloppy mess.


Anyway, say this is my script:

Code: [Select]
[$font(,,bold,)test: $font(,,nocleartype,)%WHATEVER%]

That will render as: test: ?

if the %WHATEVER% tag does not exist. Omit the $font function from the brackets and the script works as expected.

So either I am doing something wrong or the $font function doesn't like square brackets?

Track Info Panel with ability to change font

Reply #88
In general I do not like using brackets. Both the brackets and $if2() function are a bit over sensitive IMO. I believe what is happening is that the $font() function is returning a value, therefore the brackets are being evaluated.. and since the %WHATEVER% is still in those brackets it gets rendered but since it has no value it's rendered as '?'.

I would suggest replacing your code with one of the following, depending on your needs. I have seen this sort of "false positive" in brackets and $if2() when functions other than $font() in other components:

$if(%WHATEVER%,$font(,,bold,)test: $font(,,nocleartype,)%whatever%,)

-or-

$font(,,bold,)test: $font(,,nocleartype,)[%WHATEVER%]

Track Info Panel with ability to change font

Reply #89
any plans for adding scrolling/elipsed test in this plugin? even though neither of these features work very well with the version im using v0.8, maybe they could be implemented better.

Track Info Panel with ability to change font

Reply #90
If strings are going over the edge, I suggest using $cut().

$cut(%string%,n) where n is number of characters to truncate to. I think.

Someone also had a string that would scroll some info in a set space. It's somewhere in the old thread for foo_uie_trackinfo

Track Info Panel with ability to change font

Reply #91
w00t ?? realy ?? so I didnt need to work out my own Version of Scroll-'String'...?? 

-Well, its my first weird version with a few bugs, but u can try out and give me some Ideas ( solutions  ) or improvements. -'Cause I'm not realy good in this 'Coding'-Stuff ...

Here it is, so far:
Code: [Select]
$puts(text1
,$font(Arial Unicode MS,12,bolditalicglow-,255-255-255)[%artist%] 
)

$puts(Text2
,$font(Arial Unicode MS,12,bolditalicglow-,196-196-196)[%title%]
)

$puts(Space,
0)

$puts(RelPosition,
5)


$alignabs($puts(Space,0)$puts(Text,$get(Text1))

$puts(Overlength
,$max(0,$mul($div($sub($calcwidth($get(text)),%_width%),2),2))
)
$puts(Move
,$mul(2,$div($get(Overlength),10))
)
$puts(Counter2
,$mul($mod(%_time_elapsed_seconds%,$max(1,$mul(2,$div($get(Overlength),$get(Move))))),$get(Move)))

$mul(-2,$ifgreater($get(Counter2),$sub($get(Overlength),0)
,$sub($get(Overlength),$div($get(Counter2),2))
,$div($get(Counter2),2)
)),
$put(Position,$mul($div(%_height%,100),$get(RelPosition))),
$max(%_width%,$calcwidth($get(text))),
$calcheight($get(Text)),
center
,)
#SHADE#$get(text)

// ------------------------------------------------------------------------------------------------------------------------------------------------------

$alignabs($puts(Space,5)$puts(Text,$get(Text2))

$puts(Overlength
,$max(0,$mul($div($sub($calcwidth($get(text)),%_width%),2),2))
)
$puts(Move
,$mul(2,$div($get(Overlength),10))
)
$puts(Counter2
,$mul($mod(%_time_elapsed_seconds%,$max(1,$mul(2,$div($get(Overlength),$get(Move))))),$get(Move)))

$mul(-2,$ifgreater($get(Counter2),$sub($get(Overlength),0)
,$sub($get(Overlength),$div($get(Counter2),2))
,$div($get(Counter2),2)
)),
$put(Position,$add($get(Position),$calcheight($get(Text)),$get(Space)$puts(space,0))),
$max(%_width%,$calcwidth($get(text))),
$calcheight($get(Text)),
center
,)
#SHADE#$get(text)
Features:
-automatic detection of the current window-width
-different scroll-speed for every line, depending on its each text' length
-vertical Position relative to the displayheight (nearly in percent) for the first Line
-other lines follow allways the one that came before, no matter at wich relative (vert) position. (to add more Lines, copy the stuff under the "// --------------------- ")

Track Info Panel with ability to change font

Reply #92
BTW,
anyone of you guys have an explanation, why the codes from This Topic dont work in this trackinfo-mod ...??

Track Info Panel with ability to change font

Reply #93
The only thing stopping me from using this wonderful component is it's unability to set the line spacing
and the worst is that it identifies itself as 'usual' trackinfo panel and converts all present trackinfo panel
into trackinfo_mod one.If there's any way of fixing it,it would be great 
Favourite artist:CD-R
Favourite album:700MB

Track Info Panel with ability to change font

Reply #94
you can set line spacing, Russell777, but only for the following line (not globally). this will imho, change in the final version ...

Track Info Panel with ability to change font

Reply #95
Do you meen by using the $alignabs() function? If so,it's not exactly the same.I'll better wait for the final
version to come out,thanks 
Favourite artist:CD-R
Favourite album:700MB

Track Info Panel with ability to change font

Reply #96
Yes, using the same name for the coponent is realy a big mess !!
(- Or is it to call "Replacing-Politics" ...??  )

The only thing stopping me from using this wonderful component is it's unability to set the line spacing ...
Is THIS ment as the answer for my question about your codes ?? 
-Then I dont understand why and how your code depends on the line spacing ... 
(cause it even works in the "LyricsPanel" ...)

But I can tell you how to set the linespacing for each single (!!) line in this component:
- Its the command #LINEHEIGHT,10# , and it becomes effective in the following line, as mazy allready mentioned ...!!

And if you want it to NEARLY act in known fashion with the $tab()-stuff,
the 'old'

Line1_L$tab()Line1_C$tab()Line1_R$char(10)
$tab()Line2_C$tab()Line2_R$char(10)

Is to convert into:

$alignrel(left,top)Line1_L$alignrel(center,top)Line1_C$alignrel(right,top)Line1_R$alignset()
$alignrel(left,top)$alignrel(center,top)Line2_C$alignrel(right,top)Line2_R#LINHEIGHT,20#$alignset()
$alignrel(left,top)Line3_L$alignrel(center,top)Line3_C$alignset()

(I hope you see what I mean ...)

Well, I thought that would be all to know to convert 'old' codes...
... until your progress-bar-variants crossed my way 
-So I dont know where else the difference is, relating on your code ...!!

My goal is, to get such progress-bars as background for the trackinfo ...   

Track Info Panel with ability to change font

Reply #97
2 Sw!ng:
Well if you want you'll get it just tell me what version you have on mind 
Favourite artist:CD-R
Favourite album:700MB

Track Info Panel with ability to change font

Reply #98
sorry guys... things are a bit on hold for a moment while my development machine is down and I (and it seems like half the planet) am waiting for a conroe

I will try to fix the crashing bug asap

Track Info Panel with ability to change font

Reply #99
@ russell777
2.1 would be nice ... !!