HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: jsheridan on 2009-03-10 11:24:10

Title: foo_playcount_sql
Post by: jsheridan on 2009-03-10 11:24:10
Hi,

I've developed a proof-of-concept playcount plugin that is based on metadata instead of the file location. The plugin tracks unique combinations of artist/album/title items into a SqlServerCe local database.

In order not to interfere with the file based counters, the data is exposed in a different section at the properties window, and %play_count_sql%, %first_played_sql%, %last_played_sql% tags.

In addition, since the plugin tracks metadata, different named files, or duplicate items that have the same artist/album/title combo, will all get the same playcount information. Currently, it will not detect metadata renames, so they will count as different tracks once renamed.

The playcount database is saved at the user's foobar APPData folder in a file named "PlayCount.sdf"

Version 1.5.4 is available here (http://ftp.bquest.org/foobar2000/foo_playcount_sql.zip)

History:

Version 1.5.4
1. Tried to fix some rare statup bug

Version 1.5.3
1. Fixed some issue with columns_ui

Version 1.5.2
1. Fixed an issue with the keyboard shortcuts

Version 1.5.1
1. Fixed a bug not tracking tracks with only artist/title, but missing album.

Version 1.5.0
1. New 'most played' GUI screen
2. %album artist% support
3. Now remembers GUI window positions
4. Made context menu shortcuts available from keyboard shortcuts

The following libraries must be installed prior of running:
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) (http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en)
Microsoft SQL Server Compact 3.5 Service Pack 1 (http://www.microsoft.com/Downloads/details.aspx?FamilyID=dc614aee-7e1c-4881-9c32-3a6ce53384d9&displaylang=en)

Screenshot of the properties window:
(http://ftp.bquest.org/foobar2000/playcount_sql.png)
Title: foo_playcount_sql
Post by: bubi jackson on 2009-03-10 12:43:07
Very nice idea.

I have some questions.

1. Will it be possible to import current statistics, because of not starting again at the beginning?
2. Will you implemement a %rating_sql% tag?

I ask, because of the possibility to get average rating value for artist and album. I'm current using Playlist Tree Mod for this and it is calculating for ages to do this.
Title: foo_playcount_sql
Post by: Jack Schmaltz on 2009-03-10 13:06:07
Thats great, thank you very much. as above though, would there be a way to imprt the current play stats from the standard plugin to this?

Finally, i can rename folders without losing playcounts!
Title: foo_playcount_sql
Post by: mpioner on 2009-03-10 13:39:52
maybe you will use FooID, Song fingerprinting (http://www.hydrogenaudio.org/forums/index.php?showtopic=65185), than unique combinations of artist/album/title items 
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-10 13:55:43
1. Importing file based statistics (from official playcount) will be implemented for the next version.
2. rating_sql, i'll might add it in the future, but not for the next version.
3. foo_id idea, since this method is based on heuristics, i prefer not to use it atm, and keep things simple.
Title: foo_playcount_sql
Post by: Galleon on 2009-03-10 14:09:23
Hello, do this plugin works with foobar 0.9.6.3 and Vista ? I had an error when i just started foobar
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-10 14:10:48
Hello, do this plugin works with foobar 0.9.6.3 and Vista ? I had an error when i just started foobar


Did you install of the required libraries as specified by the original post?
If so, please post a screenshot of the error.
Title: foo_playcount_sql
Post by: bubi jackson on 2009-03-10 14:20:45
1. Importing file based statistics (from official playcount) will be implemented for the next version.



Can you tell me how can I show the playcount statistics for Artist and Album in Album List, please?

Quote
2. rating_sql, i'll might add it in the future, but not for the next version.

If you will add it, will there be a possibility for statistic calculations (Rating (Artist), Rating (Album))?

I'm asking so penetrant cause this would be a killer feature.
Title: foo_playcount_sql
Post by: Galleon on 2009-03-10 14:21:35
Yes, All libraries installed.
Code: [Select]
Illegal operation:
Code: E0434F4Dh, flags: 00000001h, address: 773942EBh
Call path:
entry=>initquit::on_init
Code bytes (773942EBh):
773942ABh:  C0 39 45 14 89 45 B8 C7 45 BC 93 42 39 77 0F 84
773942BBh:  A8 4F FD FF 8B 45 10 83 F8 0F 0F 87 70 25 02 00
773942CBh:  89 45 C0 C1 E0 02 50 FF 75 14 8D 45 C4 50 E8 D2
773942DBh:  80 00 00 83 C4 0C 8D 45 B0 50 FF 15 14 17 35 77
773942EBh:  C9 C2 10 00 90 90 90 90 90 6A 10 68 80 43 39 77
773942FBh:  E8 A0 7F 00 00 8B 45 0C 83 F8 F4 0F 84 6B 37 01
7739430Bh:  00 83 F8 F5 0F 84 4E 37 01 00 83 F8 F6 0F 84 31
7739431Bh:  37 01 00 83 65 0C 00 8B C8 81 E1 03 00 00 10 83
Stack (0022F494h):
0022F474h:  00000000 00000000 00000000 00000000
0022F484h:  00000000 00000000 00000000 00000000
0022F494h:  E0434F4D 00000001 00000000 773942EB
0022F4A4h:  00000001 80131501 02000038 0022F4C0
0022F4B4h:  6B870024 0022F4C8 02000038 0022F4CC
0022F4C4h:  6B870687 6A4D0BA0 0022F4DC 6B8CA76F
0022F4D4h:  12827B64 0000012F 0022F4EC 6B8CA796
0022F4E4h:  0022F544 6B8CA91C E0434F4D 00000001
0022F4F4h:  00000001 0022F51C DA82D51A 107AF5CC
0022F504h:  0CE91060 00000000 00133000 00041EBD
0022F514h:  00000001 0CE91060 80131501 0022F0A4
0022F524h:  00000001 00000001 0022F4FC 0022F0A4
0022F534h:  0022F5FC 6B9808A2 B12C8966 00000000
0022F544h:  0022F608 6B9A4868 107AF5CC 00000000
0022F554h:  00000000 DA82D656 107A9514 0022F664
0022F564h:  107A5E64 DA98F1EF 6B8620D0 FFFFFFFF
0022F574h:  00000000 00000001 0022F58C 00000000
0022F584h:  0CE91060 00000000 0022F55C 107A9514
0022F594h:  0022F560 0022F664 0022F564 107A5E64
0022F5A4h:  0022F608 0022F610 0022F610 0022F60C
Registers:
EAX: 0022F494, EBX: E0434F4D, ECX: 00000001, EDX: 00000000
ESI: 0022F51C, EDI: 0CE91060, EBP: 0022F4E4, ESP: 0022F494
Crash location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "RaiseException" (+00000058h)

Loaded modules:
foobar2000   loaded at 00A60000h - 00B9B000h
ntdll loaded at 77430000h - 77557000h
kernel32 loaded at 77350000h - 7742B000h
COMCTL32 loaded at 74A40000h - 74BDE000h
msvcrt   loaded at 762E0000h - 7638A000h
ADVAPI32 loaded at 76210000h - 762D6000h
RPCRT4   loaded at 76140000h - 76203000h
GDI32 loaded at 775C0000h - 7760B000h
USER32   loaded at 76670000h - 7670D000h
SHLWAPI   loaded at 77560000h - 775B8000h
SHELL32   loaded at 76710000h - 7721F000h
ole32 loaded at 763C0000h - 76504000h
shared   loaded at 10000000h - 1002A000h
UxTheme   loaded at 747E0000h - 7481F000h
COMDLG32 loaded at 76560000h - 765D3000h
IMM32 loaded at 76110000h - 7612E000h
MSCTF loaded at 75D40000h - 75E08000h
LPK   loaded at 76130000h - 76139000h
USP10 loaded at 77610000h - 7768D000h
foo_cwbowron loaded at 00290000h - 002BA000h
gdiplus   loaded at 74170000h - 7431B000h
foo_cdda loaded at 00970000h - 009B0000h
foo_scrobblecharts   loaded at 009B0000h - 009E3000h
WININET   loaded at 75E10000h - 75EDF000h
Normaliz loaded at 76070000h - 76073000h
iertutil loaded at 760C0000h - 76105000h
foo_dockable_panels   loaded at 009F0000h - 00A23000h
foo_uie_playlists_dropdown   loaded at 01C40000h - 01C79000h
foo_lastfm_radio loaded at 01C80000h - 01CC5000h
foo_uie_graphical_browser loaded at 6C2E0000h - 6C374000h
MSIMG32   loaded at 749C0000h - 749C5000h
foo_exvar loaded at 01D10000h - 01D38000h
foo_audioscrobbler   loaded at 01D40000h - 01D70000h
WS2_32   loaded at 76390000h - 763BD000h
NSI   loaded at 76080000h - 76086000h
foo_converter loaded at 01E30000h - 01E9C000h
foo_playlist_manager loaded at 02000000h - 02044000h
foo_playback_custom   loaded at 02160000h - 021A5000h
WINSPOOL loaded at 735D0000h - 73612000h
OLEAUT32 loaded at 765E0000h - 7666D000h
foo_runcmd   loaded at 01EA0000h - 01ED4000h
foo_uie_vis_peakmeter_spectrum  loaded at 022D0000h - 0230F000h
foo_comserver2   loaded at 024F0000h - 02546000h
foo_uie_albumart loaded at 025E0000h - 0261D000h
foo_albumlist loaded at 02620000h - 0268B000h
foo_uie_explorer loaded at 027D0000h - 0281E000h
CLBCatQ   loaded at 75CB0000h - 75D34000h
WindowsCodecs loaded at 73C90000h - 73D43000h
apphelp   loaded at 75AE0000h - 75B0C000h
cscui loaded at 72230000h - 722C5000h
PROPSYS   loaded at 746C0000h - 7477A000h
CSCDLL   loaded at 72330000h - 72339000h
CSCAPI   loaded at 73050000h - 7305B000h
foo_dbsearch_api_demo loaded at 028A0000h - 028C1000h
foo_uie_tabs loaded at 028E0000h - 02908000h
foo_masstag   loaded at 02C80000h - 02CC3000h
foo_dsp_bs2b loaded at 6F1B0000h - 6F1D0000h
foo_dbsearch loaded at 02CD0000h - 02D40000h
foo_uie_lyrics   loaded at 02D40000h - 02D9D000h
WINMM loaded at 73F20000h - 73F52000h
OLEACC   loaded at 73EE0000h - 73F19000h
foo_rgscan   loaded at 02DB0000h - 02E0B000h
foo_menu_addons   loaded at 02F50000h - 02F8C000h
foo_facets   loaded at 03250000h - 032D1000h
foo_uie_elplaylist   loaded at 02FB0000h - 03019000h
foo_uie_vis_channel_spectrum loaded at 03140000h - 0317D000h
foo_uie_albumlist loaded at 031C0000h - 031FD000h
foo_chronflow loaded at 032E0000h - 03341000h
OPENGL32 loaded at 6DC20000h - 6DCEB000h
GLU32 loaded at 6F0C0000h - 6F0E3000h
DDRAW loaded at 68EF0000h - 68FD5000h
DCIMAN32 loaded at 73FA0000h - 73FA6000h
SETUPAPI loaded at 75EE0000h - 7606A000h
dwmapi   loaded at 72FC0000h - 72FCC000h
foo_dsp_std   loaded at 03490000h - 034D8000h
foo_playcount_sql loaded at 6F190000h - 6F1AF000h
mscoree   loaded at 6F6B0000h - 6F6F6000h
MSVCP90   loaded at 6CE10000h - 6CE9E000h
MSVCR90   loaded at 6BFB0000h - 6C053000h
msvcm90   loaded at 6DB90000h - 6DBD3000h
foo_uie_panel_splitter   loaded at 034E0000h - 0352F000h
foo_uie_quicksearch   loaded at 036C0000h - 03706000h
foo_run   loaded at 03720000h - 0374E000h
foo_ui_columns   loaded at 03CF0000h - 03E56000h
foo_browser   loaded at 03760000h - 03799000h
foo_lyricsgrabber loaded at 6C280000h - 6C2D2000h
foo_skip loaded at 6FEF0000h - 6FF0D000h
foo_winamp_spam   loaded at 03800000h - 03830000h
foo_uie_trackinfo loaded at 03830000h - 03855000h
foo_input_std loaded at 042C0000h - 04400000h
foo_utils loaded at 6CCB0000h - 6CCF4000h
foo_ui_std   loaded at 04080000h - 04154000h
foo_uie_trackinfo_mod loaded at 03950000h - 039A6000h
MSVCP80   loaded at 6CB50000h - 6CBD7000h
MSVCR80   loaded at 6CAB0000h - 6CB4B000h
foo_uie_wsh_panel loaded at 6CFF0000h - 6D01F000h
pshook.dll   loaded at 038F0000h - 038F8000h
SXS   loaded at 75A20000h - 75A7F000h
jscript   loaded at 691B0000h - 6922D000h
rsaenh   loaded at 75240000h - 7527B000h
mscorwks loaded at 6B860000h - 6BDF0000h
mscorlib.ni   loaded at 6A260000h - 6AD57000h
mscorjit loaded at 6CEA0000h - 6CEFB000h
mscorsec loaded at 64020000h - 64033000h
WINTRUST loaded at 74BF0000h - 74C1D000h
CRYPT32   loaded at 755F0000h - 756E1000h
MSASN1   loaded at 75770000h - 75782000h
USERENV   loaded at 75B60000h - 75B7E000h
Secur32   loaded at 75B40000h - 75B54000h
imagehlp loaded at 76090000h - 760B9000h
psapi loaded at 75C10000h - 75C17000h
ncrypt   loaded at 75470000h - 754A5000h
BCRYPT   loaded at 75420000h - 75465000h
NTMARTA   loaded at 75010000h - 75031000h
WLDAP32   loaded at 76510000h - 7655A000h
SAMLIB   loaded at 75A90000h - 75AA1000h
GPAPI loaded at 75280000h - 75295000h
slc   loaded at 755B0000h - 755EA000h
cryptnet loaded at 6F160000h - 6F17B000h
SensApi   loaded at 733F0000h - 733F6000h
NETAPI32 loaded at 757E0000h - 75855000h
Cabinet   loaded at 74E40000h - 74E55000h
System.Data.SqlServerCe   loaded at 69260000h - 692A4000h
System.ni loaded at 69AD0000h - 6A255000h
System.Data.ni   loaded at 66140000h - 66792000h
System.Data   loaded at 64E70000h - 65144000h
System.Transactions.ni   loaded at 67500000h - 6759C000h
System.Transactions   loaded at 67AA0000h - 67AE3000h
sqlceme35 loaded at 7D350000h - 7D360000h
sqlceer35RU   loaded at 12C30000h - 12C57000h
sqlcese35 loaded at 7D550000h - 7D5A8000h
dbghelp   loaded at 725A0000h - 7267C000h

Stack dump analysis:
Address: 773942EBh, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "RaiseException" (+00000058h)
Address: 6B870024h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "DllUnregisterServerInternal" (+00004008h)
Address: 6B870687h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "DllUnregisterServerInternal" (+0000466Bh)
Address: 6A4D0BA0h, location: "mscorlib.ni", loaded at 6A260000h - 6AD57000h
Address: 6B8CA76Fh, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "GetMetaDataInternalInterface" (+000082FCh)
Address: 6B8CA796h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "GetMetaDataInternalInterface" (+00008323h)
Address: 6B8CA91Ch, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "GetMetaDataInternalInterface" (+000084A9h)
Address: 6B9808A2h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "CreateApplicationContext" (+0000A4C2h)
Address: 6B9A4868h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "StrongNameErrorInfo" (+000103DCh)
Address: 6B8620D0h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Address: 6B9A47BDh, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "StrongNameErrorInfo" (+00010331h)
Address: 6B9A4869h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "StrongNameErrorInfo" (+000103DDh)
Address: 6BD0A330h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "GetHistoryFileDirectory" (+0005792Ch)
Address: 6B869D00h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Address: 6B86F6F2h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "DllUnregisterServerInternal" (+000036D6h)
Address: 6B87759Bh, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "DllUnregisterServerInternal" (+0000B57Fh)
Address: 77495883h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlFreeHeap" (+0000007Ah)
Address: 7739C56Fh, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "HeapFree" (+00000014h)
Address: 6B86A186h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Address: 6B86A1A2h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Address: 6BD2AA20h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "GetHistoryFileDirectory" (+0007801Ch)
Address: 6B86A1A2h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Address: 6B86A1C1h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Address: 6B86A14Ah, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Address: 6B86A15Bh, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Address: 6BD516E8h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "GetHistoryFileDirectory" (+0009ECE4h)
Address: 6B86A15Bh, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Address: 6B878C8Ah, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "DllUnregisterServerInternal" (+0000CC6Eh)
Address: 6B877251h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "DllUnregisterServerInternal" (+0000B235h)
Address: 6B87B51Ch, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "DllUnregisterServerInternal" (+0000F500h)
Address: 6B871220h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "DllUnregisterServerInternal" (+00005204h)
Address: 6B871235h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "DllUnregisterServerInternal" (+00005219h)
Address: 6B87139Ch, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "DllUnregisterServerInternal" (+00005380h)
Address: 6B8713A4h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "DllUnregisterServerInternal" (+00005388h)
Address: 6B8CEF78h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "GetMetaDataInternalInterface" (+0000CB05h)
Address: 6B8713A4h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "DllUnregisterServerInternal" (+00005388h)
Address: 6B9FA2E7h, location: "mscorwks", loaded at 6B860000h - 6BDF0000h
Symbol: "Ordinal24" (+000031ACh)
Address: 6F191513h, location: "foo_playcount_sql", loaded at 6F190000h - 6F1AF000h
Address: 6F19B48Dh, location: "foo_playcount_sql", loaded at 6F190000h - 6F1AF000h
Symbol: "foobar2000_get_interface" (+0000414Dh)
Address: 6F1952FDh, location: "foo_playcount_sql", loaded at 6F190000h - 6F1AF000h
Address: 6F19B57Bh, location: "foo_playcount_sql", loaded at 6F190000h - 6F1AF000h
Symbol: "foobar2000_get_interface" (+0000423Bh)
Address: 00A9A2CDh, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B39D8Bh, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B4A0D4h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 6F1AA0C4h, location: "foo_playcount_sql", loaded at 6F190000h - 6F1AF000h
Symbol: "foobar2000_get_interface" (+00012D84h)
Address: 00A9A293h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B229B2h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00A9B0FAh, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 77550501h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "fltused" (+000571F5h)
Address: 00B39DF4h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B4A0D4h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 77495B87h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlAllocateHeap" (+000002E1h)
Address: 77495955h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlAllocateHeap" (+000000AFh)
Address: 00B4A0D4h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00A60000h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 77490001h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlDeactivateActivationContextUnsafeFast" (+00005F10h)
Address: 00A6B8E2h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00A65194h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B16FB3h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B11650h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B16FB3h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B15408h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 03000300h, location: "foo_uie_elplaylist", loaded at 02FB0000h - 03019000h
Symbol: "foobar2000_get_interface" (+0003CAF0h)
Address: 1000258Fh, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000C8h)
Address: 00B4075Ch, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B2B0C1h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B4075Ch, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00A9B426h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00A60000h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B0F9C1h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B0F9BBh, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B31BC0h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B2FD20h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B11650h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B0F9BBh, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B0F9CFh, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B2FD20h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B2B24Dh, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B1151Ah, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00A60000h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B19446h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B11650h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 77394911h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "BaseThreadInitThunk" (+00000012h)
Address: 7746E4B6h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlInitializeExceptionChain" (+00000063h)
Address: 77550329h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "fltused" (+0005701Dh)
Address: 773EF389h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 773EF389h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 77439834h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlUpdateTimer" (+00000605h)
Address: 7746E489h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlInitializeExceptionChain" (+00000036h)
Address: 00B11585h, location: "foobar2000", loaded at 00A60000h - 00B9B000h
Address: 00B11585h, location: "foobar2000", loaded at 00A60000h - 00B9B000h

Version info:
foobar2000 v0.9.6.3
UNICODE
Windows 6.0


Additional info:
Startup Actions 0.0.2 [Jul 23 2007 - 08:27:55]  (foo_cwbowron)
foobar2000 core 0.9.6.3  (Core)
Audioscrobbler 1.3.16  (foo_audioscrobbler)
Chronial's Coverflow 0.3.0  (foo_chronflow)
Run services 0.3.4  (foo_run)
Album Art Browser 0.0.5 [Jul 23 2007 - 08:27:55]  (foo_cwbowron)
Playback statistics SQL 1.0.0.0  (foo_playcount_sql)
Standard Input Array 1.0  (foo_input_std)
CD Audio Decoder 2.1.4  (foo_cdda)
Tabbed Panel Modified 0.2.7  (foo_uie_tabs)
Album Art Panel 0.2.7.1  (foo_uie_albumart)
Winamp API Emulator 0.96  (foo_winamp_spam)
Run Command 1.0 beta 3  (foo_runcmd)
COM Automation server 0.7 alpha 6  (foo_comserver2)
Skip Track 0.4  (foo_skip)
Masstagger 1.7.1  (foo_masstag)
Database Search 1.4  (foo_dbsearch)
ELPlaylist 0.6.4.2(beta)  (foo_uie_elplaylist)
Columns UI 0.3.6.7  (foo_ui_columns)
Track info panel 0.8  (foo_uie_trackinfo)
Converter 1.2  (foo_converter)
Explorer Tree 1.04.7b  (foo_uie_explorer)
Extended Variables 0.3.1  (foo_exvar)
bs2b 2.1.1  (foo_dsp_bs2b)
Track info panel mod 0.8.0 beta [Jan  5 2007 - 13:36:12]  (foo_uie_trackinfo_mod)
Facets 2008-02-25  (foo_facets)
Album List 4.3  (foo_albumlist)
Lyric Show Panel 0.3.3.9 [Dec 12 2008 - 17:39:01]  (foo_uie_lyrics)
Dockable Panels 1.0.7b [Mar 28 2007 - 09:18:48]  (foo_dockable_panels)
Quick Search Toolbar 2.8l  (foo_uie_quicksearch)
Music Browser 1.2.3b [Mar 23 2007 - 16:52:56]  (foo_browser)
Album list panel 0.3.3  (foo_uie_albumlist)
Graphical Browser rev015  (foo_uie_graphical_browser)
Database Search Toolbar Demo 1.0  (foo_dbsearch_api_demo)
Channel Spectrum panel 0.17.2  (foo_uie_vis_channel_spectrum)
Last.fm Radio 0.5.2  (foo_lastfm_radio)
Last.fm Chart Player 0.2.3  (foo_scrobblecharts)
Playlist Manager 1.0.2  (foo_playlist_manager)
ReplayGain Scanner 2.0.8  (foo_rgscan)
WSH Panel (uie) 0.7.2  (foo_uie_wsh_panel)
Panel Stack Splitter 0.3.6.2(alpha)  (foo_uie_panel_splitter)
Playback Statistics Custom 1.4.3  (foo_playback_custom)
Menu Addons 0.4.1 (SSE)  (foo_menu_addons)
Standard DSP Array 1.0  (foo_dsp_std)
Playlist Tools 0.6.2 beta 6  (foo_utils)
Peakmeter Spectrum Visualisation 0.2.0.0 beta  (foo_uie_vis_peakmeter_spectrum)
Playlists Dropdown 0.6 alpha 4  (foo_uie_playlists_dropdown)
Default User Interface 0.9.5  (foo_ui_std)
Lyrics Grabber 0.2.6.2 Beta  (foo_lyricsgrabber)
Title: foo_playcount_sql
Post by: wojtek on 2009-03-10 20:40:21
1. An option to import playback / rating data from file tags? (and maybe sync it back to files, i know it would take more resources)
2. Option to identify separate files as one with only same artist/title (i.e. on different albums/compilations/soundtracks)

Basically - ability to sync playback/rating data between many files, and those data don't necesery need to be generated by foo_playcount_sql, I'm ok with foo_playback_custom. But if there would be some sort of configuration and ability to save data *also* to files I won't mind dropping playback_custom (;
Title: foo_playcount_sql
Post by: odyssey on 2009-03-10 21:08:48
maybe you will use FooID, Song fingerprinting (http://www.hydrogenaudio.org/forums/index.php?showtopic=65185), than unique combinations of artist/album/title items 

My thought EXACTLY!

Edit/Add: You could probably rely on musicmusic's foo_biometric (http://www.hydrogenaudio.org/forums/index.php?showtopic=65185&hl=) (that uses fooID and stores it in %FINGERPRINT_FOOID%)

I have MANY dupes in my library for different reasons - Songs in albums also present on soundtracks, singles or compilations. A playcount should (IMO) count on any song that matches regardless of it being an album version/radio edit or even extended cut.
Title: foo_playcount_sql
Post by: odyssey on 2009-03-10 21:13:02
Why do you rely on a full blown SQL database? There are more lightweight solutions available, like SQLite (http://www.sqlite.org/) - A file-based SQL database that requires no installation at all. That would probably also be more in faith to the general foobar2000 terminology.
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-10 22:10:59
@odyssey :
SQL because, it will allow me to easily access the data from outside utilities, and since relational data is cool.
SqlServerCe was chosen because of great .NET integration tools, and it’s as light weight as SQLite is.

About finger printing, again ATM it doesn't interest me to implement some heuristic method of tracking music, but it might in the future, which in that case, I’ll support it.

@lwiczek:
Import is coming, since it’s easy to implement, and makes sense. Export to files does not make sense, since it will change the actual files whenever a track is played.

The option to use only artist/title (-album) might make sense, and might not (when a different version of the song is played with the same name), for simplicity I choose the 3 keys combo, and it’s not likely to change.

@Galleon:
This crash has also been reported from another user (and other similar cases from other .NET based foobar components) it has something to do with the .NET initialization that happens when I try to initialize the DB. Currently I have no solution for it, since I don't know why that happens. Will try to research it more when I’ll have more time...

@bubi jackson:
You can't observe the artist / album statistics from the Album list since it’s not preserved per track, and calculated dynamically from the SQL Data. I'll test adding %play_count_artist_sql% (and similar tags), and see if it doesn't affect performance too much, and then you'll be able to use it from that context.

As for rating statistics, once I’ll add rating support, rating statistics will follow, but it’s not at high priority atm.
Title: foo_playcount_sql
Post by: bubi jackson on 2009-03-10 22:17:36
@bubi jackson:
You can't observe the artist / album statistics from the Album list since it's not preserved per track, and calculated dynamically from the SQL Data. I'll test adding %play_count_artist_sql% (and similar tags), and see if it doesn't affect performance too much, and then you'll be able to use it from that context.

Thx

I already tried it with _artist_sql and album_sql -  would be a nice feature too.

Quote
As for rating statistics, once I'll add rating support, rating statistics will follow, but it's not at high priority atm.

Title: foo_playcount_sql
Post by: odyssey on 2009-03-10 22:26:50
@odyssey :
SQL because, it will allow me to easily access the data from outside utilities, and since relational data is cool.
SqlServerCe was chosen because of great .NET integration tools, and it’s as light weight as SQLite is.

SQLite is still relational SQL, and I perfectly agree with you that it's really cool! However, since it needs to be installed, it's not very portable which is a shame.

About finger printing, again ATM it doesn't interest me to implement some heuristic method of tracking music, but it might in the future, which in that case, I’ll support it.

Why is it of no interrest? I think it's pretty cool to have a better way of determining equal tracks, and since it's already implemented as a library, integration should be easy. You don't have to re-invent the wheel

As for rating statistics, once I’ll add rating support, rating statistics will follow, but it’s not at high priority atm.

A general tag-syncronizing feature that allows user definable tags would be cool. Why limit to playback statistics?
Title: foo_playcount_sql
Post by: knuck on 2009-03-10 23:35:26
Nice. How hard would it be to get it to work with MySQL?
Title: foo_playcount_sql
Post by: shakey_snake on 2009-03-11 00:25:18
So how are multiple artists handled, displayed?
Title: foo_playcount_sql
Post by: carpman on 2009-03-11 04:26:29
Glad there's a new playcount component, hopefully it may remedy some of the shortfalls of the official one (i.e. counting a 30 min song played when it has been played for just 1 minute).

Couple of points/suggestions:

1) I agree with Odyssey's post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=70228&view=findpost&p=620435) on heuristics and SQLite.
2) If you change the tags would you lose the play stats?
3) How does your component decide when a song is played, i.e. (hopefully) by % played (user defined x %), or is it by some other means?

C.

Title: foo_playcount_sql
Post by: wojtek on 2009-03-11 08:11:19
Quote
Import is coming, since it’s easy to implement, and makes sense. Export to files does not make sense, since it will change the actual files whenever a track is played.


As I said before - I'm currently using foo_playback_custom which is doing exactly that, i.e. writing data to file every time specific amount of song (configurable) has been played. I prefer to have as much of the data in tags because of portability reasons and I'm the only one using those files so there is no need for separate statistics for several persons.

Quote
The option to use only artist/title (-album) might make sense, and might not (when a different version of the song is played with the same name), for simplicity I choose the 3 keys combo, and it’s not likely to change.


OK, I can agree that there might be differences between songs on different albums, but in my case (i know, sooooo egocentric (; ) when there is a case of doubled track in 99% of cases it's the same song just on (yet another) soundtrack.

Again - an configuration with options to set: album to discern tracks, to set amount of song for updating info and a yes/no option to sync data back to tags would be soooooooooo great! (;
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-11 14:14:39
Version 1.1 posted, should solve the crash described by Galleon

The .NET Framework is no longer required for this plugin
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-11 14:28:29
@ odyssey
1. Sorry, but I’m not going to rewrite in SQLite
2. As for foo_id, again, i want to keep it simple, and based on Meta data (for now)

@ knuck
1. MySQL Support, maybe in the future.

@ shakey_snake
1. Multiple artists/artists/etc are handled for simplicity case with "Artist1, Artist2", it would be complicated to index the database any other way.

@ carpman
1. If you change the tags, you will get new stats (old ones are not erased), since that won't happen too often like moving the files physically, that won't be such a big issue.
2. The foo_playstat_sql decides when a track is played the same way as the official component does, and i quote: "Notification occurs when at least 60s of the track has been played, or the track has reached its end after at least 1/3 of it has been played through"
Title: foo_playcount_sql
Post by: Galleon on 2009-03-11 17:00:40
Version 1.1 posted, should solve the crash described by Galleon

The .NET Framework is no longer required for this plugin
I'm still have same error 
Code: [Select]
 Illegal operation:
Code: C0000005h, flags: 00000000h, address: 6DC71ED4h
Access violation, operation: read, address: 00000000h
Call path:
entry=>initquit::on_init
Code bytes (6DC71ED4h):
6DC71E94h:  FF 68 08 C6 C7 6D 64 A1 00 00 00 00 50 83 EC 50
6DC71EA4h:  53 56 57 A1 1C 20 C8 6D 33 C5 50 8D 45 F4 64 A3
6DC71EB4h:  00 00 00 00 89 65 F0 8B F1 8D 45 A4 50 E8 3A F1
6DC71EC4h:  FF FF C7 45 FC 00 00 00 00 C6 45 FC 01 8B 4E 0C
6DC71ED4h:  8B 11 8B 52 04 8D 45 A4 50 FF D2 8D 46 58 50 8D
6DC71EE4h:  4D BC 51 E8 54 FD FF FF 8D 56 10 52 8D 45 A4 50
6DC71EF4h:  E8 47 FD FF FF 81 C6 A0 00 00 00 56 8D 4D D4 51
6DC71F04h:  E8 37 FD FF FF 8D 5D A4 E8 4F F1 FF FF 8B 4D F4
Stack (0020FA24h):
0020FA04h:  00000000 00000000 00000000 00000000
0020FA14h:  00000000 00000000 00000000 00000000
0020FA24h:  3D685365 6DC80DA0 03571D50 00000000
0020FA34h:  035710F0 002F003A 0044002F 00000000
0020FA44h:  00000000 00000000 03571100 0420040E
0020FA54h:  042000B1 00000000 00000000 00000000
0020FA64h:  03571110 006F0046 0062006F 00000000
0020FA74h:  00000000 00000000 6DC70000 0020FA24
0020FA84h:  0020FAB8 6DC7C608 00000001 0020FAC4
0020FA94h:  6DC7197B 3D685331 0020FAFC 0020FB84
0020FAA4h:  00000000 0020F2C4 03746FD8 00A53B58
0020FAB4h:  0020FA98 0020FAD8 6DC7C748 00000004
0020FAC4h:  0020FB10 6DC78FAD 03571D50 3D685321
0020FAD4h:  03571D50 0020FB04 6DC7C7CB 00000000
0020FAE4h:  0036A2CD 00409D8B 0041A0D4 00000018
0020FAF4h:  01A93D80 00000005 6DC820FC 0036A293
0020FB04h:  0020FC3C 003F29B2 00000001 0020FC4C
0020FB14h:  0036B0FA FFFFFFFE 00000000 00000000
0020FB24h:  00495955 01A80300 0000001A 00000000
0020FB34h:  7280D701 00409DF4 00000000 00000000
Registers:
EAX: 0020FA34, EBX: 00000000, ECX: 00000000, EDX: 03560048
ESI: 03571D50, EDI: 6DC80DA0, EBP: 0020FA90, ESP: 0020FA24
Crash location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h

Loaded modules:
foobar2000                      loaded at 00330000h - 0046B000h
ntdll                            loaded at 77430000h - 77557000h
kernel32                        loaded at 77350000h - 7742B000h
COMCTL32                        loaded at 74A40000h - 74BDE000h
msvcrt                          loaded at 762E0000h - 7638A000h
ADVAPI32                        loaded at 76210000h - 762D6000h
RPCRT4                          loaded at 76140000h - 76203000h
GDI32                            loaded at 775C0000h - 7760B000h
USER32                          loaded at 76670000h - 7670D000h
SHLWAPI                          loaded at 77560000h - 775B8000h
SHELL32                          loaded at 76710000h - 7721F000h
ole32                            loaded at 763C0000h - 76504000h
shared                          loaded at 10000000h - 1002A000h
UxTheme                          loaded at 747E0000h - 7481F000h
COMDLG32                        loaded at 76560000h - 765D3000h
IMM32                            loaded at 76110000h - 7612E000h
MSCTF                            loaded at 75D40000h - 75E08000h
LPK                              loaded at 76130000h - 76139000h
USP10                            loaded at 77610000h - 7768D000h
foo_ui_columns                  loaded at 01D80000h - 01EE6000h
gdiplus                          loaded at 74170000h - 7431B000h
foo_lastfm_radio                loaded at 002E0000h - 00325000h
foo_uie_graphical_browser        loaded at 6D6A0000h - 6D734000h
MSIMG32                          loaded at 749C0000h - 749C5000h
foo_run                          loaded at 000E0000h - 0010E000h
foo_dbsearch                    loaded at 01C10000h - 01C80000h
OLEAUT32                        loaded at 765E0000h - 7666D000h
foo_uie_quicksearch              loaded at 01B80000h - 01BC6000h
foo_dbsearch_api_demo            loaded at 01C80000h - 01CA1000h
foo_input_std                    loaded at 02630000h - 02770000h
foo_ui_std                      loaded at 02540000h - 02614000h
foo_audioscrobbler              loaded at 01CF0000h - 01D20000h
WS2_32                          loaded at 76390000h - 763BD000h
NSI                              loaded at 76080000h - 76086000h
foo_uie_albumart                loaded at 01D30000h - 01D6D000h
foo_cdda                        loaded at 01F00000h - 01F40000h
foo_playlist_manager            loaded at 021A0000h - 021E4000h
foo_uie_lyrics                  loaded at 02260000h - 022BD000h
WINMM                            loaded at 73F20000h - 73F52000h
OLEACC                          loaded at 73EE0000h - 73F19000h
WININET                          loaded at 75E10000h - 75EDF000h
Normaliz                        loaded at 76070000h - 76073000h
iertutil                        loaded at 760C0000h - 76105000h
foo_dsp_bs2b                    loaded at 6DC90000h - 6DCB0000h
foo_uie_elplaylist              loaded at 02770000h - 027D9000h
foo_uie_panel_splitter          loaded at 02910000h - 0295F000h
foo_uie_vis_peakmeter_spectrum  loaded at 02960000h - 0299F000h
foo_uie_vis_channel_spectrum    loaded at 02A10000h - 02A4D000h
foo_uie_playlists_dropdown      loaded at 02A50000h - 02A89000h
foo_albumlist                    loaded at 02DB0000h - 02E1B000h
foo_scrobblecharts              loaded at 02D40000h - 02D73000h
foo_uie_trackinfo                loaded at 029A0000h - 029C5000h
foo_facets                      loaded at 02E30000h - 02EB1000h
foo_converter                    loaded at 02F10000h - 02F7C000h
foo_winamp_spam                  loaded at 02AD0000h - 02B00000h
foo_runcmd                      loaded at 02EC0000h - 02EF4000h
foo_playcount_sql                loaded at 6DC70000h - 6DC86000h
MSVCP90                          loaded at 6DAE0000h - 6DB6E000h
MSVCR90                          loaded at 6D9F0000h - 6DA93000h
foo_uie_albumlist                loaded at 02F90000h - 02FCD000h
foo_exvar                        loaded at 02FD0000h - 02FF8000h
foo_uie_wsh_panel                loaded at 6D990000h - 6D9BF000h
foo_uie_trackinfo_mod            loaded at 03310000h - 03366000h
MSVCP80                          loaded at 6CB50000h - 6CBD7000h
MSVCR80                          loaded at 6CAB0000h - 6CB4B000h
foo_uie_explorer                loaded at 03390000h - 033DE000h
CLBCatQ                          loaded at 75CB0000h - 75D34000h
WindowsCodecs                    loaded at 73C90000h - 73D43000h
apphelp                          loaded at 75AE0000h - 75B0C000h
cscui                            loaded at 72230000h - 722C5000h
PROPSYS                          loaded at 746C0000h - 7477A000h
CSCDLL                          loaded at 72330000h - 72339000h
CSCAPI                          loaded at 73050000h - 7305B000h
foo_rgscan                      loaded at 034B0000h - 0350B000h
foo_uie_tabs                    loaded at 03470000h - 03498000h
foo_dockable_panels              loaded at 03660000h - 03693000h
foo_lyricsgrabber                loaded at 6D5E0000h - 6D632000h
foo_skip                        loaded at 6DC50000h - 6DC6D000h
foo_cwbowron                    loaded at 036C0000h - 036EA000h
foo_comserver2                  loaded at 03750000h - 037A6000h
foo_chronflow                    loaded at 03950000h - 039B1000h
OPENGL32                        loaded at 6C2B0000h - 6C37B000h
GLU32                            loaded at 6D9C0000h - 6D9E3000h
DDRAW                            loaded at 6D3D0000h - 6D4B5000h
DCIMAN32                        loaded at 6FF20000h - 6FF26000h
SETUPAPI                        loaded at 75EE0000h - 7606A000h
dwmapi                          loaded at 72FC0000h - 72FCC000h
foo_utils                        loaded at 6D1C0000h - 6D204000h
foo_masstag                      loaded at 03F40000h - 03F83000h
foo_browser                      loaded at 03F90000h - 03FC9000h
foo_playback_custom              loaded at 03FD0000h - 04015000h
WINSPOOL                        loaded at 735D0000h - 73612000h
foo_menu_addons                  loaded at 043C0000h - 043FC000h
foo_dsp_std                      loaded at 04400000h - 04448000h
pshook.dll                      loaded at 039C0000h - 039C8000h
SXS                              loaded at 75A20000h - 75A7F000h
jscript                          loaded at 6CE20000h - 6CE9D000h
rsaenh                          loaded at 75240000h - 7527B000h
sqlceca35                        loaded at 7D650000h - 7D6A5000h
CRYPT32                          loaded at 755F0000h - 756E1000h
MSASN1                          loaded at 75770000h - 75782000h
USERENV                          loaded at 75B60000h - 75B7E000h
Secur32                          loaded at 75B40000h - 75B54000h
JSProxy                          loaded at 6FF30000h - 6FF3A000h
sqlceer35RU                      loaded at 099C0000h - 099E7000h
NLAapi                          loaded at 74D70000h - 74D7F000h
IPHLPAPI                        loaded at 75550000h - 75569000h
dhcpcsvc                        loaded at 75510000h - 75545000h
DNSAPI                          loaded at 75AB0000h - 75ADC000h
WINNSI                          loaded at 75500000h - 75507000h
dhcpcsvc6                        loaded at 754C0000h - 754E1000h
napinsp                          loaded at 73040000h - 7304F000h
pnrpnsp                          loaded at 73000000h - 73012000h
mswsock                          loaded at 75380000h - 753BB000h
winrnr                          loaded at 73030000h - 73038000h
WLDAP32                          loaded at 76510000h - 7655A000h
PSAPI                            loaded at 75C10000h - 75C17000h
wshbth                          loaded at 73020000h - 7302C000h
sqlceoledb35                    loaded at 7D400000h - 7D42B000h
rasadhlp                        loaded at 73810000h - 73816000h
sqlcese35                        loaded at 7D550000h - 7D5A8000h
wship6                          loaded at 753C0000h - 753C5000h
sqlceqp35                        loaded at 7D750000h - 7D7EE000h
wshtcpip                        loaded at 74F10000h - 74F15000h
imagehlp                        loaded at 76090000h - 760B9000h
dbghelp                          loaded at 725A0000h - 7267C000h

Stack dump analysis:
Address: 6DC80DA0h, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+00007480h)
Address: 002F003Ah, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00002B1Ah)
Address: 0044002Fh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 6DC70000h, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Address: 6DC7C608h, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+00002CE8h)
Address: 6DC7197Bh, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Address: 6DC7C748h, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+00002E28h)
Address: 6DC78FADh, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Address: 6DC7C7CBh, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+00002EABh)
Address: 0036A2CDh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00409D8Bh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0041A0D4h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 6DC820FCh, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+000087DCh)
Address: 0036A293h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003F29B2h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0036B0FAh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00409DF4h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0041A0D4h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 77495B87h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlAllocateHeap" (+000002E1h)
Address: 77495955h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlAllocateHeap" (+000000AFh)
Address: 0041A0D4h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003C050Eh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 77490001h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlDeactivateActivationContextUnsafeFast" (+00005F10h)
Address: 0033B8E2h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00335194h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E6FB3h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E1650h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E6FB3h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E5408h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 1000258Fh, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000C8h)
Address: 0041075Ch, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003FB0C1h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0041075Ch, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0036B426h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003DF9C1h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003DF9BBh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00401BC0h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003FFD20h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E1650h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003DF9BBh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003DF9CFh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003FFD20h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003FB24Dh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E151Ah, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E9446h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E1650h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 77394911h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "BaseThreadInitThunk" (+00000012h)
Address: 7746E4B6h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlInitializeExceptionChain" (+00000063h)
Address: 773EF389h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 773EF389h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 77439834h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlUpdateTimer" (+00000605h)
Address: 7746E489h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlInitializeExceptionChain" (+00000036h)
Address: 003E1585h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E1585h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003B0000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003C0000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 01C80003h, location: "foo_dbsearch_api_demo", loaded at 01C80000h - 01CA1000h
Address: 00320001h, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00032AE1h)
Address: 00320001h, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00032AE1h)
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00340001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00400001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00410001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00400001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 000E0001h, location: "foo_run", loaded at 000E0000h - 0010E000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00350001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00340001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00320001h, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00032AE1h)
Address: 00100001h, location: "foo_run", loaded at 000E0000h - 0010E000h
Symbol: "foobar2000_get_interface" (+00018FB1h)
Address: 00370001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00370001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003F0001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 000E0001h, location: "foo_run", loaded at 000E0000h - 0010E000h
Address: 00380001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00310001h, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00022AE1h)
Address: 00340001h, location: "foobar2000", loaded at 00330000h - 0046B000h

