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

Track Info Panel with ability to change font

Reply #500
all the code has to be self contained inside the button. it doesn't carry through outside the button. think of it as a separate trackinfo panel.
So you can't have a button changing another buttons image? (Could be useful for effects overlaying other buttons in a panel)

Edit: Sure it can be done, using seperate images as a whole, with seperate hover points. I already do it with my rating control. Sorry, still new to this
Can't wait for a HD-AAC encoder :P

Track Info Panel with ability to change font

Reply #501
In the case that anyone else is wondering how to remove a tag altogether; I was trying to figure it out myself and found that not specifying a tag value does the trick, like this:

$button2(50,50,0,0,25,13,'$font(tahoma,8,,0-0-0)Test','$font(tahoma,8,underline,0-0-0)Test',TAG:SET:Rating:,)

As far as creating a tag with multiple values or adding to a tag that has multiple values, I haven't found a way to do that, and am not sure it's even possible with the current build. Maybe the next version will use a semi-colon to to separate multiple values or something.

Track Info Panel with ability to change font

Reply #502
Bug Report
When no track is playing or the playlist is empty, and you click a button that is using the SET:TAG option;  Foobar crashes.

Code: [Select]
$button2(0,0,0,0,$calcwidth(Test),13,'$font(tahoma,8,,0-0-0)Test','$font(tahoma,8,underline,0-0-0)Test',TAG:SET:Rating:1,)

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 0043BD59h
Access violation, operation: read, address: 00000000h
Call path:
entry=>app_mainloop
This is the first crash logged by this instance.
Code bytes (0043BD59h):
0043BD19h:  C0 EB 66 39 7D 08 74 21 7E 0A 83 7D 08 02 7F 04
0043BD29h:  B0 01 EB 55 8D 75 E0 E8 1D 7B FC FF 68 2C 7F 4C
0043BD39h:  00 8B C6 50 E8 52 C6 05 00 3B C7 53 76 38 57 8D
0043BD49h:  45 F0 50 8B CE E8 75 61 FD FF 83 65 FC 00 8B 08
0043BD59h:  8B 01 FF 50 20 8A D8 F6 DB 1A DB 83 4D FC FF 8B
0043BD69h:  4D F0 FE C3 85 C9 74 04 8B 01 FF 10 84 DB 75 17
0043BD79h:  47 3B 7D EC 72 C8 32 C0 5B 8B 4D F4 5F 5E 64 89
0043BD89h:  0D 00 00 00 00 C9 C3 B0 01 EB ED B8 DD FA 4A 00
Stack (0012F670h):
0012F650h:  00F8E644 7C9C93C0 77F643DD 7C9C93C0
0012F660h:  00000004 00000000 00F8DB50 00000000
0012F670h:  00000000 0549474C 0012F6FC 0012F6A8
0012F680h:  0040A6F4 0040A709 00000001 00000000
0012F690h:  0012F6B4 004A798B 00000000 0012F6C0
0012F6A0h:  0043BDB1 00000000 0012F6FC 00000000
0012F6B0h:  004DEB6C 0012F6EC 004AFADD FFFFFFFF
0012F6C0h:  0012F9E8 015494CF 0012F6E0 00000000
0012F6D0h:  00FC03D8 00000000 C39E7EA7 0012F6FC
0012F6E0h:  01555DD8 0012F6FC 00000001 0012F9DC
0012F6F0h:  0154ED28 00000000 015157B4 00000000
0012F700h:  00000000 00FC03D8 00000000 C39E7F6B
0012F710h:  01F103C6 05492B58 001B004F 031194D0
0012F720h:  00000000 0012F6FC 05492B58 004DEB6C
0012F730h:  773EABE2 01F103C6 0A010E62 00000000
0012F740h:  00000000 00000000 0000025D 00000000
0012F750h:  0549E1E8 00D8ADBC A54B8AB0 00000000
0012F760h:  BFA0E991 00000000 A54B892C 00000002
0012F770h:  00000000 00000001 00CC0020 FFFFFFFF
0012F780h:  0549E1E8 00D8ADC0 0549E1E8 00D8ADB8
Registers:
EAX: 0012F68C, EBX: 00000000, ECX: 00000000, EDX: 0043BD94
ESI: 0012F6E0, EDI: 00000000, EBP: 0012F69C, ESP: 0012F670
Crash location: "foobar2000", loaded at 00400000h - 004F2000h

