Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Playlist-Tools-SMP (Read 8821 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Playlist-Tools-SMP

Reply #75
https://github.com/regorxxx/Playlist-Tools-SMP/releases/tag/v3.0.0-beta.4
Quote
v3.0.0-beta.4 -Hotfix
There may be a SMP's bug on installation. See _TIPS and INSTALLATION.txt
PREVIOUS BUTTONS CONFIG WILL BE LOST ON UPGRADE DUE TO A CHANGE ON PROPERTIES
REQUIRES SMP 1.6.1.

    Fixed crash when using harmonic mixing due to a typo on the code.

See v3.0.0-beta.3 release info: https://github.com/regorxxx/Playlist-Tools-SMP/releases/tag/v3.0.0-beta.3

Re: Playlist-Tools-SMP

Reply #76
https://github.com/regorxxx/Playlist-Tools-SMP/releases/tag/v3.0.0-beta.6

Quote
v3.0.0-beta.6 - Bugfixes and new Pools method Latest

There may be a SMP's bug on installation. See _TIPS and INSTALLATION.txt
PREVIOUS BUTTONS CONFIG (<3.0.0) WILL BE LOST ON UPGRADE DUE TO A CHANGE ON PROPERTIES
REQUIRES SMP 1.6.1.

    Pools: added new classic pools presets based on TF grouping (like foo_random_pools). Restore defaults to load them. It can also be used along (dynamic) query filtering; for ex: a pool with 2 tracks by 50 different artists which also match the genre of the currently selected track. See also 'presets\Playlist Tools\pools\classic_pool_*.json' for more examples.
    Other tools\Write Tags: tagging is done in smaller groups of tracks, so in case something goes wrong, it would be easier to re-tag missing files and less time would have been lost.
    Fixed errors on Dynamic queries, Advanced sort (dyngenre) and Import track list with special chars.
    Fixed crash on Search similar by... when pool of selected tracks was empty.

See changelog for a full list: https://github.com/regorxxx/Playlist-Tools-SMP/blob/main/CHANGELOG.md

Previous changes -there are some really important- (v3.0.0-beta.5):
Spoiler (click to show/hide)

Re: Playlist-Tools-SMP

Reply #77
Much appreciation for this craft regor the options and possibilites are remarkable!

I do have some question if I may,
I'm using the playlist tool to write tags like chromaprint, MD5, replaygain, and would like to uncheck replaygain but everything is greyed out.

Using the write tags tool upon the progression on fingerprinting I get the window, Warning: Unresponsive script, Continue or Stop script.
Panel: Playlist Tools: Buttons Bar: Playlist Tools: Buttons Bar
Script: 9442a60cd99bfec55e362636caa52d3d: 253
Pressing continue it does another ~10-20% until it is finished, but would like to know if i could do it different to speed up the progress for my whole library.
Also a few tracks do fail to get a fingerprint and I cannot make it work for these file.

Is it possible to combine Playlist-Tools-SMP & Playlist-Manager-SMP?
individual they work great, and have tried combining the folders and skipped the already existing files only I coudn't get it to work.

Thank you a lot for these great components it's absolutely amazing to be able to use these features!

Re: Playlist-Tools-SMP

Reply #78
I do have some question if I may,
I'm using the playlist tool to write tags like chromaprint, MD5, replaygain, and would like to uncheck replaygain but everything is greyed out.
You must be using and old version, there was no way to enable/disable things in previous versions, it was just informative. Update it ;)

Using the write tags tool upon the progression on fingerprinting I get the window, Warning: Unresponsive script, Continue or Stop script.
That's a SMP thing. Check the wiki:
https://github.com/regorxxx/Playlist-Tools-SMP/wiki/Known-problems-or-limitations

Pressing continue it does another ~10-20% until it is finished, but would like to know if i could do it different to speed up the progress for my whole library.
Not sure I understand your question. Once you "disable" the warning popup, there is nothing more to do. It takes a lot of time as soon as you add tags to many files

Also a few tracks do fail to get a fingerprint and I cannot make it work for these file.
There are some cases like that... and nothing can be done. As you can imagine, that's something on Chromaprint side (for tagging, I only coded the wrapper for foobar)... so if you have tracks failing you may either retry or report the bug to them.

Is it possible to combine Playlist-Tools-SMP & Playlist-Manager-SMP?
individual they work great, and have tried combining the folders and skipped the already existing files only I coudn't get it to work.

Thank you a lot for these great components it's absolutely amazing to be able to use these features!
They are supposed to work as is without any problems. I have all my scripts installed at the same time, obviously, without glitches... Have you downloaded latest versions? You can not match different versions, that's why I always update all scripts the same days.
Spoiler (click to show/hide)

Let me know if it works for you fine after updating.

 

Re: Playlist-Tools-SMP

Reply #79
You must be using and old version, there was no way to enable/disable things in previous versions, it was just informative. Update it ;)
They are supposed to work as is without any problems. I have all my scripts installed at the same time, obviously, without glitches... Have you downloaded latest versions? You can not match different versions, that's why I always update all scripts the same days.
Updating it to all the newest version actually solved all the problems, The reason I didn't go for them in the first place is because there was the word beta in it. When combining the folders with these versions seem to work great, I haven't fully tested it yet but so far it seems to work out just fine.

That's a SMP thing. Check the wiki:
https://github.com/regorxxx/Playlist-Tools-SMP/wiki/Known-problems-or-limitationsscript.
I did still get the message Warning: unresponsive script, before when i "checked" Don't ask my again and contiunued smp would crash. but with the newest version it's solved and it will continue and works perfectly.