Version info:
foobar2000 v0.9.6.3
UNICODE
Windows 6.0


Additional info:
CD Audio Decoder 2.1.4  (foo_cdda)
Peakmeter Spectrum Visualisation 0.2.0.0 beta  (foo_uie_vis_peakmeter_spectrum)
Playlists Dropdown 0.6 alpha 4  (foo_uie_playlists_dropdown)
Run Command 1.0 beta 3  (foo_runcmd)
Standard DSP Array 1.0  (foo_dsp_std)
Converter 1.2  (foo_converter)
Last.fm Radio 0.5.2  (foo_lastfm_radio)
Panel Stack Splitter 0.3.6.2(alpha)  (foo_uie_panel_splitter)
Track info panel 0.8  (foo_uie_trackinfo)
Masstagger 1.7.1  (foo_masstag)
Dockable Panels 1.0.7b [Mar 28 2007 - 09:18:48]  (foo_dockable_panels)
Quick Search Toolbar 2.8l  (foo_uie_quicksearch)
COM Automation server 0.7 alpha 6  (foo_comserver2)
Run services 0.3.4  (foo_run)
Extended Variables 0.3.1  (foo_exvar)
Track info panel mod 0.8.0 beta [Jan  5 2007 - 13:36:12]  (foo_uie_trackinfo_mod)
Chronial's Coverflow 0.3.0  (foo_chronflow)
Database Search 1.4  (foo_dbsearch)
ReplayGain Scanner 2.0.8  (foo_rgscan)
Last.fm Chart Player 0.2.3  (foo_scrobblecharts)
Channel Spectrum panel 0.17.2  (foo_uie_vis_channel_spectrum)
Playlist Manager 1.0.2  (foo_playlist_manager)
Playback statistics SQL 1.1.1.0  (foo_playcount_sql)
Tabbed Panel Modified 0.2.7  (foo_uie_tabs)
Album List 4.3  (foo_albumlist)
Lyric Show Panel 0.3.3.9 [Dec 12 2008 - 17:39:01]  (foo_uie_lyrics)
WSH Panel (uie) 0.7.2  (foo_uie_wsh_panel)
Columns UI 0.3.6.7  (foo_ui_columns)
Album Art Panel 0.2.7.1  (foo_uie_albumart)
Album list panel 0.3.3  (foo_uie_albumlist)
foobar2000 core 0.9.6.3  (Core)
Standard Input Array 1.0  (foo_input_std)
Playlist Tools 0.6.2 beta 6  (foo_utils)
Skip Track 0.4  (foo_skip)
Lyrics Grabber 0.2.6.2 Beta  (foo_lyricsgrabber)
Album Art Browser 0.0.5 [Jul 23 2007 - 08:27:55]  (foo_cwbowron)
ELPlaylist 0.6.4.2(beta)  (foo_uie_elplaylist)
Audioscrobbler 1.3.16  (foo_audioscrobbler)
Playback Statistics Custom 1.4.3  (foo_playback_custom)
Menu Addons 0.4.1 (SSE)  (foo_menu_addons)
Explorer Tree 1.04.7b  (foo_uie_explorer)
Startup Actions 0.0.2 [Jul 23 2007 - 08:27:55]  (foo_cwbowron)
Default User Interface 0.9.5  (foo_ui_std)
Winamp API Emulator 0.96  (foo_winamp_spam)
Database Search Toolbar Demo 1.0  (foo_dbsearch_api_demo)
Graphical Browser rev015  (foo_uie_graphical_browser)
Facets 2008-02-25  (foo_facets)
bs2b 2.1.1  (foo_dsp_bs2b)
Music Browser 1.2.3b [Mar 23 2007 - 16:52:56]  (foo_browser)

Title: foo_playcount_sql
Post by: jsheridan on 2009-03-11 17:03:20
If you are using foobar2000 in portable mode, then please redownload, there was a bugfix related to that.

Version 1.1 posted, should solve the crash described by Galleon

The .NET Framework is no longer required for this plugin
I'm still have same error 
Code: [Select]
 Illegal operation:
Code: C0000005h, flags: 00000000h, address: 6DC71ED4h
Access violation, operation: read, address: 00000000h
Call path:
entry=>initquit::on_init
Code bytes (6DC71ED4h):
6DC71E94h:  FF 68 08 C6 C7 6D 64 A1 00 00 00 00 50 83 EC 50
6DC71EA4h:  53 56 57 A1 1C 20 C8 6D 33 C5 50 8D 45 F4 64 A3
6DC71EB4h:  00 00 00 00 89 65 F0 8B F1 8D 45 A4 50 E8 3A F1
6DC71EC4h:  FF FF C7 45 FC 00 00 00 00 C6 45 FC 01 8B 4E 0C
6DC71ED4h:  8B 11 8B 52 04 8D 45 A4 50 FF D2 8D 46 58 50 8D
6DC71EE4h:  4D BC 51 E8 54 FD FF FF 8D 56 10 52 8D 45 A4 50
6DC71EF4h:  E8 47 FD FF FF 81 C6 A0 00 00 00 56 8D 4D D4 51
6DC71F04h:  E8 37 FD FF FF 8D 5D A4 E8 4F F1 FF FF 8B 4D F4
Stack (0020FA24h):
0020FA04h:  00000000 00000000 00000000 00000000
0020FA14h:  00000000 00000000 00000000 00000000
0020FA24h:  3D685365 6DC80DA0 03571D50 00000000
0020FA34h:  035710F0 002F003A 0044002F 00000000
0020FA44h:  00000000 00000000 03571100 0420040E
0020FA54h:  042000B1 00000000 00000000 00000000
0020FA64h:  03571110 006F0046 0062006F 00000000
0020FA74h:  00000000 00000000 6DC70000 0020FA24
0020FA84h:  0020FAB8 6DC7C608 00000001 0020FAC4
0020FA94h:  6DC7197B 3D685331 0020FAFC 0020FB84
0020FAA4h:  00000000 0020F2C4 03746FD8 00A53B58
0020FAB4h:  0020FA98 0020FAD8 6DC7C748 00000004
0020FAC4h:  0020FB10 6DC78FAD 03571D50 3D685321
0020FAD4h:  03571D50 0020FB04 6DC7C7CB 00000000
0020FAE4h:  0036A2CD 00409D8B 0041A0D4 00000018
0020FAF4h:  01A93D80 00000005 6DC820FC 0036A293
0020FB04h:  0020FC3C 003F29B2 00000001 0020FC4C
0020FB14h:  0036B0FA FFFFFFFE 00000000 00000000
0020FB24h:  00495955 01A80300 0000001A 00000000
0020FB34h:  7280D701 00409DF4 00000000 00000000
Registers:
EAX: 0020FA34, EBX: 00000000, ECX: 00000000, EDX: 03560048
ESI: 03571D50, EDI: 6DC80DA0, EBP: 0020FA90, ESP: 0020FA24
Crash location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h

Loaded modules:
foobar2000                      loaded at 00330000h - 0046B000h
ntdll                            loaded at 77430000h - 77557000h
kernel32                        loaded at 77350000h - 7742B000h
COMCTL32                        loaded at 74A40000h - 74BDE000h
msvcrt                          loaded at 762E0000h - 7638A000h
ADVAPI32                        loaded at 76210000h - 762D6000h
RPCRT4                          loaded at 76140000h - 76203000h
GDI32                            loaded at 775C0000h - 7760B000h
USER32                          loaded at 76670000h - 7670D000h
SHLWAPI                          loaded at 77560000h - 775B8000h
SHELL32                          loaded at 76710000h - 7721F000h
ole32                            loaded at 763C0000h - 76504000h
shared                          loaded at 10000000h - 1002A000h
UxTheme                          loaded at 747E0000h - 7481F000h
COMDLG32                        loaded at 76560000h - 765D3000h
IMM32                            loaded at 76110000h - 7612E000h
MSCTF                            loaded at 75D40000h - 75E08000h
LPK                              loaded at 76130000h - 76139000h
USP10                            loaded at 77610000h - 7768D000h
foo_ui_columns                  loaded at 01D80000h - 01EE6000h
gdiplus                          loaded at 74170000h - 7431B000h
foo_lastfm_radio                loaded at 002E0000h - 00325000h
foo_uie_graphical_browser        loaded at 6D6A0000h - 6D734000h
MSIMG32                          loaded at 749C0000h - 749C5000h
foo_run                          loaded at 000E0000h - 0010E000h
foo_dbsearch                    loaded at 01C10000h - 01C80000h
OLEAUT32                        loaded at 765E0000h - 7666D000h
foo_uie_quicksearch              loaded at 01B80000h - 01BC6000h
foo_dbsearch_api_demo            loaded at 01C80000h - 01CA1000h
foo_input_std                    loaded at 02630000h - 02770000h
foo_ui_std                      loaded at 02540000h - 02614000h
foo_audioscrobbler              loaded at 01CF0000h - 01D20000h
WS2_32                          loaded at 76390000h - 763BD000h
NSI                              loaded at 76080000h - 76086000h
foo_uie_albumart                loaded at 01D30000h - 01D6D000h
foo_cdda                        loaded at 01F00000h - 01F40000h
foo_playlist_manager            loaded at 021A0000h - 021E4000h
foo_uie_lyrics                  loaded at 02260000h - 022BD000h
WINMM                            loaded at 73F20000h - 73F52000h
OLEACC                          loaded at 73EE0000h - 73F19000h
WININET                          loaded at 75E10000h - 75EDF000h
Normaliz                        loaded at 76070000h - 76073000h
iertutil                        loaded at 760C0000h - 76105000h
foo_dsp_bs2b                    loaded at 6DC90000h - 6DCB0000h
foo_uie_elplaylist              loaded at 02770000h - 027D9000h
foo_uie_panel_splitter          loaded at 02910000h - 0295F000h
foo_uie_vis_peakmeter_spectrum  loaded at 02960000h - 0299F000h
foo_uie_vis_channel_spectrum    loaded at 02A10000h - 02A4D000h
foo_uie_playlists_dropdown      loaded at 02A50000h - 02A89000h
foo_albumlist                    loaded at 02DB0000h - 02E1B000h
foo_scrobblecharts              loaded at 02D40000h - 02D73000h
foo_uie_trackinfo                loaded at 029A0000h - 029C5000h
foo_facets                      loaded at 02E30000h - 02EB1000h
foo_converter                    loaded at 02F10000h - 02F7C000h
foo_winamp_spam                  loaded at 02AD0000h - 02B00000h
foo_runcmd                      loaded at 02EC0000h - 02EF4000h
foo_playcount_sql                loaded at 6DC70000h - 6DC86000h
MSVCP90                          loaded at 6DAE0000h - 6DB6E000h
MSVCR90                          loaded at 6D9F0000h - 6DA93000h
foo_uie_albumlist                loaded at 02F90000h - 02FCD000h
foo_exvar                        loaded at 02FD0000h - 02FF8000h
foo_uie_wsh_panel                loaded at 6D990000h - 6D9BF000h
foo_uie_trackinfo_mod            loaded at 03310000h - 03366000h
MSVCP80                          loaded at 6CB50000h - 6CBD7000h
MSVCR80                          loaded at 6CAB0000h - 6CB4B000h
foo_uie_explorer                loaded at 03390000h - 033DE000h
CLBCatQ                          loaded at 75CB0000h - 75D34000h
WindowsCodecs                    loaded at 73C90000h - 73D43000h
apphelp                          loaded at 75AE0000h - 75B0C000h
cscui                            loaded at 72230000h - 722C5000h
PROPSYS                          loaded at 746C0000h - 7477A000h
CSCDLL                          loaded at 72330000h - 72339000h
CSCAPI                          loaded at 73050000h - 7305B000h
foo_rgscan                      loaded at 034B0000h - 0350B000h
foo_uie_tabs                    loaded at 03470000h - 03498000h
foo_dockable_panels              loaded at 03660000h - 03693000h
foo_lyricsgrabber                loaded at 6D5E0000h - 6D632000h
foo_skip                        loaded at 6DC50000h - 6DC6D000h
foo_cwbowron                    loaded at 036C0000h - 036EA000h
foo_comserver2                  loaded at 03750000h - 037A6000h
foo_chronflow                    loaded at 03950000h - 039B1000h
OPENGL32                        loaded at 6C2B0000h - 6C37B000h
GLU32                            loaded at 6D9C0000h - 6D9E3000h
DDRAW                            loaded at 6D3D0000h - 6D4B5000h
DCIMAN32                        loaded at 6FF20000h - 6FF26000h
SETUPAPI                        loaded at 75EE0000h - 7606A000h
dwmapi                          loaded at 72FC0000h - 72FCC000h
foo_utils                        loaded at 6D1C0000h - 6D204000h
foo_masstag                      loaded at 03F40000h - 03F83000h
foo_browser                      loaded at 03F90000h - 03FC9000h
foo_playback_custom              loaded at 03FD0000h - 04015000h
WINSPOOL                        loaded at 735D0000h - 73612000h
foo_menu_addons                  loaded at 043C0000h - 043FC000h
foo_dsp_std                      loaded at 04400000h - 04448000h
pshook.dll                      loaded at 039C0000h - 039C8000h
SXS                              loaded at 75A20000h - 75A7F000h
jscript                          loaded at 6CE20000h - 6CE9D000h
rsaenh                          loaded at 75240000h - 7527B000h
sqlceca35                        loaded at 7D650000h - 7D6A5000h
CRYPT32                          loaded at 755F0000h - 756E1000h
MSASN1                          loaded at 75770000h - 75782000h
USERENV                          loaded at 75B60000h - 75B7E000h
Secur32                          loaded at 75B40000h - 75B54000h
JSProxy                          loaded at 6FF30000h - 6FF3A000h
sqlceer35RU                      loaded at 099C0000h - 099E7000h
NLAapi                          loaded at 74D70000h - 74D7F000h
IPHLPAPI                        loaded at 75550000h - 75569000h
dhcpcsvc                        loaded at 75510000h - 75545000h
DNSAPI                          loaded at 75AB0000h - 75ADC000h
WINNSI                          loaded at 75500000h - 75507000h
dhcpcsvc6                        loaded at 754C0000h - 754E1000h
napinsp                          loaded at 73040000h - 7304F000h
pnrpnsp                          loaded at 73000000h - 73012000h
mswsock                          loaded at 75380000h - 753BB000h
winrnr                          loaded at 73030000h - 73038000h
WLDAP32                          loaded at 76510000h - 7655A000h
PSAPI                            loaded at 75C10000h - 75C17000h
wshbth                          loaded at 73020000h - 7302C000h
sqlceoledb35                    loaded at 7D400000h - 7D42B000h
rasadhlp                        loaded at 73810000h - 73816000h
sqlcese35                        loaded at 7D550000h - 7D5A8000h
wship6                          loaded at 753C0000h - 753C5000h
sqlceqp35                        loaded at 7D750000h - 7D7EE000h
wshtcpip                        loaded at 74F10000h - 74F15000h
imagehlp                        loaded at 76090000h - 760B9000h
dbghelp                          loaded at 725A0000h - 7267C000h

Stack dump analysis:
Address: 6DC80DA0h, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+00007480h)
Address: 002F003Ah, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00002B1Ah)
Address: 0044002Fh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 6DC70000h, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Address: 6DC7C608h, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+00002CE8h)
Address: 6DC7197Bh, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Address: 6DC7C748h, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+00002E28h)
Address: 6DC78FADh, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Address: 6DC7C7CBh, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+00002EABh)
Address: 0036A2CDh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00409D8Bh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0041A0D4h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 6DC820FCh, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+000087DCh)
Address: 0036A293h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003F29B2h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0036B0FAh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00409DF4h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0041A0D4h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 77495B87h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlAllocateHeap" (+000002E1h)
Address: 77495955h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlAllocateHeap" (+000000AFh)
Address: 0041A0D4h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003C050Eh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 77490001h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlDeactivateActivationContextUnsafeFast" (+00005F10h)
Address: 0033B8E2h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00335194h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E6FB3h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E1650h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E6FB3h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E5408h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 1000258Fh, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000C8h)
Address: 0041075Ch, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003FB0C1h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0041075Ch, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0036B426h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003DF9C1h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003DF9BBh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00401BC0h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003FFD20h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E1650h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003DF9BBh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003DF9CFh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003FFD20h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003FB24Dh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E151Ah, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E9446h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E1650h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 77394911h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "BaseThreadInitThunk" (+00000012h)
Address: 7746E4B6h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlInitializeExceptionChain" (+00000063h)
Address: 773EF389h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 773EF389h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 77439834h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlUpdateTimer" (+00000605h)
Address: 7746E489h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlInitializeExceptionChain" (+00000036h)
Address: 003E1585h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E1585h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003B0000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003C0000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 01C80003h, location: "foo_dbsearch_api_demo", loaded at 01C80000h - 01CA1000h
Address: 00320001h, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00032AE1h)
Address: 00320001h, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00032AE1h)
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00340001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00400001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00410001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00400001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 000E0001h, location: "foo_run", loaded at 000E0000h - 0010E000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00350001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00340001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00320001h, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00032AE1h)
Address: 00100001h, location: "foo_run", loaded at 000E0000h - 0010E000h
Symbol: "foobar2000_get_interface" (+00018FB1h)
Address: 00370001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00370001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003F0001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 000E0001h, location: "foo_run", loaded at 000E0000h - 0010E000h
Address: 00380001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00310001h, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00022AE1h)
Address: 00340001h, location: "foobar2000", loaded at 00330000h - 0046B000h

Version info:
foobar2000 v0.9.6.3
UNICODE
Windows 6.0


Additional info:
CD Audio Decoder 2.1.4  (foo_cdda)
Peakmeter Spectrum Visualisation 0.2.0.0 beta  (foo_uie_vis_peakmeter_spectrum)
Playlists Dropdown 0.6 alpha 4  (foo_uie_playlists_dropdown)
Run Command 1.0 beta 3  (foo_runcmd)
Standard DSP Array 1.0  (foo_dsp_std)
Converter 1.2  (foo_converter)
Last.fm Radio 0.5.2  (foo_lastfm_radio)
Panel Stack Splitter 0.3.6.2(alpha)  (foo_uie_panel_splitter)
Track info panel 0.8  (foo_uie_trackinfo)
Masstagger 1.7.1  (foo_masstag)
Dockable Panels 1.0.7b [Mar 28 2007 - 09:18:48]  (foo_dockable_panels)
Quick Search Toolbar 2.8l  (foo_uie_quicksearch)
COM Automation server 0.7 alpha 6  (foo_comserver2)
Run services 0.3.4  (foo_run)
Extended Variables 0.3.1  (foo_exvar)
Track info panel mod 0.8.0 beta [Jan  5 2007 - 13:36:12]  (foo_uie_trackinfo_mod)
Chronial's Coverflow 0.3.0  (foo_chronflow)
Database Search 1.4  (foo_dbsearch)
ReplayGain Scanner 2.0.8  (foo_rgscan)
Last.fm Chart Player 0.2.3  (foo_scrobblecharts)
Channel Spectrum panel 0.17.2  (foo_uie_vis_channel_spectrum)
Playlist Manager 1.0.2  (foo_playlist_manager)
Playback statistics SQL 1.1.1.0  (foo_playcount_sql)
Tabbed Panel Modified 0.2.7  (foo_uie_tabs)
Album List 4.3  (foo_albumlist)
Lyric Show Panel 0.3.3.9 [Dec 12 2008 - 17:39:01]  (foo_uie_lyrics)
WSH Panel (uie) 0.7.2  (foo_uie_wsh_panel)
Columns UI 0.3.6.7  (foo_ui_columns)
Album Art Panel 0.2.7.1  (foo_uie_albumart)
Album list panel 0.3.3  (foo_uie_albumlist)
foobar2000 core 0.9.6.3  (Core)
Standard Input Array 1.0  (foo_input_std)
Playlist Tools 0.6.2 beta 6  (foo_utils)
Skip Track 0.4  (foo_skip)
Lyrics Grabber 0.2.6.2 Beta  (foo_lyricsgrabber)
Album Art Browser 0.0.5 [Jul 23 2007 - 08:27:55]  (foo_cwbowron)
ELPlaylist 0.6.4.2(beta)  (foo_uie_elplaylist)
Audioscrobbler 1.3.16  (foo_audioscrobbler)
Playback Statistics Custom 1.4.3  (foo_playback_custom)
Menu Addons 0.4.1 (SSE)  (foo_menu_addons)
Explorer Tree 1.04.7b  (foo_uie_explorer)
Startup Actions 0.0.2 [Jul 23 2007 - 08:27:55]  (foo_cwbowron)
Default User Interface 0.9.5  (foo_ui_std)
Winamp API Emulator 0.96  (foo_winamp_spam)
Database Search Toolbar Demo 1.0  (foo_dbsearch_api_demo)
Graphical Browser rev015  (foo_uie_graphical_browser)
Facets 2008-02-25  (foo_facets)
bs2b 2.1.1  (foo_dsp_bs2b)
Music Browser 1.2.3b [Mar 23 2007 - 16:52:56]  (foo_browser)

Title: foo_playcount_sql
Post by: Galleon on 2009-03-11 17:15:23
I'm using - Playback statistics SQL 1.1.1.0 (foo_playcount_sql) - it's a right version?
Should I re-install foobar?
Title: foo_playcount_sql
Post by: odyssey on 2009-03-11 18:07:37
1. Sorry, but I’m not going to rewrite in SQLite

1. MySQL Support, maybe in the future.

So, you might support MySQL but refuses completely on SQLite? Seems to me like a personal hate on SQLite - Just out of curiosity, can you elaborate why this is completely out of question?

