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: WSH Panel Mod (Read 815613 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

WSH Panel Mod

Reply #1200
Interestingly enough, that only sort of works.  I am not sure why, but the WshShell.Run() method causes the app to crash.  I was able to fix it by switching to the WshShell.Exec() command, however.  What I am trying to do is:

Code: [Select]
function on_playback_dynamic_info_track() {
    var command = "PATH_TO_EXE_WITH_\\_PATH_DELIMITERS";
    var WshShell = new ActiveXObject("WScript.Shell");
    WshShell.Exec(command);
    return true;
}


Not sure why one works and the other does not, but I think I can get it working now.  Thanks again for being so responsive, it has made getting this done a lot easier than I thought it would be

WSH Panel Mod

Reply #1201
Since i installed the latest version of this plug-in, i am geting constat errors when i close/open foobar. When i click on "Check online troubleshooter" i always get this:

"foobar2000 troubleshooter

The following components found on your system are known to be problematic and should be either uninstalled or updated to their latest versions:

foo_uie_wsh_panel_mod.dll : WSH Panel Mod 1.4.3
Reason: Repeated crash reports.
Download the latest version..."


Here is also a failure log:
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 05675531h
Access violation, operation: read, address: 05675531h

Call path not available.

Stack (0635FDF8h):
0635FDD8h:  7C917CA7 7C97E174 7C917C51 057A49FC
0635FDE8h:  05D91A08 0000FFFF 7FFD5000 00268028
0635FDF8h:  052CE87B 05D91730 05D91A08 03617448
0635FE08h:  03617960 00000000 036183A8 00000000
0635FE18h:  05D925C0 00000000 05D91788 03619D18
0635FE28h:  0361A240 0361A758 0000002E 05D8F6F8
0635FE38h:  FFFFFFFF 00000000 0361B990 0361BCF0
0635FE48h:  00000000 05D79D78 05D925C0 00000000
0635FE58h:  00000000 000005C0 00000000 05C61373
0635FE68h:  7C91005D 05C62B20 05D91A08 05D91A08
0635FE78h:  0361E710 0361EA18 0361ED28 0361F038
0635FE88h:  0361F350 0361F660 0361F980 0361FCB0
0635FE98h:  0361FFD0 03621900 03621C90 03622020
0635FEA8h:  036223B0 03622780 03622B20 03622EC0
0635FEB8h:  03623270 03623630 036239C0 03623D80
0635FEC8h:  00000220 036244C0 03624850 03624BE0
0635FED8h:  03624FC8 036253A8 03625780 03625B68
0635FEE8h:  03625F40 03626318 05C60000 03626AC0
0635FEF8h:  03626EA8 03627280 03627750 03627C18
0635FF08h:  000180D8 00000044 0635FE6C 03628F10

Registers:
EAX: FFFFFFFF, EBX: 00000000, ECX: 71AB3168, EDX: 01A71EF0
ESI: 000000B8, EDI: 0000002E, EBP: 0635FE84, ESP: 0635FDF8

Unable to identify crash location!

Loaded modules:
foobar2000   loaded at 00400000h - 005F2000h
ntdll loaded at 7C900000h - 7C9B2000h
kernel32 loaded at 7C800000h - 7C8F6000h
COMCTL32 loaded at 773D0000h - 774D3000h
msvcrt   loaded at 77C10000h - 77C68000h
ADVAPI32 loaded at 77DD0000h - 77E6B000h
RPCRT4   loaded at 77E70000h - 77F03000h
Secur32   loaded at 77FE0000h - 77FF1000h
GDI32 loaded at 77F10000h - 77F59000h
USER32   loaded at 7E410000h - 7E4A1000h
SHLWAPI   loaded at 77F60000h - 77FD6000h
DSOUND   loaded at 73F10000h - 73F6C000h
ole32 loaded at 774E0000h - 7761E000h
VERSION   loaded at 77C00000h - 77C08000h
WINMM loaded at 76B40000h - 76B6D000h
UxTheme   loaded at 5AD70000h - 5ADA8000h
SHELL32   loaded at 7C9C0000h - 7D1D7000h
zlib1 loaded at 5A4C0000h - 5A4D3000h
shared   loaded at 10000000h - 1002B000h
imagehlp loaded at 76C90000h - 76CB8000h
dbghelp   loaded at 59A60000h - 59B01000h
COMDLG32 loaded at 763B0000h - 763F9000h
CRYPT32   loaded at 77A80000h - 77B15000h
MSASN1   loaded at 77B20000h - 77B32000h
gdiplus   loaded at 4EC50000h - 4EDFB000h
IMM32 loaded at 76390000h - 763AD000h
MSCTF loaded at 74720000h - 7476C000h
WINTRUST loaded at 76C30000h - 76C5E000h
wdmaud   loaded at 72D20000h - 72D29000h
msacm32   loaded at 72D10000h - 72D18000h
MSACM32   loaded at 77BE0000h - 77BF5000h
midimap   loaded at 77BD0000h - 77BD7000h
apphelp   loaded at 77B40000h - 77B62000h
msctfime loaded at 755C0000h - 755EE000h
foo_podcatcher   loaded at 01060000h - 01136000h
foo_dsp_std   loaded at 01150000h - 01198000h
foo_audioscrobbler   loaded at 011C0000h - 011F3000h
foo_jesus loaded at 01220000h - 0123A000h
foo_uie_wsh_panel_mod loaded at 01250000h - 01312000h
OLEAUT32 loaded at 77120000h - 771AB000h
Msimg32   loaded at 76380000h - 76385000h
foo_fileops   loaded at 01470000h - 014B7000h
foo_input_monkey loaded at 014E0000h - 01529000h
foo_flv   loaded at 01550000h - 0156C000h
foo_unpack   loaded at 01590000h - 015BE000h
foo_cdda loaded at 015E0000h - 0162E000h
foo_ui_std   loaded at 01650000h - 01768000h
foo_albumlist loaded at 01790000h - 017ED000h
foo_rgscan   loaded at 01810000h - 0185A000h
foo_dop   loaded at 01880000h - 01A53000h
SETUPAPI loaded at 77920000h - 77A13000h
WS2_32   loaded at 71AB0000h - 71AC7000h
WS2HELP   loaded at 71AA0000h - 71AA8000h
QUARTZ   loaded at 74810000h - 7497E000h
USP10 loaded at 74D90000h - 74DFB000h
foo_playcount loaded at 01AE0000h - 01B1C000h
foo_run   loaded at 01B40000h - 01B9F000h
foo_uie_panel_splitter   loaded at 01BC0000h - 01C19000h
foo_uie_library_tree loaded at 01C40000h - 01C87000h
foo_converter loaded at 01CB0000h - 01D2B000h
foo_dynfil   loaded at 01D50000h - 01D77000h
foo_upnp loaded at 01D90000h - 01F31000h
IPHLPAPI loaded at 76D60000h - 76D79000h
foo_wave_seekbar loaded at 01F70000h - 0213A000h
foo_random_pools loaded at 02160000h - 0218F000h
foo_ui_columns   loaded at 021B0000h - 0233C000h
foo_facets   loaded at 02360000h - 024D4000h
foo_input_std loaded at 02500000h - 02663000h
foo_softplaylists loaded at 02690000h - 026F8000h
foo_uie_peakmeter loaded at 02720000h - 02753000h
foo_dsp_dolbyhp   loaded at 02780000h - 027A4000h
foo_discogs   loaded at 027C0000h - 02821000h
WININET   loaded at 3D930000h - 3DA16000h
Normaliz loaded at 02830000h - 02839000h
urlmon   loaded at 78130000h - 78263000h
iertutil loaded at 3DFD0000h - 3E1B9000h
foo_uie_vis_peakmeter_spectrum  loaded at 02A70000h - 02AAF000h
foo_lastfm_radio loaded at 02AD0000h - 02B18000h
foo_freedb2   loaded at 02B40000h - 02B80000h
foo_httpcontrol   loaded at 02BA0000h - 02C0D000h
WSOCK32   loaded at 71AD0000h - 71AD9000h
MPR   loaded at 71B20000h - 71B32000h
foo_vis_shpeck   loaded at 02C20000h - 02C61000h
foo_uie_esplaylist   loaded at 02C90000h - 02CFA000h
foo_abx   loaded at 02D20000h - 02D52000h
CLBCATQ   loaded at 76FD0000h - 7704F000h
COMRes   loaded at 77050000h - 77115000h
SXS   loaded at 7E720000h - 7E7D0000h
jscript   loaded at 3D7A0000h - 3D854000h
xpsp2res loaded at 042E0000h - 045A5000h
wshom loaded at 60280000h - 602A1000h
ScrRun   loaded at 735A0000h - 735CA000h
d3d9 loaded at 4FDD0000h - 4FF76000h
d3d8thk   loaded at 6D990000h - 6D996000h
d3dx9_42 loaded at 04BE0000h - 04DC5000h
d3dx10_42 loaded at 04100000h - 04170000h
mswsock   loaded at 71A50000h - 71A8F000h
hnetcfg   loaded at 662B0000h - 66308000h
wshtcpip loaded at 71A90000h - 71A98000h
MSVCR80   loaded at 05740000h - 057DB000h
MSVCP80   loaded at 7C420000h - 7C4A7000h
mshtml   loaded at 3CEA0000h - 3D453000h
msls31   loaded at 06FF0000h - 07019000h
PSAPI loaded at 76BF0000h - 76BFB000h
MLANG loaded at 75CF0000h - 75D81000h
IEFRAME   loaded at 3E1C0000h - 3EC55000h
DNSAPI   loaded at 76F20000h - 76F47000h
mdnsNSP   loaded at 64000000h - 64025000h
rasadhlp loaded at 76FC0000h - 76FC6000h
rsaenh   loaded at 68000000h - 68036000h
netapi32 loaded at 5B860000h - 5B8B5000h
MpShHook loaded at 5F800000h - 5F816000h
MSNLNamespaceMgr loaded at 09BC0000h - 09C0D000h
GROOVEEX loaded at 49460000h - 4986A000h
MSVCR90   loaded at 78520000h - 785C3000h
MSVCP90   loaded at 78480000h - 7850E000h
ATL90 loaded at 78E20000h - 78E4B000h
hccutils loaded at 065A0000h - 065BA000h
rsvpsp   loaded at 73080000h - 7309D000h

Stack dump analysis:
Address: 7C91005Dh (ntdll+1005Dh), symbol: "RtlFreeHeap" (+130h)
Address: 7C90E920h (ntdll+E920h), symbol: "strchr" (+113h)
Address: 7C910060h (ntdll+10060h), symbol: "RtlFreeHeap" (+133h)
Address: 7C91005Dh (ntdll+1005Dh), symbol: "RtlFreeHeap" (+130h)
Address: 05744C39h (MSVCR80+4C39h), symbol: "free" (+CDh)
Address: 05744C58h (MSVCR80+4C58h), symbol: "free" (+ECh)
Address: 05742C78h (MSVCR80+2C78h), symbol: "_set_flsgetvalue" (+Dh)
Address: 71A55E13h (mswsock+5E13h)
Address: 057429BBh (MSVCR80+29BBh), symbol: "endthreadex" (+3Bh)
Address: 71A55E13h (mswsock+5E13h)
Address: 05748CEDh (MSVCR80+8CEDh), symbol: "_dllonexit" (+9Dh)
Address: 05742A47h (MSVCR80+2A47h), symbol: "endthreadex" (+C7h)
Address: 71A55E13h (mswsock+5E13h)
Address: 7C80B729h (kernel32+B729h), symbol: "GetModuleFileNameA" (+1BAh)
Address: 71A55E13h (mswsock+5E13h)
Address: 7C839AD8h (kernel32+39AD8h), symbol: "ValidateLocale" (+2B0h)
Address: 7C80B730h (kernel32+B730h), symbol: "GetModuleFileNameA" (+1C1h)
Address: 057429E1h (MSVCR80+29E1h), symbol: "endthreadex" (+61h)

Environment:
App: foobar2000 v1.1.7
OS: Windows 5.1.2600 Service Pack 3 x86
CPU: Intel® Core™2 Duo CPU T8100  @ 2.10GHz, features: MMX SSE SSE2 SSE3 SSE4.1
Audio: SigmaTel Audio
UI: Columns UI 0.3.8.6

Components:
Core (2011-06-05 09:16:20 UTC)
foobar2000 core 1.1.7
foo_abx.dll (2009-06-07 13:25:00 UTC)
ABX Comparator 1.3.4
foo_albumlist.dll (2011-06-05 09:14:24 UTC)
Album List 4.5
foo_audioscrobbler.dll (2011-02-20 19:32:53 UTC)
Audioscrobbler 1.4.7
foo_cdda.dll (2011-06-05 09:14:20 UTC)
CD Audio Decoder 3.0
foo_converter.dll (2011-06-05 09:13:50 UTC)
Converter 1.5
foo_discogs.dll (2011-06-29 21:35:54 UTC)
Discogs Tagger 1.29
foo_dop.dll (2011-06-30 12:17:26 UTC)
iPod manager 0.6.9.7
foo_dsp_dolbyhp.dll (2011-03-02 16:45:58 UTC)
Dolby Headphone Wrapper 1.4.1
foo_dsp_std.dll (2011-06-05 09:14:22 UTC)
Standard DSP Array 1.0
foo_dynfil.dll (2011-06-16 19:33:07 UTC)
Dynamic Fields 1 beta 4
foo_facets.dll (2011-06-29 21:35:54 UTC)
Facets 1.0 beta 5
foo_fileops.dll (2011-06-05 09:13:12 UTC)
File Operations 2.1.3
foo_flv.dll (2011-02-26 06:00:00 UTC)
Flash Video Decoder 0.9.1
foo_freedb2.dll (2011-06-05 09:13:14 UTC)
freedb Tagger 0.6.4
foo_httpcontrol.dll (2011-05-20 15:17:30 UTC)
HTTP Control 0.97.8
foo_input_monkey.dll (2011-02-24 10:13:54 UTC)
Monkey's Audio Decoder 2.1.5
foo_input_std.dll (2011-06-05 09:13:58 UTC)
Standard Input Array 1.0
foo_jesus.dll (2010-09-23 01:34:06 UTC)
Autosave & Autobackup 10
foo_lastfm_radio.dll (2011-02-20 19:32:53 UTC)
Last.fm Radio 0.5.7d
foo_playcount.dll (2011-02-20 19:32:53 UTC)
Playback Statistics 3.0.1
foo_podcatcher.dll (2011-02-11 20:53:40 UTC)
Podcatcher 0.2.4 (beta, Feb 11 2011)
foo_random_pools.dll (2011-06-12 09:46:25 UTC)
Random Pools 0.0.2.3
foo_rgscan.dll (2011-06-05 09:13:54 UTC)
ReplayGain Scanner 2.1.2
foo_run.dll (2011-02-20 19:32:53 UTC)
Run services 0.3.7
foo_softplaylists.dll (2011-06-30 12:15:19 UTC)
Soft Playlists 2011-02-05
foo_ui_columns.dll (2011-02-20 19:32:53 UTC)
Columns UI 0.3.8.6
foo_ui_std.dll (2011-06-05 09:14:24 UTC)
Default User Interface 0.9.5
foo_uie_esplaylist.dll (2011-05-28 22:06:00 UTC)
EsPlaylist 0.1.3.9
foo_uie_library_tree.dll (2011-02-20 19:38:46 UTC)
Library Tree 0.3.4.5.1
foo_uie_panel_splitter.dll (2011-02-21 19:16:06 UTC)
Panel Stack Splitter 0.3.8.3(alpha)
foo_uie_peakmeter.dll (2011-03-04 01:28:21 UTC)
Peakmeter Panel 0.0.4.2 beta
foo_uie_vis_peakmeter_spectrum.dll (2011-03-04 00:57:23 UTC)
Peakmeter Spectrum Visualisation 0.1.0.0 beta
foo_uie_wsh_panel_mod.dll (2011-06-30 12:01:03 UTC)
WSH Panel Mod 1.4.3
foo_unpack.dll (2011-06-05 09:13:24 UTC)
ZIP/GZIP/RAR Reader 1.6
foo_upnp.dll (2011-05-20 15:17:30 UTC)
UPnP/DLNA Renderer, Server, Control Point 0.99.34
foo_vis_shpeck.dll (2011-03-03 23:53:45 UTC)
Shpeck - Winamp vis plugins wrapper 0.3.7
foo_wave_seekbar.dll (2011-02-20 19:32:52 UTC)
Waveform seekbar 0.2.12

Recent events:
Startup time : 0:09.154053
Podcatcher: Updated playlist 'Podcatcher: All'
Podcatcher: on_items_reordered - 1
Podcatcher: on_items_reordered - 2
Podcatcher: on_items_reordered - 8
foo_upnp: loaded Media Library tree in 13.453s
Autobackup: Backed up 49 items to autobackup.20110701-135338.zip
Podcatcher: Auto-archiving old un-downloaded casts.
Podcatcher: Updated playlist 'Podcatcher: All'
Shutting down...

WSH Panel Mod

Reply #1202
I also had a crash yesterday. Do you get the crash logs T.P Wang? Here's mine.
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 01C1D57Eh
Access violation, operation: read, address: 00000000h

Call path:
entry=>app_mainloop

Code bytes (01C1D57Eh):
01C1D53Eh:  5E 8B C3 5B 5D C3 CC CC CC CC CC CC CC CC CC CC
01C1D54Eh:  CC CC 55 8B EC 83 EC 08 53 56 33 F6 BB 01 00 00
01C1D55Eh:  00 89 5D F8 39 75 0C 0F 86 96 00 00 00 57 8B 7D
01C1D56Eh:  08 90 8B 45 0C 2B C6 0F 84 85 00 00 00 83 F8 01
01C1D57Eh:  0F B7 04 77 75 07 B9 01 00 00 00 EB 53 33 D2 85
01C1D58Eh:  C0 74 47 8B C8 81 E1 00 FC 00 00 BA 01 00 00 00
01C1D59Eh:  81 F9 00 D8 00 00 75 32 0F B7 4C 77 02 8B D9 81
01C1D5AEh:  E3 00 FC 00 00 81 FB 00 DC 00 00 8B 5D F8 75 1A

Stack (0012E964h):
0012E944h:  00000000 0000000C BBE8E2D0 0012F408
0012E954h:  0000892B ED847690 BF816B39 ED847868
0012E964h:  0012E99C 00000000 00000000 00000001
0012E974h:  0012E99C 0012EAAC 01BEBE75 00000000
0012E984h:  FFFFFFFF 86664004 00359B74 003598E0
0012E994h:  3D7BDD3C 0035983C 00000000 00000000
0012E9A4h:  00000000 00000000 00000026 00000000
0012E9B4h:  0365AF68 3D7DDBF2 00000062 0012EC74
0012E9C4h:  01C79CC4 03665360 00000039 00000040
0012E9D4h:  00000038 00000000 3D7B0000 00000008
0012E9E4h:  BA51F21C 03C25528 3D7DC08C 00000000
0012E9F4h:  00000000 00000000 00000000 00000000
0012EA04h:  00000000 00000000 80004003 00000000
0012EA14h:  3D7BD915 03C4F080 C1DFFFEF 00000000
0012EA24h:  03C39C68 03C25528 00000002 00000048
0012EA34h:  0000983C 00350000 0012E834 00359818
0012EA44h:  0012EA84 7C90E920 7C9101E0 FFFFFFFF
0012EA54h:  7C9101DB 77C2C3C9 00350000 00000000
0012EA64h:  77C2C3CE 86664004 00359B74 003598E0
0012EA74h:  0035983C 03CC09B0 0012EA68 0012EA70

Registers:
EAX: FFFFFFFF, EBX: 00000001, ECX: 7C91005D, EDX: 8BDC000E
ESI: 00000000, EDI: 00000000, EBP: 0012E978, ESP: 0012E964

Crash location:
Module: foo_uie_wsh_panel_mod
Offset: 3D57Eh

Loaded modules:
foobar2000                      loaded at 00400000h - 005F2000h
ntdll                            loaded at 7C900000h - 7C9B2000h
kernel32                        loaded at 7C800000h - 7C8F6000h
COMCTL32                        loaded at 773D0000h - 774D3000h
msvcrt                          loaded at 77C10000h - 77C68000h
ADVAPI32                        loaded at 77DD0000h - 77E6B000h
RPCRT4                          loaded at 77E70000h - 77F03000h
Secur32                          loaded at 77FE0000h - 77FF1000h
GDI32                            loaded at 77F10000h - 77F59000h
USER32                          loaded at 7E410000h - 7E4A1000h
SHLWAPI                          loaded at 77F60000h - 77FD6000h
DSOUND                          loaded at 73F10000h - 73F6C000h
ole32                            loaded at 774E0000h - 7761E000h
VERSION                          loaded at 77C00000h - 77C08000h
WINMM                            loaded at 76B40000h - 76B6D000h
UxTheme                          loaded at 5AD70000h - 5ADA8000h
SHELL32                          loaded at 7C9C0000h - 7D1D7000h
zlib1                            loaded at 5A4C0000h - 5A4D3000h
shared                          loaded at 10000000h - 1002B000h
imagehlp                        loaded at 76C90000h - 76CB8000h
dbghelp                          loaded at 59A60000h - 59B01000h
COMDLG32                        loaded at 763B0000h - 763F9000h
CRYPT32                          loaded at 77A80000h - 77B15000h
MSASN1                          loaded at 77B20000h - 77B32000h
gdiplus                          loaded at 4EC50000h - 4EDFB000h
IMM32                            loaded at 76390000h - 763AD000h
LPK                              loaded at 629C0000h - 629C9000h
USP10                            loaded at 74D90000h - 74DFB000h
WINTRUST                        loaded at 76C30000h - 76C5E000h
wdmaud                          loaded at 72D20000h - 72D29000h
msacm32                          loaded at 72D10000h - 72D18000h
MSACM32                          loaded at 77BE0000h - 77BF5000h
midimap                          loaded at 77BD0000h - 77BD7000h
GameHook                        loaded at 10D00000h - 10D0F000h
lgscroll                        loaded at 10100000h - 1010E000h
MSVCR80                          loaded at 78130000h - 781CB000h
NTMARTA                          loaded at 77690000h - 776B1000h
SAMLIB                          loaded at 71BF0000h - 71C03000h
WLDAP32                          loaded at 76F60000h - 76F8C000h
msctfime                        loaded at 755C0000h - 755EE000h
foo_freedb2                      loaded at 00F40000h - 00F80000h
foo_uie_esplaylist              loaded at 00FA0000h - 0100A000h
foo_dsp_std                      loaded at 01030000h - 01078000h
foo_converter                    loaded at 010A0000h - 0111B000h
foo_simplaylist_manager          loaded at 01140000h - 01209000h
MSIMG32                          loaded at 76380000h - 76385000h
foo_input_std                    loaded at 01230000h - 01393000h
foo_simplaylist                  loaded at 013C0000h - 01505000h
OLEAUT32                        loaded at 77120000h - 771AB000h
foo_playcount                    loaded at 01530000h - 0156C000h
foo_albumlist                    loaded at 01590000h - 015ED000h
foo_audioscrobbler              loaded at 01610000h - 01643000h
foo_rgscan                      loaded at 01670000h - 016BA000h
foo_facets                      loaded at 016E0000h - 01854000h
foo_texttools                    loaded at 01880000h - 018B4000h
foo_textdisplay                  loaded at 018E0000h - 0192B000h
foo_ui_std                      loaded at 01950000h - 01A68000h
foo_cdda                        loaded at 01A90000h - 01ADE000h
foo_fileops                      loaded at 01B00000h - 01B47000h
foo_lastfm_radio                loaded at 01B70000h - 01BB8000h
foo_uie_wsh_panel_mod            loaded at 01BE0000h - 01CA2000h
foo_lyricsgrabber2              loaded at 01E00000h - 01EBC000h
python25                        loaded at 1E000000h - 1E208000h
MSVCR71                          loaded at 7C340000h - 7C396000h
WS2_32                          loaded at 71AB0000h - 71AC7000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_jesus                        loaded at 01FF0000h - 0200A000h
foo_discogs                      loaded at 02020000h - 02081000h
WININET                          loaded at 3D930000h - 3DA16000h
Normaliz                        loaded at 02090000h - 02099000h
urlmon                          loaded at 020A0000h - 021D3000h
iertutil                        loaded at 3DFD0000h - 3E1B9000h
SXS                              loaded at 7E720000h - 7E7D0000h
CLBCATQ                          loaded at 76FD0000h - 7704F000h
COMRes                          loaded at 77050000h - 77115000h
jscript                          loaded at 3D7A0000h - 3D854000h
xpsp2res                        loaded at 03730000h - 039F5000h
wshom                            loaded at 60280000h - 602A1000h
MPR                              loaded at 71B20000h - 71B32000h
ScrRun                          loaded at 735A0000h - 735CA000h
_socket                          loaded at 04CA0000h - 04CAD000h
mswsock                          loaded at 71A50000h - 71A8F000h
DNSAPI                          loaded at 76F20000h - 76F47000h
iphlpapi                        loaded at 76D60000h - 76D79000h
rasadhlp                        loaded at 76FC0000h - 76FC6000h
hnetcfg                          loaded at 662B0000h - 66308000h
wshtcpip                        loaded at 71A90000h - 71A98000h
KsUser                          loaded at 73EE0000h - 73EE4000h
shdocvw                          loaded at 7E290000h - 7E401000h
CRYPTUI                          loaded at 754D0000h - 75550000h
NETAPI32                        loaded at 5B860000h - 5B8B5000h
rsaenh                          loaded at 68000000h - 68036000h
SETUPAPI                        loaded at 77920000h - 77A13000h
appHelp                          loaded at 77B40000h - 77B62000h
ieframe                          loaded at 3E1C0000h - 3EC55000h
msi                              loaded at 3FDE0000h - 40221000h
mlang                            loaded at 75CF0000h - 75D81000h
cscui                            loaded at 77A20000h - 77A74000h
CSCDLL                          loaded at 76600000h - 7661D000h
browseui                        loaded at 75F80000h - 7607D000h
USERENV                          loaded at 769C0000h - 76A74000h
ntshrui                          loaded at 76990000h - 769B5000h
ATL                              loaded at 76B20000h - 76B31000h
drprov                          loaded at 75F60000h - 75F67000h
ntlanman                        loaded at 71C10000h - 71C1E000h
NETUI0                          loaded at 71CD0000h - 71CE7000h
NETUI1                          loaded at 71C90000h - 71CD0000h
NETRAP                          loaded at 71C80000h - 71C87000h
davclnt                          loaded at 75F70000h - 75F7A000h

Stack dump analysis:
Address: 01BEBE75h (foo_uie_wsh_panel_mod+BE75h)
Address: 3D7BDD3Ch (jscript+1DD3Ch), symbol: "DllGetClassObject" (+6AF7h)
Address: 3D7DDBF2h (jscript+3DBF2h), symbol: "DllCanUnloadNow" (+A472h)
Address: 01C79CC4h (foo_uie_wsh_panel_mod+99CC4h)
Address: 3D7B0000h (jscript+10000h)
Address: 3D7DC08Ch (jscript+3C08Ch), symbol: "DllCanUnloadNow" (+890Ch)
Address: 3D7BD915h (jscript+1D915h), symbol: "DllGetClassObject" (+66D0h)
Address: 7C90E920h (ntdll+E920h), symbol: "strchr" (+113h)
Address: 7C9101E0h (ntdll+101E0h), symbol: "RtlAllocateHeap" (+11Ch)
Address: 7C9101DBh (ntdll+101DBh), symbol: "RtlAllocateHeap" (+117h)
Address: 77C2C3C9h (msvcrt+1C3C9h), symbol: "free" (+1AEh)
Address: 77C2C3CEh (msvcrt+1C3CEh), symbol: "free" (+1B3h)
Address: 77C35C94h (msvcrt+25C94h), symbol: "except_handler3" (+0h)
Address: 77C12088h (msvcrt+2088h), symbol: "__non_rtti_object::`vftable'" (+C90h)
Address: 01C6DA25h (foo_uie_wsh_panel_mod+8DA25h)
Address: 3D7B70E3h (jscript+170E3h)
Address: 01BEAAD1h (foo_uie_wsh_panel_mod+AAD1h)
Address: 3D7CDB53h (jscript+2DB53h), symbol: "DllGetClassObject" (+1690Eh)
Address: 3D7CDC8Dh (jscript+2DC8Dh), symbol: "DllGetClassObject" (+16A48h)
Address: 3D7C0F54h (jscript+20F54h), symbol: "DllGetClassObject" (+9D0Fh)
Address: 3D7C0F78h (jscript+20F78h), symbol: "DllGetClassObject" (+9D33h)
Address: 74DE045Ch (USP10+5045Ch)
Address: 74DAB782h (USP10+1B782h), symbol: "ScriptApplyDigitSubstitution" (+6B10h)
Address: 74DE0250h (USP10+50250h)
Address: 74DE0460h (USP10+50460h)
Address: 74DAB93Eh (USP10+1B93Eh), symbol: "ScriptApplyDigitSubstitution" (+6CCCh)
Address: 74DE036Ch (USP10+5036Ch)
Address: 74DE0250h (USP10+50250h)
Address: 74DE0310h (USP10+50310h)
Address: 74DE0374h (USP10+50374h)
Address: 74DE036Ch (USP10+5036Ch)
Address: 74DA427Ah (USP10+1427Ah), symbol: "ScriptStringAnalyse" (+237h)
Address: 3D7C3263h (jscript+23263h), symbol: "DllGetClassObject" (+C01Eh)
Address: 3D83804Ch (jscript+9804Ch)
Address: 3D7C13ABh (jscript+213ABh), symbol: "DllGetClassObject" (+A166h)
Address: 3D7BED4Dh (jscript+1ED4Dh), symbol: "DllGetClassObject" (+7B08h)
Address: 3D7C12E5h (jscript+212E5h), symbol: "DllGetClassObject" (+A0A0h)
Address: 774FD5ECh (ole32+1D5ECh), symbol: "IsValidInterface" (+303h)
Address: 7750F023h (ole32+2F023h), symbol: "CoMarshalInterface" (+A82h)
Address: 3D7BEF0Ah (jscript+1EF0Ah), symbol: "DllGetClassObject" (+7CC5h)
Address: 3D7C1113h (jscript+21113h), symbol: "DllGetClassObject" (+9ECEh)
Address: 3D83804Ch (jscript+9804Ch)
Address: 3D7C385Eh (jscript+2385Eh), symbol: "DllGetClassObject" (+C619h)
Address: 7C910222h (ntdll+10222h), symbol: "RtlAllocateHeap" (+15Eh)
Address: 7C910222h (ntdll+10222h), symbol: "RtlAllocateHeap" (+15Eh)
Address: 7C91019Bh (ntdll+1019Bh), symbol: "RtlAllocateHeap" (+D7h)
Address: 7C9101DBh (ntdll+101DBh), symbol: "RtlAllocateHeap" (+117h)
Address: 3D7BD915h (jscript+1D915h), symbol: "DllGetClassObject" (+66D0h)
Address: 3D83804Ch (jscript+9804Ch)
Address: 3D83804Ch (jscript+9804Ch)
Address: 3D7C36EAh (jscript+236EAh), symbol: "DllGetClassObject" (+C4A5h)
Address: 3D83804Ch (jscript+9804Ch)
Address: 3D7C3A9Ah (jscript+23A9Ah), symbol: "DllGetClassObject" (+C855h)
Address: 7C9101E0h (ntdll+101E0h), symbol: "RtlAllocateHeap" (+11Ch)
Address: 3D7C39E6h (jscript+239E6h), symbol: "DllGetClassObject" (+C7A1h)
Address: 3D7AB396h (jscript+B396h)
Address: 3D7C1A11h (jscript+21A11h), symbol: "DllGetClassObject" (+A7CCh)
Address: 3D7B86D7h (jscript+186D7h), symbol: "DllGetClassObject" (+1492h)
Address: 3D83804Ch (jscript+9804Ch)
Address: 3D7C4511h (jscript+24511h), symbol: "DllGetClassObject" (+D2CCh)
Address: 01BEB5D2h (foo_uie_wsh_panel_mod+B5D2h)
Address: 01C796D4h (foo_uie_wsh_panel_mod+996D4h)
Address: 4EC564DEh (gdiplus+64DEh)
Address: 4EC758D0h (gdiplus+258D0h), symbol: "GdipSetClipRect" (+6Fh)
Address: 4EC758DBh (gdiplus+258DBh), symbol: "GdipSetClipRect" (+7Ah)
Address: 01C6DA48h (foo_uie_wsh_panel_mod+8DA48h)
Address: 01BEE341h (foo_uie_wsh_panel_mod+E341h)
Address: 01C75DF0h (foo_uie_wsh_panel_mod+95DF0h)
Address: 7E418BD9h (USER32+8BD9h), symbol: "GetWindowThreadProcessId" (+159h)
Address: 7E428DACh (USER32+18DACh), symbol: "DefWindowProcW" (+8Ch)
Address: 7E428D20h (USER32+18D20h), symbol: "DefWindowProcW" (+0h)
Address: 0185000Fh (foo_facets+17000Fh)
Address: 01C6DED8h (foo_uie_wsh_panel_mod+8DED8h)
Address: 01BED0CEh (foo_uie_wsh_panel_mod+D0CEh)
Address: 7E428D20h (USER32+18D20h), symbol: "DefWindowProcW" (+0h)
Address: 7E418BD9h (USER32+8BD9h), symbol: "GetWindowThreadProcessId" (+159h)
Address: 7E41885Ah (USER32+885Ah), symbol: "GetDC" (+193h)
Address: 7E41882Ah (USER32+882Ah), symbol: "GetDC" (+163h)
Address: 7E428D20h (USER32+18D20h), symbol: "DefWindowProcW" (+0h)
Address: 7E44048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E418830h (USER32+8830h), symbol: "GetDC" (+169h)
Address: 7E41882Ah (USER32+882Ah), symbol: "GetDC" (+163h)
Address: 7E42A013h (USER32+1A013h), symbol: "IsWindowUnicode" (+A1h)
Address: 7E428D20h (USER32+18D20h), symbol: "DefWindowProcW" (+0h)
Address: 4EC675CCh (gdiplus+175CCh), symbol: "GdipGetVisibleClipBoundsI" (+BEEh)
Address: 01C6E737h (foo_uie_wsh_panel_mod+8E737h)
Address: 01BEFE2Fh (foo_uie_wsh_panel_mod+FE2Fh)
Address: 01C57B01h (foo_uie_wsh_panel_mod+77B01h)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 7E428EECh (USER32+18EECh), symbol: "DefWindowProcW" (+1CCh)
Address: 7E418734h (USER32+8734h), symbol: "GetDC" (+6Dh)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 7E418816h (USER32+8816h), symbol: "GetDC" (+14Fh)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 7E44048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E418830h (USER32+8830h), symbol: "GetDC" (+169h)
Address: 7E428EA0h (USER32+18EA0h), symbol: "DefWindowProcW" (+180h)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 7E4278D0h (USER32+178D0h), symbol: "GetWindowTextLengthW" (+9Ah)
Address: 7E44048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E428EB0h (USER32+18EB0h), symbol: "DefWindowProcW" (+190h)
Address: 7E428EECh (USER32+18EECh), symbol: "DefWindowProcW" (+1CCh)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 7E42B341h (USER32+1B341h), symbol: "MoveWindow" (+A3h)
Address: 7C90E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 7E428E53h (USER32+18E53h), symbol: "DefWindowProcW" (+133h)
Address: 7E4194D2h (USER32+94D2h), symbol: "GetWindowLongA" (+75h)
Address: 7E428F10h (USER32+18F10h), symbol: "DefWindowProcW" (+1F0h)
Address: 7E44048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E4189F0h (USER32+89F0h), symbol: "GetWindowLongW" (+14Ah)
Address: 7E418A10h (USER32+8A10h), symbol: "DispatchMessageW" (+Fh)
Address: 7E427721h (USER32+17721h), symbol: "CallMsgFilterW" (+213h)
Address: 7E4249C4h (USER32+149C4h), symbol: "GetCursorFrameInfo" (+1CCh)
Address: 7E424A06h (USER32+14A06h), symbol: "DialogBoxIndirectParamAorW" (+36h)
Address: 01BE0000h (foo_uie_wsh_panel_mod+0h)
Address: 01C935D0h (foo_uie_wsh_panel_mod+B35D0h)
Address: 01BF6940h (foo_uie_wsh_panel_mod+16940h)
Address: 7E4247EAh (USER32+147EAh), symbol: "DialogBoxParamW" (+3Fh)
Address: 01BE0000h (foo_uie_wsh_panel_mod+0h)
Address: 01C935D0h (foo_uie_wsh_panel_mod+B35D0h)
Address: 01BF6940h (foo_uie_wsh_panel_mod+16940h)
Address: 01BF1ECDh (foo_uie_wsh_panel_mod+11ECDh)
Address: 01BE0000h (foo_uie_wsh_panel_mod+0h)
Address: 01BF6940h (foo_uie_wsh_panel_mod+16940h)
Address: 01BECCB9h (foo_uie_wsh_panel_mod+CCB9h)
Address: 7E4232BAh (USER32+132BAh), symbol: "AppendMenuW" (+0h)
Address: 018F0277h (foo_textdisplay+10277h)
Address: 01C76FF4h (foo_uie_wsh_panel_mod+96FF4h)
Address: 01C7709Ch (foo_uie_wsh_panel_mod+9709Ch)
Address: 01C2A591h (foo_uie_wsh_panel_mod+4A591h)
Address: 018F0277h (foo_textdisplay+10277h)
Address: 7E44048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 01C74B54h (foo_uie_wsh_panel_mod+94B54h)
Address: 01C74B54h (foo_uie_wsh_panel_mod+94B54h)
Address: 01C770ACh (foo_uie_wsh_panel_mod+970ACh)
Address: 01C74B54h (foo_uie_wsh_panel_mod+94B54h)
Address: 01BEE4B7h (foo_uie_wsh_panel_mod+E4B7h)
Address: 01C6E576h (foo_uie_wsh_panel_mod+8E576h)
Address: 01BEE4C6h (foo_uie_wsh_panel_mod+E4C6h)
Address: 01BED1E9h (foo_uie_wsh_panel_mod+D1E9h)
Address: 7E44048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E428D90h (USER32+18D90h), symbol: "DefWindowProcW" (+70h)
Address: 7E428D8Bh (USER32+18D8Bh), symbol: "DefWindowProcW" (+6Bh)
Address: 01BEDEFBh (foo_uie_wsh_panel_mod+DEFBh)
Address: 773F288Eh (COMCTL32+2288Eh), symbol: "Ordinal384" (+69D3h)
Address: 02000416h (foo_jesus+10416h)
Address: 7742D02Fh (COMCTL32+5D02Fh), symbol: "Ordinal384" (+41174h)
Address: 763A3C0Ch (IMM32+13C0Ch), symbol: "CtfImmIsTextFrameServiceDisabled" (+36Bh)
Address: 763A6020h (IMM32+16020h)
Address: 7E418B26h (USER32+8B26h), symbol: "GetWindowThreadProcessId" (+A6h)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 7E4188D1h (USER32+88D1h), symbol: "GetWindowLongW" (+2Bh)
Address: 01C6E737h (foo_uie_wsh_panel_mod+8E737h)
Address: 01BEFE2Fh (foo_uie_wsh_panel_mod+FE2Fh)
Address: 01820226h (foo_facets+140226h)
Address: 01C57B01h (foo_uie_wsh_panel_mod+77B01h)
Address: 01820226h (foo_facets+140226h)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 10106B06h (lgscroll+6B06h), symbol: "setStromboliWnd" (+2F6h)
Address: 7E418734h (USER32+8734h), symbol: "GetDC" (+6Dh)
Address: 01820226h (foo_facets+140226h)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 7E418816h (USER32+8816h), symbol: "GetDC" (+14Fh)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 01820226h (foo_facets+140226h)
Address: 7E428EFCh (USER32+18EFCh), symbol: "DefWindowProcW" (+1DCh)
Address: 7E44048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E418830h (USER32+8830h), symbol: "GetDC" (+169h)
Address: 7E428EA0h (USER32+18EA0h), symbol: "DefWindowProcW" (+180h)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 01820226h (foo_facets+140226h)
Address: 01820226h (foo_facets+140226h)
Address: 7E44048Fh (USER32+3048Fh), symbol: "DeregisterShellHookWindow" (+1CFh)
Address: 7E428EB0h (USER32+18EB0h), symbol: "DefWindowProcW" (+190h)
Address: 7E428EECh (USER32+18EECh), symbol: "DefWindowProcW" (+1CCh)
Address: 01820226h (foo_facets+140226h)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 7C90E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 01820226h (foo_facets+140226h)
Address: 01C57970h (foo_uie_wsh_panel_mod+77970h)
Address: 7E428E53h (USER32+18E53h), symbol: "DefWindowProcW" (+133h)
Address: 7E4194BEh (USER32+94BEh), symbol: "GetWindowLongA" (+61h)
Address: 7E42F5C6h (USER32+1F5C6h), symbol: "SetWindowTextA" (+5Bh)

Environment:
App: foobar2000 v1.1.7
OS: Windows 5.1.2600 Service Pack 3 x86
CPU: Intel® Celeron® M processor        1.60GHz, features: MMX SSE SSE2
Audio: Conexant AMC Audio
UI: Default User Interface 0.9.5

Components:
Core (2011-06-05 09:16:20 UTC)
    foobar2000 core 1.1.7
foo_albumlist.dll (2011-06-05 09:14:24 UTC)
    Album List 4.5
foo_audioscrobbler.dll (2010-06-04 08:27:04 UTC)
    Audioscrobbler 1.4.7
foo_cdda.dll (2011-06-05 09:14:20 UTC)
    CD Audio Decoder 3.0
foo_converter.dll (2011-06-05 09:13:50 UTC)
    Converter 1.5
foo_discogs.dll (2011-06-27 16:43:16 UTC)
    Discogs Tagger 1.29
foo_dsp_std.dll (2011-06-05 09:14:22 UTC)
    Standard DSP Array 1.0
foo_facets.dll (2011-06-28 16:35:20 UTC)
    Facets 1.0 beta 5
foo_fileops.dll (2011-06-05 09:13:12 UTC)
    File Operations 2.1.3
foo_freedb2.dll (2011-06-05 09:13:14 UTC)
    freedb Tagger 0.6.4
foo_input_std.dll (2011-06-05 09:13:58 UTC)
    Standard Input Array 1.0
foo_jesus.dll (2010-10-03 15:04:13 UTC)
    Autosave & Autobackup 10
foo_lastfm_radio.dll (2010-02-17 22:21:28 UTC)
    Last.fm Radio 0.5.7e
foo_lyricsgrabber2.dll (2010-08-31 21:27:48 UTC)
    Lyrics Grabber 2 0.5.5.2 beta
foo_playcount.dll (2010-10-12 17:15:27 UTC)
    Playback Statistics 3.0.1
foo_rgscan.dll (2011-06-05 09:13:54 UTC)
    ReplayGain Scanner 2.1.2
foo_simplaylist.dll (2011-06-27 16:43:16 UTC)
    SimPlaylist 1.0 beta 5
foo_simplaylist_manager.dll (2011-06-27 16:43:16 UTC)
    SimPlaylist Manager 1.0 beta 2
foo_textdisplay.dll (2011-05-31 13:14:05 UTC)
    Text Display UI Element 1.1 beta 1
foo_texttools.dll (2011-02-27 22:20:07 UTC)
    Text Tools 1.0.5
foo_ui_std.dll (2011-06-05 09:14:24 UTC)
    Default User Interface 0.9.5
foo_uie_esplaylist.dll (2011-06-23 00:21:05 UTC)
    EsPlaylist 0.1.3.9
foo_uie_wsh_panel_mod.dll (2011-03-21 05:09:12 UTC)
    WSH Panel Mod 1.4.3

Recent events:
WSH Panel Mod ({38AFEF51-8E7A-4430-B07C-54E803ACDC93}): Parsing file "C:\Program Files\foobar2000\scripts\Helpers.txt"
WSH Panel Mod ({38AFEF51-8E7A-4430-B07C-54E803ACDC93}): initialized in 9 ms
Error: WSH Panel Mod ({38AFEF51-8E7A-4430-B07C-54E803ACDC93}): Microsoft JScript runtime error:
'g_img.Width' is null or not an object
Ln: 271, Col: 3
<source text only available at compile time>
WSH Panel Mod ({38AFEF51-8E7A-4430-B07C-54E803ACDC93}): Parsing file "C:\Program Files\foobar2000\scripts\Flags.txt"
WSH Panel Mod ({38AFEF51-8E7A-4430-B07C-54E803ACDC93}): Parsing file "C:\Program Files\foobar2000\scripts\Helpers.txt"
WSH Panel Mod ({38AFEF51-8E7A-4430-B07C-54E803ACDC93}): initialized in 9 ms
Error: WSH Panel Mod ({38AFEF51-8E7A-4430-B07C-54E803ACDC93}): Microsoft JScript runtime error:
'g_img.Width' is null or not an object
Ln: 271, Col: 3
<source text only available at compile time>
WSH Panel Mod ({38AFEF51-8E7A-4430-B07C-54E803ACDC93}): Parsing file "C:\Program Files\foobar2000\scripts\Flags.txt"
WSH Panel Mod ({38AFEF51-8E7A-4430-B07C-54E803ACDC93}): Parsing file "C:\Program Files\foobar2000\scripts\Helpers.txt"
WSH Panel Mod ({38AFEF51-8E7A-4430-B07C-54E803ACDC93}): initialized in 9 ms

WSH Panel Mod

Reply #1203
hey,
i'm having a problem with some other script for foobar but since it's related to wsh panel mod i want to ask about it here.
i created a new panel in my DarkOne v 3.0.1 theme to put there a love/ban button/s for last.fm radio using scripts and instructions from marc3000 (playcountsync).

here's the problem report:
Code: [Select]
Scripting Engine Initialization Failed (Playcount Sync by marc2003, CODE: 0x80020101)
Check the console for more information (Always caused by unexcepted script error).

console:
Code: [Select]
WSH Panel Mod (Playcount Sync by marc2003): Parsing file "C:\Users\xxx\AppData\Roaming\foobar2000\marc2003\common.js"
WSH Panel Mod (Playcount Sync by marc2003): Parsing file "C:\Users\xxx\AppData\Roaming\foobar2000\marc2003\tooltip_buttons.js"
Error: WSH Panel Mod (Playcount Sync by marc2003): Microsoft JScript runtime error:
Automation server can't create object
Ln: 372, Col: 1
<source text only available at compile time>

screenshot:


i have wsh panel mod v1.4.3 installed. safe mode is unchecked, of course.
os: win7 x64
i already discussed this with marc and he suggested to ask here.
can you help me, pls?
thanks.

WSH Panel Mod

Reply #1204
I do have a problem with fb.CreateAutoPlaylist(idx, name, query, sort = "", flags = 0). I use it in a script where it is ran automatically after a new file is being played. Most of the time this works flawless and is been done in much less than a second (I tested it with fb.CreateProfiler), but sometimes it takes several seconds up to minutes and occasionally even a (seemingly) indefinite time. This becomes especially a problem because it while the autoplaylist is being created foobar2000 itself stalls.
Is this a bug, or is this unavoidable? If CreateAutoPlaylist could be made asynchronous that would be a solution for me - if that is technically possible. The problem could also be a conflict of reading and writing of different processes, because it always happens just after a file is opened.

WSH Panel Mod

Reply #1205
WSH Panel Mod v1.4.4 is Released:
This is a maintenance build, which addresses two bugs that exist a long time ago...

Code: [Select]
v1.4.4
- FIX: Fix a bug that when methods get occasionally called after Dispose(), foobar2000 will crash.
- FIX: Fix a bug that ApplyMask() doesn't work if the destination image has alpha channel.


@Harm:
It seems I should add an asynchronous function of that later.


WSH Panel Mod

Reply #1207
here's a little oddity i found when using EstimateLineWrap().toArray() - if a word has non-ascii characters in, it can be split over 2 lines as can be seen on the first line here:




WSH Panel Mod

Reply #1208
feature Request

Hi T.P,

thinking about a way to manage/display the queue list content, would be useful to get some new features in WSH panel Mod to get queue items with some fields like artist, title, album, ..., index in the queue, ..., and some methods to get them, move them in the queue, remove them, drag'n drop support to fill the queue (like done for playlists), ...

what about it?

if you don't already know it, the max size of the queue list is 64 items, so managing a king of queue-list viewer in a WSH panel would perfectly fit , i just need more callbacks and interfaces from WSH panel Mod ... let's hope

WSH Panel Mod

Reply #1209
I have a little request:

Could you add a function that retreives whether a multiple selection of more than one track contains more than one artist. If you do so i would renew my request to marc2003 for some of his scripts.

Quote
Intelligent handling of multiple selections: f.e. a script can recognize if a multiple selection contains just one artist or multiple, so it shows similar artists or gives a note that selection contain multiple artists.

WSH Panel Mod

Reply #1210
imho, it's not the goal of the component to brought this kind of feature. What could be requested is a way to test each items of a multiple selection, nothing more, after, it's easy to create a loop to check if there is more than one artist in it

WSH Panel Mod

Reply #1211
hello falstaff,

to be honest: marc2003 told me that my request isn't realizable. So i thought to ask T.P. Wang to make it possible. How that would be - i absolutely have no clue. Hopefully i didn't understand something wrong?

WSH Panel Mod

Reply #1212
marc told right, and as i said, you can ask to T.P for the tools to make it possible by a script, but don't ask to T.P for a too high-level request

WSH Panel Mod

Reply #1213
That is what i requested: to make it possible by a script, not sure what you imagine with "high-level request". 
But however: T.P. Wang, please make it possible!


WSH Panel Mod

Reply #1215
hello Marc 2003

here's your code:

Code: [Select]
function on_size() {
ww = window.Width;
wh = window.Height;
buttons = {
b1: new SimpleButton(15, 5, bw, bh, images_path + "\\stop.png", function () { fb.Stop(); }),
b2: new SimpleButton(bw + 15, 5, bw, bh, images_path + "\\pause.png", function () { fb.Pause(); }),
b3: new SimpleButton((bw * 2) + 15, 5, bw, bh, images_path + "\\play.png", function () { fb.Play(); }),
b4: new SimpleButton((bw * 3) + 15, 5, bw, bh, images_path + "\\previous.png", function () { fb.Prev(); }),
b5: new SimpleButton((bw * 4) + 15, 5, bw, bh, images_path + "\\next.png", function () { fb.Next(); }),
b6: new SimpleButton(ww - (bw * 3) - 15, 5, bw, bh, images_path + "\\preferences.png", function () { fb.ShowPreferences(); }),
b7: new SimpleButton(ww - (bw * 2) - 15, 5, bw, bh, images_path + "\\search.png", function () { fb.RunMainMenuCommand("Library/Search"); }),
b8: new SimpleButton(ww - bw - 15, 5, bw, bh, images_path + "\\help.png", function() { fb.RunMainMenuCommand("Title Formatting Help"); })
}
}

I try to modify simplebutton n. 7 and 8 like this

Code: [Select]
function on_size() {
ww = window.Width;
wh = window.Height;
buttons = {
b1: new SimpleButton(15, 5, bw, bh, images_path + "\\stop.png", function () { fb.Stop(); }),
b2: new SimpleButton(bw + 15, 5, bw, bh, images_path + "\\pause.png", function () { fb.Pause(); }),
b3: new SimpleButton((bw * 2) + 15, 5, bw, bh, images_path + "\\play.png", function () { fb.Play(); }),
b4: new SimpleButton((bw * 3) + 15, 5, bw, bh, images_path + "\\previous.png", function () { fb.Prev(); }),
b5: new SimpleButton((bw * 4) + 15, 5, bw, bh, images_path + "\\next.png", function () { fb.Next(); }),
b6: new SimpleButton(ww - (bw * 3) - 15, 5, bw, bh, images_path + "\\preferences.png", function () { fb.ShowPreferences(); }),
b7: new SimpleButton(ww - (bw * 2) - 15, 5, bw, bh, images_path + "\\search.png", function () { fb.RunContextCommand("Properties"); }),
b8: new SimpleButton(ww - bw - 15, 5, bw, bh, images_path + "\\help.png", function() { fb.RunContextCommand("Select All"); })
}
}

Simplebutton b7 open only the properties dialog on a single track instead of ALL tracks selected
Simplebutton b8 do nothing at all.

Can you help me?

WSH Panel Mod

Reply #1216
feature Request

Hi T.P,

thinking about a way to manage/display the queue list content, would be useful to get some new features in WSH panel Mod to get queue items with some fields like artist, title, album, ..., index in the queue, ..., and some methods to get them, move them in the queue, remove them, drag'n drop support to fill the queue (like done for playlists), ...

what about it?

if you don't already know it, the max size of the queue list is 64 items, so managing a king of queue-list viewer in a WSH panel would perfectly fit , i just need more callbacks and interfaces from WSH panel Mod ... let's hope


i hope at least a feedback in the month, even if it's "no, because ..."

Thanx by advance

 

WSH Panel Mod

Reply #1217
hey,

is it possible to create a playlist from only track and artist names using a script.
I noticed the fb.CreatePlaylist function, but i can't find how it can be used anywhere.

Thanx by advance

WSH Panel Mod

Reply #1218
hey,

is it possible to create a playlist from only track and artist names using a script.
I noticed the fb.CreatePlaylist function, but i can't find how it can be used anywhere.

Thanx by advance


possible with a query, so it will be an autoplaylist, example if artist is PINK FLOYD and track is ON THE RUN :

fb.CreateAutoPlaylist(fb.PlaylistCount, "my new playlist", "(%artist% IS Pink Floyd) AND (%title% IS on the run)");

WSH Panel Mod

Reply #1219
Get Connect WMI to GET your machine's Info

EX Get SoundDevice Info

Code: [Select]
//GetDeviceInfo
var wbemFlagReturnImmediately = 0x10;
var wbemFlagForwardOnly = 0x20;
//SoundDevice
g_text = "SoundDeviceInfo";
var objWMIService = GetObject("winmgmts:\\\\.\\root\\CIMV2");
var colItems = objWMIService.ExecQuery("SELECT * FROM Win32_SoundDevice", "WQL",wbemFlagReturnImmediately|wbemFlagForwardOnly);
var enumItems = new Enumerator(colItems);
for (; !enumItems.atEnd(); enumItems.moveNext()){
    var objItem = enumItems.item();
    g_text += "\nProductName:"+objItem.ProductName;
    g_text += "\nstatus:"+objItem.Status;
}
//END_GetDeviceInfo

WSH Panel Mod

Reply #1220
When you Insert AudioCD
Get Infomation from freeDB tagger

**** you need foo_command.dll(foo_runcmd)****

Code: [Select]
function on_playback_new_track(metadb){
if(fb.TitleFormat("%title%").Eval(true)=="CD Track 01"){
var WshShell = new ActiveXObject("WScript.Shell");
WshShell.Run("foobar2000.exe /runcmd=playback/pause");
WshShell.Run("foobar2000.exe \"/runcmd=edit/select all\"");
WshShell.Run("foobar2000.exe \"/runcmd-playlist=tagging/Get tags from freedb\"");
}}

WSH Panel Mod

Reply #1221
Use LastFM API

EX.User.lovedtracks
***** you need to change api_key and username to your own *****
Code: [Select]
//LastFM
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("GET", "http://ws.audioscrobbler.com/2.0/?method=user.getlovedtracks&user=rj&limit=8&api_key=b25b959554ed76058ac220b7b2e0a026");
var GetResponseXML = new ActiveXObject("Microsoft.XMLDOM");
xmlhttp.onreadystatechange = function() {
    if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
        var nodes, node, items, item, mesg
        objXML = new ActiveXObject("MSXML2.DOMDocument");
        objXML.load(xmlhttp.ResponseXML);
        nodes = objXML.getElementsByTagName("track");
        mesg  = "LovedTracks(title/artist)\n\n";
        for (i = 0; i < nodes.length; i++) {
            node = nodes[i];
            items = node.childNodes;
            for (j = 0; j < items.length; j++) {
                item = items[j];
                if(item.nodeName=="name"){
                    mesg += item.nodeTypedValue+"/";
                }
                if(item.nodeName=="artist"){
                    mesg += item.selectSingleNode("name").nodeTypedValue+"\n";
                }
            }
        }
        g_text = mesg;
    }
}
xmlhttp.send(null);
//End_LastFM