There are some cases like that... and nothing can be done. As you can imagine, that's something on Chromaprint side (for tagging, I only coded the wrapper for foobar)... so if you have tracks failing you may either retry or report the bug to them.
Unacceptable how dare they to tarnish your perfect craft! Well in that case I might take a look around to see the what the options are, it's also just a few songs so it isn't too big of a deal.

Let me know if it works for you fine after updating.
So far it all looks to work brilliantly and I'm really forward on keep on using it, there are still so many things to try out which also still need to figured out how to use all these functions and if I really can't get something to work I might come and ask some around again :)

If you were to bring out another version of these 2 components what would be the proper way to update it, Preferably I would not replace it because it would lose the information it would already hold.

Re: Playlist-Tools-SMP

Reply #80
Updating it to all the newest version actually solved all the problems, The reason I didn't go for them in the first place is because there was the word beta in it. When combining the folders with these versions seem to work great, I haven't fully tested it yet but so far it seems to work out just fine.

The beta versions are actually perfectly fine (I mean, if there is a breaking bug I would fix it as soon as it's found), I call them beta due to a bug on SMP in fact XD I think that's stated in the release page. The bug is present in any version of my scripts because it's a SMP bug, I just warn about it now (that's the only difference) because some people had problems.

Quote
I did still get the message Warning: unresponsive script, before when i "checked" Don't ask my again and contiunued smp would crash. but with the newest version it's solved and it will continue and works perfectly.
If you press cancel, it crashes because you stopped it ;) That's intended behavior, feel free to ask in the SMP thread about it if you find it non-intuitive. As said, it will always appear on subsequent restarts unless you configure it to a higher time. Since it usually only happens when tagging, I find it ok to just click ok on the popup from time to time.

Quote
Unacceptable how dare they to tarnish your perfect craft! Well in that case I might take a look around to see the what the options are, it's also just a few songs so it isn't too big of a deal.
:P For example any track with a length lower than 30 secs or so will fail, but that's how fingerprinting work. Oh and any track present in an ISO file (because there is no physical file to scan)! (they are skipped now in the latest version). You can bypass the ISO limitation by ripping the tracks, scanning them and finally copying the tags back. (These are "tricks" expect to explain the manual though)

Quote
If you were to bring out another version of these 2 components what would be the proper way to update it, Preferably I would not replace it because it would lose the information it would already hold.
Nothing is lost on updating, close foobar, overwrite the "xxx-scripts" files, start foobar and done. Config is saved at another place and the panel stores internally other config, so as soon as you restart all is the same. Playlist Tools has even a menu entry to export the user configured menus for backup or other purposes.

Re: Playlist-Tools-SMP

Reply #81
Have edited the wiki with more info about it:
https://github.com/regorxxx/Playlist-Tools-SMP/wiki/Known-problems-or-limitations

And also added these suggestions on SMP:
https://github.com/TheQwertiest/foo_spider_monkey_panel/issues/167

Re: Playlist-Tools-SMP

Reply #82
:P For example any track with a length lower than 30 secs or so will fail, but that's how fingerprinting work. Oh and any track present in an ISO file (because there is no physical file to scan)! (they are skipped now in the latest version). You can bypass the ISO limitation by ripping the tracks, scanning them and finally copying the tags back. (These are "tricks" expect to explain the manual though)
Actually I could fingerprint any song if it's 2~3 second or 30minutes, also I found a workaround for the failed songs by converting them again.
https://imgur.com/a/YnymyUp
after giving them a fingerprint they do change from .FLAC to . FLA files? but after converting these once again they go back to normal and it's fixed ;)

Quote
Nothing is lost on updating, close foobar, overwrite the "xxx-scripts" files, start foobar and done. Config is saved at another place and the panel stores internally other config, so as soon as you restart all is the same. Playlist Tools has even a menu entry to export the user configured menus for backup or other purposes.
I will use the export system as back up but it's good to hear you can just swap it.


I found a lot of readme on how to make playlist but do not see anything about creating a playlist of a fingerprint, with the button "Playlist Tools" I see a lot of different options but nothing about the fingerprint, and right clicking to make a new button i also only see options like moods/search by distance, etc.
So I pressume I have to enter a kind of dynamic query to make this work, For ex. want to test out if I can select a song and find other songs relating or getting close to the same fingerprints.

Thanks for the extra info in the last post!

Re: Playlist-Tools-SMP

Reply #83
I found a lot of readme on how to make playlist but do not see anything about creating a playlist of a fingerprint, with the button "Playlist Tools" I see a lot of different options but nothing about the fingerprint, and right clicking to make a new button i also only see options like moods/search by distance, etc.
So I pressume I have to enter a kind of dynamic query to make this work, For ex. want to test out if I can select a song and find other songs relating or getting close to the same fingerprints.

Thanks for the extra info in the last post!
That's because I have not shared it. There is no documentation about it for a reason ;)

Already created the code and framework to search by ChromaPrint (and FooID) fingerprinting -and works fine!- BUT foobar2000 is currently limited by RAM to do it. In my system I have 70K tracks and when foobar tries to cache the raw fingerprints it uses +1.5 GB of RAM. On the search process sometimes it reaches +3GB of RAM and crashes. There is no workaround for that since the tags are always cached, so any ram the process takes is on top of +1.5 GB of fingerprint data cached.

Therefore I stopped development on that side until foobar2000 becames a 64 bit software (its 2022  ::)) or SMP includes a method to read tags directly from files (like this one at JSP).

I could share the FooID button though, since that works fine (the fingerprints are much smaller). Will have it in mind on the next release. FooID method is much slower though and less reliable, that's why I put all my energy on the ChromaPrint framework, I managed to find "duplicates" in 70K tracks in less than 10 seconds (while it takes minutes in FooID).

Spoiler (click to show/hide)