I googled around to see the differences between sqlite and mysql and it seem that others agree that sqlite is considered more appropriate for desktop applications and mysql (/server-based databases) is better suited for multi-user solutions. I found this blog (http://discuss.joelonsoftware.com/default.asp?design.4.281660.5) discussing it.

Quote
For low load websites, SQLite has worked great in our projects. If you're doing an application in C, its API is simply unbeatable. Perhaps its most distinguishing feature is that it pretty much ignores types. This is, in fact, a "feature", and I have found that it gives it flexibility that is lacking in other situations(although, you have to put your dates in very specific formats to get the sort order to come out right...).

This could seem like a showstopper unless it has been addressed in the meantime (this blog is from 2006). Anyway, it should still be possible to handle such data in some way.

Quote
I also can't express just how great it is for desktop apps though. Its great for 95% of the situations you would need to save data in an application in a "file format" of some variety. It make debugging great(fire up the console on the file your app is writing too and watch inserts as they happen). No configuration at all. No mucking about with binary file formats. No XML parsing.

I believe in your component because it really has great potential even for many other uses I haven't expressed yet, but I really dislike that it relies on a server-side component that are extremely heavy and defeats "portable-mode" completely.

2. As for foo_id, again, i want to keep it simple, and based on Meta data (for now)

I understand this while this is purely a proof-of-concept atm, this is allright. However, if you go all the way with this plugin, I think it could be marvellous! I think you should try to contact musicmusic regarding this potential. He already announced that he didn't really know what to do with this and that an API might be useful.
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-11 19:21:47
Just make sure you have the DLL dated 11/03/2009 17:58, if fb2k still crashes with this version installed, i would like to see the updated crash log. Thanks.

If you are using foobar2000 in portable mode, then please redownload, there was a bugfix related to that.

Version 1.1 posted, should solve the crash described by Galleon

The .NET Framework is no longer required for this plugin
I'm still have same error 
Code: [Select]
 Illegal operation:
Code: C0000005h, flags: 00000000h, address: 6DC71ED4h
Access violation, operation: read, address: 00000000h
Call path:
entry=>initquit::on_init
Code bytes (6DC71ED4h):
6DC71E94h:  FF 68 08 C6 C7 6D 64 A1 00 00 00 00 50 83 EC 50
6DC71EA4h:  53 56 57 A1 1C 20 C8 6D 33 C5 50 8D 45 F4 64 A3
6DC71EB4h:  00 00 00 00 89 65 F0 8B F1 8D 45 A4 50 E8 3A F1
6DC71EC4h:  FF FF C7 45 FC 00 00 00 00 C6 45 FC 01 8B 4E 0C
6DC71ED4h:  8B 11 8B 52 04 8D 45 A4 50 FF D2 8D 46 58 50 8D
6DC71EE4h:  4D BC 51 E8 54 FD FF FF 8D 56 10 52 8D 45 A4 50
6DC71EF4h:  E8 47 FD FF FF 81 C6 A0 00 00 00 56 8D 4D D4 51
6DC71F04h:  E8 37 FD FF FF 8D 5D A4 E8 4F F1 FF FF 8B 4D F4
Stack (0020FA24h):
0020FA04h:  00000000 00000000 00000000 00000000
0020FA14h:  00000000 00000000 00000000 00000000
0020FA24h:  3D685365 6DC80DA0 03571D50 00000000
0020FA34h:  035710F0 002F003A 0044002F 00000000
0020FA44h:  00000000 00000000 03571100 0420040E
0020FA54h:  042000B1 00000000 00000000 00000000
0020FA64h:  03571110 006F0046 0062006F 00000000
0020FA74h:  00000000 00000000 6DC70000 0020FA24
0020FA84h:  0020FAB8 6DC7C608 00000001 0020FAC4
0020FA94h:  6DC7197B 3D685331 0020FAFC 0020FB84
0020FAA4h:  00000000 0020F2C4 03746FD8 00A53B58
0020FAB4h:  0020FA98 0020FAD8 6DC7C748 00000004
0020FAC4h:  0020FB10 6DC78FAD 03571D50 3D685321
0020FAD4h:  03571D50 0020FB04 6DC7C7CB 00000000
0020FAE4h:  0036A2CD 00409D8B 0041A0D4 00000018
0020FAF4h:  01A93D80 00000005 6DC820FC 0036A293
0020FB04h:  0020FC3C 003F29B2 00000001 0020FC4C
0020FB14h:  0036B0FA FFFFFFFE 00000000 00000000
0020FB24h:  00495955 01A80300 0000001A 00000000
0020FB34h:  7280D701 00409DF4 00000000 00000000
Registers:
EAX: 0020FA34, EBX: 00000000, ECX: 00000000, EDX: 03560048
ESI: 03571D50, EDI: 6DC80DA0, EBP: 0020FA90, ESP: 0020FA24
Crash location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h

Loaded modules:
foobar2000                      loaded at 00330000h - 0046B000h
ntdll                            loaded at 77430000h - 77557000h
kernel32                        loaded at 77350000h - 7742B000h
COMCTL32                        loaded at 74A40000h - 74BDE000h
msvcrt                          loaded at 762E0000h - 7638A000h
ADVAPI32                        loaded at 76210000h - 762D6000h
RPCRT4                          loaded at 76140000h - 76203000h
GDI32                            loaded at 775C0000h - 7760B000h
USER32                          loaded at 76670000h - 7670D000h
SHLWAPI                          loaded at 77560000h - 775B8000h
SHELL32                          loaded at 76710000h - 7721F000h
ole32                            loaded at 763C0000h - 76504000h
shared                          loaded at 10000000h - 1002A000h
UxTheme                          loaded at 747E0000h - 7481F000h
COMDLG32                        loaded at 76560000h - 765D3000h
IMM32                            loaded at 76110000h - 7612E000h
MSCTF                            loaded at 75D40000h - 75E08000h
LPK                              loaded at 76130000h - 76139000h
USP10                            loaded at 77610000h - 7768D000h
foo_ui_columns                  loaded at 01D80000h - 01EE6000h
gdiplus                          loaded at 74170000h - 7431B000h
foo_lastfm_radio                loaded at 002E0000h - 00325000h
foo_uie_graphical_browser        loaded at 6D6A0000h - 6D734000h
MSIMG32                          loaded at 749C0000h - 749C5000h
foo_run                          loaded at 000E0000h - 0010E000h
foo_dbsearch                    loaded at 01C10000h - 01C80000h
OLEAUT32                        loaded at 765E0000h - 7666D000h
foo_uie_quicksearch              loaded at 01B80000h - 01BC6000h
foo_dbsearch_api_demo            loaded at 01C80000h - 01CA1000h
foo_input_std                    loaded at 02630000h - 02770000h
foo_ui_std                      loaded at 02540000h - 02614000h
foo_audioscrobbler              loaded at 01CF0000h - 01D20000h
WS2_32                          loaded at 76390000h - 763BD000h
NSI                              loaded at 76080000h - 76086000h
foo_uie_albumart                loaded at 01D30000h - 01D6D000h
foo_cdda                        loaded at 01F00000h - 01F40000h
foo_playlist_manager            loaded at 021A0000h - 021E4000h
foo_uie_lyrics                  loaded at 02260000h - 022BD000h
WINMM                            loaded at 73F20000h - 73F52000h
OLEACC                          loaded at 73EE0000h - 73F19000h
WININET                          loaded at 75E10000h - 75EDF000h
Normaliz                        loaded at 76070000h - 76073000h
iertutil                        loaded at 760C0000h - 76105000h
foo_dsp_bs2b                    loaded at 6DC90000h - 6DCB0000h
foo_uie_elplaylist              loaded at 02770000h - 027D9000h
foo_uie_panel_splitter          loaded at 02910000h - 0295F000h
foo_uie_vis_peakmeter_spectrum  loaded at 02960000h - 0299F000h
foo_uie_vis_channel_spectrum    loaded at 02A10000h - 02A4D000h
foo_uie_playlists_dropdown      loaded at 02A50000h - 02A89000h
foo_albumlist                    loaded at 02DB0000h - 02E1B000h
foo_scrobblecharts              loaded at 02D40000h - 02D73000h
foo_uie_trackinfo                loaded at 029A0000h - 029C5000h
foo_facets                      loaded at 02E30000h - 02EB1000h
foo_converter                    loaded at 02F10000h - 02F7C000h
foo_winamp_spam                  loaded at 02AD0000h - 02B00000h
foo_runcmd                      loaded at 02EC0000h - 02EF4000h
foo_playcount_sql                loaded at 6DC70000h - 6DC86000h
MSVCP90                          loaded at 6DAE0000h - 6DB6E000h
MSVCR90                          loaded at 6D9F0000h - 6DA93000h
foo_uie_albumlist                loaded at 02F90000h - 02FCD000h
foo_exvar                        loaded at 02FD0000h - 02FF8000h
foo_uie_wsh_panel                loaded at 6D990000h - 6D9BF000h
foo_uie_trackinfo_mod            loaded at 03310000h - 03366000h
MSVCP80                          loaded at 6CB50000h - 6CBD7000h
MSVCR80                          loaded at 6CAB0000h - 6CB4B000h
foo_uie_explorer                loaded at 03390000h - 033DE000h
CLBCatQ                          loaded at 75CB0000h - 75D34000h
WindowsCodecs                    loaded at 73C90000h - 73D43000h
apphelp                          loaded at 75AE0000h - 75B0C000h
cscui                            loaded at 72230000h - 722C5000h
PROPSYS                          loaded at 746C0000h - 7477A000h
CSCDLL                          loaded at 72330000h - 72339000h
CSCAPI                          loaded at 73050000h - 7305B000h
foo_rgscan                      loaded at 034B0000h - 0350B000h
foo_uie_tabs                    loaded at 03470000h - 03498000h
foo_dockable_panels              loaded at 03660000h - 03693000h
foo_lyricsgrabber                loaded at 6D5E0000h - 6D632000h
foo_skip                        loaded at 6DC50000h - 6DC6D000h
foo_cwbowron                    loaded at 036C0000h - 036EA000h
foo_comserver2                  loaded at 03750000h - 037A6000h
foo_chronflow                    loaded at 03950000h - 039B1000h
OPENGL32                        loaded at 6C2B0000h - 6C37B000h
GLU32                            loaded at 6D9C0000h - 6D9E3000h
DDRAW                            loaded at 6D3D0000h - 6D4B5000h
DCIMAN32                        loaded at 6FF20000h - 6FF26000h
SETUPAPI                        loaded at 75EE0000h - 7606A000h
dwmapi                          loaded at 72FC0000h - 72FCC000h
foo_utils                        loaded at 6D1C0000h - 6D204000h
foo_masstag                      loaded at 03F40000h - 03F83000h
foo_browser                      loaded at 03F90000h - 03FC9000h
foo_playback_custom              loaded at 03FD0000h - 04015000h
WINSPOOL                        loaded at 735D0000h - 73612000h
foo_menu_addons                  loaded at 043C0000h - 043FC000h
foo_dsp_std                      loaded at 04400000h - 04448000h
pshook.dll                      loaded at 039C0000h - 039C8000h
SXS                              loaded at 75A20000h - 75A7F000h
jscript                          loaded at 6CE20000h - 6CE9D000h
rsaenh                          loaded at 75240000h - 7527B000h
sqlceca35                        loaded at 7D650000h - 7D6A5000h
CRYPT32                          loaded at 755F0000h - 756E1000h
MSASN1                          loaded at 75770000h - 75782000h
USERENV                          loaded at 75B60000h - 75B7E000h
Secur32                          loaded at 75B40000h - 75B54000h
JSProxy                          loaded at 6FF30000h - 6FF3A000h
sqlceer35RU                      loaded at 099C0000h - 099E7000h
NLAapi                          loaded at 74D70000h - 74D7F000h
IPHLPAPI                        loaded at 75550000h - 75569000h
dhcpcsvc                        loaded at 75510000h - 75545000h
DNSAPI                          loaded at 75AB0000h - 75ADC000h
WINNSI                          loaded at 75500000h - 75507000h
dhcpcsvc6                        loaded at 754C0000h - 754E1000h
napinsp                          loaded at 73040000h - 7304F000h
pnrpnsp                          loaded at 73000000h - 73012000h
mswsock                          loaded at 75380000h - 753BB000h
winrnr                          loaded at 73030000h - 73038000h
WLDAP32                          loaded at 76510000h - 7655A000h
PSAPI                            loaded at 75C10000h - 75C17000h
wshbth                          loaded at 73020000h - 7302C000h
sqlceoledb35                    loaded at 7D400000h - 7D42B000h
rasadhlp                        loaded at 73810000h - 73816000h
sqlcese35                        loaded at 7D550000h - 7D5A8000h
wship6                          loaded at 753C0000h - 753C5000h
sqlceqp35                        loaded at 7D750000h - 7D7EE000h
wshtcpip                        loaded at 74F10000h - 74F15000h
imagehlp                        loaded at 76090000h - 760B9000h
dbghelp                          loaded at 725A0000h - 7267C000h

Stack dump analysis:
Address: 6DC80DA0h, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+00007480h)
Address: 002F003Ah, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00002B1Ah)
Address: 0044002Fh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 6DC70000h, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Address: 6DC7C608h, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+00002CE8h)
Address: 6DC7197Bh, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Address: 6DC7C748h, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+00002E28h)
Address: 6DC78FADh, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Address: 6DC7C7CBh, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+00002EABh)
Address: 0036A2CDh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00409D8Bh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0041A0D4h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 6DC820FCh, location: "foo_playcount_sql", loaded at 6DC70000h - 6DC86000h
Symbol: "foobar2000_get_interface" (+000087DCh)
Address: 0036A293h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003F29B2h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0036B0FAh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00409DF4h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0041A0D4h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 77495B87h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlAllocateHeap" (+000002E1h)
Address: 77495955h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlAllocateHeap" (+000000AFh)
Address: 0041A0D4h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003C050Eh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 77490001h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlDeactivateActivationContextUnsafeFast" (+00005F10h)
Address: 0033B8E2h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00335194h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E6FB3h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E1650h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E6FB3h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E5408h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 1000258Fh, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000C8h)
Address: 0041075Ch, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003FB0C1h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0041075Ch, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 0036B426h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003DF9C1h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003DF9BBh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00401BC0h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003FFD20h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E1650h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003DF9BBh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003DF9CFh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003FFD20h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003FB24Dh, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E151Ah, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E9446h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E1650h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 77394911h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "BaseThreadInitThunk" (+00000012h)
Address: 7746E4B6h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlInitializeExceptionChain" (+00000063h)
Address: 773EF389h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 773EF389h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 77439834h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlUpdateTimer" (+00000605h)
Address: 7746E489h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlInitializeExceptionChain" (+00000036h)
Address: 003E1585h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003E1585h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003B0000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003C0000h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 01C80003h, location: "foo_dbsearch_api_demo", loaded at 01C80000h - 01CA1000h
Address: 00320001h, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00032AE1h)
Address: 00320001h, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00032AE1h)
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00340001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00400001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00410001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00400001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 000E0001h, location: "foo_run", loaded at 000E0000h - 0010E000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00350001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00340001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00320001h, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00032AE1h)
Address: 00100001h, location: "foo_run", loaded at 000E0000h - 0010E000h
Symbol: "foobar2000_get_interface" (+00018FB1h)
Address: 00370001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00370001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 003F0001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 000E0001h, location: "foo_run", loaded at 000E0000h - 0010E000h
Address: 00380001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00330001h, location: "foobar2000", loaded at 00330000h - 0046B000h
Address: 00310001h, location: "foo_lastfm_radio", loaded at 002E0000h - 00325000h
Symbol: "foobar2000_get_interface" (+00022AE1h)
Address: 00340001h, location: "foobar2000", loaded at 00330000h - 0046B000h

Version info:
foobar2000 v0.9.6.3
UNICODE
Windows 6.0


Additional info:
CD Audio Decoder 2.1.4  (foo_cdda)
Peakmeter Spectrum Visualisation 0.2.0.0 beta  (foo_uie_vis_peakmeter_spectrum)
Playlists Dropdown 0.6 alpha 4  (foo_uie_playlists_dropdown)
Run Command 1.0 beta 3  (foo_runcmd)
Standard DSP Array 1.0  (foo_dsp_std)
Converter 1.2  (foo_converter)
Last.fm Radio 0.5.2  (foo_lastfm_radio)
Panel Stack Splitter 0.3.6.2(alpha)  (foo_uie_panel_splitter)
Track info panel 0.8  (foo_uie_trackinfo)
Masstagger 1.7.1  (foo_masstag)
Dockable Panels 1.0.7b [Mar 28 2007 - 09:18:48]  (foo_dockable_panels)
Quick Search Toolbar 2.8l  (foo_uie_quicksearch)
COM Automation server 0.7 alpha 6  (foo_comserver2)
Run services 0.3.4  (foo_run)
Extended Variables 0.3.1  (foo_exvar)
Track info panel mod 0.8.0 beta [Jan  5 2007 - 13:36:12]  (foo_uie_trackinfo_mod)
Chronial's Coverflow 0.3.0  (foo_chronflow)
Database Search 1.4  (foo_dbsearch)
ReplayGain Scanner 2.0.8  (foo_rgscan)
Last.fm Chart Player 0.2.3  (foo_scrobblecharts)
Channel Spectrum panel 0.17.2  (foo_uie_vis_channel_spectrum)
Playlist Manager 1.0.2  (foo_playlist_manager)
Playback statistics SQL 1.1.1.0  (foo_playcount_sql)
Tabbed Panel Modified 0.2.7  (foo_uie_tabs)
Album List 4.3  (foo_albumlist)
Lyric Show Panel 0.3.3.9 [Dec 12 2008 - 17:39:01]  (foo_uie_lyrics)
WSH Panel (uie) 0.7.2  (foo_uie_wsh_panel)
Columns UI 0.3.6.7  (foo_ui_columns)
Album Art Panel 0.2.7.1  (foo_uie_albumart)
Album list panel 0.3.3  (foo_uie_albumlist)
foobar2000 core 0.9.6.3  (Core)
Standard Input Array 1.0  (foo_input_std)
Playlist Tools 0.6.2 beta 6  (foo_utils)
Skip Track 0.4  (foo_skip)
Lyrics Grabber 0.2.6.2 Beta  (foo_lyricsgrabber)
Album Art Browser 0.0.5 [Jul 23 2007 - 08:27:55]  (foo_cwbowron)
ELPlaylist 0.6.4.2(beta)  (foo_uie_elplaylist)
Audioscrobbler 1.3.16  (foo_audioscrobbler)
Playback Statistics Custom 1.4.3  (foo_playback_custom)
Menu Addons 0.4.1 (SSE)  (foo_menu_addons)
Explorer Tree 1.04.7b  (foo_uie_explorer)
Startup Actions 0.0.2 [Jul 23 2007 - 08:27:55]  (foo_cwbowron)
Default User Interface 0.9.5  (foo_ui_std)
Winamp API Emulator 0.96  (foo_winamp_spam)
Database Search Toolbar Demo 1.0  (foo_dbsearch_api_demo)
Graphical Browser rev015  (foo_uie_graphical_browser)
Facets 2008-02-25  (foo_facets)
bs2b 2.1.1  (foo_dsp_bs2b)
Music Browser 1.2.3b [Mar 23 2007 - 16:52:56]  (foo_browser)

Title: foo_playcount_sql
Post by: jsheridan on 2009-03-11 20:01:14
So, you might support MySQL but refuses completely on SQLite? Seems to me like a personal hate on SQLite - Just out of curiosity, can you elaborate why this is completely out of question?

You completely missed what SqlServerCe is IMHO. It is not sql server express, which is a server side RDMS. SqlServerCe is exactly Microsoft attempt at copying SQLite in process lightweight database.
The main differences are:
1. The developer might statically link to SQLite, and this include the RDMS code within his assembly, and while SqlServerCe only allows to dynamically link (Since its closed source)
2. The first is open source, while the 2nd is closed and supported by MS Developer tools which are easier to use.
3. The first has much better strongly db types, including DateTime which i like using, the other SQLite has only this (http://www.sqlite.org/datatype3.html)

So basically, the reason that i don't want to support SQLite is since i truly believe SqlServerCe is superior at the same RDMS category.
And this is why i said i would consider supporting MySQL, since its a server side RDMS, and that might have different usages scenarios.

I understand this while this is purely a proof-of-concept ATM, this is all right. However, if you go all the way with this plugin, I think it could be marvelous! I think you should try to contact musicmusic regarding this potential. He already announced that he didn't really know what to do with this and that an API might be useful.

Well, once i completed what i wanted to do with this idea, and will have free time, i might consider playing with foo_id.
The reason i don't think it would be that simple, is the fact there are performance issues.

For instance, can you imagine how effective an index would be when its primary key looks like this?
Code: [Select]
0000A87100000307050F0FDF3DB1F16F9085D0B9F0F2C374F1F0F030ECF67234ECF0743DF2EE3134F0F0B071F4F9E230FEF0
CEB4EFF453ECE1EE30F0F6DD33EFF87838A9FAFC30B0F7D4DEFA3FC4E435A1EC3823F0FF3C02B0D230B7DE8273F7FCF1F7FCB
EEAC3FCA6ECCFFC7EF833CFF73C27E1FEC923ECDCCD0F70FFECC47FCFCCF1B8E0FFCBFFF70D31FCB2ED30E688BC71F92BFE37
EEFAD5F032F7E0F039F0F5F02292E93442D8E633DCF8DD218FDEBA4BEFFEFCCFDBFFBCE09DFCF9C192F9F072FCECF32FF3CFE
82EBFFFC76BE0FEDFC3F7FC03F1E200FCFCB9FFF43FFBFF8C3879E0D53177EFDAB412F0D8D8F7F4C8EDFED303F871FCF0FCF5
FF6D3038CE387AC0F88DC230FF66EEFF7CA5E3EEFFFC78B2F1FD3E79EC223F78FFFC3BF8CCC584DF3CA3C9ABFBD188CEF13CB
5C2D3EB30B6D8D0B3FCDFE143E231F9E7FC7031CBCFF7FCB7D4F0CD21CCF73272FFF0FE32773D7A497FFFF8F8F0D13C5BFF7D
3920F0B00D4B0C5E1E0C06FABD34C194ABF2BAF18201F3AF0C741BE099602AEB82BAD3AEBC60B3BC30F996D84FC82BAE0FA9A
FE18E4FE1B0C79FA09E9AFAD20AEBD307BC659600
If it was something more like a GUID there was something to talk about, but i really do not have the knowledge to know how to convert that into a GUID (which is index able)
Title: foo_playcount_sql
Post by: odyssey on 2009-03-11 20:27:42
So, you might support MySQL but refuses completely on SQLite? Seems to me like a personal hate on SQLite - Just out of curiosity, can you elaborate why this is completely out of question?
You completely missed what SqlServerCe is IMHO.
You're right, I did miss that  Sorry!! In that case it's great.

I concluded that it was something like that because the first thread says it should be *installed*. So is it more of a runtime, or is it even possible to include library-files in the foobar2000 directory to keep portability?

I understand this while this is purely a proof-of-concept ATM, this is all right. However, if you go all the way with this plugin, I think it could be marvelous! I think you should try to contact musicmusic regarding this potential. He already announced that he didn't really know what to do with this and that an API might be useful.

Well, once i completed what i wanted to do with this idea, and will have free time, i might consider playing with foo_id.
The reason i don't think it would be that simple, is the fact there are performance issues.

For instance, can you imagine how effective an index would be when its primary key looks like this?
Code: [Select]
0000A87100000307050F0FDF3DB1F16F9085D0B9F0F2C374F1F0F030ECF67234ECF0743DF2EE3134F0F0B071F4F9E230FEF0
CEB4EFF453ECE1EE30F0F6DD33EFF87838A9FAFC30B0F7D4DEFA3FC4E435A1EC3823F0FF3C02B0D230B7DE8273F7FCF1F7FC
B
EEAC3FCA6ECCFFC7EF833CFF73C27E1FEC923ECDCCD0F70FFECC47FCFCCF1B8E0FFCBFFF70D31FCB2ED30E688BC71F92BFE3
7
EEFAD5F032F7E0F039F0F5F02292E93442D8E633DCF8DD218FDEBA4BEFFEFCCFDBFFBCE09DFCF9C192F9F072FCECF32FF3CF
E
82EBFFFC76BE0FEDFC3F7FC03F1E200FCFCB9FFF43FFBFF8C3879E0D53177EFDAB412F0D8D8F7F4C8EDFED303F871FCF0FCF
5
FF6D3038CE387AC0F88DC230FF66EEFF7CA5E3EEFFFC78B2F1FD3E79EC223F78FFFC3BF8CCC584DF3CA3C9ABFBD188CEF13C
B
5C2D3EB30B6D8D0B3FCDFE143E231F9E7FC7031CBCFF7FCB7D4F0CD21CCF73272FFF0FE32773D7A497FFFF8F8F0D13C5BFF7
D
3920F0B00D4B0C5E1E0C06FABD34C194ABF2BAF18201F3AF0C741BE099602AEB82BAD3AEBC60B3BC30F996D84FC82BAE0FA9
A
FE18E4FE1B0C79FA09E9AFAD20AEBD307BC659600
If it was something more like a GUID there was something to talk about, but i really do not have the knowledge to know how to convert that into a GUID (which is index able)
I must admit that I have not (yet?) looked much into fooid, but this fingerprint id is not unique for any matching song. I believe it's pretty much a pattern that should be matched against another to create a similarity percentage. You choose to say that i.e. anything above 75% should be considered a duplicate.
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-11 20:52:40
I concluded that it was something like that because the first thread says it should be *installed*. So is it more of a runtime, or is it even possible to include library-files in the foobar2000 directory to keep portability?

In theory you can take the DLLs out of MS installation, and register (regsvr32) them manually. But why would you want to do that? say tommorow MS releases a patch for their libraries, why would the fb2k installation should be updated to support that? or more so, imagine fb2k has a new version, why should the user re-download those DLLs? i really can't see any value with this bundling.
I must admit that I have not (yet?) looked much into fooid, but this fingerprint id is not unique for any matching song. I believe it's pretty much a pattern that should be matched against another to create a similarity percentage. You choose to say that i.e. anything above 75% should be considered a duplicate.

Obviously you didn't thought it through, imagine a user with 100k tracks, now imagine the user want to quickly sort all the tracks by their playcount information, now what the application would need to do, is to match each fingerprint back to its respective memory item. Not such a fast process (since the strings are so long), in addition, saving an item to the DB would require this 75% string matching to be performed against every item in the DB, meaning O(n) string matches, since no indexes could be use with that case. In short, I can’t see this happening, not for an online application like foobar2000.
Title: foo_playcount_sql
Post by: carpman on 2009-03-11 21:27:06
2. The foo_playstat_sql decides when a track is played the same way as the official component does, and i quote: "Notification occurs when at least 60s of the track has been played, or the track has reached its end after at least 1/3 of it has been played through"

That's a shame. IMO it's a major weakness of the official play stats component.
If you watch the first 5 mins of a movie, do you consider you've watched it?
Since track lengths vary enormously, why have a fixed approach, surely a % played is better (this was a feature of the foo_playback_custom).

This has been discussed elsewhere, but the best playcount is %total duration played (secs)% / %track_length (secs)%, but then the plugin has to record how long each song is played for and keep a running total.

C.

Title: foo_playcount_sql
Post by: Galleon on 2009-03-12 02:36:34
Just make sure you have the DLL dated 11/03/2009 17:58, if fb2k still crashes with this version installed, i would like to see the updated crash log. Thanks.
Yes, foobar still crashes with error  (on portable installation)
But Standart installation of foobar works fine.
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 6D351ED4h
Access violation, operation: read, address: 00000000h
Call path:
entry=>initquit::on_init
Code bytes (6D351ED4h):
6D351E94h:  FF 68 08 C6 35 6D 64 A1 00 00 00 00 50 83 EC 50
6D351EA4h:  53 56 57 A1 1C 20 36 6D 33 C5 50 8D 45 F4 64 A3
6D351EB4h:  00 00 00 00 89 65 F0 8B F1 8D 45 A4 50 E8 3A F1
6D351EC4h:  FF FF C7 45 FC 00 00 00 00 C6 45 FC 01 8B 4E 0C
6D351ED4h:  8B 11 8B 52 04 8D 45 A4 50 FF D2 8D 46 58 50 8D
6D351EE4h:  4D BC 51 E8 54 FD FF FF 8D 56 10 52 8D 45 A4 50
6D351EF4h:  E8 47 FD FF FF 81 C6 A0 00 00 00 56 8D 4D D4 51
6D351F04h:  E8 37 FD FF FF 8D 5D A4 E8 4F F1 FF FF 8B 4D F4
Stack (0012FB9Ch):
0012FB7Ch:  00000000 00000000 00000000 00000000
0012FB8Ch:  00000000 00000000 00000000 00000000
0012FB9Ch:  8978AE58 6D360DA0 01F81700 00000000
0012FBACh:  01F80EF8 005C003A 006F0053 00000000
0012FBBCh:  00000000 00000000 01F80F08 04210455
0012FBCCh:  04200402 00000000 00000000 00000000
0012FBDCh:  01F80F18 00720061 00300032 00000000
0012FBECh:  00000000 00000000 6D350000 0012FB9C
0012FBFCh:  0012FC30 6D35C608 00000001 0012FC3C
0012FC0Ch:  6D35197B 8978AE6C 0012FC74 0012FCFC
0012FC1Ch:  00000000 0012F43C 01F81970 001B3B58
0012FC2Ch:  0012FC10 0012FC50 6D35C748 00000004
0012FC3Ch:  0012FC88 6D358FAD 01F81700 8978AE1C
0012FC4Ch:  01F81700 0012FC7C 6D35C7CB 00000000
0012FC5Ch:  0116A2CD 01209D8B 0121A0D4 00000007
0012FC6Ch:  00FAA828 00000005 6D3620FC 0116A293
0012FC7Ch:  0012FDB4 011F29B2 00000001 0012FDC0
0012FC8Ch:  0116B0FA FFFFFFFE 00000000 00000000
0012FC9Ch:  00DC0348 00000000 00005B87 00000000
0012FCACh:  00000000 01209DF4 00000000 00000000
Registers:
EAX: 0012FBAC, EBX: 00000000, ECX: 00000000, EDX: 01F70048
ESI: 01F81700, EDI: 6D360DA0, EBP: 0012FC08, ESP: 0012FB9C
Crash location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h

Loaded modules:
foobar2000                      loaded at 01130000h - 0126B000h
ntdll                            loaded at 77430000h - 77557000h
kernel32                        loaded at 77350000h - 7742B000h
COMCTL32                        loaded at 74A40000h - 74BDE000h
msvcrt                          loaded at 762E0000h - 7638A000h
ADVAPI32                        loaded at 76210000h - 762D6000h
RPCRT4                          loaded at 76140000h - 76203000h
GDI32                            loaded at 775C0000h - 7760B000h
USER32                          loaded at 76670000h - 7670D000h
SHLWAPI                          loaded at 77560000h - 775B8000h
SHELL32                          loaded at 76710000h - 7721F000h
ole32                            loaded at 763C0000h - 76504000h
shared                          loaded at 10000000h - 1002A000h
UxTheme                          loaded at 747E0000h - 7481F000h
COMDLG32                        loaded at 76560000h - 765D3000h
IMM32                            loaded at 76110000h - 7612E000h
MSCTF                            loaded at 75D40000h - 75E08000h
LPK                              loaded at 76130000h - 76139000h
USP10                            loaded at 77610000h - 7768D000h
foo_cdda                        loaded at 001B0000h - 001F0000h
foo_ui_std                      loaded at 00EC0000h - 00F94000h
gdiplus                          loaded at 74170000h - 7431B000h
MSIMG32                          loaded at 749C0000h - 749C5000h
foo_albumlist                    loaded at 00FC0000h - 0102B000h
foo_playcount_sql                loaded at 6D350000h - 6D366000h
OLEAUT32                        loaded at 765E0000h - 7666D000h
MSVCP90                          loaded at 6D200000h - 6D28E000h
MSVCR90                          loaded at 6D150000h - 6D1F3000h
foo_dsp_std                      loaded at 01030000h - 01078000h
foo_converter                    loaded at 010B0000h - 0111C000h
foo_input_std                    loaded at 021E0000h - 02320000h
foo_rgscan                      loaded at 01E70000h - 01ECB000h
pshook.dll                      loaded at 08000000h - 08008000h
CLBCatQ                          loaded at 75CB0000h - 75D34000h
sqlceca35                        loaded at 7D650000h - 7D6A5000h
CRYPT32                          loaded at 755F0000h - 756E1000h
MSASN1                          loaded at 75770000h - 75782000h
USERENV                          loaded at 75B60000h - 75B7E000h
Secur32                          loaded at 75B40000h - 75B54000h
WININET                          loaded at 75E10000h - 75EDF000h
Normaliz                        loaded at 76070000h - 76073000h
iertutil                        loaded at 760C0000h - 76105000h
MSVCR80                          loaded at 6CAB0000h - 6CB4B000h
WS2_32                          loaded at 76390000h - 763BD000h
NSI                              loaded at 76080000h - 76086000h
JSProxy                          loaded at 6F180000h - 6F18A000h
sqlceer35RU                      loaded at 02080000h - 020A7000h
sqlceoledb35                    loaded at 7D400000h - 7D42B000h
sqlcese35                        loaded at 7D550000h - 7D5A8000h
sqlceqp35                        loaded at 7D750000h - 7D7EE000h
imagehlp                        loaded at 76090000h - 760B9000h
dbghelp                          loaded at 725A0000h - 7267C000h

Stack dump analysis:
Address: 6D360DA0h, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Symbol: "foobar2000_get_interface" (+00007480h)
Address: 6D350000h, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Address: 6D35C608h, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Symbol: "foobar2000_get_interface" (+00002CE8h)
Address: 6D35197Bh, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Address: 001B3B58h, location: "foo_cdda", loaded at 001B0000h - 001F0000h
Address: 6D35C748h, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Symbol: "foobar2000_get_interface" (+00002E28h)
Address: 6D358FADh, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Address: 6D35C7CBh, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Symbol: "foobar2000_get_interface" (+00002EABh)
Address: 0116A2CDh, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 01209D8Bh, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 0121A0D4h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 6D3620FCh, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Symbol: "foobar2000_get_interface" (+000087DCh)
Address: 0116A293h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011F29B2h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 0116B0FAh, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 01209DF4h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 0121A0D4h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 77495955h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlAllocateHeap" (+000000AFh)
Address: 774958A6h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlAllocateHeap" (+00000000h)
Address: 0121A0D4h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 01130000h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 0113B8E2h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 01135194h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E6FB3h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E1650h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E6FB3h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E5408h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 1000258Fh, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000C8h)
Address: 0121075Ch, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011FB0C1h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 0116B426h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 01130000h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011DF9C1h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011DF9BBh, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 01201BC0h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011FFD20h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E1650h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011DF9BBh, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011DF9CFh, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011FFD20h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011FB24Dh, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E151Ah, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 01130000h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E9446h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E1650h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 77394911h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "BaseThreadInitThunk" (+00000012h)
Address: 7746E4B6h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlInitializeExceptionChain" (+00000063h)
Address: 773EF389h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 773EF389h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 77439834h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlUpdateTimer" (+00000605h)
Address: 7746E489h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlInitializeExceptionChain" (+00000036h)
Address: 011E1585h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E1585h, location: "foobar2000", loaded at 01130000h - 0126B000h

Version info:
foobar2000 v0.9.6.3
UNICODE
Windows 6.0


Additional info:
Standard DSP Array 1.0  (foo_dsp_std)
Album List 4.3  (foo_albumlist)
Converter 1.2  (foo_converter)
CD Audio Decoder 2.1.4  (foo_cdda)
Playback statistics SQL 1.1.1.0  (foo_playcount_sql)
foobar2000 core 0.9.6.3  (Core)
ReplayGain Scanner 2.0.8  (foo_rgscan)
Standard Input Array 1.0  (foo_input_std)
Default User Interface 0.9.5  (foo_ui_std)


Title: foo_playcount_sql
Post by: odyssey on 2009-03-12 09:04:48
I must admit that I have not (yet?) looked much into fooid, but this fingerprint id is not unique for any matching song. I believe it's pretty much a pattern that should be matched against another to create a similarity percentage. You choose to say that i.e. anything above 75% should be considered a duplicate.

Obviously you didn't thought it through, imagine a user with 100k tracks, now imagine the user want to quickly sort all the tracks by their playcount information, now what the application would need to do, is to match each fingerprint back to its respective memory item. Not such a fast process (since the strings are so long), in addition, saving an item to the DB would require this 75% string matching to be performed against every item in the DB, meaning O(n) string matches, since no indexes could be use with that case. In short, I can’t see this happening, not for an online application like foobar2000.

I thought a developer was to see the possebilities

I'm not even a real programmer (a scripter at most) and I can come up with a simple solution to this problem: Matching only needs to be done once to determine duplicate tracks. Scan the library and let it run all night to find duplicates according to a user specified threshold. Once duplicates are found, they are assigned a matching identifier in the db and now you would easily be able to sync tags across similar tracks or maybe even remove duplicate items in a playlist etc.

When new tracks are added to the database, each one still need to be matched against every track in the library, but it's still just something that can be done in relative short time. At least I would gladly be willing to offer the time it takes to do this. I don't remember how long it took last time I tried comparing duplicates on my entire library, but I'd be happy to try it out soon and post my findings.
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-12 09:16:56
I've posted version 1.1.2 this version should not crash now, but instead write errors to the foobar200 console. Please try it, and report the console errors.

Btw, if your portable installation is read-only in some way, it is obvious play count would not be saved...

Just make sure you have the DLL dated 11/03/2009 17:58, if fb2k still crashes with this version installed, i would like to see the updated crash log. Thanks.
Yes, foobar still crashes with error  (on portable installation)
But Standart installation of foobar works fine.
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 6D351ED4h
Access violation, operation: read, address: 00000000h
Call path:
entry=>initquit::on_init
Code bytes (6D351ED4h):
6D351E94h:  FF 68 08 C6 35 6D 64 A1 00 00 00 00 50 83 EC 50
6D351EA4h:  53 56 57 A1 1C 20 36 6D 33 C5 50 8D 45 F4 64 A3
6D351EB4h:  00 00 00 00 89 65 F0 8B F1 8D 45 A4 50 E8 3A F1
6D351EC4h:  FF FF C7 45 FC 00 00 00 00 C6 45 FC 01 8B 4E 0C
6D351ED4h:  8B 11 8B 52 04 8D 45 A4 50 FF D2 8D 46 58 50 8D
6D351EE4h:  4D BC 51 E8 54 FD FF FF 8D 56 10 52 8D 45 A4 50
6D351EF4h:  E8 47 FD FF FF 81 C6 A0 00 00 00 56 8D 4D D4 51
6D351F04h:  E8 37 FD FF FF 8D 5D A4 E8 4F F1 FF FF 8B 4D F4
Stack (0012FB9Ch):
0012FB7Ch:  00000000 00000000 00000000 00000000
0012FB8Ch:  00000000 00000000 00000000 00000000
0012FB9Ch:  8978AE58 6D360DA0 01F81700 00000000
0012FBACh:  01F80EF8 005C003A 006F0053 00000000
0012FBBCh:  00000000 00000000 01F80F08 04210455
0012FBCCh:  04200402 00000000 00000000 00000000
0012FBDCh:  01F80F18 00720061 00300032 00000000
0012FBECh:  00000000 00000000 6D350000 0012FB9C
0012FBFCh:  0012FC30 6D35C608 00000001 0012FC3C
0012FC0Ch:  6D35197B 8978AE6C 0012FC74 0012FCFC
0012FC1Ch:  00000000 0012F43C 01F81970 001B3B58
0012FC2Ch:  0012FC10 0012FC50 6D35C748 00000004
0012FC3Ch:  0012FC88 6D358FAD 01F81700 8978AE1C
0012FC4Ch:  01F81700 0012FC7C 6D35C7CB 00000000
0012FC5Ch:  0116A2CD 01209D8B 0121A0D4 00000007
0012FC6Ch:  00FAA828 00000005 6D3620FC 0116A293
0012FC7Ch:  0012FDB4 011F29B2 00000001 0012FDC0
0012FC8Ch:  0116B0FA FFFFFFFE 00000000 00000000
0012FC9Ch:  00DC0348 00000000 00005B87 00000000
0012FCACh:  00000000 01209DF4 00000000 00000000
Registers:
EAX: 0012FBAC, EBX: 00000000, ECX: 00000000, EDX: 01F70048
ESI: 01F81700, EDI: 6D360DA0, EBP: 0012FC08, ESP: 0012FB9C
Crash location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h

Loaded modules:
foobar2000                      loaded at 01130000h - 0126B000h
ntdll                            loaded at 77430000h - 77557000h
kernel32                        loaded at 77350000h - 7742B000h
COMCTL32                        loaded at 74A40000h - 74BDE000h
msvcrt                          loaded at 762E0000h - 7638A000h
ADVAPI32                        loaded at 76210000h - 762D6000h
RPCRT4                          loaded at 76140000h - 76203000h
GDI32                            loaded at 775C0000h - 7760B000h
USER32                          loaded at 76670000h - 7670D000h
SHLWAPI                          loaded at 77560000h - 775B8000h
SHELL32                          loaded at 76710000h - 7721F000h
ole32                            loaded at 763C0000h - 76504000h
shared                          loaded at 10000000h - 1002A000h
UxTheme                          loaded at 747E0000h - 7481F000h
COMDLG32                        loaded at 76560000h - 765D3000h
IMM32                            loaded at 76110000h - 7612E000h
MSCTF                            loaded at 75D40000h - 75E08000h
LPK                              loaded at 76130000h - 76139000h
USP10                            loaded at 77610000h - 7768D000h
foo_cdda                        loaded at 001B0000h - 001F0000h
foo_ui_std                      loaded at 00EC0000h - 00F94000h
gdiplus                          loaded at 74170000h - 7431B000h
MSIMG32                          loaded at 749C0000h - 749C5000h
foo_albumlist                    loaded at 00FC0000h - 0102B000h
foo_playcount_sql                loaded at 6D350000h - 6D366000h
OLEAUT32                        loaded at 765E0000h - 7666D000h
MSVCP90                          loaded at 6D200000h - 6D28E000h
MSVCR90                          loaded at 6D150000h - 6D1F3000h
foo_dsp_std                      loaded at 01030000h - 01078000h
foo_converter                    loaded at 010B0000h - 0111C000h
foo_input_std                    loaded at 021E0000h - 02320000h
foo_rgscan                      loaded at 01E70000h - 01ECB000h
pshook.dll                      loaded at 08000000h - 08008000h
CLBCatQ                          loaded at 75CB0000h - 75D34000h
sqlceca35                        loaded at 7D650000h - 7D6A5000h
CRYPT32                          loaded at 755F0000h - 756E1000h
MSASN1                          loaded at 75770000h - 75782000h
USERENV                          loaded at 75B60000h - 75B7E000h
Secur32                          loaded at 75B40000h - 75B54000h
WININET                          loaded at 75E10000h - 75EDF000h
Normaliz                        loaded at 76070000h - 76073000h
iertutil                        loaded at 760C0000h - 76105000h
MSVCR80                          loaded at 6CAB0000h - 6CB4B000h
WS2_32                          loaded at 76390000h - 763BD000h
NSI                              loaded at 76080000h - 76086000h
JSProxy                          loaded at 6F180000h - 6F18A000h
sqlceer35RU                      loaded at 02080000h - 020A7000h
sqlceoledb35                    loaded at 7D400000h - 7D42B000h
sqlcese35                        loaded at 7D550000h - 7D5A8000h
sqlceqp35                        loaded at 7D750000h - 7D7EE000h
imagehlp                        loaded at 76090000h - 760B9000h
dbghelp                          loaded at 725A0000h - 7267C000h