And Get Twitter Latest Timerun
***** Rewrite ##### to username whom you want to get tweet timerun *****

Code: [Select]
//Twitter
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("GET", "http://twitter.com/statuses/user_timeline/#####.xml");
xmlhttp.onreadystatechange = function() {
    if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
        var mesg_num = 4;
        var mesg = "Latest"+mesg_num+"tweets\n\n";
        var nodes, node, items, item, mesg
        objXML = new ActiveXObject("MSXML2.DOMDocument");
        objXML.load(xmlhttp.ResponseXML);
        nodes = objXML.getElementsByTagName("status");
        for (i = 0; i < mesg_num; i++) {
            node = nodes[i];
            items = node.childNodes;
            for (j = 0; j < items.length; j++) {
                item = items[j];
                if(item.nodeName=="text"){
                    mesg += item.nodeTypedValue+"\n";
                }
            }
        }
        g_text = mesg;
    }
}
xmlhttp.send(null);
//End_Twitter

Thanks

WSH Panel Mod

Reply #1222
MP4 Movie Play on foobar

anyway SEE my code

Code: [Select]
function on_playback_new_track(metadb){
    if (fb.TitleFormat("$ext(%_path%)").Eval(true) == "mp4"){
        var WshShell = new ActiveXObject("WScript.Shell");
        WshShell.Run("foobar2000.exe /runcmd=playback/pause");
        WshShell.Run("foomci.exe "+fb.TitleFormat("%_path%").Eval(true));
    }
}