Note in any case that tool is only meant to look for duplicates or live versions (not for track similarity in musical terms), if you want that to create playlist by similarity -like spotify- use "search by distance".

Re: Playlist-Tools-SMP

Reply #84
https://github.com/regorxxx/Playlist-Tools-SMP/releases/tag/v3.0.0-beta.7
Quote
v3.0.0-beta.7 - Fingerprinting and compatiblity with new scripts Latest

There may be a SMP's bug on installation. See _TIPS and INSTALLATION.txt
PREVIOUS BUTTONS CONFIG (<3.0.0) WILL BE LOST ON UPGRADE DUE TO A CHANGE ON PROPERTIES
REQUIRES SMP 1.6.1.

    Fingerprinting: added buttons for tagging with ChromaPrint and FooID. Added button for searching similar tracks in library by fingerprint with FooID. All other ChromaPrint tools are greyed out due to limitations on current Foobar2000 and SMP engine.
    Other tools\Write Tags: tool has been reworked to better handle ISO and cue files along under the hood improvements.
    Profiler: configuration was not being applied until script was reloaded.
    Playlist Manager: Updated to match v0.5.0-beta.6 release.

See changelog for a full list: https://github.com/regorxxx/Playlist-Tools-SMP/blob/main/CHANGELOG.md

Have also updated the wiki on github.

Re: Playlist-Tools-SMP

Reply #85
https://hydrogenaud.io/index.php/topic,120979.msg1011987.html#msg1011987
Fix for wine users. (unless you are using Wine, forget about this)

@paregistrase let me know if this lets you load the panel; although a foobar crash points to other problem... but at least this should "solve" the buttons bug down the road.

Re: Playlist-Tools-SMP

Reply #86
https://hydrogenaud.io/index.php/topic,120979.msg1011987.html#msg1011987
Fix for wine users. (unless you are using Wine, forget about this)

@paregistrase let me know if this lets you load the panel; although a foobar crash points to other problem... but at least this should "solve" the buttons bug down the road.

Nah, still crashing foobar.

Re: Playlist-Tools-SMP

Reply #87
I will give you some test files to see the point where it crashes on Wine.
Btw, when using my scripts the console is also logged to a physical file (so it remains after a crash). Look at foobar profile folder, maybe that helps finding the problem.

Re: Playlist-Tools-SMP

Reply #88
Put this file on the main folder (along buttons_toolbar.js, playlist_manager.js, ...) and load it in a blank panel.

It has been edited to load no buttons by default. Then keep adding buttons, one by one and lets check which one gives problems.

X

