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.
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.
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
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
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?