This script RUN "MCI Movie player" i made when mp4 media is played.
And the player get foobar's Window Handle(HWND) to play movie on it.

SEE this movie aroud 2:30

http://www.youtube.com/watch?v=hYvemSZy0VI


When normally play


When Play MP4 movie


This is my experimental apps and has some problems
1.Cannot Resize foobar window
2.Cannot Seek

Im thinking using WshScriptExec object stdin/out property, i can handle the player via wsh panel mod
and can solve those problems


Thanks

WSH Panel Mod

Reply #1223
Repeat in Album Unit(Plain version)
write this script cas theres order shuffle(album) but repeat(album) isnt

Code: [Select]
/*_/_/_/_/_/_/_/_/_/_/_/_/_/_/

  Repeat in Album Unit

_/_/_/_/_/_/_/_/_/_/_/_/_/_/*/
//definition var
var show_text = "";return_stat();
var album_title = "";var album_title_past = "";
var sys_stat = true;
var DT_WORDBREAK = 0x00000010;
var renzoku = false;



function on_size(){
    ww = window.Width;
    wh = window.Height;
}

function on_paint(gr) {
    on_size();
    var g_font = gdi.Font("Tahoma", 12, 0);
    gr.FillSolidRect(0, 0, ww, wh, 0);
    gr.GdiDrawText(show_text, g_font, 1, 0, 0, ww, wh,DT_WORDBREAK);
}