Wait 1 sec between adding buttons, to ensure the console is flushed to the file. Then post here the console log whenever foobar crashes (let playlist tool button be the last one, since probably that's the one crashing). If it fails even loading the blank bar, then it will be related to one of the file management helpers.

I will check it on Monday.

Re: Playlist-Tools-SMP

Reply #89
Like before, It crashes foobar2000 when I tried to add the script in the SMP configuration tool.

Console log
Code: [Select]
[17:13:35] Playlist manager: reading files from "Z:\home\xxxx\bin\foobar2000\profile\playlist_manager\"
[17:13:36] Buttons: window.CreateThemeManager('Button') failed, using experimental buttons
[17:13:37] Caching library paths 10%.
[17:13:37] Caching library paths 20%.
[17:13:38] Caching library paths 30%.
[17:13:39] Caching library paths 40%.
[17:13:40] Caching library paths 50%.
[17:13:41] Caching library paths 60%.
[17:13:42] Caching library paths 70%.
[17:13:43] Caching library paths 80%.
[17:13:44] Caching library paths 90%.
[17:13:45] Caching library paths 100%.
[17:13:45] precacheLibraryPaths: got paths from 73663 items.

Crash report

Code: [Select]
Illegal operation:
Code: E06D7363h, flags: 00000001h, address: 7B0122E6h
Additional parameters: 19930520h 0021C228h 03F6714Ch
Message: argument not found
Last win32 error: 3

Call path:
entry=>app_mainloop

Code bytes (7B0122E6h):
7B0122A6h:  83 EC 6C 8B 59 04 8B 31 C7 45 A0 00 00 00 00 8B
7B0122B6h:  41 08 8B 51 0C C7 45 A4 90 22 01 7B 83 E3 01 89
7B0122C6h:  75 98 89 5D 9C 85 C0 74 04 85 D2 75 2D C7 45 A8
7B0122D6h:  00 00 00 00 8D 45 98 89 04 24 FF 15 40 9B 0D 7B
7B0122E6h:  83 EC 04 8D 65 F4 59 5B 5E 5D 8D 61 FC C2 10 00
7B0122F6h:  8D B4 26 00 00 00 00 8D 76 00 83 F8 0F B9 0F 00
7B012306h:  00 00 0F 47 C1 89 45 A8 C1 E0 02 8B 4C 02 FC 89
7B012316h:  4C 05 A8 83 E8 01 83 F8 04 72 B9 83 E0 FC 31 C9

Stack (0021C164h):
0021C144h:  665C6E69 61626F6F 30303272 72705C30
0021C154h:  6C69666F 0021C1D8 7B0122E6 0021C170
0021C164h:  00000000 0021C190 00000013 E06D7363
0021C174h:  00000001 00000000 7B0122E6 00000003
0021C184h:  19930520 0021C228 03F6714C 02430000
0021C194h:  00000000 00000013 70B73406 02430000
0021C1A4h:  00000000 0021C1CC 70B74177 0073006A
0021C1B4h:  239C0000 0021C1DC 70B74177 0021C210
0021C1C4h:  00000013 00000013 0021C1F0 19930520
0021C1D4h:  03F33A81 0021C218 03ED67AD 0021C1F0
0021C1E4h:  03ED7ED7 0021C218 03ED67AD E06D7363
0021C1F4h:  00000001 00000003 0021C20C 0021C518
0021C204h:  0021C2CC 0021C228 19930520 0021C228
0021C214h:  03F6714C 0021C258 03D5E984 0021C228
0021C224h:  03F6714C 03F22BA8 4E4DBD08 00000001
0021C234h:  03F15114 00000000 00000000 03F21BC0
0021C244h:  03D5EA01 0121C2C8 0021C57C 03EFB17D
0021C254h:  FFFFFFFF 0021C2C0 03D5EA0D 03F33A80
0021C264h:  03F33A83 0021C310 0021C2C0 0000000F
0021C274h:  00000000 0021C5B8 0000003A 0021C310

Registers:
EAX: 0021C170, EBX: 0021C228, ECX: 00000008, EDX: 0021C20C
ESI: E06D7363, EDI: 03F6714C, EBP: 0021C1D8, ESP: 0021C164

Crash location:
Module: kernelbase
Offset: 122E6h
Symbol: "RaiseException" (+51h)

Loaded modules:
explorerframe                    loaded at 676C0000h - 6771F000h
rsaenh                           loaded at 6FE40000h - 6FED7000h
schannel                         loaded at 6DD00000h - 6DD1C000h
psapi                            loaded at 67840000h - 6784F000h
msxml                            loaded at 71040000h - 7105C000h
msdart                           loaded at 356C0000h - 356E4000h
msado15                          loaded at 43BA0000h - 43C1E000h
msxml3                           loaded at 494D0000h - 49EB5000h
msctf                            loaded at 6F900000h - 6F9F3000h
wintrust                         loaded at 6F4C0000h - 6F560000h
setupapi                         loaded at 6BCC0000h - 6BE61000h
userenv                          loaded at 0F350000h - 0F373000h
lgpllibs                         loaded at 0FD80000h - 0FE93000h
mozglue                          loaded at 0F840000h - 0F93D000h
nss3                             loaded at 0FB70000h - 0FD7F000h
xul                              loaded at 25E40000h - 2B494000h
mshtml                           loaded at 24020000h - 25596000h
scrrun                           loaded at 0F320000h - 0F346000h
wshom                            loaded at 0F300000h - 0F31C000h
mlang                            loaded at 69480000h - 69501000h
atlthunk                         loaded at 66540000h - 66554000h
foo_ui_std                       loaded at 0AD70000h - 0AE79000h
foo_dsp_vocal_exciter            loaded at 0AD50000h - 0AD64000h
foo_uie_console                  loaded at 0AD10000h - 0AD47000h
foo_dsp_std                      loaded at 0ACD0000h - 0AD06000h
foo_r128norm                     loaded at 0AAA0000h - 0AAC8000h
foo_rgscan                       loaded at 0AA50000h - 0AA9A000h
foo_enhanced_playcount           loaded at 0AA10000h - 0AA45000h
foo_run                          loaded at 0A9D0000h - 0AA0A000h
foo_enhanced_spectrum_analyzer   loaded at 0A980000h - 0A9C3000h
foo_musical_spectrum             loaded at 0A760000h - 0A77C000h
foo_facets                       loaded at 0A3A0000h - 0A555000h
foo_scrobble                     loaded at 0A2D0000h - 0A39C000h
foo_uie_typefind                 loaded at 0A2A0000h - 0A2C3000h
foo_fileops                      loaded at 0A260000h - 0A2A0000h
foo_musicbrainz                  loaded at 0A190000h - 0A253000h
foo_playcount                    loaded at 0A160000h - 0A187000h
foo_albumlist                    loaded at 0A110000h - 0A157000h
foo_uie_albumlist                loaded at 0A090000h - 0A103000h
foo_cdda                         loaded at 0A050000h - 0A085000h
foo_wave_minibar_mod             loaded at 09FA0000h - 0A041000h
foo_texttools                    loaded at 09D60000h - 09D94000h
foo_dsp_replaygain               loaded at 09D40000h - 09D53000h
foo_simplaylist_manager          loaded at 09A60000h - 09B38000h
foo_simplaylist                  loaded at 09710000h - 0985C000h
foo_uie_lyrics3                  loaded at 09650000h - 0970B000h
foo_stop_after_queue             loaded at 09640000h - 0964D000h
foo_jesus                        loaded at 09420000h - 0943A000h
avutil-fb2k-56                   loaded at 09170000h - 09416000h
avcodec-fb2k-58                  loaded at 08FB0000h - 0916B000h
foo_input_std                    loaded at 08E50000h - 08FA9000h
foo_stnaa                        loaded at 08E20000h - 08E4D000h
mpr                              loaded at 70940000h - 70994000h
wininet                          loaded at 61940000h - 61B3F000h
urlmon                           loaded at 08380000h - 08614000h
dwmapi                           loaded at 6EC40000h - 6EC5C000h
foo_ui_columns                   loaded at 08080000h - 0837C000h
foo_vis_vumeter                  loaded at 07BD0000h - 07C75000h
fooid                            loaded at 077B0000h - 077CA000h
foo_biometric                    loaded at 07770000h - 077A7000h
foo_dsp_eq                       loaded at 07730000h - 0776D000h
foo_textdisplay                  loaded at 074E0000h - 0752B000h
foo_multisource                  loaded at 06AC0000h - 06C50000h
foo_input_monkey                 loaded at 06A80000h - 06ABA000h
foo_runcmd                       loaded at 06840000h - 06873000h
foo_quicksearch                  loaded at 065E0000h - 06637000h
usp10                            loaded at 065D0000h - 065D2000h
riched20                         loaded at 7AC00000h - 7AE2A000h
msftedit                         loaded at 06590000h - 065C7000h
wsock32                          loaded at 69180000h - 691A5000h
nspr4                            loaded at 05B50000h - 05B81000h
mozjs-68                         loaded at 046A0000h - 05B48000h
propsys                          loaded at 69940000h - 699AA000h
windowscodecs                    loaded at 03FA0000h - 046A0000h
foo_spider_monkey_panel          loaded at 03D30000h - 03F99000h
foo_discogger                    loaded at 03B70000h - 03D2A000h
foo_dsp_sqrcomp                  loaded at 03960000h - 0396E000h
foo_unpack                       loaded at 038F0000h - 0395E000h
foo_freedb2                      loaded at 038C0000h - 038F0000h
foo_masstag                      loaded at 03880000h - 038BD000h
foo_dsp_dolbyhp                  loaded at 03650000h - 03674000h
foo_dsp_dynamics                 loaded at 03640000h - 03650000h
foo_lrc_metalarchives            loaded at 035A0000h - 03638000h
foo_converter                    loaded at 03510000h - 0359A000h
nsi                              loaded at 6F480000h - 6F49B000h
iphlpapi                         loaded at 61500000h - 6157A000h
dnsapi                           loaded at 6E4C0000h - 6E4FE000h
netapi32                         loaded at 688C0000h - 6894F000h
msv1_0                           loaded at 6D880000h - 6D8B5000h
kerberos                         loaded at 65F40000h - 65F65000h
concrt140                        loaded at 02AA0000h - 02B0E000h
winex11                          loaded at 027F0000h - 02867000h
secur32                          loaded at 01DB0000h - 01E3D000h
ws2_32                           loaded at 6D780000h - 6D808000h
jsproxy                          loaded at 68080000h - 680C4000h
winhttp                          loaded at 69600000h - 69700000h
oleacc                           loaded at 637C0000h - 63881000h
bcrypt                           loaded at 66240000h - 66283000h
crypt32                          loaded at 6E8C0000h - 6EB95000h
gdiplus                          loaded at 25CB0000h - 25E40000h
msimg32                          loaded at 70E80000h - 70E94000h
msvcr120                         loaded at 67340000h - 6763A000h
msvcp140                         loaded at 62300000h - 625D8000h
winspool                         loaded at 663C0000h - 66472000h
comdlg32                         loaded at 01B90000h - 01DA7000h
dbghelp                          loaded at 6FA80000h - 6FCD2000h
imagehlp                         loaded at 6DB40000h - 6DB72000h
shared                           loaded at 01B60000h - 01B81000h
vcruntime140                     loaded at 70240000h - 70255000h
zlib1                            loaded at 10000000h - 10017000h
oleaut32                         loaded at 64EC0000h - 652BB000h
shell32                          loaded at 00EB0000h - 01B58000h
uxtheme                          loaded at 68700000h - 68791000h
shcore                           loaded at 63BC0000h - 63C05000h
shlwapi                          loaded at 64A40000h - 64B2A000h
rpcrt4                           loaded at 62FC0000h - 631E2000h
combase                          loaded at 68500000h - 68640000h
ole32                            loaded at 00A40000h - 00EA9000h
msacm32                          loaded at 6A040000h - 6A0A2000h
winmm                            loaded at 008C0000h - 00A3C000h
imm32                            loaded at 71200000h - 71255000h
win32u                           loaded at 66B00000h - 66B69000h
version                          loaded at 63480000h - 6349B000h
user32                           loaded at 6ED00000h - 6F25B000h
gdi32                            loaded at 6C9C0000h - 6CBE0000h
ucrtbase                         loaded at 70B40000h - 70E13000h
sechost                          loaded at 6BC00000h - 6BC99000h
msvcrt                           loaded at 6A280000h - 6A4F4000h
advapi32                         loaded at 61740000h - 61836000h
comctl32                         loaded at 6CC40000h - 6D0BC000h
kernelbase                       loaded at 7B000000h - 7B4D2000h
kernel32                         loaded at 7B600000h - 7B757000h
ntdll                            loaded at 7BC00000h - 7BEAB000h
foobar2000                       loaded at 00400000h - 0067A000h


Re: Playlist-Tools-SMP

Reply #90
Try again with this file please. It will crash but giving us a hint about the part crashing.

First open the native console panel and click on write log (write it to a different file than the one named console.log at the profile folder) for ex. to console2.log. Then load the script. Finally post the log (the one with more lines like "TEST X" of the 2 console files).

Re: Playlist-Tools-SMP

Reply #91
This time didn't crash foobar.
Log says:
Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf ({431A134A-DA45-41CB-B636-E251B4FBBE1C})
missing ) after argument list