Stack dump analysis:
Address: 6D360DA0h, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Symbol: "foobar2000_get_interface" (+00007480h)
Address: 6D350000h, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Address: 6D35C608h, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Symbol: "foobar2000_get_interface" (+00002CE8h)
Address: 6D35197Bh, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Address: 001B3B58h, location: "foo_cdda", loaded at 001B0000h - 001F0000h
Address: 6D35C748h, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Symbol: "foobar2000_get_interface" (+00002E28h)
Address: 6D358FADh, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Address: 6D35C7CBh, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Symbol: "foobar2000_get_interface" (+00002EABh)
Address: 0116A2CDh, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 01209D8Bh, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 0121A0D4h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 6D3620FCh, location: "foo_playcount_sql", loaded at 6D350000h - 6D366000h
Symbol: "foobar2000_get_interface" (+000087DCh)
Address: 0116A293h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011F29B2h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 0116B0FAh, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 01209DF4h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 0121A0D4h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 77495955h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlAllocateHeap" (+000000AFh)
Address: 774958A6h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlAllocateHeap" (+00000000h)
Address: 0121A0D4h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 01130000h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 0113B8E2h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 01135194h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E6FB3h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E1650h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E6FB3h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E5408h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 1000258Fh, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000C8h)
Address: 0121075Ch, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011FB0C1h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 0116B426h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 01130000h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011DF9C1h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011DF9BBh, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 01201BC0h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011FFD20h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E1650h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011DF9BBh, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011DF9CFh, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011FFD20h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011FB24Dh, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E151Ah, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 01130000h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E9446h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E1650h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 77394911h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "BaseThreadInitThunk" (+00000012h)
Address: 7746E4B6h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlInitializeExceptionChain" (+00000063h)
Address: 773EF389h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 773EF389h, location: "kernel32", loaded at 77350000h - 7742B000h
Symbol: "UnhandledExceptionFilter" (+00000000h)
Address: 77439834h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlUpdateTimer" (+00000605h)
Address: 7746E489h, location: "ntdll", loaded at 77430000h - 77557000h
Symbol: "RtlInitializeExceptionChain" (+00000036h)
Address: 011E1585h, location: "foobar2000", loaded at 01130000h - 0126B000h
Address: 011E1585h, location: "foobar2000", loaded at 01130000h - 0126B000h

Version info:
foobar2000 v0.9.6.3
UNICODE
Windows 6.0


Additional info:
Standard DSP Array 1.0  (foo_dsp_std)
Album List 4.3  (foo_albumlist)
Converter 1.2  (foo_converter)
CD Audio Decoder 2.1.4  (foo_cdda)
Playback statistics SQL 1.1.1.0  (foo_playcount_sql)
foobar2000 core 0.9.6.3  (Core)
ReplayGain Scanner 2.0.8  (foo_rgscan)
Standard Input Array 1.0  (foo_input_std)
Default User Interface 0.9.5  (foo_ui_std)


Title: foo_playcount_sql
Post by: Nemphael on 2009-03-12 10:36:00
Obviously you didn't thought it through, imagine a user with 100k tracks, now imagine the user want to quickly sort all the tracks by their playcount information, now what the application would need to do, is to match each fingerprint back to its respective memory item. Not such a fast process (since the strings are so long), in addition, saving an item to the DB would require this 75% string matching to be performed against every item in the DB, meaning O(n) string matches, since no indexes could be use with that case. In short, I can't see this happening, not for an online application like foobar2000.

    I disagree. Of course, you'd need an initial matching. According to foosic.org, the search space can generally be cut down to 90-98%. Even with 100k tracks, that's a one time matching of >10k tracks for each new track you introduce to your library. If the track is in your database, you're likely to find it before O(n) operations, so O(n/2) at an average worst (Assuming you quickly want to find a (cluster of) duplicate).

  To avoid matching a track (whose play count you want to update) to all tracks in the database – create a key. This key then defines all tracks matched to each other – for instance three duplicates of The Beatles' Yesterday with the key, uhm, CRC32=254a6328 or MD5=2966b646df48c419b86ef52949f188b3 (http://www.fileformat.info/tool/hash.htm?text=Beatles|Yesterday). When updating, just lookup the key you've matched it to. Otherwise, when sorting, I imagine it'll be as fast as looking up artist and title. (EDIT: In fact, why not jsut use artist/title? *Facepalms*)

To summarize: for each cluster of duplicates, generate an ID string.

This is, though, only my suggestion. If anything is unclear, wrong or hardly optimal, I apologize for that. Although I want to be sometime, I'm not a developer/experienced programmer. (EDITAGAIN: And I don't know how the SQL server works.)
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-12 11:09:36
IMHO you reduced the hard problem of string matching, to the problem of clustering and maintaining the clusters. Now if the clustering was a onetime operation, it was good, since you reduced the long strings into something small as a hash, however since new tracks are added, you would need to perform the clustering operation on all the items again (every track is a potential duplicate).

Now as for the clustering itself, it’s not an 'easy problem', the most naive approach that doesn't take into account the nature of the problem will be O(n^3), and I don't I’m qualified to optimize this clustering problem.

If somehow, someone will make foo_biometric store a GUID / hash instead of that long string (that will represent a unique item), and will maintain and update it (using clustering or whatever), it would be possible for me to store it in a database, and easily index it, so it would be applicable for a play count application.

I disagree. Of course, you'd need an initial matching. According to foosic.org, the search space can generally be cut down to 90-98%. Even with 100k tracks, that's a one time matching of >10k tracks for each new track you introduce to your library. If the track is in your database, you're likely to find it before O(n) operations, so O(n/2) at an average worst (Assuming you quickly want to find a (cluster of) duplicate).

  To avoid matching a track (whose play count you want to update) to all tracks in the database – create a key. This key then defines all tracks matched to each other – for instance three duplicates of The Beatles' Yesterday with the key, uhm, CRC32=254a6328 or MD5=2966b646df48c419b86ef52949f188b3 (http://www.fileformat.info/tool/hash.htm?text=Beatles|Yesterday). When updating, just lookup the key you've matched it to. Otherwise, when sorting, I imagine it'll be as fast as looking up artist and title. (EDIT: In fact, why not jsut use artist/title? *Facepalms*)

To summarize: for each cluster of duplicates, generate an ID string.

This is, though, only my suggestion. If anything is unclear, wrong or hardly optimal, I apologize for that. Although I want to be sometime, I'm not a developer/experienced programmer. (EDITAGAIN: And I don't know how the SQL server works.)

Title: foo_playcount_sql
Post by: odyssey on 2009-03-12 11:18:22
If somehow, someone will make foo_biometric store a GUID / hash instead of that long string (that will represent a unique item), and will maintain and update it (using clustering or whatever), it would be possible for me to store it in a database, and easily index it, so it would be applicable for a play count application.

That's why I mentioned that I think you should get in touch with musicmusic, as he could probably use such input to develop an API for foo_biometrics.
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-12 20:52:44
version 1.2.1 posted, now imports the official file based statistics (one time)
Title: foo_playcount_sql
Post by: foosion on 2009-03-12 22:09:47
If the track is in your database, you're likely to find it before O(n) operations, so O(n/2) at an average worst (Assuming you quickly want to find a (cluster of) duplicate).
Big O notation: Multiplication by a constant (http://en.wikipedia.org/wiki/Big_O_notation#Multiplication_by_a_constant)</smartass>

Taking this kind of shortcut will also make the results depend on the order in which tracks are added.
Title: foo_playcount_sql
Post by: Jack Schmaltz on 2009-03-12 22:22:45
i was waiting for the import update, installed it & works great cheers.

1 request though, could you make it so it imports the added date aswell as my config uses it so had to keep the the standard playcount component in aswell.

apart from that great job, had no problems
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-12 22:30:14
i feel that added_date is more related to file based statistics, and less to meta data based statistics. You can still use that information from the official plugin.

1 request though, could you make it so it imports the added date aswell as my config uses it so had to keep the the standard playcount component in aswell.
Title: foo_playcount_sql
Post by: TuNk77 on 2009-03-12 23:24:22
Thank you very much for this component
I just installed the 1.2.0 verison, but foobar crashed, I just thought you might wanted to take a look at the crash log:

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7B1CFFA3h
Access violation, operation: write, address: 00000062h
Call path:
entry=>initquit::on_init=>threaded_process::run_modal=>main_thread_callback::callback_run=>on_playback_new_track
Code bytes (7B1CFFA3h):
7B1CFF63h:  CC CC CC CC CC 3F 2F 07 00 C4 D7 EB FF 57 56 8B
7B1CFF73h:  F9 8B 0D 58 54 FF 7A E8 31 7F F7 FF 8B F0 8B CE
7B1CFF83h:  BA 04 00 00 00 E8 83 44 F7 FF 8D 57 04 E8 23 7F
7B1CFF93h:  F7 FF 5E 5F C3 14 2F 07 00 7C A5 E1 FF 55 8B EC
7B1CFFA3h:  80 41 62 01 80 79 62 01 74 02 5D C3 8B 01 FF 90
7B1CFFB3h:  CC 02 00 00 EB F4 CC CC CC CC CC CC CC CC CC CC
7B1CFFC3h:  CC CC CC CC CC 1B A4 06 00 E4 9E E1 FF C3 CC CC
7B1CFFD3h:  CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC
Stack (0013F45Ch):
0013F43Ch:  0144DB9C 7C9C9508 77F643DD 7C9C9508
0013F44Ch:  00000004 00000000 0144D0A8 00000000
0013F45Ch:  0013F630 031DC046 79E73AA8 0013F478
0013F46Ch:  00E46E58 031DBCC0 D143B685 79E7A6B8
0013F47Ch:  0013F75C 00E47170 0013F458 031DBF79
0013F48Ch:  7A33AA20 FFFFFFFF 79E7A1A2 0013F630
0013F49Ch:  00160000 D143B685 00000000 00000000
0013F4ACh:  00000000 00000000 00F86320 00000000
0013F4BCh:  00000000 00000000 00000000 00000000
0013F4CCh:  00000000 00000000 00000000 00000000
0013F4DCh:  00000000 00000000 00000000 00000000
0013F4ECh:  00000000 00000000 00000000 00000000
0013F4FCh:  00000000 00000000 00E2117C 00E2117C
0013F50Ch:  00175B20 00000000 00000000 00000000
0013F51Ch:  00000000 00000000 00000000 00000000
0013F52Ch:  00000000 00000000 00000000 00000000
0013F53Ch:  00000000 00000000 00000000 00000000
0013F54Ch:  00000000 00000000 00D417D0 00D8212C
0013F55Ch:  00B5D688 0000004B 00000033 0013F55C
0013F56Ch:  00E2117C 00E2117C 00E2117C 00000000
Registers:
EAX: 7AFEA518, EBX: 0013F65C, ECX: 00000000, EDX: 00000000
ESI: 00E2117C, EDI: 00F86320, EBP: 0013F45C, ESP: 0013F45C
Crash location: "System.Windows.Forms.ni", loaded at 7AFD0000h - 7BBAD000h

Loaded modules:
foobar2000                      loaded at 00400000h - 0053B000h
ntdll                            loaded at 7C900000h - 7C9AF000h
kernel32                        loaded at 7C800000h - 7C8F6000h
COMCTL32                        loaded at 773D0000h - 774D3000h
msvcrt                          loaded at 77C10000h - 77C68000h
ADVAPI32                        loaded at 77DD0000h - 77E6B000h
RPCRT4                          loaded at 77E70000h - 77F02000h
Secur32                          loaded at 77FE0000h - 77FF1000h
GDI32                            loaded at 77F10000h - 77F59000h
USER32                          loaded at 7E410000h - 7E4A1000h
SHLWAPI                          loaded at 77F60000h - 77FD6000h
SHELL32                          loaded at 7C9C0000h - 7D1D7000h
ole32                            loaded at 774E0000h - 7761D000h
shared                          loaded at 10000000h - 1002A000h
UxTheme                          loaded at 5AD70000h - 5ADA8000h
COMDLG32                        loaded at 763B0000h - 763F9000h
ShimEng                          loaded at 5CB70000h - 5CB96000h
AcGenral                        loaded at 6F880000h - 6FA4A000h
WINMM                            loaded at 76B40000h - 76B6D000h
OLEAUT32                        loaded at 77120000h - 771AB000h
MSACM32                          loaded at 77BE0000h - 77BF5000h
VERSION                          loaded at 77C00000h - 77C08000h
USERENV                          loaded at 769C0000h - 76A74000h
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
foo_input_std                    loaded at 00B70000h - 00CB0000h
foo_uie_vis_peakmeter_spectrum  loaded at 00CD0000h - 00D0F000h
gdiplus                          loaded at 4EC50000h - 4EDF6000h
foo_prettypop                    loaded at 00D40000h - 00D8D000h
mscoree                          loaded at 79000000h - 79046000h
msvcm80                          loaded at 7C4C0000h - 7C53D000h
mscorwks                        loaded at 79E70000h - 7A400000h
mscorlib.ni                      loaded at 790C0000h - 79BB7000h
mscorjit                        loaded at 79060000h - 790BB000h
rsaenh                          loaded at 68000000h - 68036000h
foo_freedb2                      loaded at 032E0000h - 03321000h
foo_audioscrobbler              loaded at 03330000h - 03367000h
WS2_32                          loaded at 71AB0000h - 71AC7000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_biometric                    loaded at 033C0000h - 033F3000h
FooID                            loaded at 03410000h - 0342A000h
foo_ui_std                      loaded at 03460000h - 03534000h
MSIMG32                          loaded at 76380000h - 76385000h
foo_rgscan                      loaded at 03560000h - 035BB000h
foo_lyricsdb                    loaded at 035E0000h - 0360F000h
WININET                          loaded at 771B0000h - 7725A000h
CRYPT32                          loaded at 77A80000h - 77B15000h
MSASN1                          loaded at 77B20000h - 77B32000h
foo_random                      loaded at 03630000h - 0366F000h
foo_dsp_std                      loaded at 036E0000h - 03728000h
foo_dsp_centercut                loaded at 03730000h - 03755000h
foo_playcount_sql                loaded at 03760000h - 0377B000h
MSVCP90                          loaded at 78480000h - 7850D000h
MSVCR90                          loaded at 78520000h - 785C3000h
foo_uie_lyrics                  loaded at 037A0000h - 037FD000h
foo_playcount                    loaded at 03820000h - 0384A000h
foo_removeplayed                loaded at 03870000h - 03888000h
foo_verifier                    loaded at 038B0000h - 038E3000h
foo_dsp_vlevel20080302.0        loaded at 03910000h - 0391B000h
foo_dsp_delta                    loaded at 03930000h - 0394F000h
foo_fileops                      loaded at 03970000h - 039B6000h
foo_textdisplay                  loaded at 039E0000h - 03A1F000h
foo_utils                        loaded at 03A40000h - 03A84000h
foo_dockable_panels              loaded at 03AB0000h - 03AE3000h
foo_skip                        loaded at 03B10000h - 03B2B000h
foo_msnalt                      loaded at 03B50000h - 03B69000h
foo_cdda                        loaded at 03B90000h - 03BD0000h
foo_dsp_skip_silence            loaded at 03BF0000h - 03BFA000h
foo_albumlist                    loaded at 03C10000h - 03C7B000h
foo_infobox                      loaded at 03CA0000h - 03CE0000h
CLBCATQ                          loaded at 76FD0000h - 7704F000h
COMRes                          loaded at 77050000h - 77115000h
sqlceoledb35                    loaded at 7D400000h - 7D42B000h
sqlceer35EN                      loaded at 03F90000h - 03FB5000h
sqlcese35                        loaded at 7D550000h - 7D5A8000h
sqlceqp35                        loaded at 7D750000h - 7D7EE000h
System.ni                        loaded at 7A440000h - 7ABC5000h
System.Drawing.ni                loaded at 7ADE0000h - 7AF68000h
DSOUND                          loaded at 73F10000h - 73F6C000h
System.Windows.Forms.ni          loaded at 7AFD0000h - 7BBAD000h
WINTRUST                        loaded at 76C30000h - 76C5E000h
IMAGEHLP                        loaded at 76C90000h - 76CB8000h
wdmaud                          loaded at 72D20000h - 72D29000h
msacm32                          loaded at 72D10000h - 72D18000h
midimap                          loaded at 77BD0000h - 77BD7000h
KsUser                          loaded at 5EF80000h - 5EF84000h
DBGHELP                          loaded at 59A60000h - 59B01000h

Stack dump analysis:
Address: 79E73AA8h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 79E7A6B8h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 7A33AA20h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 79E7A1A2h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 00D417D0h, location: "foo_prettypop", loaded at 00D40000h - 00D8D000h
Address: 00D8212Ch, location: "foo_prettypop", loaded at 00D40000h - 00D8D000h
Address: 00D817A0h, location: "foo_prettypop", loaded at 00D40000h - 00D8D000h
Address: 79E71B4Ch, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 79E80AD1h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "DllUnregisterServerInternal" (+00004AB5h)
Address: 79E821B1h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "DllUnregisterServerInternal" (+00006195h)
Address: 79EDC3BCh, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "GetMetaDataInternalInterface" (+00009F49h)
Address: 79F908A2h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "CreateApplicationContext" (+0000A4C2h)
Address: 79FA987Ah, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "StrongNameErrorInfo" (+000053EEh)
Address: 79FA9A32h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "StrongNameErrorInfo" (+000055A6h)
Address: 00D817A0h, location: "foo_prettypop", loaded at 00D40000h - 00D8D000h
Address: 79FA9919h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "StrongNameErrorInfo" (+0000548Dh)
Address: 79E7A1C8h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 79E79D22h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 79E79D3Bh, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 7A3468D8h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 79FA9B56h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "StrongNameErrorInfo" (+000056CAh)
Address: 7A33ED77h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 79FCB323h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "StrongNameErrorInfo" (+00026E97h)
Address: 79FCB374h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "StrongNameErrorInfo" (+00026EE8h)
Address: 7C90D32Ch, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "ZwFlushInstructionCache" (+0000000Ch)
Address: 7C8355ECh, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "FlushInstructionCache" (+00000018h)
Address: 79EC74C2h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "StrongNameFreeBuffer" (+0000B38Ah)
Address: 79F891AAh, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "CreateApplicationContext" (+00002DCAh)
Address: 7A346967h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 7A00B758h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "Ordinal24" (+0000461Dh)
Address: 0044F97Dh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00D817A0h, location: "foo_prettypop", loaded at 00D40000h - 00D8D000h
Address: 79E737B0h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 0044F97Dh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00D817A0h, location: "foo_prettypop", loaded at 00D40000h - 00D8D000h
Address: 005071B9h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00444000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004C31C7h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00450909h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00504588h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00507ABCh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004A44DFh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 1000258Fh, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000C8h)
Address: 004C2FDDh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0043CB39h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0043CC8Fh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004E0C4Ch, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7E42B401h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "CallNextHookEx" (+0000003Bh)
Address: 004174EBh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004DD574h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00507ABCh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004C352Fh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0043CCAEh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7E418734h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "GetDC" (+0000006Dh)
Address: 0043CC8Fh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0043CC8Fh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7E418816h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "GetDC" (+0000014Fh)
Address: 0043CC8Fh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7E44048Fh, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E418830h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "GetDC" (+00000169h)
Address: 7E4189CDh, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "GetWindowLongW" (+00000127h)
Address: 0043CC8Fh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7E44048Fh, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E4189F0h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "GetWindowLongW" (+0000014Ah)
Address: 7E418A10h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "DispatchMessageW" (+0000000Fh)
Address: 7E427721h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "CallMsgFilterW" (+00000213h)
Address: 7E4249C4h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "GetCursorFrameInfo" (+000001CCh)
Address: 7E424A06h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "DialogBoxIndirectParamAorW" (+00000036h)
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0051DADCh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00403692h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7E4247EAh, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "DialogBoxParamW" (+0000003Fh)
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0051DADCh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00403692h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00473214h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00403692h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 005050D0h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004E550Ch, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004E552Ch, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7C91003Dh, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 004DF89Ch, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004D9DF4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004D9DF4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004EA0D4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004EA0D4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7C810693h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "CreateRemoteThread" (+000001D7h)
Address: 7C90D001h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "ZwCompareTokens" (+00000001h)
Address: 004C8555h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0376B066h, location: "foo_playcount_sql", loaded at 03760000h - 0377B000h
Address: 03770B38h, location: "foo_playcount_sql", loaded at 03760000h - 0377B000h
Address: 005050D0h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0376DCC0h, location: "foo_playcount_sql", loaded at 03760000h - 0377B000h
Address: 03769E06h, location: "foo_playcount_sql", loaded at 03760000h - 0377B000h
Address: 03770B38h, location: "foo_playcount_sql", loaded at 03760000h - 0377B000h
Address: 00417036h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0376E973h, location: "foo_playcount_sql", loaded at 03760000h - 0377B000h
Address: 0043A2CDh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004D9D8Bh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004EA0D4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 03775110h, location: "foo_playcount_sql", loaded at 03760000h - 0377B000h
Address: 0043A293h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004C29B2h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0043B0FAh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004D9DF4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004EA0D4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004EA0D4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7C90E900h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "strchr" (+00000113h)
Address: 7C9101C0h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlAllocateHeap" (+0000011Ch)
Address: 7C9101BBh, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 004B6FB3h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B1650h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B6FB3h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B5408h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 1000258Fh, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000C8h)
Address: 004E075Ch, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004CB0C1h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004E075Ch, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0043B426h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004AF9C1h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004AF9BBh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004D1BC0h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004CFD20h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B1650h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004AF9BBh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004AF9CFh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004CFD20h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004CB24Dh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B151Ah, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B1650h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7C817067h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "RegisterWaitForInputIdle" (+00000049h)
Address: 7C839AC0h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C817070h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "RegisterWaitForInputIdle" (+00000052h)
Address: 004B1585h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004E0049h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004F0044h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00530057h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B0063h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00530022h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00500069h, location: "foobar2000", loaded at 00400000h - 0053B000h

Version info:
foobar2000 v0.9.6.3
UNICODE
Windows 5.1


Additional info:
VLevel 20080302.0  (foo_dsp_vlevel20080302.0)
Album List 4.3  (foo_albumlist)
Audioscrobbler 1.3.6  (foo_audioscrobbler)
Remove played Files 1.4.0  (foo_removeplayed)
File Integrity Verifier 1.0.4  (foo_verifier)
Default User Interface 0.9.5  (foo_ui_std)
Playlist Tools 0.6.2 beta 6  (foo_utils)
File Operations 2.1.1  (foo_fileops)
Standard DSP Array 1.0  (foo_dsp_std)
Text Display UI Element 1.0 RC 3  (foo_textdisplay)
Randomized playlist entry 1.2.3  (foo_random)
Lyric Show Panel 0.3.3.8 [Dec 11 2008 - 13:46:54]  (foo_uie_lyrics)
ReplayGain Scanner 2.0.8  (foo_rgscan)
foo_skip 0.2  (foo_skip)
Pretty Popup 1.2.3  (foo_prettypop)
foo_lyricsdb 0.0.7 beta 5  (foo_lyricsdb)
Fingerprint tools 0.2  (foo_biometric)
Noise Sharpening DSP 1.0.0  (foo_dsp_delta)
freedb Tagger 0.6.1  (foo_freedb2)
Center Cut 1.0.1  (foo_dsp_centercut)
CD Audio Decoder 2.1.4  (foo_cdda)
Dockable Panels 1.0.7b [Mar 28 2007 - 09:18:48]  (foo_dockable_panels)
Peakmeter Spectrum Visualisation 0.2.0.0 beta  (foo_uie_vis_peakmeter_spectrum)
Playback Statistics 2.1.7  (foo_playcount)
foobar2000 core 0.9.6.3  (Core)
Skip silence 0.1  (foo_dsp_skip_silence)
Special file info box 2.0.4  (foo_infobox)
Standard Input Array 1.0  (foo_input_std)
Playback statistics SQL 1.2.1.0  (foo_playcount_sql)
MSN Now Playing (alt) 2.4  (foo_msnalt)
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-12 23:36:41
From looking at the log, i can't see something specific to foo_playcount_sql, try to see if it reproduces without foo_prettypop. If so, please post the new crash log.

Thank you very much for this component
I just installed the 1.2.0 verison, but foobar crashed, I just thought you might wanted to take a look at the crash log:

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7B1CFFA3h
Access violation, operation: write, address: 00000062h
Call path:
entry=>initquit::on_init=>threaded_process::run_modal=>main_thread_callback::callback_run=>on_playback_new_track
Code bytes (7B1CFFA3h):
7B1CFF63h:  CC CC CC CC CC 3F 2F 07 00 C4 D7 EB FF 57 56 8B
7B1CFF73h:  F9 8B 0D 58 54 FF 7A E8 31 7F F7 FF 8B F0 8B CE
7B1CFF83h:  BA 04 00 00 00 E8 83 44 F7 FF 8D 57 04 E8 23 7F
7B1CFF93h:  F7 FF 5E 5F C3 14 2F 07 00 7C A5 E1 FF 55 8B EC
7B1CFFA3h:  80 41 62 01 80 79 62 01 74 02 5D C3 8B 01 FF 90
7B1CFFB3h:  CC 02 00 00 EB F4 CC CC CC CC CC CC CC CC CC CC
7B1CFFC3h:  CC CC CC CC CC 1B A4 06 00 E4 9E E1 FF C3 CC CC
7B1CFFD3h:  CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC
Stack (0013F45Ch):
0013F43Ch:  0144DB9C 7C9C9508 77F643DD 7C9C9508
0013F44Ch:  00000004 00000000 0144D0A8 00000000
0013F45Ch:  0013F630 031DC046 79E73AA8 0013F478
0013F46Ch:  00E46E58 031DBCC0 D143B685 79E7A6B8
0013F47Ch:  0013F75C 00E47170 0013F458 031DBF79
0013F48Ch:  7A33AA20 FFFFFFFF 79E7A1A2 0013F630
0013F49Ch:  00160000 D143B685 00000000 00000000
0013F4ACh:  00000000 00000000 00F86320 00000000
0013F4BCh:  00000000 00000000 00000000 00000000
0013F4CCh:  00000000 00000000 00000000 00000000
0013F4DCh:  00000000 00000000 00000000 00000000
0013F4ECh:  00000000 00000000 00000000 00000000
0013F4FCh:  00000000 00000000 00E2117C 00E2117C
0013F50Ch:  00175B20 00000000 00000000 00000000
0013F51Ch:  00000000 00000000 00000000 00000000
0013F52Ch:  00000000 00000000 00000000 00000000
0013F53Ch:  00000000 00000000 00000000 00000000
0013F54Ch:  00000000 00000000 00D417D0 00D8212C
0013F55Ch:  00B5D688 0000004B 00000033 0013F55C
0013F56Ch:  00E2117C 00E2117C 00E2117C 00000000
Registers:
EAX: 7AFEA518, EBX: 0013F65C, ECX: 00000000, EDX: 00000000
ESI: 00E2117C, EDI: 00F86320, EBP: 0013F45C, ESP: 0013F45C
Crash location: "System.Windows.Forms.ni", loaded at 7AFD0000h - 7BBAD000h

Loaded modules:
foobar2000                      loaded at 00400000h - 0053B000h
ntdll                            loaded at 7C900000h - 7C9AF000h
kernel32                        loaded at 7C800000h - 7C8F6000h
COMCTL32                        loaded at 773D0000h - 774D3000h
msvcrt                          loaded at 77C10000h - 77C68000h
ADVAPI32                        loaded at 77DD0000h - 77E6B000h
RPCRT4                          loaded at 77E70000h - 77F02000h
Secur32                          loaded at 77FE0000h - 77FF1000h
GDI32                            loaded at 77F10000h - 77F59000h
USER32                          loaded at 7E410000h - 7E4A1000h
SHLWAPI                          loaded at 77F60000h - 77FD6000h
SHELL32                          loaded at 7C9C0000h - 7D1D7000h
ole32                            loaded at 774E0000h - 7761D000h
shared                          loaded at 10000000h - 1002A000h
UxTheme                          loaded at 5AD70000h - 5ADA8000h
COMDLG32                        loaded at 763B0000h - 763F9000h
ShimEng                          loaded at 5CB70000h - 5CB96000h
AcGenral                        loaded at 6F880000h - 6FA4A000h
WINMM                            loaded at 76B40000h - 76B6D000h
OLEAUT32                        loaded at 77120000h - 771AB000h
MSACM32                          loaded at 77BE0000h - 77BF5000h
VERSION                          loaded at 77C00000h - 77C08000h
USERENV                          loaded at 769C0000h - 76A74000h
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
foo_input_std                    loaded at 00B70000h - 00CB0000h
foo_uie_vis_peakmeter_spectrum  loaded at 00CD0000h - 00D0F000h
gdiplus                          loaded at 4EC50000h - 4EDF6000h
foo_prettypop                    loaded at 00D40000h - 00D8D000h
mscoree                          loaded at 79000000h - 79046000h
msvcm80                          loaded at 7C4C0000h - 7C53D000h
mscorwks                        loaded at 79E70000h - 7A400000h
mscorlib.ni                      loaded at 790C0000h - 79BB7000h
mscorjit                        loaded at 79060000h - 790BB000h
rsaenh                          loaded at 68000000h - 68036000h
foo_freedb2                      loaded at 032E0000h - 03321000h
foo_audioscrobbler              loaded at 03330000h - 03367000h
WS2_32                          loaded at 71AB0000h - 71AC7000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_biometric                    loaded at 033C0000h - 033F3000h
FooID                            loaded at 03410000h - 0342A000h
foo_ui_std                      loaded at 03460000h - 03534000h
MSIMG32                          loaded at 76380000h - 76385000h
foo_rgscan                      loaded at 03560000h - 035BB000h
foo_lyricsdb                    loaded at 035E0000h - 0360F000h
WININET                          loaded at 771B0000h - 7725A000h
CRYPT32                          loaded at 77A80000h - 77B15000h
MSASN1                          loaded at 77B20000h - 77B32000h
foo_random                      loaded at 03630000h - 0366F000h
foo_dsp_std                      loaded at 036E0000h - 03728000h
foo_dsp_centercut                loaded at 03730000h - 03755000h
foo_playcount_sql                loaded at 03760000h - 0377B000h
MSVCP90                          loaded at 78480000h - 7850D000h
MSVCR90                          loaded at 78520000h - 785C3000h
foo_uie_lyrics                  loaded at 037A0000h - 037FD000h
foo_playcount                    loaded at 03820000h - 0384A000h
foo_removeplayed                loaded at 03870000h - 03888000h
foo_verifier                    loaded at 038B0000h - 038E3000h
foo_dsp_vlevel20080302.0        loaded at 03910000h - 0391B000h
foo_dsp_delta                    loaded at 03930000h - 0394F000h
foo_fileops                      loaded at 03970000h - 039B6000h
foo_textdisplay                  loaded at 039E0000h - 03A1F000h
foo_utils                        loaded at 03A40000h - 03A84000h
foo_dockable_panels              loaded at 03AB0000h - 03AE3000h
foo_skip                        loaded at 03B10000h - 03B2B000h
foo_msnalt                      loaded at 03B50000h - 03B69000h
foo_cdda                        loaded at 03B90000h - 03BD0000h
foo_dsp_skip_silence            loaded at 03BF0000h - 03BFA000h
foo_albumlist                    loaded at 03C10000h - 03C7B000h
foo_infobox                      loaded at 03CA0000h - 03CE0000h
CLBCATQ                          loaded at 76FD0000h - 7704F000h
COMRes                          loaded at 77050000h - 77115000h
sqlceoledb35                    loaded at 7D400000h - 7D42B000h
sqlceer35EN                      loaded at 03F90000h - 03FB5000h
sqlcese35                        loaded at 7D550000h - 7D5A8000h
sqlceqp35                        loaded at 7D750000h - 7D7EE000h
System.ni                        loaded at 7A440000h - 7ABC5000h
System.Drawing.ni                loaded at 7ADE0000h - 7AF68000h
DSOUND                          loaded at 73F10000h - 73F6C000h
System.Windows.Forms.ni          loaded at 7AFD0000h - 7BBAD000h
WINTRUST                        loaded at 76C30000h - 76C5E000h
IMAGEHLP                        loaded at 76C90000h - 76CB8000h
wdmaud                          loaded at 72D20000h - 72D29000h
msacm32                          loaded at 72D10000h - 72D18000h
midimap                          loaded at 77BD0000h - 77BD7000h
KsUser                          loaded at 5EF80000h - 5EF84000h
DBGHELP                          loaded at 59A60000h - 59B01000h