function on_mouse_lbtn_up(x, y) {
    if (renzoku){renzoku=false;}else{renzoku=true;}
    album_title=fb.TitleFormat("%album%").Eval(true);
    return_stat();
    window.repaint();
}

function on_playback_new_track(metadb){
    if (renzoku){
        if (sys_stat){
            if (fb.TitleFormat("%album%").Eval(true)!=album_title){
                sys_stat = false;
                fb.Prev();
            }
        }
        else {
            if (fb.TitleFormat("%album%").Eval(true)!=album_title){
                sys_stat = true;
                fb.Next();
            }
            else{
                fb.Prev();
            }
        }
    }
    return_stat();
    window.repaint();
}

function return_stat(){
    show_text = "NowPlayin[" +
        fb.TitleFormat("%album%").Eval(true) + "]\n"
        + "click this panel to switch repeat(album) on/off \n\n";
    if (renzoku){
        show_text += "Status = ON"
    }
    else{
        show_text += "Status = OFF"
    }
}

this script has lots of plobrems when you...
>click playlist to change music
>switch to other playlist
funny things will happens!!!!

so if you want solve that problems
improve this script yourself

For exsample when you switch playlist a event is happened(i dont remenber sry)
then if "renzoku" is true change "renzoku" to false
(Im Japanese so naming var come from Japanese, "RENZOKU(連続)" means repeat)