File: buttons_toolbar_test.js
Line: 111, Column: 20
Source: console.log('TEST 6';

Edit:

Maybe I'm wrong but looking the other console.log(TEST) and the log itself "missing ) after argument list"  :D seems to me that a pair of ) are missing in TEST6 and TEST7

Now it crashes foobar

The log is

Code: [Select]
TEST 1

failure.text
Code: [Select]
Illegal operation:
Code: E06D7363h, flags: 00000001h, address: 7B0122E6h
Additional parameters: 19930520h 0021C228h 0490714Ch
Message: argument not found
Last win32 error: 3

Call path:
entry=>app_mainloop

Code bytes (7B0122E6h):
7B0122A6h:  83 EC 6C 8B 59 04 8B 31 C7 45 A0 00 00 00 00 8B
7B0122B6h:  41 08 8B 51 0C C7 45 A4 90 22 01 7B 83 E3 01 89
7B0122C6h:  75 98 89 5D 9C 85 C0 74 04 85 D2 75 2D C7 45 A8
7B0122D6h:  00 00 00 00 8D 45 98 89 04 24 FF 15 40 9B 0D 7B
7B0122E6h:  83 EC 04 8D 65 F4 59 5B 5E 5D 8D 61 FC C2 10 00
7B0122F6h:  8D B4 26 00 00 00 00 8D 76 00 83 F8 0F B9 0F 00
7B012306h:  00 00 0F 47 C1 89 45 A8 C1 E0 02 8B 4C 02 FC 89
7B012316h:  4C 05 A8 83 E8 01 83 F8 04 72 B9 83 E0 FC 31 C9

Stack (0021C164h):
0021C144h:  665C6E69 61626F6F 30303272 72705C30
0021C154h:  6C69666F 0021C1D8 7B0122E6 0021C170
0021C164h:  00000000 0021C190 00000013 E06D7363
0021C174h:  00000001 00000000 7B0122E6 00000003
0021C184h:  19930520 0021C228 0490714C 02430000
0021C194h:  00000000 00000013 70B73406 02430000
0021C1A4h:  00000000 0021C1CC 70B74177 00780078
0021C1B4h:  0064005F 0021C1DC 70B74177 006A002E
0021C1C4h:  00000013 00000013 0021C1F0 19930520
0021C1D4h:  048D3A81 0021C218 048767AD 0021C1F0
0021C1E4h:  04877ED7 0021C218 048767AD E06D7363
0021C1F4h:  00000001 00000003 0021C20C 0021C518
0021C204h:  0021C2CC 0021C228 19930520 0021C228
0021C214h:  0490714C 0021C258 046FE984 0021C228
0021C224h:  0490714C 048C2BA8 4BE0B540 00000001
0021C234h:  048B5114 00000000 00000000 048C1BC0
0021C244h:  046FEA01 0121C2C8 0021C57C 0489B17D
0021C254h:  FFFFFFFF 0021C2C0 046FEA0D 048D3A80
0021C264h:  048D3A83 0021C310 0021C2C0 0000000F
0021C274h:  00000000 0021C5B8 0000003A 0021C310

Registers:
EAX: 0021C170, EBX: 0021C228, ECX: 00000008, EDX: 0021C20C
ESI: E06D7363, EDI: 0490714C, EBP: 0021C1D8, ESP: 0021C164

Crash location:
Module: kernelbase
Offset: 122E6h
Symbol: "RaiseException" (+51h)

Loaded modules:
cryptnet                         loaded at 3CAA0000h - 3CAE3000h
rsaenh                           loaded at 6FE40000h - 6FED7000h
schannel                         loaded at 6DD00000h - 6DD1C000h
winepulse                        loaded at 3C4E0000h - 3C557000h
mmdevapi                         loaded at 67D40000h - 67DD5000h
avrt                             loaded at 63E00000h - 63E17000h
explorerframe                    loaded at 676C0000h - 6771F000h
psapi                            loaded at 67840000h - 6784F000h
msxml                            loaded at 71040000h - 7105C000h
msdart                           loaded at 2E4A0000h - 2E4C4000h
msado15                          loaded at 39FC0000h - 3A03E000h
msxml3                           loaded at 395D0000h - 39FB5000h
msctf                            loaded at 6F900000h - 6F9F3000h
wintrust                         loaded at 6F4C0000h - 6F560000h
setupapi                         loaded at 6BCC0000h - 6BE61000h
userenv                          loaded at 0F190000h - 0F1B3000h
lgpllibs                         loaded at 0FBC0000h - 0FCD3000h
mozglue                          loaded at 0FAC0000h - 0FBBD000h
nss3                             loaded at 0F8B0000h - 0FABF000h
xul                              loaded at 26E40000h - 2C494000h
mshtml                           loaded at 24020000h - 25596000h
scrrun                           loaded at 0F160000h - 0F186000h
wshom                            loaded at 0F140000h - 0F15C000h
mlang                            loaded at 69480000h - 69501000h
foo_dsp_dynamics                 loaded at 0AED0000h - 0AEE0000h
foo_stop_after_queue             loaded at 0AEC0000h - 0AECD000h
foo_discogger                    loaded at 0AD00000h - 0AEBA000h
foo_simplaylist                  loaded at 0A9B0000h - 0AAFC000h
foo_dsp_std                      loaded at 0A970000h - 0A9A6000h
foo_freedb2                      loaded at 0A940000h - 0A970000h
foo_multisource                  loaded at 09F20000h - 0A0B0000h
foo_lrc_metalarchives            loaded at 09E80000h - 09F18000h
foo_vis_vumeter                  loaded at 099D0000h - 09A75000h
foo_fileops                      loaded at 09990000h - 099D0000h
foo_converter                    loaded at 09900000h - 0998A000h
foo_cdda                         loaded at 098C0000h - 098F5000h
foo_unpack                       loaded at 09850000h - 098BE000h
foo_dsp_replaygain               loaded at 09830000h - 09843000h
foo_uie_albumlist                loaded at 097B0000h - 09823000h
foo_facets                       loaded at 093F0000h - 095A5000h
foo_simplaylist_manager          loaded at 09110000h - 091E8000h
foo_enhanced_playcount           loaded at 090D0000h - 09105000h
foo_uie_typefind                 loaded at 090A0000h - 090C3000h
foo_scrobble                     loaded at 08FD0000h - 0909C000h
foo_jesus                        loaded at 08DB0000h - 08DCA000h
foo_wave_minibar_mod             loaded at 08D00000h - 08DA1000h
urlmon                           loaded at 08A60000h - 08CF4000h
dwmapi                           loaded at 6EC40000h - 6EC5C000h
foo_ui_columns                   loaded at 08760000h - 08A5C000h
foo_stnaa                        loaded at 08730000h - 0875D000h
foo_runcmd                       loaded at 084F0000h - 08523000h
foo_input_monkey                 loaded at 084B0000h - 084EA000h
foo_uie_console                  loaded at 08470000h - 084A7000h
fooid                            loaded at 08050000h - 0806A000h
foo_biometric                    loaded at 08010000h - 08047000h
foo_rgscan                       loaded at 077C0000h - 0780A000h
mpr                              loaded at 70940000h - 70994000h
wininet                          loaded at 61940000h - 61B3F000h
foo_uie_lyrics3                  loaded at 07700000h - 077BB000h
foo_masstag                      loaded at 076C0000h - 076FD000h
foo_textdisplay                  loaded at 07470000h - 074BB000h
foo_run                          loaded at 07430000h - 0746A000h
foo_enhanced_spectrum_analyzer   loaded at 073E0000h - 07423000h
foo_r128norm                     loaded at 071B0000h - 071D8000h
foo_dsp_eq                       loaded at 07170000h - 071AD000h
avutil-fb2k-56                   loaded at 06EC0000h - 07166000h
avcodec-fb2k-58                  loaded at 06D00000h - 06EBB000h
foo_input_std                    loaded at 06BA0000h - 06CF9000h
foo_musicbrainz                  loaded at 06AD0000h - 06B93000h
foo_playcount                    loaded at 06AA0000h - 06AC7000h
foo_musical_spectrum             loaded at 06880000h - 0689C000h
usp10                            loaded at 06870000h - 06872000h
riched20                         loaded at 7AC00000h - 7AE2A000h
msftedit                         loaded at 06830000h - 06867000h
wsock32                          loaded at 69180000h - 691A5000h
nspr4                            loaded at 05DF0000h - 05E21000h
mozjs-68                         loaded at 04940000h - 05DE8000h
foo_spider_monkey_panel          loaded at 046D0000h - 04939000h
foo_dsp_dolbyhp                  loaded at 044A0000h - 044C4000h
foo_texttools                    loaded at 04260000h - 04294000h
propsys                          loaded at 69940000h - 699AA000h
windowscodecs                    loaded at 03760000h - 03E60000h
foo_quicksearch                  loaded at 03700000h - 03757000h
foo_albumlist                    loaded at 036B0000h - 036F7000h
foo_ui_std                       loaded at 035A0000h - 036A9000h
foo_dsp_vocal_exciter            loaded at 03580000h - 03594000h
foo_dsp_sqrcomp                  loaded at 03570000h - 0357E000h
atlthunk                         loaded at 66540000h - 66554000h
nsi                              loaded at 6F480000h - 6F49B000h
iphlpapi                         loaded at 61500000h - 6157A000h
dnsapi                           loaded at 6E4C0000h - 6E4FE000h
netapi32                         loaded at 688C0000h - 6894F000h
msv1_0                           loaded at 6D880000h - 6D8B5000h
kerberos                         loaded at 65F40000h - 65F65000h
concrt140                        loaded at 02AA0000h - 02B0E000h
winex11                          loaded at 027F0000h - 02867000h
secur32                          loaded at 01DB0000h - 01E3D000h
ws2_32                           loaded at 6D780000h - 6D808000h
jsproxy                          loaded at 68080000h - 680C4000h
winhttp                          loaded at 69600000h - 69700000h
oleacc                           loaded at 637C0000h - 63881000h
bcrypt                           loaded at 66240000h - 66283000h
crypt32                          loaded at 6E8C0000h - 6EB95000h
gdiplus                          loaded at 25CB0000h - 25E40000h
msimg32                          loaded at 70E80000h - 70E94000h
msvcr120                         loaded at 67340000h - 6763A000h
msvcp140                         loaded at 62300000h - 625D8000h
winspool                         loaded at 663C0000h - 66472000h
comdlg32                         loaded at 01B90000h - 01DA7000h
dbghelp                          loaded at 6FA80000h - 6FCD2000h
imagehlp                         loaded at 6DB40000h - 6DB72000h
shared                           loaded at 01B60000h - 01B81000h
vcruntime140                     loaded at 70240000h - 70255000h
zlib1                            loaded at 10000000h - 10017000h
oleaut32                         loaded at 64EC0000h - 652BB000h
shell32                          loaded at 00EB0000h - 01B58000h
uxtheme                          loaded at 68700000h - 68791000h
shcore                           loaded at 63BC0000h - 63C05000h
shlwapi                          loaded at 64A40000h - 64B2A000h
rpcrt4                           loaded at 62FC0000h - 631E2000h
combase                          loaded at 68500000h - 68640000h
ole32                            loaded at 00A40000h - 00EA9000h
msacm32                          loaded at 6A040000h - 6A0A2000h
winmm                            loaded at 008C0000h - 00A3C000h
imm32                            loaded at 71200000h - 71255000h
win32u                           loaded at 66B00000h - 66B69000h
version                          loaded at 63480000h - 6349B000h
user32                           loaded at 6ED00000h - 6F25B000h
gdi32                            loaded at 6C9C0000h - 6CBE0000h
ucrtbase                         loaded at 70B40000h - 70E13000h
sechost                          loaded at 6BC00000h - 6BC99000h
msvcrt                           loaded at 6A280000h - 6A4F4000h
advapi32                         loaded at 61740000h - 61836000h
comctl32                         loaded at 6CC40000h - 6D0BC000h
kernelbase                       loaded at 7B000000h - 7B4D2000h
kernel32                         loaded at 7B600000h - 7B757000h
ntdll                            loaded at 7BC00000h - 7BEAB000h
foobar2000                       loaded at 00400000h - 0067A000h

failure.dump


Re: Playlist-Tools-SMP

Reply #92
Same procedure (save console to file, etc.).

Now it should point to either an specific file or just a problem with Include + relative paths on wine.

Check for "Test 1:  FILEPATH"


Re: Playlist-Tools-SMP

Reply #94
That's an SMP or WINE bug. The dummy file is empty so there is nothing which can crash the program there.

The part crashing is even within a try/catch statement.
Code: [Select]
include('..\\..\\helpers\\helpers_xxx_dummy.js')

I suppose the crash is related to going up 2 levels in relative folders. Load the new file which bypasses that part and you should be able to work with the script without further problems.

@TheQwertiest will have to check the bug. Opened another issue at github,

Re: Playlist-Tools-SMP

Reply #95
Still crashing the player
Code: [Select]
TEST 1
TEST 1:  helpers\buttons_xxx.js

Edit:

I saw in the GitHub report "No winetricks", but in the profile tested I have "mdac28 wsh57" installed to download bio images.
I tried in a new profile without verbs with the same results.

Re: Playlist-Tools-SMP

Reply #96
This makes no sense. Are you adding the main file to "foobar2000\scripts\SMP\xxx-scripts\"? (profile folder)

Are those helper files in that path?
foobar2000\scripts\SMP\xxx-scripts\helpers\buttons_xxx.js
...

You are using most of those helpers on other scripts and they work fine with relative paths too (?) Try using the new files.

Try test 1 instead of the previous button bar.

Then try test 2 to copy (6), it will simply include 1 helper file at a time.

PD: added the info to github ;)