Loaded modules:
foobar2000                      loaded at 00400000h - 004F2000h
ntdll                            loaded at 7C900000h - 7C9B0000h
kernel32                        loaded at 7C800000h - 7C8F4000h
COMCTL32                        loaded at 773D0000h - 774D3000h
msvcrt                          loaded at 77C10000h - 77C68000h
ADVAPI32                        loaded at 77DD0000h - 77E6B000h
RPCRT4                          loaded at 77E70000h - 77F01000h
GDI32                            loaded at 77F10000h - 77F57000h
USER32                          loaded at 77D40000h - 77DD0000h
SHLWAPI                          loaded at 77F60000h - 77FD6000h
SHELL32                          loaded at 7C9C0000h - 7D1D5000h
ole32                            loaded at 774E0000h - 7761D000h
shared                          loaded at 10000000h - 1002A000h
comdlg32                        loaded at 763B0000h - 763F9000h
uxtheme                          loaded at 5AD70000h - 5ADA8000h
foo_albumlist                    loaded at 00A30000h - 00A77000h
OLEAUT32                        loaded at 77120000h - 771AC000h
foo_audioscrobbler              loaded at 00A80000h - 00AB7000h
WS2_32                          loaded at 71AB0000h - 71AC7000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_autoplaylist                loaded at 00B00000h - 00B32000h
foo_browser                      loaded at 00B60000h - 00B9B000h
foo_cdda                        loaded at 00BC0000h - 00BF6000h
foo_common                      loaded at 00C20000h - 00C5A000h
foo_cwb_hooks                    loaded at 00C80000h - 00CAE000h
foo_dbsearch                    loaded at 00CD0000h - 00D3C000h
foo_dsp_crossfader              loaded at 00D60000h - 00D6D000h
MSVCR80                          loaded at 78130000h - 781CB000h
foo_dsp_skip_silence            loaded at 00D90000h - 00D9A000h
foo_dsp_std                      loaded at 00DB0000h - 00DF1000h
foo_input_std                    loaded at 00E20000h - 00F34000h
foo_lnk                          loaded at 00F60000h - 00F79000h
foo_masstag                      loaded at 00FA0000h - 00FF0000h
foo_playcount                    loaded at 01010000h - 01038000h
foo_playlist_tree                loaded at 01060000h - 010C9000h
foo_random                      loaded at 010F0000h - 0112F000h
foo_rgscan                      loaded at 01150000h - 01198000h
foo_run                          loaded at 011C0000h - 011EB000h
foo_uie_albumart                loaded at 01210000h - 01247000h
gdiplus                          loaded at 4EC50000h - 4EDF3000h
foo_uie_albumlist                loaded at 01280000h - 012BF000h
foo_uie_explorer                loaded at 012E0000h - 0131C000h
foo_uie_lyrics                  loaded at 01340000h - 0139E000h
WININET                          loaded at 771B0000h - 77259000h
CRYPT32                          loaded at 77A80000h - 77B14000h
MSASN1                          loaded at 77B20000h - 77B32000h
WINMM                            loaded at 76B40000h - 76B6D000h
foo_uie_quicksearch              loaded at 01470000h - 014B7000h
foo_uie_tabs                    loaded at 014C0000h - 014EA000h
foo_uie_trackinfo_mod            loaded at 01510000h - 01563000h
MSVCP80                          loaded at 7C420000h - 7C4A7000h
foo_ui_columns                  loaded at 01580000h - 01617000h
foo_ui_std                      loaded at 01640000h - 01697000h
foo_utils                        loaded at 016C0000h - 016F9000h
tskh                            loaded at 01A20000h - 01A32000h
CLBCATQ                          loaded at 76FD0000h - 7704F000h
COMRes                          loaded at 77050000h - 77118000h
VERSION                          loaded at 77C00000h - 77C08000h
SETUPAPI                        loaded at 77920000h - 77A79000h
appHelp                          loaded at 77B40000h - 77B62000h
cscui                            loaded at 02240000h - 022F1000h
CSCDLL                          loaded at 76600000h - 7661D000h
USERENV                          loaded at 769C0000h - 76A73000h
mswsock                          loaded at 71A50000h - 71A8F000h
DNSAPI                          loaded at 76F20000h - 76F47000h
iphlpapi                        loaded at 76D60000h - 76D79000h
imon                            loaded at 20B00000h - 20B45000h
WSOCK32                          loaded at 71AD0000h - 71AD9000h
NTMARTA                          loaded at 77690000h - 776B1000h
WLDAP32                          loaded at 76F60000h - 76F8C000h
SAMLIB                          loaded at 71BF0000h - 71C03000h
hnetcfg                          loaded at 662B0000h - 66308000h
wshtcpip                        loaded at 71A90000h - 71A98000h
DSOUND                          loaded at 73F10000h - 73F6C000h
WINTRUST                        loaded at 76C30000h - 76C5E000h
IMAGEHLP                        loaded at 76C90000h - 76CB8000h
wdmaud                          loaded at 72D20000h - 72D29000h
rasadhlp                        loaded at 76FC0000h - 76FC6000h
msacm32                          loaded at 72D10000h - 72D18000h
MSACM32                          loaded at 77BE0000h - 77BF5000h
midimap                          loaded at 77BD0000h - 77BD7000h
KsUser                          loaded at 73EE0000h - 73EE4000h
dciman32                        loaded at 73BC0000h - 73BC6000h
DBGHELP                          loaded at 59A60000h - 59B01000h