Stack dump analysis:
Address: 79E73AA8h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 79E7A6B8h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 7A33AA20h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 79E7A1A2h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 00D417D0h, location: "foo_prettypop", loaded at 00D40000h - 00D8D000h
Address: 00D8212Ch, location: "foo_prettypop", loaded at 00D40000h - 00D8D000h
Address: 00D817A0h, location: "foo_prettypop", loaded at 00D40000h - 00D8D000h
Address: 79E71B4Ch, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 79E80AD1h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "DllUnregisterServerInternal" (+00004AB5h)
Address: 79E821B1h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "DllUnregisterServerInternal" (+00006195h)
Address: 79EDC3BCh, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "GetMetaDataInternalInterface" (+00009F49h)
Address: 79F908A2h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "CreateApplicationContext" (+0000A4C2h)
Address: 79FA987Ah, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "StrongNameErrorInfo" (+000053EEh)
Address: 79FA9A32h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "StrongNameErrorInfo" (+000055A6h)
Address: 00D817A0h, location: "foo_prettypop", loaded at 00D40000h - 00D8D000h
Address: 79FA9919h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "StrongNameErrorInfo" (+0000548Dh)
Address: 79E7A1C8h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 79E79D22h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 79E79D3Bh, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 7A3468D8h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 79FA9B56h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "StrongNameErrorInfo" (+000056CAh)
Address: 7A33ED77h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 79FCB323h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "StrongNameErrorInfo" (+00026E97h)
Address: 79FCB374h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "StrongNameErrorInfo" (+00026EE8h)
Address: 7C90D32Ch, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "ZwFlushInstructionCache" (+0000000Ch)
Address: 7C8355ECh, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "FlushInstructionCache" (+00000018h)
Address: 79EC74C2h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "StrongNameFreeBuffer" (+0000B38Ah)
Address: 79F891AAh, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "CreateApplicationContext" (+00002DCAh)
Address: 7A346967h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 7A00B758h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Symbol: "Ordinal24" (+0000461Dh)
Address: 0044F97Dh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00D817A0h, location: "foo_prettypop", loaded at 00D40000h - 00D8D000h
Address: 79E737B0h, location: "mscorwks", loaded at 79E70000h - 7A400000h
Address: 0044F97Dh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00D817A0h, location: "foo_prettypop", loaded at 00D40000h - 00D8D000h
Address: 005071B9h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00444000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004C31C7h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00450909h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00504588h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00507ABCh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004A44DFh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 1000258Fh, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000C8h)
Address: 004C2FDDh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0043CB39h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0043CC8Fh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004E0C4Ch, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7E42B401h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "CallNextHookEx" (+0000003Bh)
Address: 004174EBh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004DD574h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00507ABCh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004C352Fh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0043CCAEh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7E418734h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "GetDC" (+0000006Dh)
Address: 0043CC8Fh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0043CC8Fh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7E418816h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "GetDC" (+0000014Fh)
Address: 0043CC8Fh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7E44048Fh, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E418830h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "GetDC" (+00000169h)
Address: 7E4189CDh, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "GetWindowLongW" (+00000127h)
Address: 0043CC8Fh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7E44048Fh, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E4189F0h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "GetWindowLongW" (+0000014Ah)
Address: 7E418A10h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "DispatchMessageW" (+0000000Fh)
Address: 7E427721h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "CallMsgFilterW" (+00000213h)
Address: 7E4249C4h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "GetCursorFrameInfo" (+000001CCh)
Address: 7E424A06h, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "DialogBoxIndirectParamAorW" (+00000036h)
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0051DADCh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00403692h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7E4247EAh, location: "USER32", loaded at 7E410000h - 7E4A1000h
Symbol: "DialogBoxParamW" (+0000003Fh)
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0051DADCh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00403692h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00473214h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00403692h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 005050D0h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004E550Ch, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004E552Ch, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7C91003Dh, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 004DF89Ch, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004D9DF4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004D9DF4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004EA0D4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004EA0D4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7C810693h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "CreateRemoteThread" (+000001D7h)
Address: 7C90D001h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "ZwCompareTokens" (+00000001h)
Address: 004C8555h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0376B066h, location: "foo_playcount_sql", loaded at 03760000h - 0377B000h
Address: 03770B38h, location: "foo_playcount_sql", loaded at 03760000h - 0377B000h
Address: 005050D0h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0376DCC0h, location: "foo_playcount_sql", loaded at 03760000h - 0377B000h
Address: 03769E06h, location: "foo_playcount_sql", loaded at 03760000h - 0377B000h
Address: 03770B38h, location: "foo_playcount_sql", loaded at 03760000h - 0377B000h
Address: 00417036h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0376E973h, location: "foo_playcount_sql", loaded at 03760000h - 0377B000h
Address: 0043A2CDh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004D9D8Bh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004EA0D4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 03775110h, location: "foo_playcount_sql", loaded at 03760000h - 0377B000h
Address: 0043A293h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004C29B2h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0043B0FAh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004D9DF4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004EA0D4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004EA0D4h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7C90E900h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "strchr" (+00000113h)
Address: 7C9101C0h, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlAllocateHeap" (+0000011Ch)
Address: 7C9101BBh, location: "ntdll", loaded at 7C900000h - 7C9AF000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 004B6FB3h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B1650h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B6FB3h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B5408h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 1000258Fh, location: "shared", loaded at 10000000h - 1002A000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000C8h)
Address: 004E075Ch, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004CB0C1h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004E075Ch, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 0043B426h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004AF9C1h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004AF9BBh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004D1BC0h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004CFD20h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B1650h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004AF9BBh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004AF9CFh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004CFD20h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004CB24Dh, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B151Ah, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B1650h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 7C817067h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "RegisterWaitForInputIdle" (+00000049h)
Address: 7C839AC0h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C817070h, location: "kernel32", loaded at 7C800000h - 7C8F6000h
Symbol: "RegisterWaitForInputIdle" (+00000052h)
Address: 004B1585h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004E0049h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004F0044h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00530057h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 004B0063h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00530022h, location: "foobar2000", loaded at 00400000h - 0053B000h
Address: 00500069h, location: "foobar2000", loaded at 00400000h - 0053B000h

Version info:
foobar2000 v0.9.6.3
UNICODE
Windows 5.1


Additional info:
VLevel 20080302.0  (foo_dsp_vlevel20080302.0)
Album List 4.3  (foo_albumlist)
Audioscrobbler 1.3.6  (foo_audioscrobbler)
Remove played Files 1.4.0  (foo_removeplayed)
File Integrity Verifier 1.0.4  (foo_verifier)
Default User Interface 0.9.5  (foo_ui_std)
Playlist Tools 0.6.2 beta 6  (foo_utils)
File Operations 2.1.1  (foo_fileops)
Standard DSP Array 1.0  (foo_dsp_std)
Text Display UI Element 1.0 RC 3  (foo_textdisplay)
Randomized playlist entry 1.2.3  (foo_random)
Lyric Show Panel 0.3.3.8 [Dec 11 2008 - 13:46:54]  (foo_uie_lyrics)
ReplayGain Scanner 2.0.8  (foo_rgscan)
foo_skip 0.2  (foo_skip)
Pretty Popup 1.2.3  (foo_prettypop)
foo_lyricsdb 0.0.7 beta 5  (foo_lyricsdb)
Fingerprint tools 0.2  (foo_biometric)
Noise Sharpening DSP 1.0.0  (foo_dsp_delta)
freedb Tagger 0.6.1  (foo_freedb2)
Center Cut 1.0.1  (foo_dsp_centercut)
CD Audio Decoder 2.1.4  (foo_cdda)
Dockable Panels 1.0.7b [Mar 28 2007 - 09:18:48]  (foo_dockable_panels)
Peakmeter Spectrum Visualisation 0.2.0.0 beta  (foo_uie_vis_peakmeter_spectrum)
Playback Statistics 2.1.7  (foo_playcount)
foobar2000 core 0.9.6.3  (Core)
Skip silence 0.1  (foo_dsp_skip_silence)
Special file info box 2.0.4  (foo_infobox)
Standard Input Array 1.0  (foo_input_std)
Playback statistics SQL 1.2.1.0  (foo_playcount_sql)
MSN Now Playing (alt) 2.4  (foo_msnalt)
Title: foo_playcount_sql
Post by: Galleon on 2009-03-13 04:03:27
Plugin works fine, tnanks Jsheridan ! But how can i imports the file based play count data into the SQL database one more time ?
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-13 09:03:12
You can't do it directly, but there is a workarround.
1. Remove foo_playcount_sql from the components dir (just the DLL)
2. start fb2k
3. Make sure you tell fb2k NOT to save the foo_playcount_sql settings.
4. close fb2k
5. Copy the foo_playcount_sql plugin to the components dir
6. restart fb2k

At this point, the first time import should restart.

Plugin works fine, tnanks Jsheridan ! But how can i imports the file based play count data into the SQL database one more time ?

Title: foo_playcount_sql
Post by: TuNk77 on 2009-03-13 23:59:36
The crash happened one once, I haven't removed foo_prettypop, it could be my fault, but I'm not sure... Everything seems to run just fine now.
Would it be possible to implement rating in foo_playcount_sql? I one ask because if I remove foo_playcount, I can't rate songs, but having foo_playcount and foo_playcount_sql will display too much info in the selection properties.
I hope you understand what i mean

Thanks
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-14 13:41:52
version 1.3 posted
Title: foo_playcount_sql
Post by: pIv on 2009-03-15 14:02:05
I install version 1.3.

1. Speed of import playback statistic is very slow. Library size is ~ 130 Gb.

2. In DUI I create columns with "first_played" and "first_played_sql".  First_played_sql not equal  first_played in many case, but  last_played_sql is equal  last_played.
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-15 14:15:10
1. Well, its a one time process, which runs alot of SQL queries at once. I see no point in trying to optimize it, since again, its one time.

2. Are those cases when the track (artist/album/title) has more than one source (two different files). if so, that makes sense, and to be expected.

I install version 1.3.

1. Speed of import playback statistic is very slow. Library size is ~ 130 Gb.

2. In DUI I create columns with "first_played" and "first_played_sql".  First_played_sql not equal  first_played in many case, but  last_played_sql is equal  last_played.

Title: foo_playcount_sql
Post by: Onkel Andy on 2009-03-16 09:30:07
Thanks for the cool work.. Now, the thing would be really brilliant if it worked with an online databse. You know, to track the playcounts no matter whether you are in the office, at home or elsewhere.. Any intentions to include such a functionality?

Thanks alot.
Title: foo_playcount_sql
Post by: odyssey on 2009-03-16 09:37:31
Thanks for the cool work.. Now, the thing would be really brilliant if it worked with an online databse. You know, to track the playcounts no matter whether you are in the office, at home or elsewhere.. Any intentions to include such a functionality?