Re: Playlist-Tools-SMP

Reply #97
This makes no sense. Are you adding the main file to "foobar2000\scripts\SMP\xxx-scripts\"? (profile folder)

Are those helper files in that path?
foobar2000\scripts\SMP\xxx-scripts\helpers\buttons_xxx.js
...

You are using most of those helpers on other scripts and they work fine with relative paths too (?) Try using the new files.

Try test 1 instead of the previous button bar.

Then try test 2 to copy (6), it will simply include 1 helper file at a time.

PD: added the info to github ;)

I think so, but in fact I reuse the playlist-manager and map panels to test the new, so I can't be sure that they were still working

Maybe I have some of them mixed.

I'm going to delete all files in xxx-scripts and start again.

I installed all scripts and replace the files you gives me in the playlist manager thread.

then i put all new files in xxx-scripts folder.

Playlist-manager and map are working. Tried to import a previous .json in playlist-manager and works fine.

test1.js


The panel loads.

Code: [Select]
TEST 3
TEST 4
TEST 5
TEST 6
TEST 7
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar: Playlist Tools: Buttons Bar v3.0.0-beta8 by XXX): initialized in 565 ms
TEST 3
TEST 4
TEST 5
TEST 6
TEST 7
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar: Playlist Tools: Buttons Bar v3.0.0-beta8 by XXX): initialized in 539 ms

