HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: technononsense on 2009-04-30 09:15:31

Title: How to use todays date in formating?
Post by: technononsense on 2009-04-30 09:15:31
I've been putting together a script to make %last played% easier to read on my playlists by converting it to text. For example,

2009-03-12 09:08:55

would become

12th March this year

the problem is that i can't find a way of calling todays date, therefore rendering my script useless! 

anyone know how to do it?
Title: How to use todays date in formating?
Post by: tedgo on 2009-04-30 09:37:07
There's a plugin called Custom Database (foo_customdb) (http://blog.99ravens.net/index.php?e=283) which offers a %now% field.
Title: How to use todays date in formating?
Post by: Andreasvb on 2009-04-30 09:38:13
This is a bit of a workaround.
The only drawback is that you'll have to change the today value each year.

Hope it's some help until finding a real way.

Code: [Select]
$puts(today,2009)
$ifequal(%date%,$get(today),this year,
$ifequal(%date%,$sub($get(today),1),last year,
$right($sub(%date%,$get(today)),1) years ago))

Title: How to use todays date in formating?
Post by: tedgo on 2009-04-30 09:44:19
I downloaded the new foo_customdb 0.0.8 but it crashes foobar immediatley...
So you might need to wait for an update.
Title: How to use todays date in formating?
Post by: 2E7AH on 2009-04-30 10:15:42
It's working fine here: foo_customdb.dll (v0.0.8), latest foobar and vista
Even v0.0.5 is working
Title: How to use todays date in formating?
Post by: technononsense on 2009-04-30 10:55:04
Thanks for the quick replys! I'm at work now but i'll try it when i'm home.

@andreasvb
Yeah, thats the only method i could think of but i was keeping it as a last resort. I wanted something i could set and forget.

@tedgo & 2E7AH
Perfect for what i need! I'll download it soon as i can.
Are you using XP or Vista, tedgo?
Title: How to use todays date in formating?
Post by: tedgo on 2009-04-30 11:09:57
@2E7AH
Doesn't work here...
WinXP, foobar2000 0.9.6.5 and foo_customdb 0.0.8

Crashlog:
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 0224DDEAh
Access violation, operation: read, address: 00000004h

Call path:
entry=>user_interface::init

Code bytes (0224DDEAh):
0224DDAAh:  83 C4 08 8B 45 E8 8B 08 51 E8 98 03 00 00 83 C4
0224DDBAh:  04 8B 55 E8 8B 45 EC 89 02 8B 4D E8 8B 55 08 89
0224DDCAh:  51 08 8B 4D F4 64 89 0D 00 00 00 00 59 5F 5E 5B
0224DDDAh:  8B E5 5D C2 04 00 55 8B EC 51 89 4D FC 8B 45 FC
0224DDEAh:  8B 08 8B 55 08 8D 04 91 8B E5 5D C2 04 00 CC CC
0224DDFAh:  CC CC CC CC CC CC 55 8B EC 51 89 4D FC 8B 45 FC
0224DE0Ah:  C7 00 00 00 00 00 8B 4D FC C7 41 04 00 00 00 00
0224DE1Ah:  8B 55 FC C7 42 08 00 00 00 00 8B 45 FC 8B E5 5D

Stack (0012BF44h):
0012BF24h:  FFFFFFFF 7FFFFFFF 00009759 00000000
0012BF34h:  B01257E0 B0125544 B01257EC 0012C954
0012BF44h:  00000004 0012BF58 02257123 00000000
0012BF54h:  00000004 0012BF68 022570C3 00000000
0012BF64h:  00000004 0012BF78 0224D496 00000000
0012BF74h:  00000000 0012BF8C 02257DBC 00000000
0012BF84h:  00000000 00000000 0012C060 02247ACF
0012BF94h:  0012BFC8 00000000 00000000 33D9EAF1
0012BFA4h:  0012C0C4 022F5279 023131A8 00000000
0012BFB4h:  40140000 023137D8 003EC9C8 022942D0
0012BFC4h:  02A67940 00000000 02A60000 00996014
0012BFD4h:  02A60000 00000000 00000000 00000000
0012BFE4h:  00010009 00000000 005597B0 00000000
0012BFF4h:  00000000 02313DE8 00000000 00000000
0012C004h:  00000000 0000000F 008698E2 0226EB78
0012C014h:  02295900 00000013 00000013 00000002
0012C024h:  0226EB78 00000000 00000000 00000000
0012C034h:  00000000 0012C06C 0226EB78 00000000
0012C044h:  00000000 00000000 00000000 0012C0B8
0012C054h:  0012C0B8 0226C706 00000003 0012C0C4

Registers:
EAX: 00000004, EBX: 00000000, ECX: 00000004, EDX: 00000000
ESI: 02A67940, EDI: 0012C0EC, EBP: 0012BF48, ESP: 0012BF44

Crash location:
Module: foo_customdb
Offset: 5DDEAh

Loaded modules:
foobar2000                      loaded at 00400000h - 00596000h
ntdll                            loaded at 7C910000h - 7C9C9000h
kernel32                        loaded at 7C800000h - 7C908000h
COMCTL32                        loaded at 773A0000h - 774A3000h
msvcrt                          loaded at 77BE0000h - 77C38000h
ADVAPI32                        loaded at 77DA0000h - 77E4A000h
RPCRT4                          loaded at 77E50000h - 77EE2000h
Secur32                          loaded at 77FC0000h - 77FD1000h
GDI32                            loaded at 77EF0000h - 77F39000h
USER32                          loaded at 7E360000h - 7E3F1000h
SHLWAPI                          loaded at 77F40000h - 77FB6000h
DSOUND                          loaded at 73E70000h - 73ECC000h
ole32                            loaded at 774B0000h - 775ED000h
VERSION                          loaded at 77BD0000h - 77BD8000h
WINMM                            loaded at 76AF0000h - 76B1E000h
SHELL32                          loaded at 7E670000h - 7EE91000h
shared                          loaded at 10000000h - 1002B000h
imagehlp                        loaded at 76C50000h - 76C78000h
UxTheme                          loaded at 5B0F0000h - 5B128000h
dbghelp                          loaded at 59DD0000h - 59E71000h
COMDLG32                        loaded at 76350000h - 7639A000h
IMM32                            loaded at 76330000h - 7634D000h
LPK                              loaded at 62E10000h - 62E19000h
USP10                            loaded at 75790000h - 757FB000h
serwvdrv                        loaded at 5D100000h - 5D107000h
umdmxfrm                        loaded at 5B420000h - 5B427000h
MSCTF                            loaded at 746A0000h - 746EC000h
WINTRUST                        loaded at 76BF0000h - 76C1E000h
CRYPT32                          loaded at 77A50000h - 77AE6000h
MSASN1                          loaded at 77AF0000h - 77B02000h
wdmaud                          loaded at 72C90000h - 72C99000h
msacm32                          loaded at 72C80000h - 72C88000h
MSACM32                          loaded at 77BB0000h - 77BC5000h
midimap                          loaded at 77BA0000h - 77BA7000h
msctfime                        loaded at 75250000h - 7527E000h
foo_uie_lyrics                  loaded at 00EF0000h - 00F4D000h
WININET                          loaded at 63000000h - 630E6000h
Normaliz                        loaded at 00F60000h - 00F69000h
urlmon                          loaded at 1A400000h - 1A532000h
OLEAUT32                        loaded at 770F0000h - 7717B000h
iertutil                        loaded at 5DCA0000h - 5DE88000h
foo_albumlist                    loaded at 011A0000h - 011FA000h
foo_cdda                        loaded at 01220000h - 01260000h
foo_fileops                      loaded at 01280000h - 012C7000h
foo_dsp_std                      loaded at 012F0000h - 01338000h
foo_masstag                      loaded at 01360000h - 013A8000h
foo_ac3                          loaded at 013D0000h - 013FF000h
foo_verifier                    loaded at 01420000h - 01453000h
foo_exvar                        loaded at 01480000h - 014A8000h
foo_texttools                    loaded at 015D0000h - 01603000h
foo_input_ofr                    loaded at 01630000h - 0166D000h
OptimFROG                        loaded at 01680000h - 016B2000h
foo_channel_mixer                loaded at 016E0000h - 0171B000h
foo_uie_panel_splitter          loaded at 01730000h - 01782000h
gdiplus                          loaded at 4EBA0000h - 4ED46000h
foo_input_std                    loaded at 017C0000h - 01900000h
foo_uie_trackinfo_mod            loaded at 01920000h - 01976000h
MSVCP80                          loaded at 7C420000h - 7C4A7000h
MSVCR80                          loaded at 78130000h - 781CB000h
foo_ui_std                      loaded at 019A0000h - 01AA9000h
MSIMG32                          loaded at 76320000h - 76325000h
foo_input_tta                    loaded at 01AD0000h - 01AFB000h
foo_menu_addons                  loaded at 01B20000h - 01B5C000h
foo_uie_quicksearch              loaded at 01B80000h - 01BC6000h
foo_uie_biography                loaded at 01BF0000h - 01C70000h
WS2_32                          loaded at 71A10000h - 71A27000h
WS2HELP                          loaded at 71A00000h - 71A08000h
foo_uie_albumart                loaded at 01C90000h - 01CCD000h
foo_input_alac                  loaded at 01CF0000h - 01D10000h
foo_lastfm_radio                loaded at 01D30000h - 01D78000h
foo_utils                        loaded at 01DA0000h - 01DE4000h
foo_freedb2                      loaded at 01E10000h - 01E51000h
foo_abx                          loaded at 01E80000h - 01EB2000h
foo_uie_wsh_panel_mod            loaded at 01EE0000h - 01F5D000h
foo_input_monkey                loaded at 020C0000h - 02105000h
foo_uie_tabs                    loaded at 02130000h - 02158000h
foo_dsp_skip_silence            loaded at 02180000h - 0218A000h
foo_bitcompare                  loaded at 021A0000h - 021C8000h
foo_customdb                    loaded at 021F0000h - 0228E000h
foo_packet_decoder_ac3          loaded at 022A0000h - 022C7000h
foo_playcount                    loaded at 022F0000h - 02320000h
foo_uie_vis_channel_spectrum    loaded at 02340000h - 0237D000h
foo_benchmark                    loaded at 023A0000h - 023CD000h
foo_uie_elplaylist              loaded at 023F0000h - 0245A000h
foo_uie_vis_peakmeter_spectrum  loaded at 02480000h - 024BF000h
foo_uie_albumlist                loaded at 024E0000h - 0251D000h
foo_rgscan                      loaded at 02540000h - 0258E000h
foo_unpack                      loaded at 025B0000h - 025DE000h
foo_run                          loaded at 02600000h - 0262D000h
foo_input_tak                    loaded at 02650000h - 02693000h
tak_deco_lib                    loaded at 026B0000h - 026CF000h
foo_converter                    loaded at 027F0000h - 0285D000h
foo_textdisplay                  loaded at 02880000h - 028BF000h
foo_ui_columns                  loaded at 028E0000h - 02A49000h
foo_input_shorten                loaded at 02A70000h - 02A9D000h
SXS                              loaded at 76970000h - 76A21000h
CLBCATQ                          loaded at 76F90000h - 7700F000h
COMRes                          loaded at 77010000h - 770E3000h
jscript                          loaded at 63380000h - 63434000h
xpsp2res                        loaded at 03800000h - 03AD9000h
mscms                            loaded at 73AA0000h - 73AB5000h
WINSPOOL                        loaded at 72F70000h - 72F96000h
scrrun                          loaded at 73510000h - 7353A000h