thanks you guys

WSH Panel Mod

Reply #1224
this script has lots of plobrems when you...
>click playlist to change music
>switch to other playlist
funny things will happens!!!!

so if you want solve that problems
improve this script yourself

For exsample when you switch playlist a event is happened(i dont remenber sry)
then if "renzoku" is true change "renzoku" to false
(Im Japanese so naming var come from Japanese, "RENZOKU(連続)" means repeat)

thanks you guys

改良版です。
Code: [Select]
function on_mouse_lbtn_up(x, y) {
    if (renzoku){renzoku=false;}else{renzoku=true;}
    album_title=fb.TitleFormat("%album%").Eval(true);
    return_stat();
    window.repaint();
}

function on_playback_new_track(metadb){
    if (renzoku){
        if (sys_stat){
            if (fb.TitleFormat("%album%").Eval(true)!=album_title){
                sys_stat = false;
                v = fb.Volume;
                fb.VolumeMute();
                fb.Prev();
            }
        }
        else {
            if (fb.TitleFormat("%album%").Eval(true)!=album_title){
                sys_stat = true;
                fb.Next();
                fb.volume = v;
            }
            else{
                fb.Prev();
            }
        }
    }
    return_stat();
    window.repaint();
}
function on_playback_starting(){
    if (fb.TitleFormat("%album%").Eval(true)!=album_title){
        renzoku = false;
    }
}
function on_playlist_switch(){
    renzoku = false;
}
function return_stat(){
    show_text = "現在『" +
        fb.TitleFormat("%album%").Eval(true) + "』を再生中です\n"
        + "このパネルをクリックすることで、アルバム単位での連続再生をOn/Offできます。\n\n";
    if (renzoku){
        show_text += "現在連続再生はONになっています。"
    }
    else{
        show_text += "現在連続再生はOFFになっています。"
    }
}