Trying to add a button from playlist menu (remove duplicates) crash the panel.

Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar: Playlist Tools: Buttons Bar v3.0.0-beta8 by XXX)
this.g_theme is null

File: buttons_xxx.js
Line: 160, Column: 6
Stack trace:
  themedButton/this.draw@buttons_xxx.js:160:6
  drawAllButtons@buttons_xxx.js:301:28
  on_paint@buttons_xxx.js:331:2

Test 2

Load

Code: [Select]
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar (overriden by script)): initialized in 532 ms
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar): initialized in 522 ms
release
release
release

but no right click menu

test2-copy 2-6

Code: [Select]
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar): initialized in 529 ms
release
release
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar): initialized in 589 ms
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar): initialized in 525 ms
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar): initialized in 525 ms
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar): initialized in 524 ms
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar): initialized in 527 ms
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar): initialized in 518 ms
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar): initialized in 525 ms
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar): initialized in 525 ms
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar): initialized in 533 ms
Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar): initialized in 519 ms

Note:
I noticed in my Linux home folder, outside any foobar installation path, a profile folder with js_data inside and in my portable installation some .TXT from bio savings. Some in the main portable installation folder and some in the profile folder. Maybe from some previous foobar crashes......?

I deleted all of them before this last test..