You mean like last.fm? (http://www.hydrogenaudio.org/forums/index.php?showtopic=70406&hl=)
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-17 11:22:43
Version 1.4 posted.

Main addition is ratings support. I Suggest backuping PlayCount.sdf before upgrading, since the DB is upgraded too.

Previous ratings are imported (One time)
Title: foo_playcount_sql
Post by: tedgo on 2009-03-17 12:52:46
Very nice
It adds a long awaited Rating (Album) info to the properties, but how can i grab this info to display the average rating in Playlists?
Title: foo_playcount_sql
Post by: eradumvelhinho on 2009-03-17 13:03:35
I have a question. SInce I installed this component my foobar takes more time (more 20-30 secs) to open. Is that normal?
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-17 13:18:18
Do you have autoplaylists, or large playlists that are opened by default?

I'm going to try optimize startup times for the next version for that scenario.

I have a question. SInce I installed this component my foobar takes more time (more 20-30 secs) to open. Is that normal?

Title: foo_playcount_sql
Post by: eradumvelhinho on 2009-03-17 13:32:40
Do you have autoplaylists, or large playlists that are opened by default?


Yes I do. I have 16 autoplaylists. Thansk for the quick answer and for the component.
Title: foo_playcount_sql
Post by: novembre on 2009-03-17 13:56:33
Just a cosmetic thing: can the statistic have a better order, like first track statistics, then album statistics, then artist's? Right now they don't seem to have a logic order:
Quote
Played (Track) : 5 times
First Played (Track) : 2008-02-28 16:06:45
Last Played (Track) : 2008-06-28 19:35:38
Played (Artist) : 193 times
Rating (Track) : ★★★★★
First Played (Artist) : 2008-02-26 15:54:24
Last Played (Artist) : 2009-03-17 14:41:45
Played (Album) : 21 times
Rating (Artist) : 4.240
First Played (Album) : 2008-02-28 16:06:45
Last Played (Album) : 2009-02-14 17:43:02
Rating (Album) : 4.800
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-17 14:51:01
version 1.4.1 posted

better startup times, plus a change of the properties order due to request.
Title: foo_playcount_sql
Post by: eradumvelhinho on 2009-03-17 16:05:21
Since you introduced the ratings and the component imports the rating, my foobar doesn't work anymore. I start foobar it starts to import the ratings (aprox 40 minutes), then the disc activity stops, the window "importing ....to SQl" it's still there and foobar doesn't respond. If I close foobar the next time it starts, he does everything all over again. Any guess?
Title: foo_playcount_sql
Post by: novembre on 2009-03-17 16:10:57
That's quick! Thank you!
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-17 16:50:18
@ eradumvelhinho:

I guess its because of the autoplaylists that you have.

1. Try the following, temporary remove the plugin.
2. start fb2k (save the settings of the plugin)
3. remove the autoplaylists (save them for latter) / big playlists
4. add the plugin
5. start fb2k
6. at this point, the import should finish faster (i hope)
7. readd the autoplaylists

Since you introduced the ratings and the component imports the rating, my foobar doesn't work anymore. I start foobar it starts to import the ratings (aprox 40 minutes), then the disc activity stops, the window "importing ....to SQl" it's still there and foobar doesn't respond. If I close foobar the next time it starts, he does everything all over again. Any guess?

Title: foo_playcount_sql
Post by: jsheridan on 2009-03-17 17:03:56
Did you installed the required DB libraries too?

I haven't managed to get this thing work neither with foo_prettypop.dll nor without it under Vista Ultimate x64 SP1 on Foobar 0.9.6.4b2. Though I have both MS Visual C++ 2008 and Framework 3.5 SP1 onboard.

Title: foo_playcount_sql
Post by: acmodeu on 2009-03-17 17:56:49
Now everything seems to work fine. I've misread Microsoft SQL Server Compact 3.5 Service Pack 1 with Microsoft NET.Framework 3.5 Service Pack 1
Waiting for per artist statistics.
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-17 18:25:43
Artist and album statistics are not yet available from title formatting.

This is because unlike track statistics, those are still not cached, and performed directly against the DB.

Performing N queries (where N can be the whole media library when using auto playlists or playlists with all the DB) without using an effective cache takes too long to complete, and will freeze the GUI for an unacceptable period of time.

This is why for the moment it’s only available from the properties dialog (one at a time query).
What I will add at the upcoming versions, are statistics forms (like the last played form), which performs one statistics query against the DB (which is very fast), and will display favorite artists/ albums/ etc...
Title: foo_playcount_sql
Post by: eradumvelhinho on 2009-03-17 21:12:07
@ eradumvelhinho:

I guess its because of the autoplaylists that you have.

1. Try the following, temporary remove the plugin.
2. start fb2k (save the settings of the plugin)
3. remove the autoplaylists (save them for latter) / big playlists
4. add the plugin
5. start fb2k
6. at this point, the import should finish faster (i hope)
7. readd the autoplaylists


Ok. It did work. The startup time is still slow (and I still have to put more autoplaylists) but I can live with that.
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-17 22:39:59
Please try version 1.4.2 and tell me if you notice any improvement (startup times and otherwise)

@ eradumvelhinho:

I guess its because of the autoplaylists that you have.

1. Try the following, temporary remove the plugin.
2. start fb2k (save the settings of the plugin)
3. remove the autoplaylists (save them for latter) / big playlists
4. add the plugin
5. start fb2k
6. at this point, the import should finish faster (i hope)
7. readd the autoplaylists


Ok. It did work. The startup time is still slow (and I still have to put more autoplaylists) but I can live with that.

Title: foo_playcount_sql
Post by: eradumvelhinho on 2009-03-18 00:27:50
I installed 1.4.2 and I did not notice any improvement in terms of startup times. With the component I have this Startup time : 1:20.956900. Without it I have Startup time : 0:40.674943.

Maybe it's normal.

Title: foo_playcount_sql
Post by: TuNk77 on 2009-03-18 00:54:46
My startup time with the v1.4.2 is 0:01.877492, having one large playlist (13944 songs)
Title: foo_playcount_sql
Post by: Galleon on 2009-03-18 07:03:17
I have a question. How can I use new tags in the playlist view? for example to display %Played (Artist)% or there is no way?
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-18 08:02:31
@TuNk77, eradumvelhinho

Please retest with version 1.4.3
Title: foo_playcount_sql
Post by: TuNk77 on 2009-03-18 12:03:03
Just tested with v1.4.3 and Startup time is 0:01.854087. The startup time is not bothering me in any way, just reporting so people can compare.
Thanks for your continued work with this component
Title: foo_playcount_sql
Post by: pIv on 2009-03-18 12:15:54
With official playcount plugin I assing rating to current song  by using custom buttons (buttons from 1 to 5 related to context command  playback statistic/rating/number).
In current version of plugin I don't can assign command to button (I have only playback statistick (SQL) command  in list of context commands, but not playback statistic (SQL)/rating/number).
Correct this, please!
Title: foo_playcount_sql
Post by: eradumvelhinho on 2009-03-18 13:27:33
@TuNk77, eradumvelhinho

Please retest with version 1.4.3


Well. In fact the startup time now is 1:50.438170, so it is worst than before. Don't know if it will help you but I have 16 autoplaylists, a library with 51588 songs (does an external drive affect the speed?), I use foobar 0.9.6.3, with DUI (many facets) and that's it (if you wnat the list of the components, just tell me). It seems that only this problem only occurs with me so maybe it's something particular with my setup.

Anyway thanks for all your efforts.
Title: foo_playcount_sql
Post by: Onkel Andy on 2009-03-18 13:47:09
Thanks for the cool work.. Now, the thing would be really brilliant if it worked with an online databse. You know, to track the playcounts no matter whether you are in the office, at home or elsewhere.. Any intentions to include such a functionality?

You mean like last.fm? (http://www.hydrogenaudio.org/forums/index.php?showtopic=70406&hl=)


Yep, something like that. The problem is there is no tool to fetch the playcount from lastfm (and write that to the m3-tag)... so that sql-stuff would be a solution
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-18 15:11:47
@ eradumvelhinho

Well, that is indeed slow, but i'm now out of ideas on how to optimize it to fit your massive amount of tracks / autoplaylists.

Since your startup time without the plugin is also slow (40s) i guess that isn't much i can do about it anyway.

@ pIv

I'll fix that for the next version

@ Galleon

Please read the previous remarks about album / artists statistics via title formatting
Title: foo_playcount_sql
Post by: boombaard on 2009-03-19 11:39:15
Will this component create different entries for different performances of the same classical work (ie. beethoven's 9th symphony by (%conductor%/%ensemble%=)Abbado/BPO or Furtwängler/BPO)?
Title: foo_playcount_sql
Post by: pIv on 2009-03-19 12:35:00
I find next bug.

On first start foobar2000 with foo_playcount_sql  sql database is created. I create autoplaylist  with next criteria: last_played_sql MISSING. This playlist is empty.
After restarting foobar2000 this playlist already not empty.

My media library contained ~ 4600 items and number of items without last_played_sql is ~ 100.

Number of repeating this situation by me is 3 or 4. The results is  equal.

Then I moved to the media library to another folder, leaving it only the files that were previously created autoplaylist. In this case autoplaylist  after creating sql database and restarting foobar2000  is empty.

I am using the following method of placing files in media library \\shared_resurs\audio$
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-19 14:08:50
This component only uses the %artist% %album% and %title% tags

Will this component create different entries for different performances of the same classical work (ie. beethoven's 9th symphony by (%conductor%/%ensemble%=)Abbado/BPO or Furtwängler/BPO)?

Title: foo_playcount_sql
Post by: jsheridan on 2009-03-19 14:50:42
Sorry, but i didn't seem to understand the problem, can you try to explain?

I find next bug.

On first start foobar2000 with foo_playcount_sql  sql database is created. I create autoplaylist  with next criteria: last_played_sql MISSING. This playlist is empty.
After restarting foobar2000 this playlist already not empty.

My media library contained ~ 4600 items and number of items without last_played_sql is ~ 100.

Number of repeating this situation by me is 3 or 4. The results is  equal.

Then I moved to the media library to another folder, leaving it only the files that were previously created autoplaylist. In this case autoplaylist  after creating sql database and restarting foobar2000  is empty.

I am using the following method of placing files in media library \\shared_resurs\audio$

Title: foo_playcount_sql
Post by: pIv on 2009-03-19 15:17:33
All files in my media library have play_count and last_played tags.
After I create sql database all files in my media library also have play_count_sql and last_played_sql tags.
But when I restart foobar2000 (close foobar and start it again) ~ 100 files in media library (number of it's items ~4600 files) don't have play_count_sql and last_played_sql tags.

Why?
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-19 15:36:40
Interesting, can you detect a pattern with the files which seems to miss play_count_sql information?

All files in my media library have play_count and last_played tags.
After I create sql database all files in my media library also have play_count_sql and last_played_sql tags.
But when I restart foobar2000 (close foobar and start it again) ~ 100 files in media library (number of it's items ~4600 files) don't have play_count_sql and last_played_sql tags.

Why?

Title: foo_playcount_sql
Post by: mitchmalibu on 2009-03-19 15:39:05
Great plugin, the best one back end wise (always had problems with the other play count plugins). Just a quick request : would it be possible to only update tracks that are in the foobar database ?

Thanks for your hard work !
Title: foo_playcount_sql
Post by: pIv on 2009-03-19 17:04:31
jsheridan

I deleted all the files from the library, except for those who have not received play_count_sql tag in the previous attempt.

Then repeat the whole procedure again. After completion of the experiment files without play_count_sql was not.

As you requested, untagged file are:

\\adm-035\audio$\Russian\ÄÊ Remastered\Ãîëûå íîãè\19 ß òåáÿ íå ëþáëþ.mpc (full folder)

\\adm-035\audio$\Classical\Denis_Matsuev\2008 - Unknown Rachmaninoff\05. Sonata ¹2, Op.36 Allegro Agitato.apl

and many other files.
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-19 17:30:22
Just a thought, do those files have proper artist / album/ title tags?

jsheridan

I deleted all the files from the library, except for those who have not received play_count_sql tag in the previous attempt.

Then repeat the whole procedure again. After completion of the experiment files without play_count_sql was not.

As you requested, untagged file are:

\\adm-035\audio$\Russian\ÄÊ Remastered\Ãîëûå íîãè\19 ß òåáÿ íå ëþáëþ.mpc (full folder)

\\adm-035\audio$\Classical\Denis_Matsuev\2008 - Unknown Rachmaninoff\05. Sonata ¹2, Op.36 Allegro Agitato.apl

and many other files.

Title: foo_playcount_sql
Post by: pIv on 2009-03-19 17:49:44
Quote
Just a thought, do those files have proper artist / album/ title tags?


Of course, I taged all my files very carefully.
This is sample:
http://www.onlinedisk.ru/image/103991/01.jpg (http://www.onlinedisk.ru/image/103991/01.jpg)
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-19 18:05:57
Please try to see what happends when you try to play one of those files (that failed importing). Does it get new play_count_sql information?

Quote
Just a thought, do those files have proper artist / album/ title tags?


Of course, I taged all my files very carefully.
This is sample:
http://www.onlinedisk.ru/image/103991/01.jpg (http://www.onlinedisk.ru/image/103991/01.jpg)

Title: foo_playcount_sql
Post by: pIv on 2009-03-19 19:17:34
I repeat my experinet
This picture - screen after scan media library  and creating sqk database.
(http://pic.ipicture.ru/uploads/090319/thumbs/PsUfG3S6uy.jpg) (http://ipicture.ru/Gallery/Viewfull/15931270.html)

Then I restart foobar2000 and I put all items from media library without last_played_sql in "default" playlist
(http://pic.ipicture.ru/uploads/090319/thumbs/smYzgX1ppG.jpg) (http://ipicture.ru/Gallery/Viewfull/15931339.html)

Now I have 337 item in this playlist, but 8 hours ago I have ~ 150 items.
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-19 20:05:34
I've watched the screen shot you posted, and i've noticed one important thing.
I can't see the official playcount stats at the properties window for the track with the missing data. Is it because from some reason, the playcount exists inside the files, but not at the official plugin playbackstatistics.dat file?

Here is what i would expect:
(http://img8.imageshack.us/img8/6449/playcountexample.png)

I suggest trying "Import statistics from file tags" at the above files, and see if that helps to show the official statistics at the properties window. Only if it does, i suggest then you try again to import it to foo_playcount_sql

I repeat my experinet
This picture - screen after scan media library  and creating sqk database.
(http://pic.ipicture.ru/uploads/090319/thumbs/PsUfG3S6uy.jpg) (http://ipicture.ru/Gallery/Viewfull/15931270.html)

Then I restart foobar2000 and I put all items from media library without last_played_sql in "default" playlist
(http://pic.ipicture.ru/uploads/090319/thumbs/smYzgX1ppG.jpg) (http://ipicture.ru/Gallery/Viewfull/15931339.html)

Now I have 337 item in this playlist, but 8 hours ago I have ~ 150 items.

Title: foo_playcount_sql
Post by: shakey_snake on 2009-03-20 00:54:13
Suggestion for the Library-> Playback Statistics SQL menu.
Most played Artist
Most played Album
Most played Tracks
Title: foo_playcount_sql
Post by: pIv on 2009-03-20 02:59:22
I've watched the screen shot you posted, and i've noticed one important thing.
I can't see the official playcount stats at the properties window for the track with the missing data. Is it because from some reason, the playcount exists inside the files, but not at the official plugin playbackstatistics.dat file?


Yes, I use foo_playback_custom.dll for writing next tags into files: last_played, first_played and play_count. On this PC I don't use official foo_playcount.dl and not have PlaybackStatistics.dat file.
Title: foo_playcount_sql
Post by: TuNk77 on 2009-03-23 00:18:21
I have a question, would it be possible to hard code the rating stars so it wouldn't be font depended?
Title: foo_playcount_sql
Post by: grounder on 2009-03-23 13:32:39
A second attempt.  Please add tag %added%, and official foo_playcount will be removed. Now get two components make statistics.
Title: foo_playcount_sql
Post by: shakey_snake on 2009-03-23 16:41:28
Please add tag %added%

%added% doesn't make any sense in the context of this component, since playcounts are not even being kept track of per file.
Title: foo_playcount_sql
Post by: tedgo on 2009-03-25 10:29:27
Is it somehow possible to remove "dead entries"?
I re-tagged some files from an album (made some typos) and now the infos from the files before re-tagging are still counted in the album/artist infos.
(And the "old" track infos are of course no longer available for the re-tagged file...)
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-25 11:07:10
@tedgo

ATM, it’s only possible to do that by editing the SQL Database directly. However leaving the dead entries should have no visible effect on usage.

@ grounder

%added% within the context of this component is confusing concept. Since, it will reflect the first time artist/album/title combo is recognized by fb2k, and will obviously not consider file moves, adding the files again, and other physical changes. I might add it in the future, but as shakey_snake stated, it makes more sense on a per_file context.

@ TuNk77

I just copied the official playcount behavior, I still didn't understand what is the problem related to the font.

@ shakey_snake

Most 'x' screens are coming for the next version.

@ pIv

1. This component only supports the importing of data from the official playcount plug-in. My guess is that _custom uses %play_counter% instead of %play_count% and that is not recognized.
2. The ability to assign shortcuts to _sql functions (ratings too), will be fixed for the next version.

@mitchmalibu

Once this plugin will have a configuration screen, i'll add the option to tag only media library items, but for now, i prefer to count everything by default
Title: foo_playcount_sql
Post by: pIv on 2009-03-25 15:39:37
@ pIv

1. This component only supports the importing of data from the official playcount plug-in. My guess is that _custom uses %play_counter% instead of %play_count% and that is not recognized.


In foo_custom propeties you can define which tags correspond to the first playing, the last playing and play counts.

I define next tags: first_played, last_played and play_count. This tags correctly displayed in playlists and correctly writed into all files in media library.  As the official play_count tags value are available via %first_played%, %last_played% and %play_count%.
Title: foo_playcount_sql
Post by: TuNk77 on 2009-03-26 00:50:53
Quote
@ TuNk77

I just copied the official playcount behavior, I still didn't understand what is the problem related to the font.


I use a font that does not support stars symbols, so it displays just five boxes, please take a look at the screen shot:
(http://img12.imageshack.us/img12/3892/foorating.th.jpg) (http://img12.imageshack.us/my.php?image=foorating.jpg)
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-28 16:01:32
Version 1.50 posted, changes includes:
1. New 'most played' GUI screen
2. %album artist% support
3. Now remembers GUI window positions
4. Made context menu shortcuts available from keyboard shortcuts

Because the DB is upgraded, i suggest backing up playcount.sdf
Title: foo_playcount_sql
Post by: novembre on 2009-03-28 16:49:20
Upgraded succesfully! Thanks for the new GUI!
Title: foo_playcount_sql
Post by: grimes on 2009-03-28 17:12:55
Thanks!

Small correction:
In Most Played Items: Size of playcount column too small (only two digits, I need three)
Fixed size of last played and first played columns.
EDIT: Fixed size for all columns not "Auto Scale Columns with Window size"
(http://www.abload.de/img/greenshot_2009-03-28_13vkf.jpg) (http://www.abload.de/image.php?img=greenshot_2009-03-28_13vkf.jpg)
Title: foo_playcount_sql
Post by: novembre on 2009-03-28 17:41:00
Small correction:
In Most Played Items: Size of playcount column too small (only two digits, I need three)

Works fine for me.
FB2K 0.9.6.4b2 on Vista Home Premium 32
Title: foo_playcount_sql
Post by: wortels on 2009-03-29 12:50:43
This is an excellent component for those who want to stay away from rewriting their files. Only thing that worries me is sqlce, afaik it uses quite a lot of memory as the database grows larger. Wouldn't it be better to use sqlite and plain c/c++ instead of .net?
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-29 12:55:07
Have you got some examples for the memory useage claims specific for sqlce?
And for the .NET, since version 1.1 of the plugin, no .NET is being involved, and sqlce is used in COM mode only (fully native win32)

This is an excellent component for those who want to stay away from rewriting their files. Only thing that worries me is sqlce, afaik it uses quite a lot of memory as the database grows larger. Wouldn't it be better to use sqlite and plain c/c++ instead of .net?

Title: foo_playcount_sql
Post by: wortels on 2009-03-29 14:53:50
Hmm...I haven't used it much myself but I did look it up while trying to make it work with asp. here are some links
http://ayende.com/Blog/archive/2008/01/22/...vs.-SQL-CE.aspx (http://ayende.com/Blog/archive/2008/01/22/SQLite-vs.-SQL-CE.aspx)
http://dotnetperls.com/Content/SQLite-Versus-SQLCE.aspx (http://dotnetperls.com/Content/SQLite-Versus-SQLCE.aspx)
http://engin.bzzzt.biz/embeddeddb.shtml (http://engin.bzzzt.biz/embeddeddb.shtml)
http://stackoverflow.com/questions/583278/...ile-application (http://stackoverflow.com/questions/583278/sqlite-vs-sqlce-vs-in-a-mobile-application)

I am sure there any many more present
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-29 17:23:40
From what i can read, there are minimal differences in memory usages (few MB), and some performance differences for different scenarios.

Some of the articles are not updated for recent SqlServerCe versions, and the performance test article seem to have a bug in the SqlServerCe code (Not linking the transaction)

However, IMHO, nothing important in order to sacrifice SqlServerCe added benefits such as more strongly typed elements (in particular DateTime)

Hmm...I haven't used it much myself but I did look it up while trying to make it work with asp. here are some links
http://ayende.com/Blog/archive/2008/01/22/...vs.-SQL-CE.aspx (http://ayende.com/Blog/archive/2008/01/22/SQLite-vs.-SQL-CE.aspx)
http://dotnetperls.com/Content/SQLite-Versus-SQLCE.aspx (http://dotnetperls.com/Content/SQLite-Versus-SQLCE.aspx)
http://engin.bzzzt.biz/embeddeddb.shtml (http://engin.bzzzt.biz/embeddeddb.shtml)
http://stackoverflow.com/questions/583278/...ile-application (http://stackoverflow.com/questions/583278/sqlite-vs-sqlce-vs-in-a-mobile-application)

I am sure there any many more present

Title: foo_playcount_sql
Post by: Andreasvb on 2009-03-29 19:59:01
I have some problem saving the statistics with some of the files.
Haven't found any reason why it shouldn't save.

What I've tried:

Removing the component and let it update everything again (which updated the songs I've problem with, but any playing won't update it further).
Converting the files with LAME.
Moving the files to another folder, where other songs work.
Also, I found that it doesn't update songs with sample rate 48k, after converting it worked(not these files).
These songs are 44.1k sample rate.
Got working ID3/APE tags (tried without with either ID3 and APE, alternately).
All songs updates the official playcounter, and I think it's also foo_misc_addons that got a playcount function).
No strange characters in tags or filename.

Do you want me to try anything else?

Title: foo_playcount_sql
Post by: jsheridan on 2009-03-29 20:53:28
All the problematic files has artist/title/album tags?

I have some problem saving the statistics with some of the files.
Haven't found any reason why it shouldn't save.

Title: foo_playcount_sql
Post by: Andreasvb on 2009-03-29 21:15:04
Artist and title, yes.
Is album required?
If so, would it be possible to not require it?

Hope it's that, will try.

Thanks.
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-29 21:20:19
Err, no the album is not required (artist / title yes), it was a bug that was introduced with 1.5.0

Redownload 1.5.1

Artist and title, yes.
Is album required?
If so, would it be possible to not require it?

Hope it's that, will try.

Thanks.

Title: foo_playcount_sql
Post by: Andreasvb on 2009-03-29 21:25:57
Haha, thanks. It works now. 

Had tried like everything, almost went crazy.
Title: foo_playcount_sql
Post by: altblue on 2009-03-29 22:30:17
I keep getting the following error message logged in the console:
Code: [Select]
Error: foo_playcount_sql: Error: HR 0x80040154 File .\PlayStat_DB.cpp Line 1480
Would you please tell me what does this mean?
Thanks.
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-29 23:20:32
It probably means that you didn't installed the required libraries as stated at the original post.

Also it might mean you also need Microsoft Data Access Components (MDAC) 2.8 SP1 (http://www.microsoft.com/downloads/details.aspx?familyid=78cac895-efc2-4f8e-a9e0-3a1afbd5922e&displaylang=en) installed too, or to perform the steps outlined here (http://www.macropool.com/en/download/mdac_xp_sp2.html)

I keep getting the following error message logged in the console:
Code: [Select]
Error: foo_playcount_sql: Error: HR 0x80040154 File .\PlayStat_DB.cpp Line 1480
Would you please tell me what does this mean?
Thanks.
Title: foo_playcount_sql
Post by: altblue on 2009-03-30 07:52:12
It probably means that you didn't installed the required libraries as stated at the original post.

Ah, my apologies for being so brief

I'm using your component ever since the first public release, and I'm updating it as soon as I stumble upon a new version (usually happens rather soon after you release an update). Of course, I have all the dependencies installed, the component is working pretty much as expected^Wdocumented, this 0x80040154 error being the only issue that wasn't noticed yet by anyone in this thread.

This error message appears in the console in a quite random manner, sometimes up to 10 times during the playback of a single track, other times never during an entire album. The only (dumb) observation is that it seems to stop appearing if I keep the console focused (I'm using DUI, Console being stacked in a Tab).

Yes, I realize that "0x80040154" is Microsoft's way of telling something like "module not loaded", "class not registered", etc, but I have no idea what's happening in PlayStat_DB.cpp at line 1480.
Title: foo_playcount_sql
Post by: altblue on 2009-03-30 08:07:41
Ah, I forgot to mention that I found a method to reproduce it: select one track -> properties. The moment the properties windows appears, these lines are logged:
Code: [Select]
Properties dialog refresh: 0:00.000268
Error: foo_playcount_sql: Error: HR 0x80040154 File .\PlayStat_DB.cpp Line 1480
Error: foo_playcount_sql: Error: HR 0x80040154 File .\PlayStat_DB.cpp Line 1480
Properties dialog display refresh: 0:00.177228

The error message appears only once if the selected track is not yet in the playcount sql database:
Code: [Select]
Properties dialog refresh: 0:00.000398
Error: foo_playcount_sql: Error: HR 0x80040154 File .\PlayStat_DB.cpp Line 1480
Properties dialog display refresh: 0:00.083505

The error does not happen when select multiple tracks -> properties (doesn't matter if those tracks are in the sql db or not):
Code: [Select]
Properties dialog refresh: 0:00.000316
Properties dialog display refresh: 0:00.003244
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-30 08:32:52
here is what at line 1480:

Code: [Select]
CComPtr<IDataConvert> pIDataConvert;
hr = CoCreateInstance(CLSID_OLEDB_CONVERSIONLIBRARY, NULL, CLSCTX_INPROC_SERVER, IID_IDataConvert,(void **) &pIDataConvert);
ValidateHR(hr);

It tries to create a new instance of the OLEDB_CONVERSIONLIBRARY which is part of the MDAC installation. MDAC is installed by default on winxp sp2, and of course vista, and is somehow corrupted at your computer.
This is why I suggested the links to repair that installation.

As you already observed, it is only used to display the item properties.

Yes, I realize that "0x80040154" is Microsoft's way of telling something like "module not loaded", "class not registered", etc, but I have no idea what's happening in PlayStat_DB.cpp at line 1480.

Title: foo_playcount_sql
Post by: wortels on 2009-03-30 09:43:31
From what i can read, there are minimal differences in memory usages (few MB), and some performance differences for different scenarios.

Some of the articles are not updated for recent SqlServerCe versions, and the performance test article seem to have a bug in the SqlServerCe code (Not linking the transaction)

However, IMHO, nothing important in order to sacrifice SqlServerCe added benefits such as more strongly typed elements (in particular DateTime)

afaik sqlite supports date time (but this is from google, I just use it to store simple data). The big advantage which I see is not having to install 5 megs of different libraries to get the component to run. Plus with pragma off the speed is like 3x of sqlce...would help a lot with the initial import. This is a very nice component...I was just suggesting sqlite because it seemed like a good idea to me...you are the one who has to work on it and should choose whatever you consider best
Thanks
Title: foo_playcount_sql
Post by: pIv on 2009-03-31 05:19:02
jsheridan

On my main PC I use only official statistics.
After I create sql base I don't have items in media library without last_played_sql tag.
Then I restart foobar and now I have already 357 from 12799 items without last_played_sql tag.
You can see example on next picture.

(http://pic.ipicture.ru/uploads/090331/thumbs/UYE8PpK8P5.jpg) (http://ipicture.ru/Gallery/Viewfull/16553666.html)

Then I manually set rating_sql by context menu for selected song.
You can see result on this picture.

(http://pic.ipicture.ru/uploads/090331/thumbs/Da7VaPj3xE.jpg) (http://ipicture.ru/Gallery/Viewfull/16553675.html)

Now I restart foobar and selected song now don't have last_played_sql tag again. See first picture.

Why information about this song and many others not stored in PlayCount.sdf on exit from foobar?

It is possible remove this bug?
Title: foo_playcount_sql
Post by: Emon on 2009-03-31 07:51:56
It's nice to see something like this come together. Playback metadata should NEVER be stored directly in files. If a statistic is independent of the actual file contents, it shouldn't be stored with it. So stuff like ReplayGain is fine, but playback statistics have no place inside tags.
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-31 09:41:39
1. Do all the problematic tracks have valid title/artist/album tags?
2. If so, can you provide any kind of logic that seperate them from the rest?

Now I restart foobar and selected song now don't have last_played_sql tag again. See first picture.

Why information about this song and many others not stored in PlayCount.sdf on exit from foobar?

It is possible remove this bug?

Title: foo_playcount_sql
Post by: meDveD.spb on 2009-03-31 10:50:42
thx for the plug, but
why can not operate the keyboard shortcuts?

foobar2000 0.9.6.4/Playback Statistic 1.5.1.215/Win7 x86 7057 (and WinXP SP3)
Title: foo_playcount_sql
Post by: pIv on 2009-03-31 12:37:50
Quote
1. Do all the problematic tracks have valid title/artist/album tags?
2. If so, can you provide any kind of logic that seperate them from the rest?


1. Yes all the problematic tracks have valid title/artist/album tags.

2. ~ 80 % problematic tracks have mpc extension (musepack) or apl extension and have tagtype = apev2, but other 20% have tagtype = id3v2|id3v1 and extension mp3.
~90 % problematic tracks have cyrillic character in file name, path name and song tags.

If I repeate process of recreate sql database I have new collection of items without sql tags. New collection is not equal old created by previous iteration but intersects with it ~ 80%.
Sorry,    I can not repeat this process many times, as well as the creation of the database takes about 1 hour.
Title: foo_playcount_sql
Post by: jsheridan on 2009-03-31 13:34:48
Do those tracks get play_count_sql information after being played? (meaning the problem is local to the import)

Quote
1. Do all the problematic tracks have valid title/artist/album tags?
2. If so, can you provide any kind of logic that seperate them from the rest?


1. Yes all the problematic tracks have valid title/artist/album tags.

2. ~ 80 % problematic tracks have mpc extension (musepack) or apl extension and have tagtype = apev2, but other 20% have tagtype = id3v2|id3v1 and extension mp3.
~90 % problematic tracks have cyrillic character in file name, path name and song tags.

If I repeate process of recreate sql database I have new collection of items without sql tags. New collection is not equal old created by previous iteration but intersects with it ~ 80%.
Sorry,    I can not repeat this process many times, as well as the creation of the database takes about 1 hour.

Title: foo_playcount_sql
Post by: jsheridan on 2009-03-31 13:37:30
Please try version 1.5.2, and tell me if the problem is resolved.

thx for the plug, but
why can not operate the keyboard shortcuts?

foobar2000 0.9.6.4/Playback Statistic 1.5.1.215/Win7 x86 7057 (and WinXP SP3)

Title: foo_playcount_sql
Post by: meDveD.spb on 2009-03-31 13:53:44
Quote
Please try version 1.5.2

thx, it's working!
Title: foo_playcount_sql
Post by: altblue on 2009-03-31 14:19:33
It tries to create a new instance of the OLEDB_CONVERSIONLIBRARY which is part of the MDAC installation. MDAC is installed by default on winxp sp2, and of course vista, and is somehow corrupted at your computer.
This is why I suggested the links to repair that installation.

Aha, thanks a lot. Re-registering MDAC DLLs solved it.
Title: foo_playcount_sql
Post by: pIv on 2009-03-31 17:57:16
jsheridan


Quote
Do those tracks get play_count_sql information after being played? (meaning the problem is local to the import)


I use same song as previous posts:

On this picture you can see result after it playing:
(http://pic.ipicture.ru/uploads/090331/thumbs/QrO274UL5p.jpg) (http://ipicture.ru/Gallery/Viewfull/16582442.html)

Then I restart foobar and now you can see properties:
(http://pic.ipicture.ru/uploads/090331/thumbs/34vK4dmJL0.jpg) (http://ipicture.ru/Gallery/Viewfull/16582473.html)

I hope this will help fix your plugin

Title: foo_playcount_sql
Post by: jsheridan on 2009-03-31 22:35:06
Sorry, i still have no clue as of why this happends (no persistency on this track).

Only thing that might give more clues, is a screenshot of title/album/artist metadata of that track.

In addition, after playing the track, do you get any error messages at the console?

I hope this will help fix your plugin

Title: foo_playcount_sql
Post by: pIv on 2009-04-01 03:48:48
Sorry, i still have no clue as of why this happends (no persistency on this track).

Only thing that might give more clues, is a screenshot of title/album/artist metadata of that track.

In addition, after playing the track, do you get any error messages at the console?

I hope this will help fix your plugin



No, I not get any error messages at the console.

File propeties is:
(http://pic.ipicture.ru/uploads/090401/thumbs/7W5WvW65P2.jpg) (http://ipicture.ru/Gallery/Viewfull/16604108.html)

Now I played this fail again and restart  foobar - sql tags missing:
(http://pic.ipicture.ru/uploads/090401/thumbs/1V2V4spQXN.jpg) (http://ipicture.ru/Gallery/Viewfull/16604151.html)

I sincerely want to help you to improve the plugin, but probably will be forced to delete it because of its instability.
Title: foo_playcount_sql
Post by: meDveD.spb on 2009-04-01 06:00:28
I sincerely want to help you to improve the plugin, but probably will be forced to delete it because of its instability.

..but you use the unstable plugin (foo_infobox) and probably an older version of foobar2000
Title: foo_playcount_sql
Post by: pIv on 2009-04-01 08:26:12
I sincerely want to help you to improve the plugin, but probably will be forced to delete it because of its instability.

..but you use the unstable plugin (foo_infobox) and probably an older version of foobar2000


My configuration - XP SP3, foobar  - 0.9.6.4

foo_infobox work with last foobar2000 version good in Windows XP. This plugin not work only in Vista.
Title: foo_playcount_sql
Post by: TuNk77 on 2009-04-01 08:54:58
just updated to version 1.5.2 and I got the following error massage:
"Failed to load DLL: foo_playcount_sql.dll
Reason: The specified procedure could not be found."

But, foo_playcount_sql.dll is present in the components folder.

Version 1.5.1 worked just fine.
Title: foo_playcount_sql
Post by: jsheridan on 2009-04-01 10:07:36
What OS do you run? 32bit / 64bit?

Can you try reinstalling this (http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en) and if you are using a 64bit OS this too (http://www.microsoft.com/downloads/details.aspx?familyid=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en) (inspite of the fact it should not be needed, but can't hurt)

in any case, i've uploaded version 1.5.1 (http://ftp.bquest.org/foobar2000/foo_playcount_sql_1.5.1.zip) as a temporary work arround.

just updated to version 1.5.2 and I got the following error massage:
"Failed to load DLL: foo_playcount_sql.dll
Reason: The specified procedure could not be found."

But, foo_playcount_sql.dll is present in the components folder.

Version 1.5.1 worked just fine.

Title: foo_playcount_sql
Post by: jsheridan on 2009-04-01 10:16:18
Well, i can't see anything special in the title/album/artist tags you posted, they are all in plain english, and shouldn't even trigger unicode issues.

I sincerely want to help you to improve the plugin, but probably will be forced to delete it because of its instability.


I agree, if you can find the time, you might be able to detect some more logic involving the failed tracks.
Title: foo_playcount_sql
Post by: TuNk77 on 2009-04-01 22:37:30
What OS do you run? 32bit / 64bit?

Can you try reinstalling this (http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en) and if you are using a 64bit OS this too (http://www.microsoft.com/downloads/details.aspx?familyid=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en) (inspite of the fact it should not be needed, but can't hurt)

in any case, i've uploaded version 1.5.1 (http://ftp.bquest.org/foobar2000/foo_playcount_sql_1.5.1.zip) as a temporary work arround.

just updated to version 1.5.2 and I got the following error massage:
"Failed to load DLL: foo_playcount_sql.dll
Reason: The specified procedure could not be found."

But, foo_playcount_sql.dll is present in the components folder.

Version 1.5.1 worked just fine.



Reinstalling Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) did the trick
I am using XP pro x86 with SP3 and foobar v0964.

Thanks
Title: foo_playcount_sql
Post by: pasta on 2009-04-03 16:51:41
After copying foo_playcount_sql.dll to C:\The program Files\foobar2000\components\ the file PlayCount.sdf was not  created and playcount_sql doesn't work.
Title: foo_playcount_sql
Post by: jsheridan on 2009-04-03 16:53:24
1. Did you install the required libraries?
2. Do you get errors at the console window?

After copying foo_playcount_sql.dll to C:\The program Files\foobar2000\components\ the file PlayCount.sdf was not  created and playcount_sql doesn't work.

Title: foo_playcount_sql
Post by: pasta on 2009-04-03 17:03:03
1. Did you install the required libraries?
You speak about this

The following libraries must be installed prior of running:
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
Microsoft SQL Server Compact 3.5 Service Pack 1
I will install and I will check


2. Do you get errors at the console window?
Any errors
Title: foo_playcount_sql
Post by: pasta on 2009-04-03 17:18:29
OK it working after install libraries.
Title: foo_playcount_sql
Post by: jsheridan on 2009-04-19 14:38:32
version 1.5.3 is now available, sorted some issue with columns_ui
Title: foo_playcount_sql
Post by: acmodeu on 2009-04-19 21:23:50
version 1.5.3 is now available, sorted some issue with columns_ui

Quote
Failed to load DLL: foo_playcount_sql.dll
Reason: The specified procedure could not be found.
Title: foo_playcount_sql
Post by: jsheridan on 2009-04-19 21:24:57
Please make sure you have installed the required libraries before using.

version 1.5.3 is now available, sorted some issue with columns_ui

Failed to load DLL: foo_playcount_sql.dll
Reason: The specified procedure could not be found.

Title: foo_playcount_sql
Post by: acmodeu on 2009-04-19 21:27:00
Please make sure you have installed the required libraries before using.

version 1.5.3 is now available, sorted some issue with columns_ui

Failed to load DLL: foo_playcount_sql.dll
Reason: The specified procedure could not be found. 




Of course, everything was just fine on the previous version. Can you upload it again, I have accidentally deleted it?
Title: foo_playcount_sql
Post by: jsheridan on 2009-04-19 21:31:00
the previous version is available here (http://ftp.bquest.org/foobar2000/foo_playcount_sql_1.5.2.zip) in spite of the fact i'm sure that if you'll reinstall the VC++ libraries as specified it would resolve your issue.

Please make sure you have installed the required libraries before using.

version 1.5.3 is now available, sorted some issue with columns_ui

Failed to load DLL: foo_playcount_sql.dll
Reason: The specified procedure could not be found. 




Of course, everything was just fine on the previous version. Can you upload it again, I have accidentally deleted it?

Title: foo_playcount_sql
Post by: acmodeu on 2009-04-19 21:47:09
Yeah, that helped. I just don't understand why do I have to install x86 VC++ libraries instead of x64, when I'm running Vista x64?
Title: foo_playcount_sql
Post by: jsheridan on 2009-04-19 21:49:12
Because fb2k and this plugin are both x86, and running 32bit, despite the fact you have an OS that is capable of running x64 code too

Yeah, that helped. I just don't understand why do I have to install x86 VC++ libraries instead of x64, when I'm running Vista x64?

Title: foo_playcount_sql
Post by: _oao on 2009-04-21 03:04:46
feature request: any chance that an ability to import track play counts from last.fm (http://www.last.fm/) could be implemented?
Title: foo_playcount_sql
Post by: Quarck on 2009-04-23 03:43:50
Quote
feature request: any chance that an ability to import track play counts from last.fm could be implemented?
I very want this feature too!
Btw I can't download this plug. What's wrong? Now it's ok
Title: foo_playcount_sql
Post by: Galleon on 2009-05-10 05:40:09
Seems this plugin didn't work on Windows 7 RC ?
Title: foo_playcount_sql
Post by: meDveD.spb on 2009-05-10 08:03:49
Seems this plugin didn't work on Windows 7 RC ?

it works fine

Quote
reinstall Microsoft SQL Server Compact 3.5 Service Pack 1
Title: foo_playcount_sql
Post by: Galleon on 2009-05-10 09:35:29
Quote
reinstall Microsoft SQL Server Compact 3.5 Service Pack 1
Tnx, thats help
But now I'm gettin a crash error, when it scan my library.
Crash log
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7D7BFCB3h
Access violation, operation: read, address: 00000000h

Call path:
threaded_process thread

Code bytes (7D7BFCB3h):
7D7BFC73h:  18 FF 75 14 FF 75 0C FF 75 10 FF 75 20 FF 75 08
7D7BFC83h:  E8 02 E4 FF FF 8B D8 85 DB 7C 0E 8B 45 1C 8B 00
7D7BFC93h:  F7 D8 1B C0 83 E0 02 89 07 5F 5E 8B C3 5B 5D C2
7D7BFCA3h:  1C 00 CC CC CC CC CC 8B FF 55 8B EC 51 8B 45 18
7D7BFCB3h:  0F B6 00 83 65 FC 00 85 C0 53 56 57 8B 7D 1C 8B
7D7BFCC3h:  F1 89 07 75 56 8A 45 0C 3A 46 04 8B 5D 10 75 26
7D7BFCD3h:  85 DB 74 22 FF 75 14 8B 03 8B CB FF 50 08 3C 01
7D7BFCE3h:  75 14 0F B6 46 04 53 57 FF 75 18 50 E8 4E 09 FC

Stack (0C6BF28Ch):
0C6BF26Ch:  00045000 00000000 FFFFFD34 000002E4
0C6BF27Ch:  FFFFFD34 000002CC 00000018 00000000
0C6BF28Ch:  0363BD7C 0C6BF2D0 7D7940C0 0365FD04
0C6BF29Ch:  00000000 00000000 00000000 00000000
0C6BF2ACh:  04CACDCC 04CA6C54 04CA7CB8 7D753434
0C6BF2BCh:  00000000 0363BD7C 00000000 00000000
0C6BF2CCh:  04CACDCC 0C6BF314 7D7DC90F 0365FD04
0C6BF2DCh:  04CA716C 04C9BC44 04CA63A8 04C9A0AC
0C6BF2ECh:  00000000 00000001 04CA6C94 00000020
0C6BF2FCh:  04C9A0AC 04C9A0F4 00000000 00000000
0C6BF30Ch:  00000000 00000000 0C6BF324 7D7DB6C4
0C6BF31Ch:  0365FD04 04C9A0AC 0C6BF348 7D7DBC82
0C6BF32Ch:  0365FD04 00000000 00000000 00000000
0C6BF33Ch:  00000001 04CA76FC 04CACF7C 0C6BF390
0C6BF34Ch:  7D782268 0365FD04 04CA63A8 00000000
0C6BF35Ch:  00000001 00000000 04CA52E4 00000000
0C6BF36Ch:  00000000 00000000 00000001 00000000
0C6BF37Ch:  04CACF7C 04CA6364 00000001 00000000
0C6BF38Ch:  04C9A074 0C6BF3B0 7D783483 0365FD04
0C6BF39Ch:  00000000 04CA5154 00000000 04CACD3C

Registers:
EAX: 00000000, EBX: 0363BD7C, ECX: 0363BD7C, EDX: 0363BD7C
ESI: 04CA56AC, EDI: 00000000, EBP: 0C6BF290, ESP: 0C6BF28C

Crash location:
Module: sqlceqp35
Offset: 6FCB3h
Symbol: "DllGetClassObject" (+5A8CCh)

Loaded modules:
foobar2000                      loaded at 00E80000h - 01016000h
ntdll                            loaded at 772E0000h - 7741C000h
kernel32                        loaded at 75950000h - 75A24000h
KERNELBASE                      loaded at 754D0000h - 75518000h
COMCTL32                        loaded at 74300000h - 7449C000h
msvcrt                          loaded at 76CD0000h - 76D7C000h
GDI32                            loaded at 76AE0000h - 76B2E000h
USER32                          loaded at 76E80000h - 76F49000h
LPK                              loaded at 75B80000h - 75B8A000h
USP10                            loaded at 767E0000h - 7687D000h
SHLWAPI                          loaded at 75750000h - 757A7000h
DSOUND                          loaded at 6DE50000h - 6DEC2000h
ADVAPI32                        loaded at 75A30000h - 75AD0000h
sechost                          loaded at 75730000h - 75749000h
RPCRT4                          loaded at 75AD0000h - 75B72000h
ole32                            loaded at 76980000h - 76ADB000h
WINMM                            loaded at 73A10000h - 73A42000h
POWRPROF                        loaded at 74910000h - 74935000h
SETUPAPI                        loaded at 76B30000h - 76CCD000h
CFGMGR32                        loaded at 755B0000h - 755D7000h
OLEAUT32                        loaded at 76D80000h - 76E0F000h
DEVOBJ                          loaded at 754B0000h - 754C2000h
SHELL32                          loaded at 75B90000h - 767D6000h
shared                          loaded at 10000000h - 1002B000h
imagehlp                        loaded at 76E50000h - 76E7A000h
UxTheme                          loaded at 740A0000h - 740E0000h
dbghelp                          loaded at 71DA0000h - 71E8C000h
COMDLG32                        loaded at 76900000h - 7697B000h
IMM32                            loaded at 76880000h - 7689F000h
MSCTF                            loaded at 77440000h - 7750C000h
CRYPTBASE                        loaded at 753B0000h - 753BC000h
CLBCatQ                          loaded at 77050000h - 770D3000h
MMDevApi                        loaded at 73D40000h - 73D79000h
PROPSYS                          loaded at 74160000h - 74255000h
dwmapi                          loaded at 73D90000h - 73DA3000h
foo_masstag                      loaded at 005E0000h - 00623000h
foo_dbsearch_api_demo            loaded at 00770000h - 00791000h
foo_audioscrobbler              loaded at 007E0000h - 00811000h
foo_dbsearch                    loaded at 00820000h - 00890000h
foo_playback_custom              loaded at 008C0000h - 00907000h
WINSPOOL                        loaded at 70A70000h - 70AC1000h
foo_playcount_sql                loaded at 70580000h - 705BA000h
MSVCP90                          loaded at 6DC60000h - 6DCEE000h
MSVCR90                          loaded at 6DBB0000h - 6DC53000h
foo_uie_elplaylist              loaded at 01F20000h - 01F8A000h
gdiplus                          loaded at 73EF0000h - 74080000h
foo_uie_tabs                    loaded at 01E20000h - 01E48000h
foo_ui_columns                  loaded at 023E0000h - 0251B000h
foo_scrobblecharts              loaded at 01F90000h - 01FC3000h
WININET                          loaded at 76F50000h - 77042000h
Normaliz                        loaded at 768F0000h - 768F3000h
urlmon                          loaded at 75810000h - 75945000h
CRYPT32                          loaded at 755E0000h - 756FC000h
MSASN1                          loaded at 754A0000h - 754AC000h
iertutil                        loaded at 770E0000h - 772D8000h
foo_uie_albumlist                loaded at 02120000h - 0215D000h
foo_run                          loaded at 01FE0000h - 0200E000h
foo_dsp_bs2b                    loaded at 70560000h - 70580000h
foo_albumlist                    loaded at 02520000h - 0257A000h
foo_winamp_spam                  loaded at 023A0000h - 023D0000h
foo_skip                        loaded at 70540000h - 7055D000h
foo_uie_graphical_browser        loaded at 6DB10000h - 6DBA4000h
MSIMG32                          loaded at 73DB0000h - 73DB5000h
foo_facets                      loaded at 026D0000h - 02751000h
foo_uie_lyrics                  loaded at 02770000h - 027CD000h
foo_uie_playlists_dropdown      loaded at 025E0000h - 02619000h
foo_uie_vis_peakmeter_spectrum  loaded at 02670000h - 026AF000h
foo_uie_trackinfo                loaded at 02630000h - 02655000h
foo_dsp_std                      loaded at 02820000h - 02868000h
foo_runcmd                      loaded at 029B0000h - 029E4000h
foo_uie_albumart                loaded at 029F0000h - 02A2D000h
foo_chronflow                    loaded at 02BA0000h - 02C01000h
OPENGL32                        loaded at 6DA40000h - 6DB08000h
GLU32                            loaded at 6FDB0000h - 6FDD2000h
DDRAW                            loaded at 6D950000h - 6DA37000h
DCIMAN32                        loaded at 746A0000h - 746A6000h
foo_menu_addons                  loaded at 02A30000h - 02A6C000h
foo_uie_library_tree            loaded at 02C10000h - 02C62000h
foo_converter                    loaded at 02DF0000h - 02E5D000h
foo_ui_std                      loaded at 03460000h - 03569000h
foo_playlist_manager            loaded at 02EF0000h - 02F34000h
foo_uie_trackinfo_mod            loaded at 030F0000h - 03146000h
MSVCP80                          loaded at 6D8C0000h - 6D947000h
MSVCR80                          loaded at 6D400000h - 6D49B000h
foo_uie_wsh_panel                loaded at 6FD80000h - 6FDAF000h
foo_vis_shpeck                  loaded at 6FD10000h - 6FD50000h
foo_comserver2                  loaded at 03150000h - 031A6000h
foo_uie_panel_splitter          loaded at 033D0000h - 03427000h
foo_uie_biography                loaded at 03570000h - 035C4000h
foo_dockable_panels              loaded at 02F60000h - 02F93000h
foo_cwbowron                    loaded at 035D0000h - 035FA000h
foo_rgscan                      loaded at 038E0000h - 0392E000h
foo_w7shell                      loaded at 03A40000h - 03A7A000h
foo_uie_wsh_panel_mod            loaded at 6D370000h - 6D3F8000h
foo_input_std                    loaded at 03D30000h - 03E70000h
foo_uie_vis_channel_spectrum    loaded at 03AB0000h - 03AED000h
foo_uie_quicksearch              loaded at 03AF0000h - 03B36000h
foo_utils                        loaded at 6FC90000h - 6FCD4000h
foo_exvar                        loaded at 03C60000h - 03C88000h
foo_cdda                        loaded at 03CC0000h - 03D00000h
USERENV                          loaded at 74A20000h - 74A37000h
profapi                          loaded at 75430000h - 7543B000h
ntmarta                          loaded at 73BD0000h - 73BF1000h
WLDAP32                          loaded at 768A0000h - 768E5000h
LINKINFO                        loaded at 74820000h - 74829000h
apphelp                          loaded at 75360000h - 753AB000h
gameux                          loaded at 71FF0000h - 72268000h
XmlLite                          loaded at 73D10000h - 73D3F000h
wer                              loaded at 73330000h - 73391000h
ntshrui                          loaded at 6FED0000h - 6FF3F000h
srvcli                          loaded at 752B0000h - 752C9000h
cscapi                          loaded at 733A0000h - 733AB000h
slc                              loaded at 73880000h - 7388A000h
CRYPTSP                          loaded at 74E40000h - 74E56000h
rsaenh                          loaded at 74BE0000h - 74C1B000h
atioglxx                        loaded at 69030000h - 69B66000h
VERSION                          loaded at 74880000h - 74889000h
WS2_32                          loaded at 76E10000h - 76E45000h
NSI                              loaded at 77430000h - 77436000h
atiadlxx                        loaded at 04200000h - 04225000h
SXS                              loaded at 753C0000h - 7541F000h
jscript                          loaded at 6D2B0000h - 6D361000h
RpcRtRemote                      loaded at 75420000h - 7542E000h
WindowsCodecs                    loaded at 73C00000h - 73CF9000h
sqlceca35                        loaded at 7D650000h - 7D6A5000h
JSProxy                          loaded at 747C0000h - 747CF000h
sqlceer35RU                      loaded at 0C1A0000h - 0C1C7000h
sqlceoledb35                    loaded at 7D400000h - 7D42B000h
sqlcese35                        loaded at 7D550000h - 7D5A8000h
sqlceqp35                        loaded at 7D750000h - 7D7EE000h

Stack dump analysis:
Address: 7D7940C0h (sqlceqp35+440C0h), symbol: "DllGetClassObject" (+2ECD9h)
Address: 7D753434h (sqlceqp35+3434h)
Address: 7D7DC90Fh (sqlceqp35+8C90Fh), symbol: "DllGetClassObject" (+77528h)
Address: 7D7DB6C4h (sqlceqp35+8B6C4h), symbol: "DllGetClassObject" (+762DDh)
Address: 7D7DBC82h (sqlceqp35+8BC82h), symbol: "DllGetClassObject" (+7689Bh)
Address: 7D782268h (sqlceqp35+32268h), symbol: "DllGetClassObject" (+1CE81h)
Address: 7D783483h (sqlceqp35+33483h), symbol: "DllGetClassObject" (+1E09Ch)
Address: 7D77F4FAh (sqlceqp35+2F4FAh), symbol: "DllGetClassObject" (+1A113h)
Address: 7D77F60Fh (sqlceqp35+2F60Fh), symbol: "DllGetClassObject" (+1A228h)
Address: 7D7DA6BAh (sqlceqp35+8A6BAh), symbol: "DllGetClassObject" (+752D3h)
Address: 7D7DAF6Ah (sqlceqp35+8AF6Ah), symbol: "DllGetClassObject" (+75B83h)
Address: 7D766EB0h (sqlceqp35+16EB0h), symbol: "DllGetClassObject" (+1AC9h)
Address: 7D7689D1h (sqlceqp35+189D1h), symbol: "DllGetClassObject" (+35EAh)
Address: 7D40F50Ah (sqlceoledb35+F50Ah), symbol: "DllGetClassObject" (+1F52h)
Address: 7D40253Ch (sqlceoledb35+253Ch)
Address: 7059228Ah (foo_playcount_sql+1228Ah)
Address: 705A636Ch (foo_playcount_sql+2636Ch), symbol: "foobar2000_get_interface" (+83ACh)
Address: 705A81F0h (foo_playcount_sql+281F0h), symbol: "foobar2000_get_interface" (+A230h)
Address: 705A822Ch (foo_playcount_sql+2822Ch), symbol: "foobar2000_get_interface" (+A26Ch)
Address: 705A8204h (foo_playcount_sql+28204h), symbol: "foobar2000_get_interface" (+A244h)
Address: 705A8264h (foo_playcount_sql+28264h), symbol: "foobar2000_get_interface" (+A2A4h)
Address: 705A81F0h (foo_playcount_sql+281F0h), symbol: "foobar2000_get_interface" (+A230h)
Address: 705A8290h (foo_playcount_sql+28290h), symbol: "foobar2000_get_interface" (+A2D0h)
Address: 705A81F0h (foo_playcount_sql+281F0h), symbol: "foobar2000_get_interface" (+A230h)
Address: 705A82B4h (foo_playcount_sql+282B4h), symbol: "foobar2000_get_interface" (+A2F4h)
Address: 77333E92h (ntdll+53E92h), symbol: "RtlAllocateHeap" (+ACh)
Address: 02640029h (foo_uie_trackinfo+10029h), symbol: "foobar2000_get_interface" (+9729h)
Address: 77333DE6h (ntdll+53DE6h), symbol: "RtlAllocateHeap" (+0h)
Address: 02690051h (foo_uie_vis_peakmeter_spectrum+20051h), symbol: "foobar2000_get_interface" (+F941h)
Address: 772FF1A5h (ntdll+1F1A5h), symbol: "DbgPrint" (+408h)
Address: 77333FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 77333E92h (ntdll+53E92h), symbol: "RtlAllocateHeap" (+ACh)
Address: 77333DE6h (ntdll+53DE6h), symbol: "RtlAllocateHeap" (+0h)
Address: 77333FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 6DC13A58h (MSVCR90+63A58h), symbol: "malloc" (+79h)
Address: 7059B4AEh (foo_playcount_sql+1B4AEh)
Address: 77333FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 77333E92h (ntdll+53E92h), symbol: "RtlAllocateHeap" (+ACh)
Address: 705819F5h (foo_playcount_sql+19F5h)
Address: 77333DE6h (ntdll+53DE6h), symbol: "RtlAllocateHeap" (+0h)
Address: 70581B0Fh (foo_playcount_sql+1B0Fh)
Address: 6DC13A58h (MSVCR90+63A58h), symbol: "malloc" (+79h)
Address: 6DC13B58h (MSVCR90+63B58h), symbol: "operator new" (+1Fh)
Address: 7058ED0Bh (foo_playcount_sql+ED0Bh)
Address: 77333CF8h (ntdll+53CF8h), symbol: "RtlFreeHeap" (+7Eh)
Address: 7058E954h (foo_playcount_sql+E954h)
Address: 705A3229h (foo_playcount_sql+23229h), symbol: "foobar2000_get_interface" (+5269h)
Address: 7058E473h (foo_playcount_sql+E473h)
Address: 705A30ECh (foo_playcount_sql+230ECh), symbol: "foobar2000_get_interface" (+512Ch)
Address: 7058CF45h (foo_playcount_sql+CF45h)
Address: 705A6BE0h (foo_playcount_sql+26BE0h), symbol: "foobar2000_get_interface" (+8C20h)
Address: 705A6BD8h (foo_playcount_sql+26BD8h), symbol: "foobar2000_get_interface" (+8C18h)
Address: 705A6BE0h (foo_playcount_sql+26BE0h), symbol: "foobar2000_get_interface" (+8C20h)
Address: 705A6BD8h (foo_playcount_sql+26BD8h), symbol: "foobar2000_get_interface" (+8C18h)
Address: 705A42B3h (foo_playcount_sql+242B3h), symbol: "foobar2000_get_interface" (+62F3h)
Address: 7058C77Ah (foo_playcount_sql+C77Ah)
Address: 705A6BE0h (foo_playcount_sql+26BE0h), symbol: "foobar2000_get_interface" (+8C20h)
Address: 705A4618h (foo_playcount_sql+24618h), symbol: "foobar2000_get_interface" (+6658h)
Address: 70598735h (foo_playcount_sql+18735h)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A6BD8h (foo_playcount_sql+26BD8h), symbol: "foobar2000_get_interface" (+8C18h)
Address: 705A47D1h (foo_playcount_sql+247D1h), symbol: "foobar2000_get_interface" (+6811h)
Address: 70598B47h (foo_playcount_sql+18B47h)
Address: 00FDB578h (foobar2000+15B578h)
Address: 00FDB578h (foobar2000+15B578h)
Address: 00FDB578h (foobar2000+15B578h)
Address: 00FD9B44h (foobar2000+159B44h)
Address: 705A49A8h (foo_playcount_sql+249A8h), symbol: "foobar2000_get_interface" (+69E8h)
Address: 00F2E846h (foobar2000+AE846h)
Address: 10002657h (shared+2657h), symbol: "uPrintCrashInfo_OnEvent" (+B0h)
Address: 00FBA1D8h (foobar2000+13A1D8h)
Address: 00F97028h (foobar2000+117028h)
Address: 00F2E7D7h (foobar2000+AE7D7h)
Address: 00F9AA69h (foobar2000+11AA69h)
Address: 759A10DCh (kernel32+510DCh), symbol: "BaseThreadInitThunk" (+12h)
Address: 77341E9Eh (ntdll+61E9Eh), symbol: "RtlProcessFlsData" (+D3h)
Address: 759B2AA5h (kernel32+62AA5h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 759B2AA5h (kernel32+62AA5h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 772FF1A5h (ntdll+1F1A5h), symbol: "DbgPrint" (+408h)
Address: 77341E71h (ntdll+61E71h), symbol: "RtlProcessFlsData" (+A6h)
Address: 00F2E7A0h (foobar2000+AE7A0h)
Address: 00F2E7A0h (foobar2000+AE7A0h)
Address: 774D1EC7h (MSCTF+91EC7h), symbol: "TF_SetShowFloatingStatus" (+30C19h)
Address: 10000419h (shared+419h)
Address: 02000101h (foo_run+20101h), symbol: "foobar2000_get_interface" (+190B1h)
Address: 01010101h (foobar2000+190101h)
Address: 01010101h (foobar2000+190101h)
Address: 01010101h (foobar2000+190101h)

Environment:
App: foobar2000 v0.9.6.5
OS: Windows 6.1.7100 x86
CPU: AMD Athlon™ 64 X2 Dual Core Processor 4200+, features: 3DNow!ex MMX SSE SSE2 SSE3
Audio: Speakers (High Definition Audio Device)
UI: Columns UI 0.3.6.5

Components:
Core (2009-04-25 20:47:24)
    foobar2000 core 0.9.6.5
foo_albumlist.dll (2009-04-25 20:45:44)
    Album List 4.3.1
foo_audioscrobbler.dll (2009-05-01 12:44:18)
    Audioscrobbler 1.4.0
foo_cdda.dll (2009-04-25 20:45:30)
    CD Audio Decoder 2.1.4
foo_chronflow.dll (2008-04-14 04:16:00)
    Chronial's Coverflow 0.3.0
foo_comserver2.dll (2006-08-01 01:13:20)
    COM Automation server 0.7 alpha 6
foo_converter.dll (2009-04-25 20:45:38)
    Converter 1.2.1
foo_cwbowron.dll (2007-07-23 08:28:10)
    Album Art Browser 0.0.5 [Jul 23 2007 - 08:27:55]
    Startup Actions 0.0.2 [Jul 23 2007 - 08:27:55]
foo_dbsearch.dll (2007-01-25 21:58:48)
    Database Search 1.4
foo_dbsearch_api_demo.dll (2007-01-22 13:01:38)
    Database Search Toolbar Demo 1.0
foo_dockable_panels.dll (2007-03-28 09:19:02)
    Dockable Panels 1.0.7b [Mar 28 2007 - 09:18:48]
foo_dsp_bs2b.dll (2008-10-31 04:04:16)
    bs2b 2.1.1
foo_dsp_std.dll (2009-04-25 20:45:44)
    Standard DSP Array 1.0
foo_exvar.dll (2008-06-14 04:42:55)
    Extended Variables 0.3.1
foo_facets.dll (2008-03-22 13:59:36)
    Facets 2008-02-25
foo_input_std.dll (2009-04-25 20:45:20)
    Standard Input Array 1.0
foo_masstag.dll (2008-11-29 21:46:18)
    Masstagger 1.7.1
foo_menu_addons.dll (2009-01-06 01:44:56)
    Menu Addons 0.4.1 (SSE)
foo_playback_custom.dll (2009-04-27 22:35:23)
    Playback Statistics Custom 1.5.1
foo_playcount_sql.dll (2009-04-19 15:04:40)
    Playback statistics SQL 1.5.3.222
foo_playlist_manager.dll (2007-01-22 14:05:12)
    Playlist Manager 1.0.2
foo_rgscan.dll (2009-04-25 20:45:16)
    ReplayGain Scanner 2.0.8
foo_run.dll (2008-01-18 00:32:42)
    Run services 0.3.4
foo_runcmd.dll (2007-08-17 01:08:42)
    Run Command 1.0 beta 3
foo_scrobblecharts.dll (2007-03-31 17:36:48)
    Last.fm Chart Player 0.2.3
foo_skip.dll (2009-01-03 22:04:18)
    Skip Track 0.4
foo_ui_columns.dll (2009-02-08 22:58:33)
    Columns UI 0.3.6.5
foo_ui_std.dll (2009-04-25 20:45:54)
    Default User Interface 0.9.5
foo_uie_albumart.dll (2007-12-16 01:22:24)
    Album Art Panel 0.2.7.1
foo_uie_albumlist.dll (2008-11-09 01:11:29)
    Album list panel 0.3.3
foo_uie_biography.dll (2009-05-09 00:55:56)
    Biography View 0.2.7.6
foo_uie_elplaylist.dll (2009-04-26 18:04:38)
    ELPlaylist 0.6.5.2(beta)
foo_uie_graphical_browser.dll (2008-04-20 01:37:53)
    Graphical Browser rev015
foo_uie_library_tree.dll (2009-04-19 22:16:58)
    Library Tree 0.3.1
foo_uie_lyrics.dll (2008-12-12 15:39:20)
    Lyric Show Panel 0.3.3.9 [Dec 12 2008 - 17:39:01]
foo_uie_panel_splitter.dll (2009-05-09 07:50:52)
    Panel Stack Splitter 0.3.7.4(alpha)
foo_uie_playlists_dropdown.dll (2007-09-29 03:03:32)
    Playlists Dropdown 0.6 alpha 4
foo_uie_quicksearch.dll (2007-05-18 18:31:10)
    Quick Search Toolbar 2.8l
foo_uie_tabs.dll (2008-12-11 00:06:50)
    Tabbed Panel Modified 0.2.7
foo_uie_trackinfo.dll (2008-11-01 14:24:02)
    Track info panel 0.8
foo_uie_trackinfo_mod.dll (2007-01-05 17: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 08:02:12)
    Channel Spectrum panel 0.17.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.dll (2008-09-20 22:57:32)
    WSH Panel (uie) 0.7.2
foo_uie_wsh_panel_mod.dll (2009-05-05 18:43:38)
    WSH Panel Mod 1.1.7
foo_utils.dll (2008-02-09 03:26:58)
    Playlist Tools 0.6.2 beta 6
foo_vis_shpeck.dll (2009-04-22 18:50:10)
    Shpeck - Winamp vis plugins wrapper 0.3.4
foo_w7shell.dll (2009-04-01 03:52:06)
    Windows 7 integration 0.2.7.1
foo_winamp_spam.dll (2007-03-26 19:37:48)
    Winamp API Emulator 0.96

Recent events:
w7shell: WA_FLIP3D_POLICY successfully set
w7shell: all green
DB To be created at: C:\Users\Diman\AppData\Roaming\foobar2000\PlayCount.sdf
Warning: [Shpeck] Original Winamp or some other Winamp emulator has been detected. This can result in wrongly reported data, nonfunctional plugins and other conflicts, be warned.
Times: a0 - a1: 0msec
Times: a1 - a2: 0msec
Times: a2 - a3: 0msec
Times: a3 - a4: 4msec
Times: a4 - a5: 0msec
Synch: 7 msec (in mainthread!)
Title: foo_playcount_sql
Post by: my_heroine on 2009-05-10 18:12:06
any chance to import iPod playcounts?
Title: foo_playcount_sql
Post by: jsheridan on 2009-05-10 19:55:13
Please retry with version 1.5.4

Quote
reinstall Microsoft SQL Server Compact 3.5 Service Pack 1
Tnx, thats help
But now I'm gettin a crash error, when it scan my library.
Crash log
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7D7BFCB3h
Access violation, operation: read, address: 00000000h

Call path:
threaded_process thread

Code bytes (7D7BFCB3h):
7D7BFC73h:  18 FF 75 14 FF 75 0C FF 75 10 FF 75 20 FF 75 08
7D7BFC83h:  E8 02 E4 FF FF 8B D8 85 DB 7C 0E 8B 45 1C 8B 00
7D7BFC93h:  F7 D8 1B C0 83 E0 02 89 07 5F 5E 8B C3 5B 5D C2
7D7BFCA3h:  1C 00 CC CC CC CC CC 8B FF 55 8B EC 51 8B 45 18
7D7BFCB3h:  0F B6 00 83 65 FC 00 85 C0 53 56 57 8B 7D 1C 8B
7D7BFCC3h:  F1 89 07 75 56 8A 45 0C 3A 46 04 8B 5D 10 75 26
7D7BFCD3h:  85 DB 74 22 FF 75 14 8B 03 8B CB FF 50 08 3C 01
7D7BFCE3h:  75 14 0F B6 46 04 53 57 FF 75 18 50 E8 4E 09 FC

Stack (0C6BF28Ch):
0C6BF26Ch:  00045000 00000000 FFFFFD34 000002E4
0C6BF27Ch:  FFFFFD34 000002CC 00000018 00000000
0C6BF28Ch:  0363BD7C 0C6BF2D0 7D7940C0 0365FD04
0C6BF29Ch:  00000000 00000000 00000000 00000000
0C6BF2ACh:  04CACDCC 04CA6C54 04CA7CB8 7D753434
0C6BF2BCh:  00000000 0363BD7C 00000000 00000000
0C6BF2CCh:  04CACDCC 0C6BF314 7D7DC90F 0365FD04
0C6BF2DCh:  04CA716C 04C9BC44 04CA63A8 04C9A0AC
0C6BF2ECh:  00000000 00000001 04CA6C94 00000020
0C6BF2FCh:  04C9A0AC 04C9A0F4 00000000 00000000
0C6BF30Ch:  00000000 00000000 0C6BF324 7D7DB6C4
0C6BF31Ch:  0365FD04 04C9A0AC 0C6BF348 7D7DBC82
0C6BF32Ch:  0365FD04 00000000 00000000 00000000
0C6BF33Ch:  00000001 04CA76FC 04CACF7C 0C6BF390
0C6BF34Ch:  7D782268 0365FD04 04CA63A8 00000000
0C6BF35Ch:  00000001 00000000 04CA52E4 00000000
0C6BF36Ch:  00000000 00000000 00000001 00000000
0C6BF37Ch:  04CACF7C 04CA6364 00000001 00000000
0C6BF38Ch:  04C9A074 0C6BF3B0 7D783483 0365FD04
0C6BF39Ch:  00000000 04CA5154 00000000 04CACD3C

Registers:
EAX: 00000000, EBX: 0363BD7C, ECX: 0363BD7C, EDX: 0363BD7C
ESI: 04CA56AC, EDI: 00000000, EBP: 0C6BF290, ESP: 0C6BF28C

Crash location:
Module: sqlceqp35
Offset: 6FCB3h
Symbol: "DllGetClassObject" (+5A8CCh)

Loaded modules:
foobar2000                      loaded at 00E80000h - 01016000h
ntdll                            loaded at 772E0000h - 7741C000h
kernel32                        loaded at 75950000h - 75A24000h
KERNELBASE                      loaded at 754D0000h - 75518000h
COMCTL32                        loaded at 74300000h - 7449C000h
msvcrt                          loaded at 76CD0000h - 76D7C000h
GDI32                            loaded at 76AE0000h - 76B2E000h
USER32                          loaded at 76E80000h - 76F49000h
LPK                              loaded at 75B80000h - 75B8A000h
USP10                            loaded at 767E0000h - 7687D000h
SHLWAPI                          loaded at 75750000h - 757A7000h
DSOUND                          loaded at 6DE50000h - 6DEC2000h
ADVAPI32                        loaded at 75A30000h - 75AD0000h
sechost                          loaded at 75730000h - 75749000h
RPCRT4                          loaded at 75AD0000h - 75B72000h
ole32                            loaded at 76980000h - 76ADB000h
WINMM                            loaded at 73A10000h - 73A42000h
POWRPROF                        loaded at 74910000h - 74935000h
SETUPAPI                        loaded at 76B30000h - 76CCD000h
CFGMGR32                        loaded at 755B0000h - 755D7000h
OLEAUT32                        loaded at 76D80000h - 76E0F000h
DEVOBJ                          loaded at 754B0000h - 754C2000h
SHELL32                          loaded at 75B90000h - 767D6000h
shared                          loaded at 10000000h - 1002B000h
imagehlp                        loaded at 76E50000h - 76E7A000h
UxTheme                          loaded at 740A0000h - 740E0000h
dbghelp                          loaded at 71DA0000h - 71E8C000h
COMDLG32                        loaded at 76900000h - 7697B000h
IMM32                            loaded at 76880000h - 7689F000h
MSCTF                            loaded at 77440000h - 7750C000h
CRYPTBASE                        loaded at 753B0000h - 753BC000h
CLBCatQ                          loaded at 77050000h - 770D3000h
MMDevApi                        loaded at 73D40000h - 73D79000h
PROPSYS                          loaded at 74160000h - 74255000h
dwmapi                          loaded at 73D90000h - 73DA3000h
foo_masstag                      loaded at 005E0000h - 00623000h
foo_dbsearch_api_demo            loaded at 00770000h - 00791000h
foo_audioscrobbler              loaded at 007E0000h - 00811000h
foo_dbsearch                    loaded at 00820000h - 00890000h
foo_playback_custom              loaded at 008C0000h - 00907000h
WINSPOOL                        loaded at 70A70000h - 70AC1000h
foo_playcount_sql                loaded at 70580000h - 705BA000h
MSVCP90                          loaded at 6DC60000h - 6DCEE000h
MSVCR90                          loaded at 6DBB0000h - 6DC53000h
foo_uie_elplaylist              loaded at 01F20000h - 01F8A000h
gdiplus                          loaded at 73EF0000h - 74080000h
foo_uie_tabs                    loaded at 01E20000h - 01E48000h
foo_ui_columns                  loaded at 023E0000h - 0251B000h
foo_scrobblecharts              loaded at 01F90000h - 01FC3000h
WININET                          loaded at 76F50000h - 77042000h
Normaliz                        loaded at 768F0000h - 768F3000h
urlmon                          loaded at 75810000h - 75945000h
CRYPT32                          loaded at 755E0000h - 756FC000h
MSASN1                          loaded at 754A0000h - 754AC000h
iertutil                        loaded at 770E0000h - 772D8000h
foo_uie_albumlist                loaded at 02120000h - 0215D000h
foo_run                          loaded at 01FE0000h - 0200E000h
foo_dsp_bs2b                    loaded at 70560000h - 70580000h
foo_albumlist                    loaded at 02520000h - 0257A000h
foo_winamp_spam                  loaded at 023A0000h - 023D0000h
foo_skip                        loaded at 70540000h - 7055D000h
foo_uie_graphical_browser        loaded at 6DB10000h - 6DBA4000h
MSIMG32                          loaded at 73DB0000h - 73DB5000h
foo_facets                      loaded at 026D0000h - 02751000h
foo_uie_lyrics                  loaded at 02770000h - 027CD000h
foo_uie_playlists_dropdown      loaded at 025E0000h - 02619000h
foo_uie_vis_peakmeter_spectrum  loaded at 02670000h - 026AF000h
foo_uie_trackinfo                loaded at 02630000h - 02655000h
foo_dsp_std                      loaded at 02820000h - 02868000h
foo_runcmd                      loaded at 029B0000h - 029E4000h
foo_uie_albumart                loaded at 029F0000h - 02A2D000h
foo_chronflow                    loaded at 02BA0000h - 02C01000h
OPENGL32                        loaded at 6DA40000h - 6DB08000h
GLU32                            loaded at 6FDB0000h - 6FDD2000h
DDRAW                            loaded at 6D950000h - 6DA37000h
DCIMAN32                        loaded at 746A0000h - 746A6000h
foo_menu_addons                  loaded at 02A30000h - 02A6C000h
foo_uie_library_tree            loaded at 02C10000h - 02C62000h
foo_converter                    loaded at 02DF0000h - 02E5D000h
foo_ui_std                      loaded at 03460000h - 03569000h
foo_playlist_manager            loaded at 02EF0000h - 02F34000h
foo_uie_trackinfo_mod            loaded at 030F0000h - 03146000h
MSVCP80                          loaded at 6D8C0000h - 6D947000h
MSVCR80                          loaded at 6D400000h - 6D49B000h
foo_uie_wsh_panel                loaded at 6FD80000h - 6FDAF000h
foo_vis_shpeck                  loaded at 6FD10000h - 6FD50000h
foo_comserver2                  loaded at 03150000h - 031A6000h
foo_uie_panel_splitter          loaded at 033D0000h - 03427000h
foo_uie_biography                loaded at 03570000h - 035C4000h
foo_dockable_panels              loaded at 02F60000h - 02F93000h
foo_cwbowron                    loaded at 035D0000h - 035FA000h
foo_rgscan                      loaded at 038E0000h - 0392E000h
foo_w7shell                      loaded at 03A40000h - 03A7A000h
foo_uie_wsh_panel_mod            loaded at 6D370000h - 6D3F8000h
foo_input_std                    loaded at 03D30000h - 03E70000h
foo_uie_vis_channel_spectrum    loaded at 03AB0000h - 03AED000h
foo_uie_quicksearch              loaded at 03AF0000h - 03B36000h
foo_utils                        loaded at 6FC90000h - 6FCD4000h
foo_exvar                        loaded at 03C60000h - 03C88000h
foo_cdda                        loaded at 03CC0000h - 03D00000h
USERENV                          loaded at 74A20000h - 74A37000h
profapi                          loaded at 75430000h - 7543B000h
ntmarta                          loaded at 73BD0000h - 73BF1000h
WLDAP32                          loaded at 768A0000h - 768E5000h
LINKINFO                        loaded at 74820000h - 74829000h
apphelp                          loaded at 75360000h - 753AB000h
gameux                          loaded at 71FF0000h - 72268000h
XmlLite                          loaded at 73D10000h - 73D3F000h
wer                              loaded at 73330000h - 73391000h
ntshrui                          loaded at 6FED0000h - 6FF3F000h
srvcli                          loaded at 752B0000h - 752C9000h
cscapi                          loaded at 733A0000h - 733AB000h
slc                              loaded at 73880000h - 7388A000h
CRYPTSP                          loaded at 74E40000h - 74E56000h
rsaenh                          loaded at 74BE0000h - 74C1B000h
atioglxx                        loaded at 69030000h - 69B66000h
VERSION                          loaded at 74880000h - 74889000h
WS2_32                          loaded at 76E10000h - 76E45000h
NSI                              loaded at 77430000h - 77436000h
atiadlxx                        loaded at 04200000h - 04225000h
SXS                              loaded at 753C0000h - 7541F000h
jscript                          loaded at 6D2B0000h - 6D361000h
RpcRtRemote                      loaded at 75420000h - 7542E000h
WindowsCodecs                    loaded at 73C00000h - 73CF9000h
sqlceca35                        loaded at 7D650000h - 7D6A5000h
JSProxy                          loaded at 747C0000h - 747CF000h
sqlceer35RU                      loaded at 0C1A0000h - 0C1C7000h
sqlceoledb35                    loaded at 7D400000h - 7D42B000h
sqlcese35                        loaded at 7D550000h - 7D5A8000h
sqlceqp35                        loaded at 7D750000h - 7D7EE000h

Stack dump analysis:
Address: 7D7940C0h (sqlceqp35+440C0h), symbol: "DllGetClassObject" (+2ECD9h)
Address: 7D753434h (sqlceqp35+3434h)
Address: 7D7DC90Fh (sqlceqp35+8C90Fh), symbol: "DllGetClassObject" (+77528h)
Address: 7D7DB6C4h (sqlceqp35+8B6C4h), symbol: "DllGetClassObject" (+762DDh)
Address: 7D7DBC82h (sqlceqp35+8BC82h), symbol: "DllGetClassObject" (+7689Bh)
Address: 7D782268h (sqlceqp35+32268h), symbol: "DllGetClassObject" (+1CE81h)
Address: 7D783483h (sqlceqp35+33483h), symbol: "DllGetClassObject" (+1E09Ch)
Address: 7D77F4FAh (sqlceqp35+2F4FAh), symbol: "DllGetClassObject" (+1A113h)
Address: 7D77F60Fh (sqlceqp35+2F60Fh), symbol: "DllGetClassObject" (+1A228h)
Address: 7D7DA6BAh (sqlceqp35+8A6BAh), symbol: "DllGetClassObject" (+752D3h)
Address: 7D7DAF6Ah (sqlceqp35+8AF6Ah), symbol: "DllGetClassObject" (+75B83h)
Address: 7D766EB0h (sqlceqp35+16EB0h), symbol: "DllGetClassObject" (+1AC9h)
Address: 7D7689D1h (sqlceqp35+189D1h), symbol: "DllGetClassObject" (+35EAh)
Address: 7D40F50Ah (sqlceoledb35+F50Ah), symbol: "DllGetClassObject" (+1F52h)
Address: 7D40253Ch (sqlceoledb35+253Ch)
Address: 7059228Ah (foo_playcount_sql+1228Ah)
Address: 705A636Ch (foo_playcount_sql+2636Ch), symbol: "foobar2000_get_interface" (+83ACh)
Address: 705A81F0h (foo_playcount_sql+281F0h), symbol: "foobar2000_get_interface" (+A230h)
Address: 705A822Ch (foo_playcount_sql+2822Ch), symbol: "foobar2000_get_interface" (+A26Ch)
Address: 705A8204h (foo_playcount_sql+28204h), symbol: "foobar2000_get_interface" (+A244h)
Address: 705A8264h (foo_playcount_sql+28264h), symbol: "foobar2000_get_interface" (+A2A4h)
Address: 705A81F0h (foo_playcount_sql+281F0h), symbol: "foobar2000_get_interface" (+A230h)
Address: 705A8290h (foo_playcount_sql+28290h), symbol: "foobar2000_get_interface" (+A2D0h)
Address: 705A81F0h (foo_playcount_sql+281F0h), symbol: "foobar2000_get_interface" (+A230h)
Address: 705A82B4h (foo_playcount_sql+282B4h), symbol: "foobar2000_get_interface" (+A2F4h)
Address: 77333E92h (ntdll+53E92h), symbol: "RtlAllocateHeap" (+ACh)
Address: 02640029h (foo_uie_trackinfo+10029h), symbol: "foobar2000_get_interface" (+9729h)
Address: 77333DE6h (ntdll+53DE6h), symbol: "RtlAllocateHeap" (+0h)
Address: 02690051h (foo_uie_vis_peakmeter_spectrum+20051h), symbol: "foobar2000_get_interface" (+F941h)
Address: 772FF1A5h (ntdll+1F1A5h), symbol: "DbgPrint" (+408h)
Address: 77333FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 77333E92h (ntdll+53E92h), symbol: "RtlAllocateHeap" (+ACh)
Address: 77333DE6h (ntdll+53DE6h), symbol: "RtlAllocateHeap" (+0h)
Address: 77333FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 6DC13A58h (MSVCR90+63A58h), symbol: "malloc" (+79h)
Address: 7059B4AEh (foo_playcount_sql+1B4AEh)
Address: 77333FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 77333E92h (ntdll+53E92h), symbol: "RtlAllocateHeap" (+ACh)
Address: 705819F5h (foo_playcount_sql+19F5h)
Address: 77333DE6h (ntdll+53DE6h), symbol: "RtlAllocateHeap" (+0h)
Address: 70581B0Fh (foo_playcount_sql+1B0Fh)
Address: 6DC13A58h (MSVCR90+63A58h), symbol: "malloc" (+79h)
Address: 6DC13B58h (MSVCR90+63B58h), symbol: "operator new" (+1Fh)
Address: 7058ED0Bh (foo_playcount_sql+ED0Bh)
Address: 77333CF8h (ntdll+53CF8h), symbol: "RtlFreeHeap" (+7Eh)
Address: 7058E954h (foo_playcount_sql+E954h)
Address: 705A3229h (foo_playcount_sql+23229h), symbol: "foobar2000_get_interface" (+5269h)
Address: 7058E473h (foo_playcount_sql+E473h)
Address: 705A30ECh (foo_playcount_sql+230ECh), symbol: "foobar2000_get_interface" (+512Ch)
Address: 7058CF45h (foo_playcount_sql+CF45h)
Address: 705A6BE0h (foo_playcount_sql+26BE0h), symbol: "foobar2000_get_interface" (+8C20h)
Address: 705A6BD8h (foo_playcount_sql+26BD8h), symbol: "foobar2000_get_interface" (+8C18h)
Address: 705A6BE0h (foo_playcount_sql+26BE0h), symbol: "foobar2000_get_interface" (+8C20h)
Address: 705A6BD8h (foo_playcount_sql+26BD8h), symbol: "foobar2000_get_interface" (+8C18h)
Address: 705A42B3h (foo_playcount_sql+242B3h), symbol: "foobar2000_get_interface" (+62F3h)
Address: 7058C77Ah (foo_playcount_sql+C77Ah)
Address: 705A6BE0h (foo_playcount_sql+26BE0h), symbol: "foobar2000_get_interface" (+8C20h)
Address: 705A4618h (foo_playcount_sql+24618h), symbol: "foobar2000_get_interface" (+6658h)
Address: 70598735h (foo_playcount_sql+18735h)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+88ACh)
Address: 705A6BD8h (foo_playcount_sql+26BD8h), symbol: "foobar2000_get_interface" (+8C18h)
Address: 705A47D1h (foo_playcount_sql+247D1h), symbol: "foobar2000_get_interface" (+6811h)
Address: 70598B47h (foo_playcount_sql+18B47h)
Address: 00FDB578h (foobar2000+15B578h)
Address: 00FDB578h (foobar2000+15B578h)
Address: 00FDB578h (foobar2000+15B578h)
Address: 00FD9B44h (foobar2000+159B44h)
Address: 705A49A8h (foo_playcount_sql+249A8h), symbol: "foobar2000_get_interface" (+69E8h)
Address: 00F2E846h (foobar2000+AE846h)
Address: 10002657h (shared+2657h), symbol: "uPrintCrashInfo_OnEvent" (+B0h)
Address: 00FBA1D8h (foobar2000+13A1D8h)
Address: 00F97028h (foobar2000+117028h)
Address: 00F2E7D7h (foobar2000+AE7D7h)
Address: 00F9AA69h (foobar2000+11AA69h)
Address: 759A10DCh (kernel32+510DCh), symbol: "BaseThreadInitThunk" (+12h)
Address: 77341E9Eh (ntdll+61E9Eh), symbol: "RtlProcessFlsData" (+D3h)
Address: 759B2AA5h (kernel32+62AA5h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 759B2AA5h (kernel32+62AA5h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 772FF1A5h (ntdll+1F1A5h), symbol: "DbgPrint" (+408h)
Address: 77341E71h (ntdll+61E71h), symbol: "RtlProcessFlsData" (+A6h)
Address: 00F2E7A0h (foobar2000+AE7A0h)
Address: 00F2E7A0h (foobar2000+AE7A0h)
Address: 774D1EC7h (MSCTF+91EC7h), symbol: "TF_SetShowFloatingStatus" (+30C19h)
Address: 10000419h (shared+419h)
Address: 02000101h (foo_run+20101h), symbol: "foobar2000_get_interface" (+190B1h)
Address: 01010101h (foobar2000+190101h)
Address: 01010101h (foobar2000+190101h)
Address: 01010101h (foobar2000+190101h)

Environment:
App: foobar2000 v0.9.6.5
OS: Windows 6.1.7100 x86
CPU: AMD Athlon™ 64 X2 Dual Core Processor 4200+, features: 3DNow!ex MMX SSE SSE2 SSE3
Audio: Speakers (High Definition Audio Device)
UI: Columns UI 0.3.6.5

Components:
Core (2009-04-25 20:47:24)
    foobar2000 core 0.9.6.5
foo_albumlist.dll (2009-04-25 20:45:44)
    Album List 4.3.1
foo_audioscrobbler.dll (2009-05-01 12:44:18)
    Audioscrobbler 1.4.0
foo_cdda.dll (2009-04-25 20:45:30)
    CD Audio Decoder 2.1.4
foo_chronflow.dll (2008-04-14 04:16:00)
    Chronial's Coverflow 0.3.0
foo_comserver2.dll (2006-08-01 01:13:20)
    COM Automation server 0.7 alpha 6
foo_converter.dll (2009-04-25 20:45:38)
    Converter 1.2.1
foo_cwbowron.dll (2007-07-23 08:28:10)
    Album Art Browser 0.0.5 [Jul 23 2007 - 08:27:55]
    Startup Actions 0.0.2 [Jul 23 2007 - 08:27:55]
foo_dbsearch.dll (2007-01-25 21:58:48)
    Database Search 1.4
foo_dbsearch_api_demo.dll (2007-01-22 13:01:38)
    Database Search Toolbar Demo 1.0
foo_dockable_panels.dll (2007-03-28 09:19:02)
    Dockable Panels 1.0.7b [Mar 28 2007 - 09:18:48]
foo_dsp_bs2b.dll (2008-10-31 04:04:16)
    bs2b 2.1.1
foo_dsp_std.dll (2009-04-25 20:45:44)
    Standard DSP Array 1.0
foo_exvar.dll (2008-06-14 04:42:55)
    Extended Variables 0.3.1
foo_facets.dll (2008-03-22 13:59:36)
    Facets 2008-02-25
foo_input_std.dll (2009-04-25 20:45:20)
    Standard Input Array 1.0
foo_masstag.dll (2008-11-29 21:46:18)
    Masstagger 1.7.1
foo_menu_addons.dll (2009-01-06 01:44:56)
    Menu Addons 0.4.1 (SSE)
foo_playback_custom.dll (2009-04-27 22:35:23)
    Playback Statistics Custom 1.5.1
foo_playcount_sql.dll (2009-04-19 15:04:40)
    Playback statistics SQL 1.5.3.222
foo_playlist_manager.dll (2007-01-22 14:05:12)
    Playlist Manager 1.0.2
foo_rgscan.dll (2009-04-25 20:45:16)
    ReplayGain Scanner 2.0.8
foo_run.dll (2008-01-18 00:32:42)
    Run services 0.3.4
foo_runcmd.dll (2007-08-17 01:08:42)
    Run Command 1.0 beta 3
foo_scrobblecharts.dll (2007-03-31 17:36:48)
    Last.fm Chart Player 0.2.3
foo_skip.dll (2009-01-03 22:04:18)
    Skip Track 0.4
foo_ui_columns.dll (2009-02-08 22:58:33)
    Columns UI 0.3.6.5
foo_ui_std.dll (2009-04-25 20:45:54)
    Default User Interface 0.9.5
foo_uie_albumart.dll (2007-12-16 01:22:24)
    Album Art Panel 0.2.7.1
foo_uie_albumlist.dll (2008-11-09 01:11:29)
    Album list panel 0.3.3
foo_uie_biography.dll (2009-05-09 00:55:56)
    Biography View 0.2.7.6
foo_uie_elplaylist.dll (2009-04-26 18:04:38)
    ELPlaylist 0.6.5.2(beta)
foo_uie_graphical_browser.dll (2008-04-20 01:37:53)
    Graphical Browser rev015
foo_uie_library_tree.dll (2009-04-19 22:16:58)
    Library Tree 0.3.1
foo_uie_lyrics.dll (2008-12-12 15:39:20)
    Lyric Show Panel 0.3.3.9 [Dec 12 2008 - 17:39:01]
foo_uie_panel_splitter.dll (2009-05-09 07:50:52)
    Panel Stack Splitter 0.3.7.4(alpha)
foo_uie_playlists_dropdown.dll (2007-09-29 03:03:32)
    Playlists Dropdown 0.6 alpha 4
foo_uie_quicksearch.dll (2007-05-18 18:31:10)
    Quick Search Toolbar 2.8l
foo_uie_tabs.dll (2008-12-11 00:06:50)
    Tabbed Panel Modified 0.2.7
foo_uie_trackinfo.dll (2008-11-01 14:24:02)
    Track info panel 0.8
foo_uie_trackinfo_mod.dll (2007-01-05 17: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 08:02:12)
    Channel Spectrum panel 0.17.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.dll (2008-09-20 22:57:32)
    WSH Panel (uie) 0.7.2
foo_uie_wsh_panel_mod.dll (2009-05-05 18:43:38)
    WSH Panel Mod 1.1.7
foo_utils.dll (2008-02-09 03:26:58)
    Playlist Tools 0.6.2 beta 6
foo_vis_shpeck.dll (2009-04-22 18:50:10)
    Shpeck - Winamp vis plugins wrapper 0.3.4
foo_w7shell.dll (2009-04-01 03:52:06)
    Windows 7 integration 0.2.7.1
foo_winamp_spam.dll (2007-03-26 19:37:48)
    Winamp API Emulator 0.96

Recent events:
w7shell: WA_FLIP3D_POLICY successfully set
w7shell: all green
DB To be created at: C:\Users\Diman\AppData\Roaming\foobar2000\PlayCount.sdf
Warning: [Shpeck] Original Winamp or some other Winamp emulator has been detected. This can result in wrongly reported data, nonfunctional plugins and other conflicts, be warned.
Times: a0 - a1: 0msec
Times: a1 - a2: 0msec
Times: a2 - a3: 0msec
Times: a3 - a4: 4msec
Times: a4 - a5: 0msec
Synch: 7 msec (in mainthread!)
Title: foo_playcount_sql
Post by: jsheridan on 2009-05-10 19:59:14
@_oao

Since last.fm doesn't provide a way to easily query the last played / first played times (and album information for each track) this feature is hard to implement. I might consider importing just the playcounts in the future.

@ my_heroine
Since i have no iPod here, and no way to test it, i find it hard to develop this feature
Title: foo_playcount_sql
Post by: Galleon on 2009-05-11 05:29:48
Please retry with version 1.5.4
I tried with 1.5.4, but same error again...
Then I'm re-install foobar with newest version, but still the same
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7D7BFCB3h
Access violation, operation: read, address: 00000000h

Call path:
threaded_process thread

Code bytes (7D7BFCB3h):
7D7BFC73h:  18 FF 75 14 FF 75 0C FF 75 10 FF 75 20 FF 75 08
7D7BFC83h:  E8 02 E4 FF FF 8B D8 85 DB 7C 0E 8B 45 1C 8B 00
7D7BFC93h:  F7 D8 1B C0 83 E0 02 89 07 5F 5E 8B C3 5B 5D C2
7D7BFCA3h:  1C 00 CC CC CC CC CC 8B FF 55 8B EC 51 8B 45 18
7D7BFCB3h:  0F B6 00 83 65 FC 00 85 C0 53 56 57 8B 7D 1C 8B
7D7BFCC3h:  F1 89 07 75 56 8A 45 0C 3A 46 04 8B 5D 10 75 26
7D7BFCD3h:  85 DB 74 22 FF 75 14 8B 03 8B CB FF 50 08 3C 01
7D7BFCE3h:  75 14 0F B6 46 04 53 57 FF 75 18 50 E8 4E 09 FC

Stack (0C15F0CCh):
0C15F0ACh:  0000A000 00000000 FFFFFD34 000002E4
0C15F0BCh:  FFFFFD34 000002CC 00000018 00000000
0C15F0CCh:  03F9C694 0C15F110 7D7940C0 03E83DF4
0C15F0DCh:  00000000 00000000 00000000 00000000
0C15F0ECh:  0A14A094 0A15684C 0A15C1E0 7D753434
0C15F0FCh:  00000000 03F9C694 00000000 00000000
0C15F10Ch:  0A14A094 0C15F154 7D7DC90F 03E83DF4
0C15F11Ch:  0A156D64 0A14BC44 0A1561A0 0A14A3A4
0C15F12Ch:  00000000 00000001 0A15688C 00000020
0C15F13Ch:  0A14A3A4 0A14A3EC 00000000 00000000
0C15F14Ch:  00000000 00000000 0C15F164 7D7DB6C4
0C15F15Ch:  03E83DF4 0A14A3A4 0C15F188 7D7DBC82
0C15F16Ch:  03E83DF4 00000000 00000000 00000000
0C15F17Ch:  00000001 0A156EF4 0A15C084 0C15F1D0
0C15F18Ch:  7D782268 03E83DF4 0A1561A0 00000000
0C15F19Ch:  00000001 00000000 0A1566E4 00000000
0C15F1ACh:  00000000 00000000 00000001 00000000
0C15F1BCh:  0A15C084 0A15615C 00000001 00000000
0C15F1CCh:  0A14A36C 0C15F1F0 7D783483 03E83DF4
0C15F1DCh:  00000000 0A154F2C 00000000 0A15C04C

Registers:
EAX: 00000000, EBX: 03F9C694, ECX: 03F9C694, EDX: 03F9C694
ESI: 0A1554A4, EDI: 00000000, EBP: 0C15F0D0, ESP: 0C15F0CC

Crash location:
Module: sqlceqp35
Offset: 6FCB3h
Symbol: "DllGetClassObject" (+5A8CCh)

Loaded modules:
foobar2000                      loaded at 01330000h - 014C8000h
ntdll                            loaded at 77D20000h - 77E5C000h
kernel32                        loaded at 76680000h - 76754000h
KERNELBASE                      loaded at 760A0000h - 760E8000h
COMCTL32                        loaded at 75270000h - 7540C000h
msvcrt                          loaded at 76FA0000h - 7704C000h
GDI32                            loaded at 76F50000h - 76F9E000h
USER32                          loaded at 76D20000h - 76DE9000h
LPK                              loaded at 76760000h - 7676A000h
USP10                            loaded at 763A0000h - 7643D000h
SHLWAPI                          loaded at 76810000h - 76867000h
DSOUND                          loaded at 6AD40000h - 6ADB2000h
ADVAPI32                        loaded at 76870000h - 76910000h
sechost                          loaded at 77E60000h - 77E79000h
RPCRT4                          loaded at 77EA0000h - 77F42000h
ole32                            loaded at 76DF0000h - 76F4B000h
WINMM                            loaded at 74450000h - 74482000h
POWRPROF                        loaded at 75150000h - 75175000h
SETUPAPI                        loaded at 76170000h - 7630D000h
CFGMGR32                        loaded at 76110000h - 76137000h
OLEAUT32                        loaded at 76310000h - 7639F000h
DEVOBJ                          loaded at 760F0000h - 76102000h
SHELL32                          loaded at 77050000h - 77C96000h
shared                          loaded at 10000000h - 1002B000h
imagehlp                        loaded at 76CF0000h - 76D1A000h
UxTheme                          loaded at 74AC0000h - 74B00000h
dbghelp                          loaded at 73D70000h - 73E5C000h
COMDLG32                        loaded at 77CA0000h - 77D1B000h
IMM32                            loaded at 77E80000h - 77E9F000h
MSCTF                            loaded at 76910000h - 769DC000h
CRYPTBASE                        loaded at 75DF0000h - 75DFC000h
CLBCatQ                          loaded at 76780000h - 76803000h
MMDevApi                        loaded at 74800000h - 74839000h
PROPSYS                          loaded at 74B00000h - 74BF5000h
dwmapi                          loaded at 74790000h - 747A3000h
foo_rgscan                      loaded at 005A0000h - 005EE000h
foo_albumlist                    loaded at 01220000h - 0127B000h
foo_cdda                        loaded at 012C0000h - 01301000h
foo_dsp_std                      loaded at 019A0000h - 019E9000h
foo_converter                    loaded at 02880000h - 028ED000h
foo_input_std                    loaded at 02B00000h - 02C40000h
foo_ui_std                      loaded at 02E40000h - 02F4E000h
gdiplus                          loaded at 74930000h - 74AC0000h
MSIMG32                          loaded at 730B0000h - 730B5000h
foo_playcount_sql                loaded at 71020000h - 7105A000h
MSVCP90                          loaded at 6AC10000h - 6AC9E000h
MSVCR90                          loaded at 6AB60000h - 6AC03000h
sqlceca35                        loaded at 7D650000h - 7D6A5000h
CRYPT32                          loaded at 75EF0000h - 7600C000h
MSASN1                          loaded at 75EE0000h - 75EEC000h
WININET                          loaded at 76BF0000h - 76CE2000h
Normaliz                        loaded at 76490000h - 76493000h
urlmon                          loaded at 76540000h - 76675000h
iertutil                        loaded at 769E0000h - 76BD8000h
MSVCR80                          loaded at 6B9A0000h - 6BA3B000h
WS2_32                          loaded at 76500000h - 76535000h
NSI                              loaded at 76BE0000h - 76BE6000h
JSProxy                          loaded at 73A40000h - 73A4F000h
sqlceer35RU                      loaded at 028F0000h - 02917000h
sqlceoledb35                    loaded at 7D400000h - 7D42B000h
sqlcese35                        loaded at 7D550000h - 7D5A8000h
sqlceqp35                        loaded at 7D750000h - 7D7EE000h

Stack dump analysis:
Address: 7D7940C0h (sqlceqp35+440C0h), symbol: "DllGetClassObject" (+2ECD9h)
Address: 7D753434h (sqlceqp35+3434h)
Address: 7D7DC90Fh (sqlceqp35+8C90Fh), symbol: "DllGetClassObject" (+77528h)
Address: 7D7DB6C4h (sqlceqp35+8B6C4h), symbol: "DllGetClassObject" (+762DDh)
Address: 7D7DBC82h (sqlceqp35+8BC82h), symbol: "DllGetClassObject" (+7689Bh)
Address: 7D782268h (sqlceqp35+32268h), symbol: "DllGetClassObject" (+1CE81h)
Address: 7D783483h (sqlceqp35+33483h), symbol: "DllGetClassObject" (+1E09Ch)
Address: 7D77F4FAh (sqlceqp35+2F4FAh), symbol: "DllGetClassObject" (+1A113h)
Address: 7D77F60Fh (sqlceqp35+2F60Fh), symbol: "DllGetClassObject" (+1A228h)
Address: 7D7DA6BAh (sqlceqp35+8A6BAh), symbol: "DllGetClassObject" (+752D3h)
Address: 7D7DAF6Ah (sqlceqp35+8AF6Ah), symbol: "DllGetClassObject" (+75B83h)
Address: 7D766EB0h (sqlceqp35+16EB0h), symbol: "DllGetClassObject" (+1AC9h)
Address: 7D7689D1h (sqlceqp35+189D1h), symbol: "DllGetClassObject" (+35EAh)
Address: 7D40F50Ah (sqlceoledb35+F50Ah), symbol: "DllGetClassObject" (+1F52h)
Address: 7D40253Ch (sqlceoledb35+253Ch)
Address: 7103229Ah (foo_playcount_sql+1229Ah)
Address: 7104636Ch (foo_playcount_sql+2636Ch), symbol: "foobar2000_get_interface" (+839Ch)
Address: 710481F0h (foo_playcount_sql+281F0h), symbol: "foobar2000_get_interface" (+A220h)
Address: 7104822Ch (foo_playcount_sql+2822Ch), symbol: "foobar2000_get_interface" (+A25Ch)
Address: 71048204h (foo_playcount_sql+28204h), symbol: "foobar2000_get_interface" (+A234h)
Address: 71048264h (foo_playcount_sql+28264h), symbol: "foobar2000_get_interface" (+A294h)
Address: 710481F0h (foo_playcount_sql+281F0h), symbol: "foobar2000_get_interface" (+A220h)
Address: 71048290h (foo_playcount_sql+28290h), symbol: "foobar2000_get_interface" (+A2C0h)
Address: 710481F0h (foo_playcount_sql+281F0h), symbol: "foobar2000_get_interface" (+A220h)
Address: 710482B4h (foo_playcount_sql+282B4h), symbol: "foobar2000_get_interface" (+A2E4h)
Address: 77D74939h (ntdll+54939h), symbol: "RtlTryEnterCriticalSection" (+66Dh)
Address: 77D3F1A5h (ntdll+1F1A5h), symbol: "DbgPrint" (+408h)
Address: 77D73FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 77D73E92h (ntdll+53E92h), symbol: "RtlAllocateHeap" (+ACh)
Address: 77D73DE6h (ntdll+53DE6h), symbol: "RtlAllocateHeap" (+0h)
Address: 77D73FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 77D73FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 710219F5h (foo_playcount_sql+19F5h)
Address: 71021B0Fh (foo_playcount_sql+1B0Fh)
Address: 6ABC3A58h (MSVCR90+63A58h), symbol: "malloc" (+79h)
Address: 6ABC3B58h (MSVCR90+63B58h), symbol: "operator new" (+1Fh)
Address: 77D3F1A5h (ntdll+1F1A5h), symbol: "DbgPrint" (+408h)
Address: 7102ED1Bh (foo_playcount_sql+ED1Bh)
Address: 77D7494Bh (ntdll+5494Bh), symbol: "RtlTryEnterCriticalSection" (+67Fh)
Address: 7102E964h (foo_playcount_sql+E964h)
Address: 71043239h (foo_playcount_sql+23239h), symbol: "foobar2000_get_interface" (+5269h)
Address: 7102E483h (foo_playcount_sql+E483h)
Address: 7102DE3Bh (foo_playcount_sql+DE3Bh)
Address: 710430FCh (foo_playcount_sql+230FCh), symbol: "foobar2000_get_interface" (+512Ch)
Address: 7102CF55h (foo_playcount_sql+CF55h)
Address: 71046BE0h (foo_playcount_sql+26BE0h), symbol: "foobar2000_get_interface" (+8C10h)
Address: 71046BD8h (foo_playcount_sql+26BD8h), symbol: "foobar2000_get_interface" (+8C08h)
Address: 71046BE0h (foo_playcount_sql+26BE0h), symbol: "foobar2000_get_interface" (+8C10h)
Address: 71046BD8h (foo_playcount_sql+26BD8h), symbol: "foobar2000_get_interface" (+8C08h)
Address: 710442C3h (foo_playcount_sql+242C3h), symbol: "foobar2000_get_interface" (+62F3h)
Address: 7102C78Ah (foo_playcount_sql+C78Ah)
Address: 71046BE0h (foo_playcount_sql+26BE0h), symbol: "foobar2000_get_interface" (+8C10h)
Address: 71044628h (foo_playcount_sql+24628h), symbol: "foobar2000_get_interface" (+6658h)
Address: 71038745h (foo_playcount_sql+18745h)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 760A179Ch (KERNELBASE+179Ch), symbol: "WaitForSingleObjectEx" (+6Ch)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 760BE255h (KERNELBASE+1E255h), symbol: "OutputDebugStringA" (+104h)
Address: 71046BD8h (foo_playcount_sql+26BD8h), symbol: "foobar2000_get_interface" (+8C08h)
Address: 710447E1h (foo_playcount_sql+247E1h), symbol: "foobar2000_get_interface" (+6811h)
Address: 71038B57h (foo_playcount_sql+18B57h)
Address: 0148D620h (foobar2000+15D620h)
Address: 0148D620h (foobar2000+15D620h)
Address: 0148D620h (foobar2000+15D620h)
Address: 0148BBECh (foobar2000+15BBECh)
Address: 710449B8h (foo_playcount_sql+249B8h), symbol: "foobar2000_get_interface" (+69E8h)
Address: 013DF306h (foobar2000+AF306h)
Address: 10002657h (shared+2657h), symbol: "uPrintCrashInfo_OnEvent" (+B0h)
Address: 0146B270h (foobar2000+13B270h)
Address: 01448768h (foobar2000+118768h)
Address: 013DF297h (foobar2000+AF297h)
Address: 01448789h (foobar2000+118789h)
Address: 766D10DCh (kernel32+510DCh), symbol: "BaseThreadInitThunk" (+12h)
Address: 77D81E9Eh (ntdll+61E9Eh), symbol: "RtlProcessFlsData" (+D3h)
Address: 766E2AA5h (kernel32+62AA5h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 766E2AA5h (kernel32+62AA5h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 77D3F1A5h (ntdll+1F1A5h), symbol: "DbgPrint" (+408h)
Address: 77D81E71h (ntdll+61E71h), symbol: "RtlProcessFlsData" (+A6h)
Address: 013DF260h (foobar2000+AF260h)
Address: 013DF260h (foobar2000+AF260h)

Environment:
App: foobar2000 v0.9.6.6 beta 1
OS: Windows 6.1.7100 x86
CPU: AMD Athlon™ 64 X2 Dual Core Processor 4200+, features: 3DNow!ex MMX SSE SSE2 SSE3
Audio: Speakers (High Definition Audio Device)
UI: Default User Interface 0.9.5

Components:
Core (2009-05-09 05:40:24)
    foobar2000 core 0.9.6.6 beta 1
foo_albumlist.dll (2009-05-09 05:38:46)
    Album List 4.3.1
foo_cdda.dll (2009-05-09 05:38:30)
    CD Audio Decoder 2.1.4
foo_converter.dll (2009-05-09 05:38:26)
    Converter 1.2.1
foo_dsp_std.dll (2009-05-09 05:38:44)
    Standard DSP Array 1.0
foo_input_std.dll (2009-05-09 05:38:26)
    Standard Input Array 1.0
foo_playcount_sql.dll (2009-05-10 21:46:18)
    Playback statistics SQL 1.5.4.225
foo_rgscan.dll (2009-05-09 05:38:16)
    ReplayGain Scanner 2.0.8
foo_ui_std.dll (2009-05-09 05:38:58)
    Default User Interface 0.9.5

Recent events:
Watching: E:\English
Watching: E:\New
Watching: E:\Russian
Watching: E:\Various
Album List refreshed in: 0:04.162588
DB To be created at: C:\Users\Diman\AppData\Roaming\foobar2000\PlayCount.sdf
Title: foo_playcount_sql
Post by: jsheridan on 2009-05-11 10:05:12
OK, retry with 1.5.4.227

Please retry with version 1.5.4
I tried with 1.5.4, but same error again...
Then I'm re-install foobar with newest version, but still the same
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7D7BFCB3h
Access violation, operation: read, address: 00000000h

Call path:
threaded_process thread

Code bytes (7D7BFCB3h):
7D7BFC73h:  18 FF 75 14 FF 75 0C FF 75 10 FF 75 20 FF 75 08
7D7BFC83h:  E8 02 E4 FF FF 8B D8 85 DB 7C 0E 8B 45 1C 8B 00
7D7BFC93h:  F7 D8 1B C0 83 E0 02 89 07 5F 5E 8B C3 5B 5D C2
7D7BFCA3h:  1C 00 CC CC CC CC CC 8B FF 55 8B EC 51 8B 45 18
7D7BFCB3h:  0F B6 00 83 65 FC 00 85 C0 53 56 57 8B 7D 1C 8B
7D7BFCC3h:  F1 89 07 75 56 8A 45 0C 3A 46 04 8B 5D 10 75 26
7D7BFCD3h:  85 DB 74 22 FF 75 14 8B 03 8B CB FF 50 08 3C 01
7D7BFCE3h:  75 14 0F B6 46 04 53 57 FF 75 18 50 E8 4E 09 FC

Stack (0C15F0CCh):
0C15F0ACh:  0000A000 00000000 FFFFFD34 000002E4
0C15F0BCh:  FFFFFD34 000002CC 00000018 00000000
0C15F0CCh:  03F9C694 0C15F110 7D7940C0 03E83DF4
0C15F0DCh:  00000000 00000000 00000000 00000000
0C15F0ECh:  0A14A094 0A15684C 0A15C1E0 7D753434
0C15F0FCh:  00000000 03F9C694 00000000 00000000
0C15F10Ch:  0A14A094 0C15F154 7D7DC90F 03E83DF4
0C15F11Ch:  0A156D64 0A14BC44 0A1561A0 0A14A3A4
0C15F12Ch:  00000000 00000001 0A15688C 00000020
0C15F13Ch:  0A14A3A4 0A14A3EC 00000000 00000000
0C15F14Ch:  00000000 00000000 0C15F164 7D7DB6C4
0C15F15Ch:  03E83DF4 0A14A3A4 0C15F188 7D7DBC82
0C15F16Ch:  03E83DF4 00000000 00000000 00000000
0C15F17Ch:  00000001 0A156EF4 0A15C084 0C15F1D0
0C15F18Ch:  7D782268 03E83DF4 0A1561A0 00000000
0C15F19Ch:  00000001 00000000 0A1566E4 00000000
0C15F1ACh:  00000000 00000000 00000001 00000000
0C15F1BCh:  0A15C084 0A15615C 00000001 00000000
0C15F1CCh:  0A14A36C 0C15F1F0 7D783483 03E83DF4
0C15F1DCh:  00000000 0A154F2C 00000000 0A15C04C

Registers:
EAX: 00000000, EBX: 03F9C694, ECX: 03F9C694, EDX: 03F9C694
ESI: 0A1554A4, EDI: 00000000, EBP: 0C15F0D0, ESP: 0C15F0CC

Crash location:
Module: sqlceqp35
Offset: 6FCB3h
Symbol: "DllGetClassObject" (+5A8CCh)

Loaded modules:
foobar2000                      loaded at 01330000h - 014C8000h
ntdll                            loaded at 77D20000h - 77E5C000h
kernel32                        loaded at 76680000h - 76754000h
KERNELBASE                      loaded at 760A0000h - 760E8000h
COMCTL32                        loaded at 75270000h - 7540C000h
msvcrt                          loaded at 76FA0000h - 7704C000h
GDI32                            loaded at 76F50000h - 76F9E000h
USER32                          loaded at 76D20000h - 76DE9000h
LPK                              loaded at 76760000h - 7676A000h
USP10                            loaded at 763A0000h - 7643D000h
SHLWAPI                          loaded at 76810000h - 76867000h
DSOUND                          loaded at 6AD40000h - 6ADB2000h
ADVAPI32                        loaded at 76870000h - 76910000h
sechost                          loaded at 77E60000h - 77E79000h
RPCRT4                          loaded at 77EA0000h - 77F42000h
ole32                            loaded at 76DF0000h - 76F4B000h
WINMM                            loaded at 74450000h - 74482000h
POWRPROF                        loaded at 75150000h - 75175000h
SETUPAPI                        loaded at 76170000h - 7630D000h
CFGMGR32                        loaded at 76110000h - 76137000h
OLEAUT32                        loaded at 76310000h - 7639F000h
DEVOBJ                          loaded at 760F0000h - 76102000h
SHELL32                          loaded at 77050000h - 77C96000h
shared                          loaded at 10000000h - 1002B000h
imagehlp                        loaded at 76CF0000h - 76D1A000h
UxTheme                          loaded at 74AC0000h - 74B00000h
dbghelp                          loaded at 73D70000h - 73E5C000h
COMDLG32                        loaded at 77CA0000h - 77D1B000h
IMM32                            loaded at 77E80000h - 77E9F000h
MSCTF                            loaded at 76910000h - 769DC000h
CRYPTBASE                        loaded at 75DF0000h - 75DFC000h
CLBCatQ                          loaded at 76780000h - 76803000h
MMDevApi                        loaded at 74800000h - 74839000h
PROPSYS                          loaded at 74B00000h - 74BF5000h
dwmapi                          loaded at 74790000h - 747A3000h
foo_rgscan                      loaded at 005A0000h - 005EE000h
foo_albumlist                    loaded at 01220000h - 0127B000h
foo_cdda                        loaded at 012C0000h - 01301000h
foo_dsp_std                      loaded at 019A0000h - 019E9000h
foo_converter                    loaded at 02880000h - 028ED000h
foo_input_std                    loaded at 02B00000h - 02C40000h
foo_ui_std                      loaded at 02E40000h - 02F4E000h
gdiplus                          loaded at 74930000h - 74AC0000h
MSIMG32                          loaded at 730B0000h - 730B5000h
foo_playcount_sql                loaded at 71020000h - 7105A000h
MSVCP90                          loaded at 6AC10000h - 6AC9E000h
MSVCR90                          loaded at 6AB60000h - 6AC03000h
sqlceca35                        loaded at 7D650000h - 7D6A5000h
CRYPT32                          loaded at 75EF0000h - 7600C000h
MSASN1                          loaded at 75EE0000h - 75EEC000h
WININET                          loaded at 76BF0000h - 76CE2000h
Normaliz                        loaded at 76490000h - 76493000h
urlmon                          loaded at 76540000h - 76675000h
iertutil                        loaded at 769E0000h - 76BD8000h
MSVCR80                          loaded at 6B9A0000h - 6BA3B000h
WS2_32                          loaded at 76500000h - 76535000h
NSI                              loaded at 76BE0000h - 76BE6000h
JSProxy                          loaded at 73A40000h - 73A4F000h
sqlceer35RU                      loaded at 028F0000h - 02917000h
sqlceoledb35                    loaded at 7D400000h - 7D42B000h
sqlcese35                        loaded at 7D550000h - 7D5A8000h
sqlceqp35                        loaded at 7D750000h - 7D7EE000h

Stack dump analysis:
Address: 7D7940C0h (sqlceqp35+440C0h), symbol: "DllGetClassObject" (+2ECD9h)
Address: 7D753434h (sqlceqp35+3434h)
Address: 7D7DC90Fh (sqlceqp35+8C90Fh), symbol: "DllGetClassObject" (+77528h)
Address: 7D7DB6C4h (sqlceqp35+8B6C4h), symbol: "DllGetClassObject" (+762DDh)
Address: 7D7DBC82h (sqlceqp35+8BC82h), symbol: "DllGetClassObject" (+7689Bh)
Address: 7D782268h (sqlceqp35+32268h), symbol: "DllGetClassObject" (+1CE81h)
Address: 7D783483h (sqlceqp35+33483h), symbol: "DllGetClassObject" (+1E09Ch)
Address: 7D77F4FAh (sqlceqp35+2F4FAh), symbol: "DllGetClassObject" (+1A113h)
Address: 7D77F60Fh (sqlceqp35+2F60Fh), symbol: "DllGetClassObject" (+1A228h)
Address: 7D7DA6BAh (sqlceqp35+8A6BAh), symbol: "DllGetClassObject" (+752D3h)
Address: 7D7DAF6Ah (sqlceqp35+8AF6Ah), symbol: "DllGetClassObject" (+75B83h)
Address: 7D766EB0h (sqlceqp35+16EB0h), symbol: "DllGetClassObject" (+1AC9h)
Address: 7D7689D1h (sqlceqp35+189D1h), symbol: "DllGetClassObject" (+35EAh)
Address: 7D40F50Ah (sqlceoledb35+F50Ah), symbol: "DllGetClassObject" (+1F52h)
Address: 7D40253Ch (sqlceoledb35+253Ch)
Address: 7103229Ah (foo_playcount_sql+1229Ah)
Address: 7104636Ch (foo_playcount_sql+2636Ch), symbol: "foobar2000_get_interface" (+839Ch)
Address: 710481F0h (foo_playcount_sql+281F0h), symbol: "foobar2000_get_interface" (+A220h)
Address: 7104822Ch (foo_playcount_sql+2822Ch), symbol: "foobar2000_get_interface" (+A25Ch)
Address: 71048204h (foo_playcount_sql+28204h), symbol: "foobar2000_get_interface" (+A234h)
Address: 71048264h (foo_playcount_sql+28264h), symbol: "foobar2000_get_interface" (+A294h)
Address: 710481F0h (foo_playcount_sql+281F0h), symbol: "foobar2000_get_interface" (+A220h)
Address: 71048290h (foo_playcount_sql+28290h), symbol: "foobar2000_get_interface" (+A2C0h)
Address: 710481F0h (foo_playcount_sql+281F0h), symbol: "foobar2000_get_interface" (+A220h)
Address: 710482B4h (foo_playcount_sql+282B4h), symbol: "foobar2000_get_interface" (+A2E4h)
Address: 77D74939h (ntdll+54939h), symbol: "RtlTryEnterCriticalSection" (+66Dh)
Address: 77D3F1A5h (ntdll+1F1A5h), symbol: "DbgPrint" (+408h)
Address: 77D73FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 77D73E92h (ntdll+53E92h), symbol: "RtlAllocateHeap" (+ACh)
Address: 77D73DE6h (ntdll+53DE6h), symbol: "RtlAllocateHeap" (+0h)
Address: 77D73FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 77D73FF7h (ntdll+53FF7h), symbol: "RtlAllocateHeap" (+211h)
Address: 710219F5h (foo_playcount_sql+19F5h)
Address: 71021B0Fh (foo_playcount_sql+1B0Fh)
Address: 6ABC3A58h (MSVCR90+63A58h), symbol: "malloc" (+79h)
Address: 6ABC3B58h (MSVCR90+63B58h), symbol: "operator new" (+1Fh)
Address: 77D3F1A5h (ntdll+1F1A5h), symbol: "DbgPrint" (+408h)
Address: 7102ED1Bh (foo_playcount_sql+ED1Bh)
Address: 77D7494Bh (ntdll+5494Bh), symbol: "RtlTryEnterCriticalSection" (+67Fh)
Address: 7102E964h (foo_playcount_sql+E964h)
Address: 71043239h (foo_playcount_sql+23239h), symbol: "foobar2000_get_interface" (+5269h)
Address: 7102E483h (foo_playcount_sql+E483h)
Address: 7102DE3Bh (foo_playcount_sql+DE3Bh)
Address: 710430FCh (foo_playcount_sql+230FCh), symbol: "foobar2000_get_interface" (+512Ch)
Address: 7102CF55h (foo_playcount_sql+CF55h)
Address: 71046BE0h (foo_playcount_sql+26BE0h), symbol: "foobar2000_get_interface" (+8C10h)
Address: 71046BD8h (foo_playcount_sql+26BD8h), symbol: "foobar2000_get_interface" (+8C08h)
Address: 71046BE0h (foo_playcount_sql+26BE0h), symbol: "foobar2000_get_interface" (+8C10h)
Address: 71046BD8h (foo_playcount_sql+26BD8h), symbol: "foobar2000_get_interface" (+8C08h)
Address: 710442C3h (foo_playcount_sql+242C3h), symbol: "foobar2000_get_interface" (+62F3h)
Address: 7102C78Ah (foo_playcount_sql+C78Ah)
Address: 71046BE0h (foo_playcount_sql+26BE0h), symbol: "foobar2000_get_interface" (+8C10h)
Address: 71044628h (foo_playcount_sql+24628h), symbol: "foobar2000_get_interface" (+6658h)
Address: 71038745h (foo_playcount_sql+18745h)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 760A179Ch (KERNELBASE+179Ch), symbol: "WaitForSingleObjectEx" (+6Ch)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 7104686Ch (foo_playcount_sql+2686Ch), symbol: "foobar2000_get_interface" (+889Ch)
Address: 760BE255h (KERNELBASE+1E255h), symbol: "OutputDebugStringA" (+104h)
Address: 71046BD8h (foo_playcount_sql+26BD8h), symbol: "foobar2000_get_interface" (+8C08h)
Address: 710447E1h (foo_playcount_sql+247E1h), symbol: "foobar2000_get_interface" (+6811h)
Address: 71038B57h (foo_playcount_sql+18B57h)
Address: 0148D620h (foobar2000+15D620h)
Address: 0148D620h (foobar2000+15D620h)
Address: 0148D620h (foobar2000+15D620h)
Address: 0148BBECh (foobar2000+15BBECh)
Address: 710449B8h (foo_playcount_sql+249B8h), symbol: "foobar2000_get_interface" (+69E8h)
Address: 013DF306h (foobar2000+AF306h)
Address: 10002657h (shared+2657h), symbol: "uPrintCrashInfo_OnEvent" (+B0h)
Address: 0146B270h (foobar2000+13B270h)
Address: 01448768h (foobar2000+118768h)
Address: 013DF297h (foobar2000+AF297h)
Address: 01448789h (foobar2000+118789h)
Address: 766D10DCh (kernel32+510DCh), symbol: "BaseThreadInitThunk" (+12h)
Address: 77D81E9Eh (ntdll+61E9Eh), symbol: "RtlProcessFlsData" (+D3h)
Address: 766E2AA5h (kernel32+62AA5h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 766E2AA5h (kernel32+62AA5h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 77D3F1A5h (ntdll+1F1A5h), symbol: "DbgPrint" (+408h)
Address: 77D81E71h (ntdll+61E71h), symbol: "RtlProcessFlsData" (+A6h)
Address: 013DF260h (foobar2000+AF260h)
Address: 013DF260h (foobar2000+AF260h)

Environment:
App: foobar2000 v0.9.6.6 beta 1
OS: Windows 6.1.7100 x86
CPU: AMD Athlon™ 64 X2 Dual Core Processor 4200+, features: 3DNow!ex MMX SSE SSE2 SSE3
Audio: Speakers (High Definition Audio Device)
UI: Default User Interface 0.9.5

Components:
Core (2009-05-09 05:40:24)
    foobar2000 core 0.9.6.6 beta 1
foo_albumlist.dll (2009-05-09 05:38:46)
    Album List 4.3.1
foo_cdda.dll (2009-05-09 05:38:30)
    CD Audio Decoder 2.1.4
foo_converter.dll (2009-05-09 05:38:26)
    Converter 1.2.1
foo_dsp_std.dll (2009-05-09 05:38:44)
    Standard DSP Array 1.0
foo_input_std.dll (2009-05-09 05:38:26)
    Standard Input Array 1.0
foo_playcount_sql.dll (2009-05-10 21:46:18)
    Playback statistics SQL 1.5.4.225
foo_rgscan.dll (2009-05-09 05:38:16)
    ReplayGain Scanner 2.0.8
foo_ui_std.dll (2009-05-09 05:38:58)
    Default User Interface 0.9.5

Recent events:
Watching: E:\English
Watching: E:\New
Watching: E:\Russian
Watching: E:\Various
Album List refreshed in: 0:04.162588
DB To be created at: C:\Users\Diman\AppData\Roaming\foobar2000\PlayCount.sdf
Title: foo_playcount_sql
Post by: Galleon on 2009-05-11 10:32:40
Oh well, thanks thanks thanks! Now all works fine and scanning at the startup is much faster too.
Title: foo_playcount_sql
Post by: gren on 2009-05-13 08:01:41
Is there a way to manually edit the SQL playcounts?  I have some duplicate copies of songs and they playcounts have not been added together... or it arbitrarily chose the lower value for the SQL database and I'd like to fix it.

Thanks for this great component.
Title: foo_playcount_sql
Post by: jsheridan on 2009-05-13 10:30:30
You can edit the database directly using tools like Microsoft® SQL Server® 2008 Management Studio Express (http://www.microsoft.com/downloadS/details.aspx?familyid=08E52AC2-1D62-45F6-9A4A-4B76A8564A2B&displaylang=en) or even write a small .NET application that does what you want.

Is there a way to manually edit the SQL playcounts?  I have some duplicate copies of songs and they playcounts have not been added together... or it arbitrarily chose the lower value for the SQL database and I'd like to fix it.

Thanks for this great component.

Title: foo_playcount_sql
Post by: Jack Schmaltz on 2009-06-09 16:51:40
hey, thanks for a great component, been using it for a while with no problems.
however...
is there anyway i can fetch the info saved in the properties dialog (ie, Played (Artist)) & display it elsewhere?
iv been trying for a while now with no such luck

thanks
Title: foo_playcount_sql
Post by: jsheridan on 2009-06-09 16:59:47
Because of performance issues regarding how title formatting works, this isn't supported.

is there anyway i can fetch the info saved in the properties dialog (ie, Played (Artist)) & display it elsewhere?

Title: foo_playcount_sql
Post by: Jack Schmaltz on 2009-06-09 17:01:16
ok, thanks for the fast response.
Title: foo_playcount_sql
Post by: 2E7AH on 2009-06-18 10:08:07
I have problem resetting %rating_sql% value - "ratings > not set" doesn't work for me. I tried this also on portable install, but same result - ratings stays the same although I can set to another value. As I remember it worked OK before

I'm using latest foobar and component version on Windows 7
Title: foo_playcount_sql
Post by: jsheridan on 2009-06-18 20:47:58
Sorry, but i can't seem to be able to reproduce on:

foobar2000 0.9.6.8
foo_playcount_sql 1.5.4.225
Windows 7 RC1

I have problem resetting %rating_sql% value - "ratings > not set" doesn't work for me. I tried this also on portable install, but same result - ratings stays the same although I can set to another value. As I remember it worked OK before

I'm using latest foobar and component version on Windows 7

Title: foo_playcount_sql
Post by: 2E7AH on 2009-06-18 20:52:33
mine is:

foobar2000 0.9.6.8
foo_playcount_sql 1.5.4.227
Windows 7 RC1.7127
Title: foo_playcount_sql
Post by: jsheridan on 2009-06-18 21:15:33
Reproduced with build 227, uploaded a fixed build 236.

Thanks for reporting

mine is:

foobar2000 0.9.6.8
foo_playcount_sql 1.5.4.227
Windows 7 RC1.7127

Title: foo_playcount_sql
Post by: Nemphael on 2009-06-20 14:46:59
I started using foo_playcount_sql a couple of days ago, but have run into some problems.

Today, I noticed the context menu folder with foo_lyricsdb 0.2.6.1 Beta commands disappeared.  (May have been when upgrading from foo_playcount_sql 1.5.4.227 to .236?) Upon removing foo_playcount_sql, it reappeared. Couldn't reproduce it afterward, though, when I put foo_playcount_sql back.
http://img.photobucket.com/albums/v615/Pet...ricsDB_back.png (http://img.photobucket.com/albums/v615/Petaman/foo_playcount_sql__lyricsDB_back.png)

Also, I may have misunderstood something, but why won't %play_count_sql% combine plays? I have three versions of Brothers in Arms by Dire Straits (On different albums), which should be a total of 11 plays (4+4+3) imported for foo_playcount. I tried playing one of them, but it only updated that one song to 5 plays.
http://img.photobucket.com/albums/v615/Pet...not_combine.png (http://img.photobucket.com/albums/v615/Petaman/foo_playcount_sql__does_not_combine.png)

Using:
Foobar2000 v0.9.6.8
foo_playcount_sql 1.5.4.236
Windows 7 RC1.7100
Title: foo_playcount_sql
Post by: Slotos on 2009-06-20 15:09:12
Also, I may have misunderstood something, but why won't %play_count_sql% combine plays? I have three versions of Brothers in Arms by Dire Straits (On different albums), which should be a total of 11 plays (4+4+3) imported for foo_playcount. I tried playing one of them, but it only updated that one song to 5 plays.

Why should it? Those tracks are different by all means except the actual music. Any "same track detection" will fail miserably because of false detections or huge load. Except human hearing.

If you eager to have this feature you could ask for manual relation editing, but I highly doubt you'll see this feature in near future.
Title: foo_playcount_sql
Post by: Nemphael on 2009-06-20 15:11:21
Why should it? Those tracks are different by all means except the actual music. Any "same track detection" will fail miserably because of false detections or huge load. Except human hearing.

I thought it was a feature?
In  addition, since the plugin tracks metadata, different named files, or  duplicate items that have the same artist/album/title combo, will all  get the same playcount information. Currently, it will not detect  metadata renames, so they will count as different tracks once  renamed.
Title: foo_playcount_sql
Post by: fbuser on 2009-06-20 15:16:27
I thought it was a feature?
Yes, but
same artist/album/title combo
You have different albums.
Title: foo_playcount_sql
Post by: Nemphael on 2009-06-20 15:17:49
Oh... my bad, then. ^^;
Title: foo_playcount_sql
Post by: slyght on 2009-11-30 22:47:05
Hey jsheridan,

just wanted to say a big "thank you" for this plugin. I love the idea of meta-tag based stats (especially rating) and was searching for something like this a year ago without success. So I gave it a try again, today and luckily I found your plugin


So here's some input which you may consider as feature requests

1.) Since I already used foo_playcount I already have a lot of stats and I was glad that those where imported. Nevertheless I never took care of naming the same tracks in different folders in exact the same way because it didn't play a role (sometimes capital letter, sometimes a "&" instead of "and" and so on...). So now I catch up with this to have a consistent database but when I rename the tracks, stats for one of those I bring together will be lost. I would love to have an option to "merge" those stats, if the plugin finds out, there's an already existing entry for it, instead of overwriting it with the stats of the other one.

2.) Some custimization option would be fine, too. Especially like someone already suggested on the first page of this thread I don't care about different album tags and would like it not to be considered for differentiation. May workaround is to remove all album values from my existing tracks, but this results in a loss of their stats because a new entry will be created. So I don't want you to change it, but perhaps make it customizable so everyone may decide for himself if he wants to include album (or other) tags, too.
Another examples would be the highest rating you could give to a track. Obviously 5 is the default but I would like to have more differentiation for my tracks and rather like to give between 0 and 10 stars

Thanks for reading my post and for the time and effort you've spent so far on this plugin.
Title: foo_playcount_sql
Post by: Hector C on 2009-12-01 21:26:11
I want to say  "thank you" too ... and ask a question.

Why I don't see the the sql statistics in the "Selection Properties" panel?


++Hector
Title: foo_playcount_sql
Post by: acmodeu on 2010-03-07 17:19:44
Is there any way to display "show recently played" & "show most played items" not as separate windows but as panels?
Title: foo_playcount_sql
Post by: war59312 on 2010-03-08 06:32:40
Foobar2000 1.0.1:

Quote
DB To be created at: C:\Program Files\foobar2000\PlayCount.sdf
Error: foo_playcount_sql: Error: HR 0x80040154 File .\PlayStat_DB.cpp Line 273


Does not seem to work.
Title: foo_playcount_sql
Post by: Yirkha on 2010-03-08 12:56:38
Perhaps you didn't install the required libraries (Microsoft SQL Server Compact 3.5 Service Pack 1) correctly, as written in the first post of this thread?
If yes, try reinstalling it...
Title: foo_playcount_sql
Post by: Ryotsuke on 2010-05-12 08:54:33
You can edit the database directly using tools like Microsoft® SQL Server® 2008 Management Studio Express (http://www.microsoft.com/downloadS/details.aspx?familyid=08E52AC2-1D62-45F6-9A4A-4B76A8564A2B&displaylang=en) or even write a small .NET application that does what you want.

Is there a way to manually edit the SQL playcounts?  I have some duplicate copies of songs and they playcounts have not been added together... or it arbitrarily chose the lower value for the SQL database and I'd like to fix it.

Thanks for this great component.




Could you please be more specific? I cant find any foobar-like databases in Sql Management.
Title: foo_playcount_sql
Post by: TuNk77 on 2011-03-12 20:59:38
Foobar2000 1.0.1:

Quote
DB To be created at: C:\Program Files\foobar2000\PlayCount.sdf
Error: foo_playcount_sql: Error: HR 0x80040154 File .\PlayStat_DB.cpp Line 273


Does not seem to work.


Same thing here, I have installed Microsoft SQL Server Compact 3.5 Service Pack 1, using Windows 7 x86.
Using foobar2000 v115
Title: foo_playcount_sql
Post by: Andreasvb on 2012-03-04 11:27:11
Hi.

foobar2000 seems to crash when opening Properties for a track. 
No crash report.

Happens only for some files, don't know the connection.

I have installed following:
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
Microsoft SQL Server Compact 3.5 Service Pack 2



It can be reproduced with a bare minimum install of foobar2000 + foo_playcount_sql.
However, it only happens with my current PlayCount.sdf.

Works if I remove the PlayCount.sdf-file, it still reads the info somewhere, maybe from RAM?

Quote
Microsoft Windows 8 Consumer Preview.
Version 6.2 (Build 8250)

Core (2012-02-04 13:05:48 UTC)
    foobar2000 core 1.1.11
foo_input_std.dll (2012-02-04 13:05:10 UTC)
    Standard Input Array 1.0
foo_playcount_sql.dll (2009-06-18 22:12:48 UTC)
    Playback statistics SQL 1.5.4.236
foo_ui_std.dll (2012-02-04 13:04:08 UTC)
    Default User Interface 0.9.5

It might be something in Windows 8 that's causing it.

Please ask if you want some more info or if you want any file that can help you find the issue.

Thanks!