Stack dump analysis:
Address: 0040A6F4h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 0040A709h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004A798Bh, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 0043BDB1h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004DEB6Ch, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004AFADDh, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 015494CFh, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 00FC03D8h, location: "foo_masstag", loaded at 00FA0000h - 00FF0000h
Address: 01555DD8h, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 0154ED28h, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 015157B4h, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 00FC03D8h, location: "foo_masstag", loaded at 00FA0000h - 00FF0000h
Address: 004DEB6Ch, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 773EABE2h, location: "COMCTL32", loaded at 773D0000h - 774D3000h
Symbol: "Ordinal414" (+00000BA5h)
Address: 77F16EAAh, location: "GDI32", loaded at 77F10000h - 77F57000h
Symbol: "DeleteDC" (+00000012h)
Address: 773D6B40h, location: "COMCTL32", loaded at 773D0000h - 774D3000h
Symbol: "DllInstall" (+000008C0h)
Address: 77D4B629h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "EndPaint" (+0000000Ch)
Address: 77443B46h, location: "COMCTL32", loaded at 773D0000h - 774D3000h
Symbol: "Ordinal384" (+00057CA6h)
Address: 00CE04A4h, location: "foo_dbsearch", loaded at 00CD0000h - 00D3C000h
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C9106ABh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+000000D7h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C9105D4h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000000h)
Address: 77D48BD9h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowThreadProcessId" (+00000159h)
Address: 7744583Bh, location: "COMCTL32", loaded at 773D0000h - 774D3000h
Symbol: "CreateToolbar" (+00000C97h)
Address: 77444BDBh, location: "COMCTL32", loaded at 773D0000h - 774D3000h
Symbol: "CreateToolbar" (+00000037h)
Address: 7744636Fh, location: "COMCTL32", loaded at 773D0000h - 774D3000h
Symbol: "CreateToolbar" (+000017CBh)
Address: 77D48B26h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowThreadProcessId" (+000000A6h)
Address: 01514A00h, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 77D488D1h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+0000002Bh)
Address: 77D488DAh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 01514A00h, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
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: 01514A00h, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 77D48734h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+0000006Dh)
Address: 77D48B26h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowThreadProcessId" (+000000A6h)
Address: 01514A00h, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 77D488D1h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+0000002Bh)
Address: 77D488DAh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 01514A00h, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 0155080Fh, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 01514A43h, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 01514A00h, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 77D48734h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+0000006Dh)
Address: 01514A00h, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 01514A00h, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 77D48816h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+0000014Fh)
Address: 01514A00h, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 77D70467h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D70467h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D48830h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000169h)
Address: 77D489CDh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+00000127h)
Address: 01514A00h, location: "foo_uie_trackinfo_mod", loaded at 01510000h - 01563000h
Address: 77D4DAEAh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DestroyWindow" (+00000000h)
Address: 77D5E04Ah, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "IsDialogMessageW" (+0000008Eh)
Address: 77D70467h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D489F0h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+0000014Ah)
Address: 77D48A10h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DispatchMessageW" (+0000000Fh)
Address: 0042FC82h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 10002DD2h, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uCallStackTracker::uCallStackTracker" (+00000032h)
Address: 004C0518h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004307C8h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004C03B8h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004C754Ch, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004C754Ch, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004C7530h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 7C911538h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000AA9h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C911596h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 004E41B8h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004B49D0h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7C917BF5h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlReAllocateHeap" (+000001F8h)
Address: 7C883780h, location: "kernel32", loaded at 7C800000h - 7C8F4000h
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: 00492016h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004E4238h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 00447CCCh, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 00431F56h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 0049928Dh, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 00497420h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004C0528h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 10002D87h, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000A7h)
Address: 004C0528h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004AF7B4h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004C0528h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004309CFh, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004E0928h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 00497625h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004938BAh, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004938B4h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004B49E4h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004B3680h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004E4230h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 00497420h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004AFBA8h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 00496334h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 00497420h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 7C816FD7h, location: "kernel32", loaded at 7C800000h - 7C8F4000h
Symbol: "RegisterWaitForInputIdle" (+00000049h)
Address: 7C839AA8h, location: "kernel32", loaded at 7C800000h - 7C8F4000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C816FE0h, location: "kernel32", loaded at 7C800000h - 7C8F4000h
Symbol: "RegisterWaitForInputIdle" (+00000052h)
Address: 0049639Dh, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004E0049h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004F0044h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004B0063h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 00410072h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004E0049h, location: "foobar2000", loaded at 00400000h - 004F2000h
Address: 004F0044h, location: "foobar2000", loaded at 00400000h - 004F2000h