Maybe any of this causes the previous missing files in path error?





Re: Playlist-Tools-SMP

Reply #98
Ok. Now that makes more sense.

All test 2-6 files are just helpers, they do nothing. (just wanted to test the include thing)

The panel crashed now due to an error on my side here when implementing the UI buttons fix for wine:
Quote
Trying to add a button from playlist menu (remove duplicates) crash the panel.
Please, replace the buttons file with the new one, reload test 1 and it should work now. I assume that loading "buttons_toolbar.js" will also work at that point(?)


Quote
I noticed in my Linux home folder, outside any foobar installation path, a profile folder with js_data inside and in my portable installation some .TXT from bio savings. Some in the main portable installation folder and some in the profile folder. Maybe from some previous foobar crashes.

I deleted all of them before this last test..

Maybe any of this causes the previous missing files in path error?

My scripts MUST be placed on the profile folder. Otherwise they don't work. I recommend to people with those mixed portable installation problems to reinstall foobar portable and manually copy all config to the new installation profile folder. See '_TIPS and INSTALLATION', there is a section exactly for that problem.


BUT foobar crashing is not normal behavior in any case, and that points to a bug on SMP when using Include().

Re: Playlist-Tools-SMP

Reply #99
btw...  if you add something like this in a blank panel... what happens?

Code: [Select]
"use strict";
include('a.js')

Code: [Select]
"use strict";
include('myfolder\\a.js')

Code: [Select]
"use strict";
include('..\\a.js')

PD: Once all of this get fixed, I will send you zip files with all my current files so you can be sure to have it all installed right and no mixed files.