Stack dump analysis:
Address: 02257123h (foo_customdb+67123h)
Address: 022570C3h (foo_customdb+670C3h)
Address: 0224D496h (foo_customdb+5D496h)
Address: 02257DBCh (foo_customdb+67DBCh)
Address: 02247ACFh (foo_customdb+57ACFh)
Address: 022F5279h (foo_playcount+5279h)
Address: 023131A8h (foo_playcount+231A8h)
Address: 023137D8h (foo_playcount+237D8h)
Address: 005597B0h (foobar2000+1597B0h)
Address: 02313DE8h (foo_playcount+23DE8h)
Address: 0226EB78h (foo_customdb+7EB78h)
Address: 0226EB78h (foo_customdb+7EB78h)
Address: 0226EB78h (foo_customdb+7EB78h)
Address: 0226C706h (foo_customdb+7C706h)
Address: 0224C152h (foo_customdb+5C152h)
Address: 0224E6A3h (foo_customdb+5E6A3h)
Address: 022832B0h (foo_customdb+932B0h)
Address: 0226EB78h (foo_customdb+7EB78h)
Address: 0226EB78h (foo_customdb+7EB78h)
Address: 0226CBADh (foo_customdb+7CBADh)
Address: 02925EC7h (foo_ui_columns+45EC7h)
Address: 7C9201E0h (ntdll+101E0h), symbol: "RtlAllocateHeap" (+11Ch)
Address: 022832B0h (foo_customdb+932B0h)
Address: 029D155Ch (foo_ui_columns+F155Ch)
Address: 029D4708h (foo_ui_columns+F4708h)
Address: 0055A330h (foobar2000+15A330h)
Address: 029D2F08h (foo_ui_columns+F2F08h)
Address: 029D2F08h (foo_ui_columns+F2F08h)
Address: 029D45E8h (foo_ui_columns+F45E8h)
Address: 029D48FCh (foo_ui_columns+F48FCh)
Address: 029C5A51h (foo_ui_columns+E5A51h)
Address: 02926677h (foo_ui_columns+46677h)
Address: 004BE1C0h (foobar2000+BE1C0h)
Address: 0055B6B0h (foobar2000+15B6B0h)
Address: 0055A7C4h (foobar2000+15A7C4h)
Address: 004BE1CFh (foobar2000+BE1CFh)
Address: 029C5E01h (foo_ui_columns+E5E01h)
Address: 004BE1CFh (foobar2000+BE1CFh)
Address: 0055B67Ch (foobar2000+15B67Ch)
Address: 004BEBF0h (foobar2000+BEBF0h)
Address: 004BE1C0h (foobar2000+BE1C0h)
Address: 0055B66Ch (foobar2000+15B66Ch)
Address: 004BE233h (foobar2000+BE233h)
Address: 004BE1C0h (foobar2000+BE1C0h)
Address: 0055DEA5h (foobar2000+15DEA5h)
Address: 00514650h (foobar2000+114650h)
Address: 004BE3B1h (foobar2000+BE3B1h)
Address: 0049355Bh (foobar2000+9355Bh)
Address: 0051B3B8h (foobar2000+11B3B8h)
Address: 004BE622h (foobar2000+BE622h)
Address: 0055B66Ch (foobar2000+15B66Ch)
Address: 00428492h (foobar2000+28492h)
Address: 00532200h (foobar2000+132200h)
Address: 00532608h (foobar2000+132608h)
Address: 0053EECCh (foobar2000+13EECCh)
Address: 005336A0h (foobar2000+1336A0h)
Address: 0051AC98h (foobar2000+11AC98h)
Address: 0293FA4Dh (foo_ui_columns+5FA4Dh)
Address: 0055B6B0h (foobar2000+15B6B0h)
Address: 029BA848h (foo_ui_columns+DA848h)
Address: 029B2C5Dh (foo_ui_columns+D2C5Dh)
Address: 7E378DACh (USER32+18DACh), symbol: "DefWindowProcW" (+8Ch)
Address: 7E378D8Bh (USER32+18D8Bh), symbol: "DefWindowProcW" (+6Bh)
Address: 7E368B26h (USER32+8B26h), symbol: "GetWindowThreadProcessId" (+A6h)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 7E3688D1h (USER32+88D1h), symbol: "GetWindowLongW" (+2Bh)
Address: 7E3688DAh (USER32+88DAh), symbol: "GetWindowLongW" (+34h)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 029B97B2h (foo_ui_columns+D97B2h)
Address: 0298AEF2h (foo_ui_columns+AAEF2h)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 7E368734h (USER32+8734h), symbol: "GetDC" (+6Dh)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 7E368BD9h (USER32+8BD9h), symbol: "GetWindowThreadProcessId" (+159h)
Address: 7E36885Ah (USER32+885Ah), symbol: "GetDC" (+193h)
Address: 7E36882Ah (USER32+882Ah), symbol: "GetDC" (+163h)
Address: 7C9232AFh (ntdll+132AFh), symbol: "RtlUnlockHeap" (+3Ch)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E368830h (USER32+8830h), symbol: "GetDC" (+169h)
Address: 7E37927Bh (USER32+1927Bh), symbol: "GetParent" (+16Ch)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 7E3792E3h (USER32+192E3h), symbol: "SendMessageW" (+49h)
Address: 76339B35h (IMM32+9B35h), symbol: "ImmUnlockClientImc" (+13h)
Address: 76332B56h (IMM32+2B56h), symbol: "ImmSetActiveContext" (+178h)
Address: 7E3BB90Eh (USER32+5B90Eh), symbol: "IMPSetIMEA" (+40Ah)
Address: 7E3BB916h (USER32+5B916h), symbol: "IMPSetIMEA" (+412h)
Address: 7E3BBDF2h (USER32+5BDF2h), symbol: "IMPSetIMEA" (+8EEh)
Address: 7E3BBE8Ah (USER32+5BE8Ah), symbol: "IMPSetIMEA" (+986h)
Address: 7E37B401h (USER32+1B401h), symbol: "CallNextHookEx" (+3Bh)
Address: 746B1331h (MSCTF+11331h), symbol: "TF_UninitSystem" (+950h)
Address: 746B1336h (MSCTF+11336h), symbol: "TF_UninitSystem" (+955h)
Address: 746B1340h (MSCTF+11340h), symbol: "TF_UninitSystem" (+95Fh)
Address: 746B1336h (MSCTF+11336h), symbol: "TF_UninitSystem" (+955h)
Address: 7E381923h (USER32+21923h), symbol: "UnhookWinEvent" (+77h)
Address: 7E37B317h (USER32+1B317h), symbol: "MoveWindow" (+79h)
Address: 7E37B326h (USER32+1B326h), symbol: "MoveWindow" (+88h)
Address: 7E36882Ah (USER32+882Ah), symbol: "GetDC" (+163h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E37B330h (USER32+1B330h), symbol: "MoveWindow" (+92h)
Address: 7E37B326h (USER32+1B326h), symbol: "MoveWindow" (+88h)
Address: 7E380238h (USER32+20238h), symbol: "ScrollWindowEx" (+B1h)
Address: 7E380248h (USER32+20248h), symbol: "ScrollWindowEx" (+C1h)
Address: 7C91E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 7E368B26h (USER32+8B26h), symbol: "GetWindowThreadProcessId" (+A6h)
Address: 7E3688D1h (USER32+88D1h), symbol: "GetWindowLongW" (+2Bh)
Address: 7E3688DAh (USER32+88DAh), symbol: "GetWindowLongW" (+34h)
Address: 02147F0Eh (foo_uie_tabs+17F0Eh)
Address: 02143790h (foo_uie_tabs+13790h)
Address: 02143790h (foo_uie_tabs+13790h)
Address: 7E378DD9h (USER32+18DD9h), symbol: "DefWindowProcW" (+B9h)
Address: 7E368BD9h (USER32+8BD9h), symbol: "GetWindowThreadProcessId" (+159h)
Address: 7E3C1088h (USER32+61088h)
Address: 7E378DACh (USER32+18DACh), symbol: "DefWindowProcW" (+8Ch)
Address: 7E378D8Bh (USER32+18D8Bh), symbol: "DefWindowProcW" (+6Bh)
Address: 7E368B26h (USER32+8B26h), symbol: "GetWindowThreadProcessId" (+A6h)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 7E3688D1h (USER32+88D1h), symbol: "GetWindowLongW" (+2Bh)
Address: 7E3688DAh (USER32+88DAh), symbol: "GetWindowLongW" (+34h)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 029B97B2h (foo_ui_columns+D97B2h)
Address: 0298AEF2h (foo_ui_columns+AAEF2h)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 7E368734h (USER32+8734h), symbol: "GetDC" (+6Dh)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 7E368816h (USER32+8816h), symbol: "GetDC" (+14Fh)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E368830h (USER32+8830h), symbol: "GetDC" (+169h)
Address: 7E378EA0h (USER32+18EA0h), symbol: "DefWindowProcW" (+180h)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E378EB0h (USER32+18EB0h), symbol: "DefWindowProcW" (+190h)
Address: 7E378EECh (USER32+18EECh), symbol: "DefWindowProcW" (+1CCh)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 7C91E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 0298AD50h (foo_ui_columns+AAD50h)
Address: 7E378E53h (USER32+18E53h), symbol: "DefWindowProcW" (+133h)
Address: 7E37B11Eh (USER32+1B11Eh), symbol: "SetFocus" (+Ch)
Address: 7E374A44h (USER32+14A44h), symbol: "DialogBoxIndirectParamAorW" (+74h)
Address: 7E373D3Ah (USER32+13D3Ah), symbol: "DefDlgProcW" (+0h)
Address: 7E3BC95Bh (USER32+5C95Bh), symbol: "IMPSetIMEA" (+1457h)
Address: 7E373D5Ch (USER32+13D5Ch), symbol: "DefDlgProcW" (+22h)
Address: 7E368734h (USER32+8734h), symbol: "GetDC" (+6Dh)
Address: 7E373D3Ah (USER32+13D3Ah), symbol: "DefDlgProcW" (+0h)
Address: 7E373D3Ah (USER32+13D3Ah), symbol: "DefDlgProcW" (+0h)
Address: 7E368816h (USER32+8816h), symbol: "GetDC" (+14Fh)
Address: 7E373D3Ah (USER32+13D3Ah), symbol: "DefDlgProcW" (+0h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E368830h (USER32+8830h), symbol: "GetDC" (+169h)
Address: 7E378EA0h (USER32+18EA0h), symbol: "DefWindowProcW" (+180h)
Address: 7E373D3Ah (USER32+13D3Ah), symbol: "DefDlgProcW" (+0h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E378EB0h (USER32+18EB0h), symbol: "DefWindowProcW" (+190h)
Address: 7E378EECh (USER32+18EECh), symbol: "DefWindowProcW" (+1CCh)
Address: 7E373D3Ah (USER32+13D3Ah), symbol: "DefDlgProcW" (+0h)
Address: 7C91E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 7E373D3Ah (USER32+13D3Ah), symbol: "DefDlgProcW" (+0h)
Address: 7E378E53h (USER32+18E53h), symbol: "DefWindowProcW" (+133h)
Address: 7E37AF62h (USER32+1AF62h), symbol: "ShowWindow" (+Ch)
Address: 0214583Ch (foo_uie_tabs+1583Ch)
Address: 0214B1F4h (foo_uie_tabs+1B1F4h)
Address: 02147D63h (foo_uie_tabs+17D63h)
Address: 02143AD4h (foo_uie_tabs+13AD4h)
Address: 0214B4FCh (foo_uie_tabs+1B4FCh)
Address: 0175C496h (foo_uie_panel_splitter+2C496h)
Address: 0177940Ch (foo_uie_panel_splitter+4940Ch)
Address: 017694E5h (foo_uie_panel_splitter+394E5h)
Address: 01761764h (foo_uie_panel_splitter+31764h)
Address: 7E378D90h (USER32+18D90h), symbol: "DefWindowProcW" (+70h)
Address: 0055B578h (foobar2000+15B578h)
Address: 0055ABC0h (foobar2000+15ABC0h)
Address: 7C920222h (ntdll+10222h), symbol: "RtlAllocateHeap" (+15Eh)
Address: 7C92019Bh (ntdll+1019Bh), symbol: "RtlAllocateHeap" (+D7h)
Address: 7E3688A6h (USER32+88A6h), symbol: "GetWindowLongW" (+0h)
Address: 7E379A43h (USER32+19A43h), symbol: "SetWindowPos" (+50h)
Address: 7E379B10h (USER32+19B10h), symbol: "GetClassLongW" (+27h)
Address: 7E379B19h (USER32+19B19h), symbol: "GetClassLongW" (+30h)
Address: 7E3688A6h (USER32+88A6h), symbol: "GetWindowLongW" (+0h)
Address: 7E37C06Eh (USER32+1C06Eh), symbol: "UserLpkPSMTextOut" (+449h)
Address: 7E368B26h (USER32+8B26h), symbol: "GetWindowThreadProcessId" (+A6h)
Address: 0173FDA0h (foo_uie_panel_splitter+FDA0h)
Address: 7E3688D1h (USER32+88D1h), symbol: "GetWindowLongW" (+2Bh)
Address: 7E3688DAh (USER32+88DAh), symbol: "GetWindowLongW" (+34h)
Address: 0173FDA0h (foo_uie_panel_splitter+FDA0h)
Address: 0176A8FBh (foo_uie_panel_splitter+3A8FBh)
Address: 0173FF38h (foo_uie_panel_splitter+FF38h)
Address: 0173FDA0h (foo_uie_panel_splitter+FDA0h)
Address: 7E3688DAh (USER32+88DAh), symbol: "GetWindowLongW" (+34h)
Address: 7E368734h (USER32+8734h), symbol: "GetDC" (+6Dh)
Address: 0173FDA0h (foo_uie_panel_splitter+FDA0h)
Address: 0173FDA0h (foo_uie_panel_splitter+FDA0h)
Address: 7E37BDF1h (USER32+1BDF1h), symbol: "UserLpkPSMTextOut" (+1CCh)
Address: 0173FDA0h (foo_uie_panel_splitter+FDA0h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E368830h (USER32+8830h), symbol: "GetDC" (+169h)
Address: 7E378EA0h (USER32+18EA0h), symbol: "DefWindowProcW" (+180h)
Address: 0173FDA0h (foo_uie_panel_splitter+FDA0h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E378EB0h (USER32+18EB0h), symbol: "DefWindowProcW" (+190h)
Address: 7E37CE7Ch (USER32+1CE7Ch), symbol: "SetLayeredWindowAttributes" (+6Ah)
Address: 0173FDA0h (foo_uie_panel_splitter+FDA0h)
Address: 7C91E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 01730000h (foo_uie_panel_splitter+0h)
Address: 01770850h (foo_uie_panel_splitter+40850h)
Address: 0173FDA0h (foo_uie_panel_splitter+FDA0h)
Address: 7E378E53h (USER32+18E53h), symbol: "DefWindowProcW" (+133h)
Address: 7E37E389h (USER32+1E389h), symbol: "GetScrollInfo" (+3A7h)
Address: 7E37E34Fh (USER32+1E34Fh), symbol: "GetScrollInfo" (+36Dh)
Address: 01730000h (foo_uie_panel_splitter+0h)
Address: 01770878h (foo_uie_panel_splitter+40878h)
Address: 01770850h (foo_uie_panel_splitter+40850h)
Address: 7E37E374h (USER32+1E374h), symbol: "GetScrollInfo" (+392h)
Address: 029D2990h (foo_ui_columns+F2990h)
Address: 01730000h (foo_uie_panel_splitter+0h)
Address: 76339B35h (IMM32+9B35h), symbol: "ImmUnlockClientImc" (+13h)
Address: 76332B56h (IMM32+2B56h), symbol: "ImmSetActiveContext" (+178h)
Address: 7E378DD9h (USER32+18DD9h), symbol: "DefWindowProcW" (+B9h)
Address: 7E368BD9h (USER32+8BD9h), symbol: "GetWindowThreadProcessId" (+159h)
Address: 7E3C1088h (USER32+61088h)
Address: 7E378DACh (USER32+18DACh), symbol: "DefWindowProcW" (+8Ch)
Address: 7E378D8Bh (USER32+18D8Bh), symbol: "DefWindowProcW" (+6Bh)
Address: 7C925239h (ntdll+15239h), symbol: "bsearch" (+46h)
Address: 7C92542Bh (ntdll+1542Bh), symbol: "bsearch" (+238h)
Address: 7C9200B8h (ntdll+100B8h), symbol: "RtlFreeHeap" (+18Bh)
Address: 7C920041h (ntdll+10041h), symbol: "RtlFreeHeap" (+114h)
Address: 7C92005Dh (ntdll+1005Dh), symbol: "RtlFreeHeap" (+130h)
Address: 029D299Ah (foo_ui_columns+F299Ah)
Address: 029D2990h (foo_ui_columns+F2990h)
Address: 7C9257C1h (ntdll+157C1h), symbol: "RtlHashUnicodeString" (+164h)
Address: 7C92534Ah (ntdll+1534Ah), symbol: "bsearch" (+157h)
Address: 7C925742h (ntdll+15742h), symbol: "RtlHashUnicodeString" (+E5h)
Address: 7C9255EDh (ntdll+155EDh), symbol: "RtlFindActivationContextSectionString" (+DCh)

Environment:
App: foobar2000 v0.9.6.5
OS: Windows 5.1.2600 Service Pack 3 x86
CPU: Intel® Pentium® 4 CPU 2.20GHz, features: MMX SSE SSE2
Audio: Realtek AC97 Audio; Modem Nr. 0 Line-Out (emuliert)
UI: Columns UI 0.3.6.9

Components:
Core (2009-04-25 16:47:24)
    foobar2000 core 0.9.6.5
foo_abx.dll (2009-04-25 16:44:30)
    ABX Comparator 1.3.4
foo_ac3.dll (2009-03-02 14:04:00)
    AC3 decoder 0.9.2
foo_albumlist.dll (2009-04-25 16:45:44)
    Album List 4.3.1
foo_benchmark.dll (2008-12-31 20:23:00)
    Decoding Speed Test 1.1
foo_bitcompare.dll (2008-12-05 16:08:00)
    Binary Comparator 1.2
foo_cdda.dll (2009-04-25 16:45:30)
    CD Audio Decoder 2.1.4
foo_channel_mixer.dll (2007-02-27 13:15:50)
    Channel Mixer 0.9.6.2
foo_converter.dll (2009-04-25 16:45:38)
    Converter 1.2.1
foo_customdb.dll (2009-04-29 14:52:00)
    Custom Database 0.0.8
foo_dsp_skip_silence.dll (2006-06-21 17:21:00)
    Skip silence 0.1
foo_dsp_std.dll (2009-04-25 16:45:44)
    Standard DSP Array 1.0
foo_exvar.dll (2008-06-14 00:42:55)
    Extended Variables 0.3.1
foo_fileops.dll (2009-04-25 16:44:30)
    File Operations 2.1.2
foo_freedb2.dll (2009-04-25 16:44:48)
    freedb Tagger 0.6.1
foo_input_alac.dll (2009-03-22 15:15:00)
    ALAC Decoder 1.0.3
foo_input_monkey.dll (2008-05-31 22:39:00)
    Monkey's Audio Decoder 2.1.3
foo_input_ofr.dll (2008-08-30 15:24:00)
    OptimFROG Lossless/DualStream Decoder 1.21b
foo_input_shorten.dll (2007-08-21 12:56:00)
    Shorten decoder 0.4.2.1
foo_input_std.dll (2009-04-25 16:45:20)
    Standard Input Array 1.0
foo_input_tak.dll (2008-04-08 12:16:06)
    TAK Decoder 0.4.2
foo_input_tta.dll (2008-10-20 19:20:00)
    TTA Audio Decoder (unofficial) 2.4.2
foo_lastfm_radio.dll (2009-02-25 23:05:00)
    Last.fm Radio 0.5.6b
foo_masstag.dll (2009-03-29 20:53:00)
    Masstagger 1.8
foo_menu_addons.dll (2009-01-05 20:44:00)
    Menu Addons 0.4.1 (SSE)
foo_packet_decoder_ac3.dll (2006-04-30 22:01:00)
    ATSC A/52 (AC3) Packet Decoder 0.9
foo_playcount.dll (2009-04-29 20:09:00)
    Playback Statistics 2.1.9
foo_rgscan.dll (2009-04-25 16:45:16)
    ReplayGain Scanner 2.0.8
foo_run.dll (2009-03-27 23:49:00)
    Run services 0.3.6
foo_textdisplay.dll (2008-10-24 12:26:15)
    Text Display UI Element 1.0 RC 3
foo_texttools.dll (2009-01-31 15:23:00)
    Text Tools 1.0.3
foo_ui_columns.dll (2009-04-18 18:30:11)
    Columns UI 0.3.6.9
foo_ui_std.dll (2009-04-25 16:45:54)
    Default User Interface 0.9.5
foo_uie_albumart.dll (2007-12-15 18:22:24)
    Album Art Panel 0.2.7.1
foo_uie_albumlist.dll (2009-03-28 17:14:17)
    Album list panel 0.3.4
foo_uie_biography.dll (2009-04-26 13:19:00)
    Biography View 0.2.7.1
foo_uie_elplaylist.dll (2009-04-26 14:04:00)
    ELPlaylist 0.6.5.2(beta)
foo_uie_lyrics.dll (2008-12-12 11:39:20)
    Lyric Show Panel 0.3.3.9 [Dec 12 2008 - 17:39:01]
foo_uie_panel_splitter.dll (2009-04-29 11:38:00)
    Panel Stack Splitter 0.3.7.1(alpha)
foo_uie_quicksearch.dll (2007-05-18 13:31:00)
    Quick Search Toolbar 2.8l
foo_uie_tabs.dll (2009-02-02 19:58:00)
    Tabbed Panel Modified 0.2.7
foo_uie_trackinfo_mod.dll (2007-01-05 15:36:20)
    Track info panel mod 0.8.0 beta [Jan  5 2007 - 13:36:12]
foo_uie_vis_channel_spectrum.dll (2008-05-18 03:02:00)
    Channel Spectrum panel 0.17.2
foo_uie_vis_peakmeter_spectrum.dll (2008-04-19 20:18:00)
    Peakmeter Spectrum Visualisation 0.2.0.0 beta
foo_uie_wsh_panel_mod.dll (2009-04-26 09:11:44)
    WSH Panel Mod 1.1.7 Alpha
foo_unpack.dll (2009-04-25 16:44:24)
    RAR reader 1.2
    ZIP/GZIP reader 1.0
foo_utils.dll (2008-02-08 23:26:00)
    Playlist Tools 0.6.2 beta 6
foo_verifier.dll (2009-01-30 20:54:00)
    File Integrity Verifier 1.0.4

Recent events:
Watching: D:\Eigene Musik\Alben\Unbearbeitet
Album list panel: tree generated in : 0:00.006021
Filter Panel - Genre: initialised in 0.002 s
Filter Panel - Artist: initialised in 0.002 s
Filter Panel - Album: initialised in 0.003 s

Maybe it conflicts with another plugin...
Title: How to use todays date in formating?
Post by: 2E7AH on 2009-04-30 11:37:55
I've loaded all components that you have loaded and it's still ok

(http://img142.imageshack.us/img142/5544/itemdetails.png)
Title: How to use todays date in formating?
Post by: tedgo on 2009-04-30 11:43:39
Yes, i tried with a portable installation.
And it works until i import my DarkOne configuration...
Then foobar2000 refuses to start and gives a crash report immediately.
Since it never happened before, there must be something conflicting with foo_customdb.
Maybe the new PSS 0.3.7.1?
Title: How to use todays date in formating?
Post by: 2E7AH on 2009-04-30 11:52:43
Here is a list of loaded components:

Code: [Select]
Core (2009-04-25 16:47:24)
    foobar2000 core 0.9.6.5
foo_abx.dll (2009-04-25 16:44:30)
    ABX Comparator 1.3.4
foo_ac3.dll (2008-10-29 16:39:54)
    AC3 decoder 0.9.1
foo_albumlist.dll (2009-04-25 16:45:44)
    Album List 4.3.1
foo_audioscrobbler.dll (2008-03-09 21:08:02)
    Audioscrobbler 1.3.16
foo_benchmark.dll (2008-12-31 20:23:04)
    Decoding Speed Test 1.1
foo_biometric.dll (2009-03-14 21:42:35)
    Fingerprint tools 0.3
foo_bitcompare.dll (2008-12-05 16:08:02)
    Binary Comparator 1.2
foo_cdda.dll (2009-04-25 16:45:30)
    CD Audio Decoder 2.1.4
foo_cdtext.dll (2007-12-29 01:38:42)
    CD-TEXT Reader 0.2
foo_chacon.dll (2009-02-14 04:50:06)
    Chacon 0.0.2
foo_channel_mixer.dll (2008-03-12 10:37:48)
    Channel Mixer 0.9.6.5
foo_converter.dll (2009-04-25 16:45:38)
    Converter 1.2.1
foo_convolve.dll (2006-08-04 22:57:26)
    Convolver 0.3
foo_cuefilter.dll (2009-03-02 19:04:42)
    CUE playlist filter 0.1.6
foo_cuesheet_creator.dll (2007-03-10 11:58:28)
    Cuesheet Creator 0.4.6
foo_customdb.dll (2009-04-29 14:52:18)
    Custom Database 0.0.8
foo_discogs.dll (2009-04-24 00:15:47)
    Discogs Tagger 1.19
foo_dockable_panels.dll (2009-04-24 02:56:15)
    Dockable Panels 1.0.7b [Mar 28 2007 - 09:18:48]
foo_dsp_bs2b.dll (2009-04-07 09:57:26)
    bs2b 3.0.0
foo_dsp_delta.dll (2008-10-24 16:57:16)
    Noise Sharpening DSP 1.0.0
foo_dsp_dolbyhp.dll (2008-12-04 22:37:20)
    Dolby Headphone Wrapper 1.3.1
foo_dsp_downmix.dll (2009-03-09 01:14:51)
    Downmix AC3/DTS to PL2 0.2
foo_dsp_fsurround.dll (2009-03-09 01:14:00)
    FreeSurround 0.3.5
foo_dsp_mm.dll (2008-06-06 07:29:10)
    Matrix Mixer 0.3
foo_dsp_resampler.dll (2009-03-03 20:09:58)
    SoX Resampler 0.4.0 alpha
foo_dsp_soundtouch.dll (2009-01-05 21:43:40)
    SoundTouch DSP 0.1 (SSE)
foo_dsp_span.dll (2007-03-14 04:16:21)
    Surround Pan 1.2
foo_dsp_ssrc.dll (2009-01-14 18:43:36)
    Resampler DSP (SSRC) 0.57
foo_dsp_std.dll (2009-04-25 16:45:44)
    Standard DSP Array 1.0
foo_dsp_vlevel.dll (2008-03-03 01:42:06)
    VLevel 20080302.0
foo_dsp_vst.dll (2007-05-17 18:39:34)
    VST bridge 0.60 Beta
foo_dsp_vstwrap.dll (2009-02-22 07:42:26)
    George Yohng's VST Wrapper 1.2
foo_dsp_winamp.dll (2009-04-18 18:53:00)
    Winamp DSP Bridge 1.4.5
foo_dsp_xover.dll (2009-01-15 23:08:21)
    Crossover 0.38a
foo_dumb.dll (2009-04-18 11:30:08)
    DUMB module decoder 0.9.8.5
foo_extm3u.dll (2007-02-02 01:10:28)
    EXTM3U playlist format plugin 1.3
foo_exvar.dll (2008-06-14 00:42:55)
    Extended Variables 0.3.1
foo_facets.dll (2008-06-01 04:40:42)
    Facets 2008-02-25
foo_fileops.dll (2009-04-25 16:44:30)
    File Operations 2.1.2
foo_freedb2.dll (2009-04-25 16:44:48)
    freedb Tagger 0.6.1
foo_gep.dll (2009-04-18 23:53:44)
    Game Emu Player 1.63
foo_grabber_python.dll (2009-02-06 14:40:15)
    Lyrics Grabber Dances With Python 0.1.12 Alpha
foo_input_adplug.dll (2009-02-07 17:36:34)
    AdPlug 1.0
foo_input_alac.dll (2009-03-22 16:15:46)
    ALAC Decoder 1.0.3
foo_input_monkey.dll (2008-05-31 22:39:34)
    Monkey's Audio Decoder 2.1.3
foo_input_ofr.dll (2008-11-29 15:48:04)
    OptimFROG Lossless/DualStream Decoder 1.21b
foo_input_reverse.dll (2009-01-05 21:47:00)
    Reverse Playback 0.1.4 (SSE)
foo_input_std.dll (2009-04-25 16:45:20)
    Standard Input Array 1.0
foo_input_tta.dll (2008-11-29 15:55:14)
    TTA Audio Decoder (unofficial) 2.4.2
foo_lastfm_radio.dll (2009-02-25 23:05:24)
    Last.fm Radio 0.5.6b
foo_lyricsdb.dll (2007-02-26 19:42:02)
    foo_lyricsdb 0.0.7 beta 5
foo_lyricsgrabber.dll (2009-02-07 08:12:47)
    Lyrics Grabber 0.3.0.7 Alpha
foo_masstag.dll (2009-03-29 20:53:12)
    Masstagger 1.8
foo_menu_addons.dll (2009-01-05 21:44:56)
    Menu Addons 0.4.1 (SSE)
foo_midi.dll (2009-03-18 13:25:16)
    MIDI synthesizer host 1.8
foo_misc_addons.dll (2009-01-05 21:58:56)
    Misc. Addons 0.1.4 (SSE)
foo_mouse_gesture.dll (2008-11-03 16:50:22)
    mouse gesture host 0.4.1
foo_musicbrainz.dll (2009-04-10 22:27:28)
    MusicBrainz Tagger 0.2
foo_navigator.dll (2007-08-04 13:36:46)
    Navigator 0.63
foo_np_simple.dll (2009-01-10 19:11:51)
    Now Playing Simple 1.8
foo_out_asio.dll (2009-03-22 16:15:46)
    ASIO support 1.2.7
foo_out_wasapi.dll (2008-06-27 23:30:36)
    WASAPI output support 1.2
foo_playcount.dll (2009-04-29 20:09:32)
    Playback Statistics 2.1.9
foo_playcount_sql.dll (2009-04-19 15:04:40)
    Playback statistics SQL 1.5.3.222
foo_playlist_bind.dll (2007-06-27 03:57:38)
    Playlist Bind 3.2
foo_playlist_tree_mod.dll (2008-07-31 00:01:49)
    Playlist Tree Mod Panel 3.0.6.1 [Jul 31 2008 - 00:00:57]
foo_podcatcher.dll (2009-04-23 19:50:58)
    Podcatcher 0.0.4 (alpha)
foo_pqview.dll (2008-03-11 20:02:54)
    Playback Queue Viewer 0.2
foo_quicktag.dll (2008-05-01 20:39:02)
    Quick Tagger 1.0.1
foo_removeplayed.dll (2007-09-02 14:15:30)
    Remove played Files 1.4.0
foo_rg_trn.dll (2007-10-27 23:13:20)
    ReplayGain override 0.1.2
foo_rgscan.dll (2009-04-25 16:45:16)
    ReplayGain Scanner 2.0.8
foo_run.dll (2009-02-11 23:44:52)
    Run services 0.3.5
foo_runcmd.dll (2007-08-16 21:08:42)
    Run Command 1.0 beta 3
foo_scheduler.dll (2007-01-09 22:33:46)
    Scheduler 3.53
foo_scrobblecharts.dll (2007-03-31 17:36:48)
    Last.fm Chart Player 0.2.3
foo_skip.dll (2009-01-03 18:04:18)
    Skip Track 0.4
foo_texttools.dll (2009-01-31 15:23:38)
    Text Tools 1.0.3
foo_ui_columns.dll (2009-04-18 18:30:11)
    Columns UI 0.3.6.9
foo_ui_std.dll (2009-04-25 16:45:54)
    Default User Interface 0.9.5
foo_uie_albumart.dll (2007-12-16 00:22:24)
    Album Art Panel 0.2.7.1
foo_uie_albumlist.dll (2009-03-28 17:14:17)
    Album list panel 0.3.4
foo_uie_biography.dll (2009-04-26 13:19:42)
    Biography View 0.2.7.1
foo_uie_console.dll (2008-08-06 12:43:31)
    Console panel 0.3
foo_uie_elplaylist.dll (2009-04-26 14:04:38)
    ELPlaylist 0.6.5.2(beta)
foo_uie_explorer.dll (2008-11-11 11:29:52)
    Explorer Tree 1.04.7b
foo_uie_graphical_browser.dll (2008-04-19 21:37:53)
    Graphical Browser rev015
foo_uie_lyrics.dll (2008-12-12 11:39:20)
    Lyric Show Panel 0.3.3.9 [Dec 12 2008 - 17:39:01]
foo_uie_lyrics_panel.dll (2007-08-17 23:56:36)
    Lyrics panel 0.35
foo_uie_panel_splitter.dll (2009-04-29 11:38:10)
    Panel Stack Splitter 0.3.7.1(alpha)
foo_uie_playlists_dropdown.dll (2008-12-08 03:43:24)
    Playlists Dropdown 0.7 beta 1
foo_uie_quicksearch.dll (2007-05-18 14:31:10)
    Quick Search Toolbar 2.8l
foo_uie_tabs.dll (2007-09-08 22:08:54)
    Tabbed panel modified 0.2.6
foo_uie_trackinfo.dll (2008-11-01 14:24:02)
    Track info panel 0.8
foo_uie_typefind.dll (2007-10-22 23:30:44)
    Typefind 0.2 beta 2
foo_uie_vis_peakmeter_spectrum.dll (2008-04-19 20:18:50)
    Peakmeter Spectrum Visualisation 0.2.0.0 beta
foo_uie_wsh_panel_mod.dll (2009-04-19 18:43:56)
    WSH Panel Mod 1.1.6
foo_unpack.dll (2009-04-25 16:44:24)
    RAR reader 1.2
    ZIP/GZIP reader 1.0
foo_upnp.dll (2009-04-23 23:39:56)
    UPnP/DLNA Media Server and Browser 0.98.2
foo_utils.dll (2008-02-09 00:26:58)
    Playlist Tools 0.6.2 beta 6
foo_verifier.dll (2009-01-30 20:54:44)
    File Integrity Verifier 1.0.4
foo_vis_shpeck.dll (2009-04-22 14:50:10)
    Shpeck - Winamp vis plugins wrapper 0.3.4
foo_whatsnew.dll (2008-08-30 15:45:00)
    Feature Watcher 1.0.6

I don't know what to suggest regarding your config (disabling some component would probably break it, right?)
Title: How to use todays date in formating?
Post by: tedgo on 2009-04-30 11:56:26
Disabling some components would break it, right...
It worked with PSS 0.3.6.3 and foo_customdb 0.0.7 so one of these two componets updates must cause the conflict in my config.

EDIT:
Tried with PSS 0.3.6.3 and foo_customdb 0.0.8 now and it works...
But unfortunately my current config bases on PSS 0.3.7.1, because of its global variables...
Title: How to use todays date in formating?
Post by: Frank Bicking on 2009-04-30 12:44:59
The current time is an information that cannot be reliably provided through title formatting.

It is not properly refreshed and may cause display glitches, for example when scrolling:

(http://i41.tinypic.com/250ovex.png)

It is very disappointing that, even though compatibility has been broken and the documentation has
been updated to make these things very clear, developers keep repeating the same mistakes.
Title: How to use todays date in formating?
Post by: tedgo on 2009-04-30 12:49:58
@Frank Bicking
That's true and i'm not really glad about the %now% "solution", but unfortunately there is no other way to catch the system date (which would be easy possible with a field that only updates on startup)
Title: How to use todays date in formating?
Post by: TomBarlow on 2009-04-30 13:09:29
I don't know how much this helps but you can get the current time and date into a WSH Panel using the Date() function. You can't turn that into a titleformatting field, but you can get titleformatting into WSH Panel, so you could probably compare the date of the currently focused/playing track with today's date. You can only get one track at a time in WSH panel though, so you couldn't use it in a list or whatever.
Title: How to use todays date in formating?
Post by: kandata on 2009-04-30 17:40:23
Hello,

%now% is a field to update data.
Please do not use it in the display usage.
fixed titleformat_hook to use.

Custom Database 0.0.8a (foo_customdb.dll) (http://blog.99ravens.net/files/foo_customdb_v008a.zip)
Title: How to use todays date in formating?
Post by: tedgo on 2009-04-30 17:42:55
Thanks for the update
But it still crashes my foobar when i use my PSS 0.3.7.1 config... 

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 029FDE9Ah
Access violation, operation: read, address: 00000004h

Call path:
entry=>user_interface::init

Code bytes (029FDE9Ah):
029FDE5Ah:  83 C4 08 8B 45 E8 8B 08 51 E8 78 03 00 00 83 C4
029FDE6Ah:  04 8B 55 E8 8B 45 EC 89 02 8B 4D E8 8B 55 08 89
029FDE7Ah:  51 08 8B 4D F4 64 89 0D 00 00 00 00 59 5F 5E 5B
029FDE8Ah:  8B E5 5D C2 04 00 55 8B EC 51 89 4D FC 8B 45 FC
029FDE9Ah:  8B 08 8B 55 08 8D 04 91 8B E5 5D C2 04 00 CC CC
029FDEAAh:  CC CC CC CC CC CC 55 8B EC 51 89 4D FC 8B 45 FC
029FDEBAh:  C7 00 00 00 00 00 8B 4D FC C7 41 04 00 00 00 00
029FDECAh:  8B 55 FC C7 42 08 00 00 00 00 8B 45 FC 8B E5 5D

Stack (0012BF44h):
0012BF24h:  FFFFFFFF 7FFFFFFF 00009765 00000000
0012BF34h:  B06797E0 B0679544 B06797EC 0012C954
0012BF44h:  00000004 0012BF58 029FDC23 00000000
0012BF54h:  00000004 0012BF68 029FDA73 00000000
0012BF64h:  00000004 0012BF78 029FD5D6 00000000
0012BF74h:  00000000 0012BF8C 02A07F2C 00000000
0012BF84h:  00000000 00000000 0012C060 029F7BDF
0012BF94h:  0012BFC8 00000000 00000000 BF41AF5E
0012BFA4h:  0012C0C4 01785279 017A31A8 00000000
0012BFB4h:  40140000 00003331 003E6CC8 02A442D0
0012BFC4h:  020378E0 00000000 02030000 00F66014
0012BFD4h:  02030000 00000000 00000010 00000010
0012BFE4h:  00010009 00000000 005597B0 00000000
0012BFF4h:  00000000 0053F2A0 0000000B 38303A31
0012C004h:  2E36323A 00333930 008698E2 02A1EB8C
0012C014h:  02A456E0 00000003 00000004 00000002
0012C024h:  02A1EB8C 00000000 00000000 00000000
0012C034h:  00000000 0012C06C 02A1EB8C 00000000
0012C044h:  00000000 00000000 00000000 0012C0B8
0012C054h:  0012C0B8 02A1C871 00000003 0012C0C4

Registers:
EAX: 00000004, EBX: 00000000, ECX: 00000004, EDX: 00000000
ESI: 020378E0, EDI: 0012C0EC, EBP: 0012BF48, ESP: 0012BF44

Crash location:
Module: foo_customdb
Offset: 5DE9Ah

Loaded modules:
foobar2000                      loaded at 00400000h - 00596000h
ntdll                            loaded at 7C910000h - 7C9C9000h
kernel32                        loaded at 7C800000h - 7C908000h
COMCTL32                        loaded at 773A0000h - 774A3000h
msvcrt                          loaded at 77BE0000h - 77C38000h
ADVAPI32                        loaded at 77DA0000h - 77E4A000h
RPCRT4                          loaded at 77E50000h - 77EE2000h
Secur32                          loaded at 77FC0000h - 77FD1000h
GDI32                            loaded at 77EF0000h - 77F39000h
USER32                          loaded at 7E360000h - 7E3F1000h
SHLWAPI                          loaded at 77F40000h - 77FB6000h
DSOUND                          loaded at 73E70000h - 73ECC000h
ole32                            loaded at 774B0000h - 775ED000h
VERSION                          loaded at 77BD0000h - 77BD8000h
WINMM                            loaded at 76AF0000h - 76B1E000h
SHELL32                          loaded at 7E670000h - 7EE91000h
shared                          loaded at 10000000h - 1002B000h
imagehlp                        loaded at 76C50000h - 76C78000h
UxTheme                          loaded at 5B0F0000h - 5B128000h
dbghelp                          loaded at 59DD0000h - 59E71000h
COMDLG32                        loaded at 76350000h - 7639A000h
IMM32                            loaded at 76330000h - 7634D000h
LPK                              loaded at 62E10000h - 62E19000h
USP10                            loaded at 75790000h - 757FB000h
serwvdrv                        loaded at 5D100000h - 5D107000h
umdmxfrm                        loaded at 5B420000h - 5B427000h
MSCTF                            loaded at 746A0000h - 746EC000h
WINTRUST                        loaded at 76BF0000h - 76C1E000h
CRYPT32                          loaded at 77A50000h - 77AE6000h
MSASN1                          loaded at 77AF0000h - 77B02000h
wdmaud                          loaded at 72C90000h - 72C99000h
msacm32                          loaded at 72C80000h - 72C88000h
MSACM32                          loaded at 77BB0000h - 77BC5000h
midimap                          loaded at 77BA0000h - 77BA7000h
msctfime                        loaded at 75250000h - 7527E000h
foo_input_std                    loaded at 00EF0000h - 01030000h
foo_exvar                        loaded at 01050000h - 01078000h
foo_input_tta                    loaded at 011A0000h - 011CB000h
foo_ui_std                      loaded at 011F0000h - 012F9000h
gdiplus                          loaded at 4EBA0000h - 4ED46000h
MSIMG32                          loaded at 76320000h - 76325000h
foo_uie_wsh_panel_mod            loaded at 01330000h - 013AD000h
OLEAUT32                        loaded at 770F0000h - 7717B000h
foo_menu_addons                  loaded at 01510000h - 0154C000h
foo_utils                        loaded at 01570000h - 015B4000h
foo_texttools                    loaded at 015E0000h - 01613000h
foo_albumlist                    loaded at 01640000h - 0169A000h
foo_uie_albumlist                loaded at 016C0000h - 016FD000h
foo_uie_vis_peakmeter_spectrum  loaded at 01720000h - 0175F000h
foo_playcount                    loaded at 01780000h - 017B0000h
foo_textdisplay                  loaded at 017D0000h - 0180F000h
foo_abx                          loaded at 01830000h - 01862000h
foo_run                          loaded at 01890000h - 018BD000h
foo_input_alac                  loaded at 018E0000h - 01900000h
foo_channel_mixer                loaded at 01920000h - 0195B000h
foo_input_tak                    loaded at 01970000h - 019B3000h
tak_deco_lib                    loaded at 019D0000h - 019EF000h
foo_dsp_skip_silence            loaded at 01B10000h - 01B1A000h
MSVCR80                          loaded at 78130000h - 781CB000h
foo_masstag                      loaded at 01B40000h - 01B88000h
foo_rgscan                      loaded at 01BB0000h - 01BFE000h
foo_uie_vis_channel_spectrum    loaded at 01C20000h - 01C5D000h
foo_cdda                        loaded at 01C80000h - 01CC0000h
foo_input_shorten                loaded at 01CE0000h - 01D0D000h
foo_lastfm_radio                loaded at 01D30000h - 01D78000h
foo_uie_tabs                    loaded at 01DA0000h - 01DC8000h
foo_input_monkey                loaded at 01DF0000h - 01E35000h
foo_packet_decoder_ac3          loaded at 01E60000h - 01E87000h
foo_ui_columns                  loaded at 01EB0000h - 02019000h
foo_uie_quicksearch              loaded at 02040000h - 02086000h
foo_converter                    loaded at 020B0000h - 0211D000h
foo_uie_lyrics                  loaded at 02140000h - 0219D000h
WININET                          loaded at 63000000h - 630E6000h
Normaliz                        loaded at 021B0000h - 021B9000h
urlmon                          loaded at 1A400000h - 1A532000h
iertutil                        loaded at 5DCA0000h - 5DE88000h
foo_uie_biography                loaded at 023F0000h - 02441000h
foo_uie_trackinfo_mod            loaded at 02470000h - 024C6000h
MSVCP80                          loaded at 7C420000h - 7C4A7000h
foo_benchmark                    loaded at 024E0000h - 0250D000h
foo_uie_elplaylist              loaded at 02530000h - 0259A000h
foo_uie_panel_splitter          loaded at 025C0000h - 02612000h
foo_fileops                      loaded at 02640000h - 02687000h
foo_dsp_std                      loaded at 026B0000h - 026F8000h
foo_verifier                    loaded at 02720000h - 02753000h
foo_freedb2                      loaded at 02780000h - 027C1000h
foo_uie_albumart                loaded at 027F0000h - 0282D000h
foo_unpack                      loaded at 02850000h - 0287E000h
foo_ac3                          loaded at 028A0000h - 028CF000h
foo_input_ofr                    loaded at 028F0000h - 0292D000h
OptimFROG                        loaded at 02940000h - 02972000h
foo_customdb                    loaded at 029A0000h - 02A3E000h
foo_bitcompare                  loaded at 02A50000h - 02A78000h
SXS                              loaded at 76970000h - 76A21000h
CLBCATQ                          loaded at 76F90000h - 7700F000h
COMRes                          loaded at 77010000h - 770E3000h
jscript                          loaded at 63380000h - 63434000h
xpsp2res                        loaded at 038E0000h - 03BB9000h
mscms                            loaded at 73AA0000h - 73AB5000h
WINSPOOL                        loaded at 72F70000h - 72F96000h
scrrun                          loaded at 73510000h - 7353A000h

Stack dump analysis:
Address: 029FDC23h (foo_customdb+5DC23h)
Address: 029FDA73h (foo_customdb+5DA73h)
Address: 029FD5D6h (foo_customdb+5D5D6h)
Address: 02A07F2Ch (foo_customdb+67F2Ch)
Address: 029F7BDFh (foo_customdb+57BDFh)
Address: 01785279h (foo_playcount+5279h)
Address: 017A31A8h (foo_playcount+231A8h)
Address: 00F66014h (foo_input_std+76014h)
Address: 005597B0h (foobar2000+1597B0h)
Address: 0053F2A0h (foobar2000+13F2A0h)
Address: 02A1EB8Ch (foo_customdb+7EB8Ch)
Address: 02A1EB8Ch (foo_customdb+7EB8Ch)
Address: 02A1EB8Ch (foo_customdb+7EB8Ch)
Address: 02A1C871h (foo_customdb+7C871h)
Address: 029FC1E2h (foo_customdb+5C1E2h)
Address: 029FE7B3h (foo_customdb+5E7B3h)
Address: 02A33310h (foo_customdb+93310h)
Address: 02A1EB8Ch (foo_customdb+7EB8Ch)
Address: 02A1EBB8h (foo_customdb+7EBB8h)
Address: 02A1CD10h (foo_customdb+7CD10h)
Address: 01EF5EC7h (foo_ui_columns+45EC7h)
Address: 7C9201E0h (ntdll+101E0h), symbol: "RtlAllocateHeap" (+11Ch)
Address: 02A33310h (foo_customdb+93310h)
Address: 01FA155Ch (foo_ui_columns+F155Ch)
Address: 01FA4708h (foo_ui_columns+F4708h)
Address: 0055A330h (foobar2000+15A330h)
Address: 01FA2F08h (foo_ui_columns+F2F08h)
Address: 01FA2F08h (foo_ui_columns+F2F08h)
Address: 01FA45E8h (foo_ui_columns+F45E8h)
Address: 01FA48FCh (foo_ui_columns+F48FCh)
Address: 01F95A51h (foo_ui_columns+E5A51h)
Address: 01EF6677h (foo_ui_columns+46677h)
Address: 004BE1C0h (foobar2000+BE1C0h)
Address: 0055B6B0h (foobar2000+15B6B0h)
Address: 0055A7C4h (foobar2000+15A7C4h)
Address: 004BE1CFh (foobar2000+BE1CFh)
Address: 01F95E01h (foo_ui_columns+E5E01h)
Address: 004BE1CFh (foobar2000+BE1CFh)
Address: 0055B67Ch (foobar2000+15B67Ch)
Address: 004BEBF0h (foobar2000+BEBF0h)
Address: 004BE1C0h (foobar2000+BE1C0h)
Address: 0055B66Ch (foobar2000+15B66Ch)
Address: 004BE233h (foobar2000+BE233h)
Address: 004BE1C0h (foobar2000+BE1C0h)
Address: 0055DEA5h (foobar2000+15DEA5h)
Address: 00514650h (foobar2000+114650h)
Address: 004BE3B1h (foobar2000+BE3B1h)
Address: 0049355Bh (foobar2000+9355Bh)
Address: 0051B3B8h (foobar2000+11B3B8h)
Address: 004BE622h (foobar2000+BE622h)
Address: 0055B66Ch (foobar2000+15B66Ch)
Address: 00428492h (foobar2000+28492h)
Address: 00532200h (foobar2000+132200h)
Address: 00532608h (foobar2000+132608h)
Address: 0053EECCh (foobar2000+13EECCh)
Address: 005336A0h (foobar2000+1336A0h)
Address: 0051AC98h (foobar2000+11AC98h)
Address: 01F0FA4Dh (foo_ui_columns+5FA4Dh)
Address: 00410406h (foobar2000+10406h)
Address: 0055B6B0h (foobar2000+15B6B0h)
Address: 01F8A848h (foo_ui_columns+DA848h)
Address: 01F82C5Dh (foo_ui_columns+D2C5Dh)
Address: 00410406h (foobar2000+10406h)
Address: 7E378DACh (USER32+18DACh), symbol: "DefWindowProcW" (+8Ch)
Address: 7E378D8Bh (USER32+18D8Bh), symbol: "DefWindowProcW" (+6Bh)
Address: 00410406h (foobar2000+10406h)
Address: 7E368B26h (USER32+8B26h), symbol: "GetWindowThreadProcessId" (+A6h)
Address: 00410406h (foobar2000+10406h)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 7E3688D1h (USER32+88D1h), symbol: "GetWindowLongW" (+2Bh)
Address: 7E3688DAh (USER32+88DAh), symbol: "GetWindowLongW" (+34h)
Address: 00410406h (foobar2000+10406h)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 01F897B2h (foo_ui_columns+D97B2h)
Address: 01F5AEF2h (foo_ui_columns+AAEF2h)
Address: 00410406h (foobar2000+10406h)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 7E368734h (USER32+8734h), symbol: "GetDC" (+6Dh)
Address: 00410406h (foobar2000+10406h)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 7E368BD9h (USER32+8BD9h), symbol: "GetWindowThreadProcessId" (+159h)
Address: 7E36885Ah (USER32+885Ah), symbol: "GetDC" (+193h)
Address: 7E36882Ah (USER32+882Ah), symbol: "GetDC" (+163h)
Address: 7C9232AFh (ntdll+132AFh), symbol: "RtlUnlockHeap" (+3Ch)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E368830h (USER32+8830h), symbol: "GetDC" (+169h)
Address: 7E37927Bh (USER32+1927Bh), symbol: "GetParent" (+16Ch)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 00410406h (foobar2000+10406h)
Address: 00410406h (foobar2000+10406h)
Address: 00410406h (foobar2000+10406h)
Address: 7E3792E3h (USER32+192E3h), symbol: "SendMessageW" (+49h)
Address: 76339B35h (IMM32+9B35h), symbol: "ImmUnlockClientImc" (+13h)
Address: 76332B56h (IMM32+2B56h), symbol: "ImmSetActiveContext" (+178h)
Address: 00FF04F1h (foo_input_std+1004F1h)
Address: 00410406h (foobar2000+10406h)
Address: 00FF04F1h (foo_input_std+1004F1h)
Address: 7E3BB90Eh (USER32+5B90Eh), symbol: "IMPSetIMEA" (+40Ah)
Address: 7E3BB916h (USER32+5B916h), symbol: "IMPSetIMEA" (+412h)
Address: 00410406h (foobar2000+10406h)
Address: 00FF04F1h (foo_input_std+1004F1h)
Address: 00410406h (foobar2000+10406h)
Address: 7E3BBDF2h (USER32+5BDF2h), symbol: "IMPSetIMEA" (+8EEh)
Address: 00410406h (foobar2000+10406h)
Address: 7E3BBE8Ah (USER32+5BE8Ah), symbol: "IMPSetIMEA" (+986h)
Address: 7E37B401h (USER32+1B401h), symbol: "CallNextHookEx" (+3Bh)
Address: 746B1331h (MSCTF+11331h), symbol: "TF_UninitSystem" (+950h)
Address: 746B1336h (MSCTF+11336h), symbol: "TF_UninitSystem" (+955h)
Address: 746B1340h (MSCTF+11340h), symbol: "TF_UninitSystem" (+95Fh)
Address: 746B1336h (MSCTF+11336h), symbol: "TF_UninitSystem" (+955h)
Address: 7E381923h (USER32+21923h), symbol: "UnhookWinEvent" (+77h)
Address: 7E37B317h (USER32+1B317h), symbol: "MoveWindow" (+79h)
Address: 7E37B326h (USER32+1B326h), symbol: "MoveWindow" (+88h)
Address: 7E36882Ah (USER32+882Ah), symbol: "GetDC" (+163h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E37B330h (USER32+1B330h), symbol: "MoveWindow" (+92h)
Address: 7E37B326h (USER32+1B326h), symbol: "MoveWindow" (+88h)
Address: 7E380238h (USER32+20238h), symbol: "ScrollWindowEx" (+B1h)
Address: 7E380248h (USER32+20248h), symbol: "ScrollWindowEx" (+C1h)
Address: 7C91E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 7E368B26h (USER32+8B26h), symbol: "GetWindowThreadProcessId" (+A6h)
Address: 7E3688D1h (USER32+88D1h), symbol: "GetWindowLongW" (+2Bh)
Address: 7E3688DAh (USER32+88DAh), symbol: "GetWindowLongW" (+34h)
Address: 01DB7F0Eh (foo_uie_tabs+17F0Eh)
Address: 01DB3790h (foo_uie_tabs+13790h)
Address: 00410406h (foobar2000+10406h)
Address: 00410406h (foobar2000+10406h)
Address: 01DB3790h (foo_uie_tabs+13790h)
Address: 7E378DD9h (USER32+18DD9h), symbol: "DefWindowProcW" (+B9h)
Address: 00410406h (foobar2000+10406h)
Address: 7E368BD9h (USER32+8BD9h), symbol: "GetWindowThreadProcessId" (+159h)
Address: 7E3C1088h (USER32+61088h)
Address: 7E378DACh (USER32+18DACh), symbol: "DefWindowProcW" (+8Ch)
Address: 7E378D8Bh (USER32+18D8Bh), symbol: "DefWindowProcW" (+6Bh)
Address: 00410406h (foobar2000+10406h)
Address: 7E368B26h (USER32+8B26h), symbol: "GetWindowThreadProcessId" (+A6h)
Address: 00410406h (foobar2000+10406h)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 7E3688D1h (USER32+88D1h), symbol: "GetWindowLongW" (+2Bh)
Address: 7E3688DAh (USER32+88DAh), symbol: "GetWindowLongW" (+34h)
Address: 00410406h (foobar2000+10406h)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 01F897B2h (foo_ui_columns+D97B2h)
Address: 01F5AEF2h (foo_ui_columns+AAEF2h)
Address: 00410406h (foobar2000+10406h)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 00410406h (foobar2000+10406h)
Address: 7E368734h (USER32+8734h), symbol: "GetDC" (+6Dh)
Address: 00410406h (foobar2000+10406h)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 7E368816h (USER32+8816h), symbol: "GetDC" (+14Fh)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 00410406h (foobar2000+10406h)
Address: 00410406h (foobar2000+10406h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E368830h (USER32+8830h), symbol: "GetDC" (+169h)
Address: 7E378EA0h (USER32+18EA0h), symbol: "DefWindowProcW" (+180h)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 00410406h (foobar2000+10406h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E378EB0h (USER32+18EB0h), symbol: "DefWindowProcW" (+190h)
Address: 7E378EECh (USER32+18EECh), symbol: "DefWindowProcW" (+1CCh)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 7C91E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 01F5AD50h (foo_ui_columns+AAD50h)
Address: 7E378E53h (USER32+18E53h), symbol: "DefWindowProcW" (+133h)
Address: 7E37B11Eh (USER32+1B11Eh), symbol: "SetFocus" (+Ch)
Address: 7E374A44h (USER32+14A44h), symbol: "DialogBoxIndirectParamAorW" (+74h)
Address: 00410406h (foobar2000+10406h)
Address: 7E373D3Ah (USER32+13D3Ah), symbol: "DefDlgProcW" (+0h)
Address: 7E3BC95Bh (USER32+5C95Bh), symbol: "IMPSetIMEA" (+1457h)
Address: 7E373D5Ch (USER32+13D5Ch), symbol: "DefDlgProcW" (+22h)
Address: 7E368734h (USER32+8734h), symbol: "GetDC" (+6Dh)
Address: 7E373D3Ah (USER32+13D3Ah), symbol: "DefDlgProcW" (+0h)
Address: 7E373D3Ah (USER32+13D3Ah), symbol: "DefDlgProcW" (+0h)
Address: 7E368816h (USER32+8816h), symbol: "GetDC" (+14Fh)
Address: 7E373D3Ah (USER32+13D3Ah), symbol: "DefDlgProcW" (+0h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E368830h (USER32+8830h), symbol: "GetDC" (+169h)
Address: 7E378EA0h (USER32+18EA0h), symbol: "DefWindowProcW" (+180h)
Address: 7E373D3Ah (USER32+13D3Ah), symbol: "DefDlgProcW" (+0h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E378EB0h (USER32+18EB0h), symbol: "DefWindowProcW" (+190h)
Address: 7E378EECh (USER32+18EECh), symbol: "DefWindowProcW" (+1CCh)
Address: 7E373D3Ah (USER32+13D3Ah), symbol: "DefDlgProcW" (+0h)
Address: 7C91E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 7E373D3Ah (USER32+13D3Ah), symbol: "DefDlgProcW" (+0h)
Address: 7E378E53h (USER32+18E53h), symbol: "DefWindowProcW" (+133h)
Address: 7E37AF62h (USER32+1AF62h), symbol: "ShowWindow" (+Ch)
Address: 01DB583Ch (foo_uie_tabs+1583Ch)
Address: 01DBB1F4h (foo_uie_tabs+1B1F4h)
Address: 01DB7D63h (foo_uie_tabs+17D63h)
Address: 01DB3AD4h (foo_uie_tabs+13AD4h)
Address: 01DBB4FCh (foo_uie_tabs+1B4FCh)
Address: 025EC496h (foo_uie_panel_splitter+2C496h)
Address: 0260940Ch (foo_uie_panel_splitter+4940Ch)
Address: 025F94E5h (foo_uie_panel_splitter+394E5h)
Address: 025F1764h (foo_uie_panel_splitter+31764h)
Address: 7E378D90h (USER32+18D90h), symbol: "DefWindowProcW" (+70h)
Address: 0055B578h (foobar2000+15B578h)
Address: 0055ABC0h (foobar2000+15ABC0h)
Address: 7C920222h (ntdll+10222h), symbol: "RtlAllocateHeap" (+15Eh)
Address: 7C92019Bh (ntdll+1019Bh), symbol: "RtlAllocateHeap" (+D7h)
Address: 7E3688A6h (USER32+88A6h), symbol: "GetWindowLongW" (+0h)
Address: 7E379A43h (USER32+19A43h), symbol: "SetWindowPos" (+50h)
Address: 7E379B10h (USER32+19B10h), symbol: "GetClassLongW" (+27h)
Address: 7E379B19h (USER32+19B19h), symbol: "GetClassLongW" (+30h)
Address: 7E3688A6h (USER32+88A6h), symbol: "GetWindowLongW" (+0h)
Address: 7E37C06Eh (USER32+1C06Eh), symbol: "UserLpkPSMTextOut" (+449h)
Address: 7E368B26h (USER32+8B26h), symbol: "GetWindowThreadProcessId" (+A6h)
Address: 025CFDA0h (foo_uie_panel_splitter+FDA0h)
Address: 7E3688D1h (USER32+88D1h), symbol: "GetWindowLongW" (+2Bh)
Address: 7E3688DAh (USER32+88DAh), symbol: "GetWindowLongW" (+34h)
Address: 025CFDA0h (foo_uie_panel_splitter+FDA0h)
Address: 025FA8FBh (foo_uie_panel_splitter+3A8FBh)
Address: 025CFF38h (foo_uie_panel_splitter+FF38h)
Address: 025CFDA0h (foo_uie_panel_splitter+FDA0h)
Address: 7E3688DAh (USER32+88DAh), symbol: "GetWindowLongW" (+34h)
Address: 7E368734h (USER32+8734h), symbol: "GetDC" (+6Dh)
Address: 025CFDA0h (foo_uie_panel_splitter+FDA0h)
Address: 025CFDA0h (foo_uie_panel_splitter+FDA0h)
Address: 7E37BDF1h (USER32+1BDF1h), symbol: "UserLpkPSMTextOut" (+1CCh)
Address: 025CFDA0h (foo_uie_panel_splitter+FDA0h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E368830h (USER32+8830h), symbol: "GetDC" (+169h)
Address: 7E378EA0h (USER32+18EA0h), symbol: "DefWindowProcW" (+180h)
Address: 025CFDA0h (foo_uie_panel_splitter+FDA0h)
Address: 7E39048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E378EB0h (USER32+18EB0h), symbol: "DefWindowProcW" (+190h)
Address: 7E37CE7Ch (USER32+1CE7Ch), symbol: "SetLayeredWindowAttributes" (+6Ah)
Address: 025CFDA0h (foo_uie_panel_splitter+FDA0h)
Address: 7C91E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 025C0000h (foo_uie_panel_splitter+0h)
Address: 02600850h (foo_uie_panel_splitter+40850h)
Address: 025CFDA0h (foo_uie_panel_splitter+FDA0h)
Address: 7E378E53h (USER32+18E53h), symbol: "DefWindowProcW" (+133h)
Address: 7E37E389h (USER32+1E389h), symbol: "GetScrollInfo" (+3A7h)
Address: 7E37E34Fh (USER32+1E34Fh), symbol: "GetScrollInfo" (+36Dh)
Address: 025C0000h (foo_uie_panel_splitter+0h)
Address: 02600878h (foo_uie_panel_splitter+40878h)
Address: 02600850h (foo_uie_panel_splitter+40850h)
Address: 7E37E374h (USER32+1E374h), symbol: "GetScrollInfo" (+392h)
Address: 01FA2990h (foo_ui_columns+F2990h)
Address: 025C0000h (foo_uie_panel_splitter+0h)
Address: 76339B35h (IMM32+9B35h), symbol: "ImmUnlockClientImc" (+13h)
Address: 76332B56h (IMM32+2B56h), symbol: "ImmSetActiveContext" (+178h)
Address: 00FF04F1h (foo_input_std+1004F1h)
Address: 7E378DD9h (USER32+18DD9h), symbol: "DefWindowProcW" (+B9h)
Address: 7E368BD9h (USER32+8BD9h), symbol: "GetWindowThreadProcessId" (+159h)
Address: 7E3C1088h (USER32+61088h)
Address: 7E378DACh (USER32+18DACh), symbol: "DefWindowProcW" (+8Ch)
Address: 7E378D8Bh (USER32+18D8Bh), symbol: "DefWindowProcW" (+6Bh)
Address: 7C925239h (ntdll+15239h), symbol: "bsearch" (+46h)
Address: 7C92542Bh (ntdll+1542Bh), symbol: "bsearch" (+238h)
Address: 7C9200B8h (ntdll+100B8h), symbol: "RtlFreeHeap" (+18Bh)
Address: 7C920041h (ntdll+10041h), symbol: "RtlFreeHeap" (+114h)
Address: 7C92005Dh (ntdll+1005Dh), symbol: "RtlFreeHeap" (+130h)
Address: 01FA299Ah (foo_ui_columns+F299Ah)
Address: 01FA2990h (foo_ui_columns+F2990h)
Address: 7C9257C1h (ntdll+157C1h), symbol: "RtlHashUnicodeString" (+164h)
Address: 7C92534Ah (ntdll+1534Ah), symbol: "bsearch" (+157h)
Address: 7C925742h (ntdll+15742h), symbol: "RtlHashUnicodeString" (+E5h)
Address: 7C9255EDh (ntdll+155EDh), symbol: "RtlFindActivationContextSectionString" (+DCh)

Environment:
App: foobar2000 v0.9.6.5
OS: Windows 5.1.2600 Service Pack 3 x86
CPU: Intel® Pentium® 4 CPU 2.20GHz, features: MMX SSE SSE2
Audio: Realtek AC97 Audio; Modem Nr. 0 Line-Out (emuliert)
UI: Columns UI 0.3.6.9

Components:
Core (2009-04-25 16:47:24)
    foobar2000 core 0.9.6.5
foo_abx.dll (2009-04-25 16:44:30)
    ABX Comparator 1.3.4
foo_ac3.dll (2009-03-02 14:04:00)
    AC3 decoder 0.9.2
foo_albumlist.dll (2009-04-25 16:45:44)
    Album List 4.3.1
foo_benchmark.dll (2008-12-31 20:23:00)
    Decoding Speed Test 1.1
foo_bitcompare.dll (2008-12-05 16:08:00)
    Binary Comparator 1.2
foo_cdda.dll (2009-04-25 16:45:30)
    CD Audio Decoder 2.1.4
foo_channel_mixer.dll (2007-02-27 13:15:50)
    Channel Mixer 0.9.6.2
foo_converter.dll (2009-04-25 16:45:38)
    Converter 1.2.1
foo_customdb.dll (2009-05-01 01:21:00)
    Custom Database 0.0.8a
foo_dsp_skip_silence.dll (2006-06-21 17:21:00)
    Skip silence 0.1
foo_dsp_std.dll (2009-04-25 16:45:44)
    Standard DSP Array 1.0
foo_exvar.dll (2008-06-14 00:42:55)
    Extended Variables 0.3.1
foo_fileops.dll (2009-04-25 16:44:30)
    File Operations 2.1.2
foo_freedb2.dll (2009-04-25 16:44:48)
    freedb Tagger 0.6.1
foo_input_alac.dll (2009-03-22 15:15:00)
    ALAC Decoder 1.0.3
foo_input_monkey.dll (2008-05-31 22:39:00)
    Monkey's Audio Decoder 2.1.3
foo_input_ofr.dll (2008-08-30 15:24:00)
    OptimFROG Lossless/DualStream Decoder 1.21b
foo_input_shorten.dll (2007-08-21 12:56:00)
    Shorten decoder 0.4.2.1
foo_input_std.dll (2009-04-25 16:45:20)
    Standard Input Array 1.0
foo_input_tak.dll (2008-04-08 12:16:06)
    TAK Decoder 0.4.2
foo_input_tta.dll (2008-10-20 19:20:00)
    TTA Audio Decoder (unofficial) 2.4.2
foo_lastfm_radio.dll (2009-02-25 23:05:00)
    Last.fm Radio 0.5.6b
foo_masstag.dll (2009-03-29 20:53:00)
    Masstagger 1.8
foo_menu_addons.dll (2009-01-05 20:44:00)
    Menu Addons 0.4.1 (SSE)
foo_packet_decoder_ac3.dll (2006-04-30 22:01:00)
    ATSC A/52 (AC3) Packet Decoder 0.9
foo_playcount.dll (2009-04-29 20:09:00)
    Playback Statistics 2.1.9
foo_rgscan.dll (2009-04-25 16:45:16)
    ReplayGain Scanner 2.0.8
foo_run.dll (2009-03-27 23:49:00)
    Run services 0.3.6
foo_textdisplay.dll (2008-10-24 12:26:15)
    Text Display UI Element 1.0 RC 3
foo_texttools.dll (2009-01-31 15:23:00)
    Text Tools 1.0.3
foo_ui_columns.dll (2009-04-18 18:30:11)
    Columns UI 0.3.6.9
foo_ui_std.dll (2009-04-25 16:45:54)
    Default User Interface 0.9.5
foo_uie_albumart.dll (2007-12-15 18:22:24)
    Album Art Panel 0.2.7.1
foo_uie_albumlist.dll (2009-03-28 17:14:17)
    Album list panel 0.3.4
foo_uie_biography.dll (2009-05-01 00:47:00)
    Biography View 0.2.7.3
foo_uie_elplaylist.dll (2009-04-26 14:04:00)
    ELPlaylist 0.6.5.2(beta)
foo_uie_lyrics.dll (2008-12-12 11:39:20)
    Lyric Show Panel 0.3.3.9 [Dec 12 2008 - 17:39:01]
foo_uie_panel_splitter.dll (2009-04-29 11:38:00)
    Panel Stack Splitter 0.3.7.1(alpha)
foo_uie_quicksearch.dll (2007-05-18 13:31:00)
    Quick Search Toolbar 2.8l
foo_uie_tabs.dll (2009-02-02 19:58:00)
    Tabbed Panel Modified 0.2.7
foo_uie_trackinfo_mod.dll (2007-01-05 15:36:20)
    Track info panel mod 0.8.0 beta [Jan  5 2007 - 13:36:12]
foo_uie_vis_channel_spectrum.dll (2008-05-18 03:02:00)
    Channel Spectrum panel 0.17.2
foo_uie_vis_peakmeter_spectrum.dll (2008-04-19 20:18:00)
    Peakmeter Spectrum Visualisation 0.2.0.0 beta
foo_uie_wsh_panel_mod.dll (2009-04-26 09:11:44)
    WSH Panel Mod 1.1.7 Alpha
foo_unpack.dll (2009-04-25 16:44:24)
    RAR reader 1.2
    ZIP/GZIP reader 1.0
foo_utils.dll (2008-02-08 23:26:00)
    Playlist Tools 0.6.2 beta 6
foo_verifier.dll (2009-01-30 20:54:00)
    File Integrity Verifier 1.0.4

Recent events:
Album list panel: tree generated in : 0:00.005972
Filter Panel - Genre: initialised in 0.002 s
Filter Panel - Artist: initialised in 0.002 s
Filter Panel - Album: initialised in 0.003 s
Title: How to use todays date in formating?
Post by: Mar2zz on 2009-04-30 19:57:12
All the trouble to view "this year" instead of 2009. 12th March 2009 isn't that ugly is it?

Also, using a replace is solving this?

Code: [Select]
$day_of_month(%last_played%) $month(%last_played%) $replace($year(%last_played%),2009,this year,2008,last year,2007,two years ago)


The th, or rd, st behind a number can also be done by a $replace($day_of_month(%last_played%),1,1st,2,2nd etc)
Title: How to use todays date in formating?
Post by: technononsense on 2009-04-30 20:58:46
Code: [Select]
$day_of_month(%last_played%) $month(%last_played%) $replace($year(%last_played%),2009,this year,2008,last year,2007,two years ago)


The th, or rd, st behind a number can also be done by a $replace($day_of_month(%last_played%),1,1st,2,2nd etc)



Thats about 3 lines of code less than my effort!

It's the first time i've tried my hand at scripting anything, thats my reason for it.
Title: How to use todays date in formating?
Post by: kandata on 2009-05-01 10:01:54
Thanks for the update
But it still crashes my foobar when i use my PSS 0.3.7.1 config... 


v0.0.8c: The processing when starting was fixed.
Custom Database v0.0.8c [2009/05/01] (http://blog.99ravens.net/index.php?e=283)
Title: How to use todays date in formating?
Post by: tedgo on 2009-05-01 23:04:10
Thank you, its working now