Version info:
foobar2000 v0.9.4.1
UNICODE

Additional info:
Track info panel mod 0.6 beta [Oct 18 2006 - 23:08:07]  (foo_uie_trackinfo_mod)
Album List 3.2.0  (foo_albumlist)
cwbowron's title format hooks 1.0.13 [Oct  2 2006 - 09:06:52]  (foo_cwb_hooks)
Audioscrobbler 1.3.4  (foo_audioscrobbler)
Columns UI 0.1.3 beta 1v6 TEST  (foo_ui_columns)
Default User Interface 0.9acc  (foo_ui_std)
Standard Input Array 1.0  (foo_input_std)
Album Art Panel 0.2.5.1  (foo_uie_albumart)
Lyric Show Panels 0.3.0.0  (foo_uie_lyrics)
Crossfader 0.1.6  (foo_dsp_crossfader)
Common services 0.1  (foo_common)
Standard DSP array 1.0  (foo_dsp_std)
Explorer Tree 1.04.6b  (foo_uie_explorer)
Shell link resolver 1.1  (foo_lnk)
Masstagger 1.6  (foo_masstag)
Playback Statistics 1.3.2  (foo_playcount)
FLAC Decoder 1.1.0  (foo_input_std)
Tabbed panel modified 0.2.5  (foo_uie_tabs)
foobar2000 core v0.9.4.1  (Core)
Album list panel 0.2.1 beta 4  (foo_uie_albumlist)
Quick Search Toolbar 2.8j  (foo_uie_quicksearch)
Database search 1.4 beta 3  (foo_dbsearch)
Playlist Tree Panel 2.2.3 [Aug 25 2006 - 11:27:07]  (foo_playlist_tree)
Music Browser 1.2.2c [Jul  6 2006 - 09:42:02]  (foo_browser)
Run services 0.3.2  (foo_run)
CD Audio Decoder 2.1.1  (foo_cdda)
WMA Decoder 1.1  (foo_input_std)
Playlist tools 0.5.7  (foo_utils)
ReplayGain Scanner 2.0.2  (foo_rgscan)
Randomized playlist entry 1.2.3  (foo_random)
Skip silence 0.1  (foo_dsp_skip_silence)

Track Info Panel with ability to change font

Reply #503
Hardly a bug, how can it tag a file that doesn't exist? Disable your buttons or something when nothing's playing.
err... i'm not using windows any more ;)


Track Info Panel with ability to change font

Reply #505
any crash should be investigated for overall functionality
My Name is Sean and I'm here to leech off your genius.

Track Info Panel with ability to change font

Reply #506
masstagger does the same via buttons you know
err... i'm not using windows any more ;)

Track Info Panel with ability to change font

Reply #507
masstagger does the same via buttons you know

Not for me. I can't reproduce a crash in the same instance using a masstagger script called via the toolbar buttons (if that is what you mean). As it should, it does nothing when no song is playing, when nothing is selected, or when the playlist is empty.

Track Info Panel with ability to change font

Reply #508
My %artist% and whatnot follows the cursor rather than what is being played. Is that intended?

Track Info Panel with ability to change font

Reply #509
^ Double click the trackinfo panel


Track Info Panel with ability to change font

Reply #511
How do I do this in de track info mod panel cause I really cant figure it out.
The text keeps going down when it is too long en then my whole panel isn't correct.
kan somebody please tell me how to align all this and how to put lines in there I would be VERY gratefull,I'm getting really desperate!

http://img156.imageshack.us/img156/2209/fo...hristophzc9.jpg

thanks in advance

in the normal trackinfopanel i just did this with tabs but I want to use the modified version to do rating buttons like I saw on the stereo skin.

Track Info Panel with ability to change font

Reply #512
How do I do this in de track info mod panel cause I really cant figure it out.
The text keeps going down when it is too long en then my whole panel isn't correct.

As scrolling and ellipses for line ending were removed from the settings in foo_uie_trackinfo_mod it has to be implemented in the code.

i would suggest to cut off the text which is too long:
Code: [Select]
//////////////////////////////////////////////////////////////////////////////
$puts(winlen,29)
//////////////////////////////////////////////////////////////////////////////
$alignrel(left,top)
Filename:
$alignrel(right,top)
$ifgreater($add($len2(filename: ),$len2(%filename%)),$get(winlen)
,$cut(%filename%,$sub($get(winlen),$len2(filename: )))
,%filename%)
$alignset()

as $cut does not work with $calcwidth and %width%, you have to define the width of your panel in characters -> just change the 29 behind winlen to your needs.

if you want to scroll the text instead of cutting it, take a look at russel's home stereo display code (especially the Trackinfo-Code in the SDK).
if you want to "swap" infos if they are to long, you can get impressions later in the same thread.

hope i could help you fighting your desperation!

Track Info Panel with ability to change font

Reply #513
thanks for the quick reply


edit: But isn't it possible to just do it like the previous panel with the tab functions?

Track Info Panel with ability to change font

Reply #514
And it maybe sounds stupid but what's the difference between alignabs and alignrel and alignset cause I don't really get it?

 

Track Info Panel with ability to change font

Reply #515
Hello, i experimented a little bit with the component and especially the $button(). Now I would like to perform two actions with one click. How can I achieve that?

I have experienced another problem but I don't know if its foo_cwb_hacks or trackinfo's fault. Depending on %cwb_playback_state% i change the appearance of some buttons. At the start of foobar the playback is stopped. But the buttons aren't shown the right way. I either have to doubleclick the panel two times or resize it before everything looks the way it is supposed. Has anyone else experienced that behaviour?

Track Info Panel with ability to change font

Reply #516
can some1 help me out. how do i :

1. retrieve the album art ie folder.jpg from the playing album
2. (not sure if this is relevant) in the appearance thread ppl have album art in their playlists. is this through this plug in? if so how

Track Info Panel with ability to change font

Reply #517
can some1 help me out. how do i :

1. retrieve the album art ie folder.jpg from the playing album
2. (not sure if this is relevant) in the appearance thread ppl have album art in their playlists. is this through this plug in? if so how


You can do both with the $imageabs or $imageabs2 function


Track Info Panel with ability to change font

Reply #519
Just wndering: Does %_selected% not work with the trackinfo_mod?
There's a storm on the loose, there's sirens in my head...

Track Info Panel with ability to change font

Reply #520
i have a question . i use track info mod. look at this code, it´s the code i use for showing the rating of album/track.. if i have some tracks rated 0 i want it to display (NOT RATED). is it possible. and if so, how do i do it...

Code: [Select]
$font(Swis721 Cn BT D-Type,8,bold glow-91-100-111 glowblur-10,203-206-211)$get(head)Rating: $font(Swis721 Cn BT D-Type,8,bold glow-129-138-150 glowblur-10,255-255-255)$get(info)$if(%rating%,%rating%,)
$char(10)

Track Info Panel with ability to change font

Reply #521
$if($strcmp(%rating%,0),NOT RATED,Rest of the code)?
There's a storm on the loose, there's sirens in my head...


Track Info Panel with ability to change font

Reply #523
@terrestrial
If Foobar2000 is the inactive window on my desktop and I click anywhere on a trackinfo_mod panel of Foobar2000 it does not make Foobar2000 the active window. Whereas if I click another area of Foobar2000 while it's the inactive window, such as the title bar, Foobar2000 becomes the active window. Is this trackinfo_mod behaviour intentional or a bug?

Track Info Panel with ability to change font

Reply #524
Hello, i experimented a little bit with the component and especially the $button(). Now I would like to perform two actions with one click. How can I achieve that?


you currently can't have two buttons overlapping. maybe in the next version.

Just wndering: Does %_selected% not work with the trackinfo_mod?


nope.

@terrestrial
If Foobar2000 is the inactive window on my desktop and I click anywhere on a trackinfo_mod panel of Foobar2000 it does not make Foobar2000 the active window. Whereas if I click another area of Foobar2000 while it's the inactive window, such as the title bar, Foobar2000 becomes the active window. Is this trackinfo_mod behaviour intentional or a bug?


I'll try to fix it for the next version.


--------------


I've uploaded a new version. Two new buttons to filter and sort playlists. Two examples on how to use the new buttons:

Code: [Select]
$font(calibri,9,,0-0-0)
$alignabs(18,2,$sub(%_width%,20),40,left,top)$if2(%filterstring%,No Filter)
$button2(2,2,0,0,14,14,'$font(wingdings 3,9,bold,0-0-0)u','$font(wingdings 3,9,bold,82-18-18)u','FILTER:source|!source!:genre|%genre%:decade|$mul($div(%date%,10),10):composer|%composer%:artist|%artist%:album|%album%',)

$alignabs(18,18,$sub(%_width%,20),40,left,top)$if2(%sortstring%,No Sort)
$button2(2,18,0,0,14,14,'$font(wingdings 3,9,bold,0-0-0)u','$font(wingdings 3,9,bold,82-18-18)u','SORT:genre|%genre%:date|%date%:composer|%composer%:artist|%artist%:album|%album%',)


and

Code: [Select]
$button2(2,8,0,0,18,24,'$font(Wingdings 3,12,,0-0-0)u','$font(Wingdings 3,12,,255-0-0)u','FILTER:source|!source!',)

$if($filtered(genre),
$alignabs(20,2,40,16,left,top)$font(calibri,9,underline,0-0-0)genre
$alignabs(20,16,40,16,left,top)$font(,,,)$filtered(genre)
,
$button2(20,2,0,0,40,16,'$font(calibri,9,,0-0-0)genre','$font(calibri,9,,255-0-0)genre','FILTER:genre|%genre%',)
)

$if($sorted(album),
$button2(62,4,0,0,20,16,'$font(Wingdings 3,9,,255-0-0)q$font(calibri,9,,255-0-0)$sorted(album)','$font(Wingdings 3,9,,0-0-0)q$font(calibri,9,,255-0-0)$sorted(album)','SORT:album|%album%',)
,
$button2(62,4,0,0,20,16,'$font(Wingdings 3,9,,0-0-0)q','$font(Wingdings 3,9,,255-0-0)q','SORT:album|%album%',)
)


$if($filtered(decade),
$alignabs(86,2,40,16,left,top)$font(calibri,9,underline,0-0-0)decade
$alignabs(86,16,40,16,left,top)$font(,,,)$filtered(decade)
,
$button2(86,2,0,0,40,16,'$font(calibri,9,,0-0-0)decade','$font(calibri,9,,255-0-0)decade','FILTER:decade|$mul($div(%date%,10),10)',)
)

$if($sorted(date),
$button2(128,4,0,0,40,16,'$font(Wingdings 3,9,,255-0-0)q$font(calibri,9,,255-0-0)$sorted(date)','$font(Wingdings 3,9,,0-0-0)q$font(calibri,9,,255-0-0)$sorted(date)','SORT:date|%date%',)
,
$button2(128,4,0,0,40,16,'$font(Wingdings 3,9,,0-0-0)q','$font(Wingdings 3,9,,255-0-0)q','SORT:date|%date%',)
)