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-Manager-SMP (Read 51030 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Playlist-Manager-SMP

Reply #100
Without any more info I can't help (specific usage, config, videos, ...) . At first, it sounds like a problem on your side... check you are using latest version and you don't have other plugins slowing down your foobar installation.

There is nothing exotic on the gui (except the filtering), and can't experience any lag at all with a lot of playlists.
Scrolling works fine, the same than left and right menus or any other feature. Filtering is also pretty fast.

See this:
Spoiler (click to show/hide)


Re: Playlist-Manager-SMP

Reply #101
So a quick description: your video shos the red outline box right under the cursor as you move it. Mine has a second (or so) delay between mouse movement and red box movement, then another split second delay before the tooltip pops up. Left/right clicking produces another second-or-so delay from click to menu popup.

One thing I noticed from looking at console.log, is that I have many "[12:38:18 PM] Missing font: FontAwesome" lines, though I dont know what date they were written.

Playlist-Manager-SMP version: [0.5.0-beta.2](#050-beta2---2022-03-02)
SMP version: 1.6.1
Foobar Version: 1.6.7


I was looking around for Playlist-Manager-SMP settings, where are they located?

All Plugins:
Core (2021-08-09 13:53:58 UTC)
    foobar2000 core 1.6.7
foo_albumlist.dll (2021-08-09 13:53:28 UTC)
    Album List 1.6.7
foo_beefweb.dll (2021-10-24 19:44:04 UTC)
    Beefweb Remote Control 0.5
foo_bpm.dll (2014-06-25 01:36:50 UTC)
    BPM Analyser 0.2.4.6
foo_cdda.dll (2021-08-09 13:53:28 UTC)
    CD Audio Decoder 1.6.7
foo_converter.dll (2021-08-09 13:53:30 UTC)
    Converter 1.6.7
foo_dsp_eq.dll (2021-08-09 13:53:22 UTC)
    Equalizer 1.2.2
foo_dsp_std.dll (2021-08-09 13:53:28 UTC)
    Standard DSP Array 1.6.7
foo_dsp_utility.dll (2021-11-12 18:34:00 UTC)
    Utility DSP Array 1.2.4
foo_enhanced_spectrum_analyzer.dll (2018-05-26 15:34:04 UTC)
    Enhanced Spectrum analyzer 0.9.4.2
foo_fileops.dll (2021-08-09 13:53:30 UTC)
    File Operations 1.6.7
foo_freedb2.dll (2021-08-09 13:53:30 UTC)
    Online Tagger 0.8
foo_input_std.dll (2021-08-09 13:53:40 UTC)
    FFmpeg Decoders 4.3.1
    Standard Input Array 1.6.7
foo_playcount.dll (2020-07-01 22:00:50 UTC)
    Playback Statistics 3.0.4
foo_playlist_attributes.dll (2019-02-22 14:31:03 UTC)
    Playlist Attributes 0.5.5
foo_plorg.dll (2018-07-09 18:25:11 UTC)
    Playlist Organizer 2.6
foo_queuecontents.dll (2013-02-23 18:10:55 UTC)
    Queue Contents Editor 0.5.1
foo_rgscan.dll (2021-08-09 13:53:32 UTC)
    ReplayGain Scanner 1.6.7
foo_simplaylist.dll (2013-02-23 18:17:14 UTC)
    SimPlaylist 1.0
foo_spider_monkey_panel.dll (2022-01-14 03:29:00 UTC)
    Spider Monkey Panel 1.6.1
foo_ui_std.dll (2021-08-09 13:53:42 UTC)
    Default User Interface 1.6.7
foo_unpack.dll (2021-08-09 13:53:46 UTC)
    ZIP/GZIP/RAR/7-Zip Reader 1.6.7
foo_wave_minibar_mod.dll (2022-03-06 14:23:18 UTC)
    Waveform Minibar (mod) 1.0.46
foo_wave_seekbar.dll (2018-11-09 21:53:52 UTC)
    Waveform seekbar 0.2.45

 

Re: Playlist-Manager-SMP

Reply #102
You have skipped the installation instructions. Read the readme pdf or the txt file instructions... you are missing at least one dependency. Not sure if you have other installation errors.

Fix that and then report.

Re: Playlist-Manager-SMP

Reply #103
I think I got it. I hadn't installed the font. Though this was buried in the docs and not directly stated ("Playlist manager requires some fonts.")

But it seems much more responsive now! Thanks

Re: Playlist-Manager-SMP

Reply #104
Yep, I will update the github page too to make it more obvious. The pdf is right and up to date but the page was created months ago when the docs were not present yet and is outdated. That's my fault. I have also updated the txt installation notes.

Code: [Select]
INSTALLATION: 
-------------
[...]
Some scripts may require additional files or dependencies (like fonts). Check the 'INFO' section
for more details, the github page and the related pdf documentation at 'readmes' folder (if available).
[...]

Btw the problem was the console logging. Everytime the font was required and not found, the console was flooded with missing font messages (instead of only warning once) thus slowing down the entire UI. Installing the font solved the problem, but that's also a fault on the code. I have changed it to display a popup (so users are warned clearly) and log to console once per session  (so the script will continue working fine without UI slowdowns).

Thanks for the report :)

X

Re: Playlist-Manager-SMP

Reply #105
Makes sense! Thanks for taking the time to fix the root issues! (docs, logging)

Re: Playlist-Manager-SMP

Reply #106
https://github.com/regorxxx/Playlist-Manager-SMP/releases/tag/v0.5.0-beta.5

Quote
v0.5.0-beta.5 - Bugfixes and QOL changes
There may be a SMP's bug on installation. See _TIPS and INSTALLATION.txt
REQUIRES SMP 1.6.1

    End, Home, Av Pag and Re Pag can now be used to scroll on the UI.
    Better error handling while setting tags, category, lock status, renaming, ... with backups of the original playlist before editing.
    Multiple bugfixes: renaming with special chars, XSP playlists checking not working (size, duration), external items not working for tracks in ISO files ...

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

Previous changes (beta 3 & 4)
Spoiler (click to show/hide)

Re: Playlist-Manager-SMP

Reply #107
.

Re: Playlist-Manager-SMP

Reply #108
https://github.com/regorxxx/Playlist-Manager-SMP/releases/tag/v0.5.0-beta.6
Quote

v0.5.0-beta.6 - Bugfixes and accesibility changes Latest
There may be a SMP's bug on installation. See _TIPS and INSTALLATION.txt
REQUIRES SMP 1.6.1

    UI presets to easily switch all the colors on the UI at the same time to pre-defined sets.
    Improved accesibility with presets for Color Blindness (deuteranopia) and Grey Scale. Every playlist type now has an specific icon associated.
    Icon at header now opens the playlists folder.
    New option to darken/lighten background of alternate rows on the list.
    Categories and tags sub-menu has been reworked todisplays all existing categories to easily reuse them.
    Multiple minor improvements on UI colors, sizing, text displaying of popups, cursor, etc.
    Fixed crash when cloning playlist to UI.

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

Have also updated the wiki on github.

Spoiler (click to show/hide)

Re: Playlist-Manager-SMP

Reply #109
https://github.com/regorxxx/Playlist-Manager-SMP/releases/tag/v0.5.0-beta.7

Quote
v0.5.0-beta.7 - Hotfix
There may be a SMP's bug on installation. See _TIPS and INSTALLATION.txt
REQUIRES SMP 1.6.1

    Panel was not being shown properly on startup, required manual resizing after foobar init to work as intended (or manually reloading the panel).

See v0.5.0-beta.6: https://github.com/regorxxx/Playlist-Manager-SMP/releases/tag/v0.5.0-beta.6
See changelog for a full list: https://github.com/regorxxx/Playlist-Manager-SMP/blob/main/CHANGELOG.md

Re: Playlist-Manager-SMP

Reply #110
Just a quick update, thanks to a feature on the last SMP update, I can fully integrate all my scripts with the Http controller (using main menus). For ex. displaying all playlist from any Playlist Manager panel and load them on demand using the online controlle (this is just a prototype for the UI):

Spoiler (click to show/hide)

When ready I will update ajquery-xxx for it
https://hydrogenaud.io/index.php?topic=62218.msg1000180#msg1000180

Re: Playlist-Manager-SMP

Reply #111
Hi @regor

I'm trying to install your scripts, and I'm founding some troubles.

I'm in foobar2000 v1.6.11, Spider Monkey Panel v1.6.2-dev+7c0928bf and Playlist Manager v0.5.0 by XXX), running in ubuntu 22.04 through wine 7.11-devel

The first one was with the Segoe UI font. The script crash with "N is not defined" or similar if the default wine font is something different from Segoe UI (in my case was Noto Sans). Changing the default wine font to Segoe UI avoid this crash.

After that changes in the next foobar restart the script seems to go futher and the console reurns

Code: [Select]
Spider Monkey Panel v1.6.2-dev+7c0928bf ({89CB6BF3-C1B2-4C9A-8872-E14774FED3A1}: Playlist Manager v0.5.0 by XXX): initialized in 1943 ms
Startup time : 0:10.663586
Caching library paths 10%.
Caching library paths 20%.
Caching library paths 30%.
Caching library paths 40%.
Caching library paths 50%.
Caching library paths 60%.
Caching library paths 70%.
Caching library paths 80%.
Caching library paths 90%.
Caching library paths 100%.
precacheLibraryPaths: got paths from 73628 items.

But when I select the script tab it crashes again with

Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf ({89CB6BF3-C1B2-4C9A-8872-E14774FED3A1}: Playlist Manager v0.5.0 by XXX)
this.g_theme is null

File: buttons_panel_xxx.js
Line: 119, Column: 5
Stack trace:
  themedButton/this.draw@buttons_panel_xxx.js:119:5
  drawAllButtons@buttons_panel_xxx.js:165:30
  on_paint_buttn@buttons_panel_xxx.js:186:2
  on_paint@playlist_manager.js:251:2

Did you know what could be the problem?

Re: Playlist-Manager-SMP

Reply #112
v0.5.0-beta.8?

Segoe UI is the default font for the tooltip AND the fallback font when others fail. I don't really get why it crashes (?) if the font is installed on Wine (no matter if it's the default one or not). Also if doesn't crash on windows if the font is missing. Did you change the default font or installed Segoe UI? Maybe it was not installed and was added when setting it as default? Could you revert back the default one and check? Can you provide the crash message?

The last part may be related to a wine thing, but you are the first reporting problems with it on wine (?) and nothing has changed related to that on months. I will definitely try to find what's going on but it will take some time.

I will probably need some help with that. Would you mind doing some testing with alt. files?
(could you check if my other scripts work for u? World map, playlist tools)

Re: Playlist-Manager-SMP

Reply #113
v0.5.0-beta.8?

Segoe UI is the default font for the tooltip AND the fallback font when others fail. I don't really get why it crashes (?) if the font is installed on Wine (no matter if it's the default one or not). Also if doesn't crash on windows if the font is missing. Did you change the default font or installed Segoe UI? Maybe it was not installed and was added when setting it as default? Could you revert back the default one and check? Can you provide the crash message?

The last part may be related to a wine thing, but you are the first reporting problems with it on wine (?) and nothing has changed related to that on months. I will definitely try to find what's going on but it will take some time.

I will probably need some help with that. Would you mind doing some testing with alt. files?
(could you check if my other scripts work for u? World map, playlist tools)

the version is Playlist Manager v0.5.0-beta8 by XXX). From git clone.

The font was installed before. Other scripts like last.fm charts or bio print in console

Code: [Select]
Last.fm Similar Artists + User Charts + Recent Tracks: Unable to use default font. Using Segoe UI instead.

when the default font is not Segoe UI.

But Playlist Manager crashes with

Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf ({89CB6BF3-C1B2-4C9A-8872-E14774FED3A1}: Playlist Manager v0.5.0-beta8 by XXX)
N is not defined

File: playlist_manager_panel.js
Line: 48, Column: 4
Stack trace:
  _panel/this.fontChanged@playlist_manager_panel.js:48:4
  _panel@playlist_manager_panel.js:112:7
  @playlist_manager.js:155:13

World map work without problem, but playlist tools crash the program completely when I tried to add it.

Code: [Select]
Illegal operation:
Code: E06D7363h, flags: 00000001h, address: 7B0122E6h
Additional parameters: 19930520h 0021C228h 06B5714Ch
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 06B5714C 026A0000
0021C194h:  00000000 00000013 70B73406 026A0000
0021C1A4h:  00000000 0021C1CC 70B74177 0073006A
0021C1B4h:  23BA0000 0021C1DC 70B74177 0021C210
0021C1C4h:  00000013 00000013 0021C1F0 19930520
0021C1D4h:  06B23A81 0021C218 06AC67AD 0021C1F0
0021C1E4h:  06AC7ED7 0021C218 06AC67AD E06D7363
0021C1F4h:  00000001 00000003 0021C20C 0021C518
0021C204h:  0021C2CC 0021C228 19930520 0021C228
0021C214h:  06B5714C 0021C258 0694E984 0021C228
0021C224h:  06B5714C 06B12BA8 4679C800 00000001
0021C234h:  06B05114 00000000 00000000 06B11BC0
0021C244h:  0694EA01 0121C2C8 0021C57C 06AEB17D
0021C254h:  FFFFFFFF 0021C2C0 0694EA0D 06B23A80
0021C264h:  06B23A83 0021C310 0021C2C0 0000000F
0021C274h:  00000000 0021C5B8 0000003A 0021C310

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

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

Loaded modules:
explorerframe                    loaded at 676C0000h - 6771F000h
cryptnet                         loaded at 0F230000h - 0F273000h
psapi                            loaded at 67840000h - 6784F000h
rsaenh                           loaded at 6FE40000h - 6FED7000h
schannel                         loaded at 6DD00000h - 6DD1C000h
msxml                            loaded at 71040000h - 7105C000h
msxml3                           loaded at 41340000h - 41D25000h
msctf                            loaded at 6F900000h - 6F9F3000h
wintrust                         loaded at 6F4C0000h - 6F560000h
setupapi                         loaded at 6BCC0000h - 6BE61000h
userenv                          loaded at 0EFC0000h - 0EFE3000h
lgpllibs                         loaded at 0F9C0000h - 0FAD3000h
mozglue                          loaded at 0F8C0000h - 0F9BD000h
nss3                             loaded at 0F6B0000h - 0F8BF000h
xul                              loaded at 2D5A0000h - 32BF4000h
mshtml                           loaded at 24020000h - 25596000h
scrrun                           loaded at 0EF90000h - 0EFB6000h
wshom                            loaded at 0EF70000h - 0EF8C000h
atlthunk                         loaded at 66540000h - 66554000h
foo_dsp_sqrcomp                  loaded at 0BCE0000h - 0BCEE000h
foo_dsp_vocal_exciter            loaded at 0BCC0000h - 0BCD4000h
foo_enhanced_playcount           loaded at 0BC80000h - 0BCB5000h
foo_ui_std                       loaded at 0AB70000h - 0AC79000h
foo_runcmd                       loaded at 0A930000h - 0A963000h
foo_uie_albumlist                loaded at 0A8B0000h - 0A923000h
avutil-fb2k-56                   loaded at 0A600000h - 0A8A6000h
avcodec-fb2k-58                  loaded at 0A440000h - 0A5FB000h
foo_input_std                    loaded at 0A2E0000h - 0A439000h
foo_rgscan                       loaded at 0A290000h - 0A2DA000h
foo_dsp_replaygain               loaded at 0A270000h - 0A283000h
foo_simplaylist                  loaded at 09F20000h - 0A06C000h
foo_texttools                    loaded at 09CE0000h - 09D14000h
foo_textdisplay                  loaded at 09A90000h - 09ADB000h
foo_dsp_std                      loaded at 09A50000h - 09A86000h
foo_stop_after_queue             loaded at 09A40000h - 09A4D000h
foo_freedb2                      loaded at 09A10000h - 09A40000h
foo_unpack                       loaded at 099A0000h - 09A0E000h
foo_musical_spectrum             loaded at 09780000h - 0979C000h
foo_uie_typefind                 loaded at 09750000h - 09773000h
foo_dsp_eq                       loaded at 09710000h - 0974D000h
foo_simplaylist_manager          loaded at 09430000h - 09508000h
foo_quicksearch                  loaded at 091D0000h - 09227000h
foo_vis_vumeter                  loaded at 08D20000h - 08DC5000h
foo_uie_console                  loaded at 08CE0000h - 08D17000h
foo_facets                       loaded at 08920000h - 08AD5000h
foo_lrc_metalarchives            loaded at 08880000h - 08918000h
foo_cdda                         loaded at 08840000h - 08875000h
fooid                            loaded at 08420000h - 0843A000h
foo_biometric                    loaded at 083E0000h - 08417000h
foo_musicbrainz                  loaded at 08310000h - 083D3000h
foo_enhanced_spectrum_analyzer   loaded at 082C0000h - 08303000h
riched20                         loaded at 7AC00000h - 7AE2A000h
msftedit                         loaded at 08280000h - 082B7000h
wsock32                          loaded at 69180000h - 691A5000h
nspr4                            loaded at 08040000h - 08071000h
mozjs-68                         loaded at 06B90000h - 08038000h
foo_spider_monkey_panel          loaded at 06920000h - 06B89000h
foo_run                          loaded at 060E0000h - 0611A000h
foo_albumlist                    loaded at 06090000h - 060D7000h
foo_playcount                    loaded at 06060000h - 06087000h
urlmon                           loaded at 05DC0000h - 06054000h
propsys                          loaded at 69940000h - 699AA000h
windowscodecs                    loaded at 056C0000h - 05DC0000h
usp10                            loaded at 056B0000h - 056B2000h
dwmapi                           loaded at 6EC40000h - 6EC5C000h
foo_ui_columns                   loaded at 053B0000h - 056AC000h
foo_multisource                  loaded at 04990000h - 04B20000h
foo_input_monkey                 loaded at 04950000h - 0498A000h
mpr                              loaded at 70940000h - 70994000h
wininet                          loaded at 61940000h - 61B3F000h
foo_uie_lyrics3                  loaded at 04890000h - 0494B000h
foo_converter                    loaded at 04400000h - 0448A000h
foo_dsp_dynamics                 loaded at 043F0000h - 04400000h
foo_scrobble                     loaded at 04320000h - 043EC000h
foo_discogger                    loaded at 04160000h - 0431A000h
foo_masstag                      loaded at 04120000h - 0415D000h
foo_wave_minibar_mod             loaded at 03E70000h - 03F11000h
foo_dsp_dolbyhp                  loaded at 03C40000h - 03C64000h
foo_jesus                        loaded at 03A20000h - 03A3A000h
foo_stnaa                        loaded at 039F0000h - 03A1D000h
foo_r128norm                     loaded at 037C0000h - 037E8000h
foo_fileops                      loaded at 03780000h - 037C0000h
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 02D10000h - 02D7E000h
winex11                          loaded at 02A60000h - 02AD7000h
secur32                          loaded at 02020000h - 020AD000h
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 01DB0000h - 02012000h
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

One thing I noticed:

To do this test i split the tab in two SMP panels to add playlist tools. This new panel crashes even empty with

Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf ({245526F8-C8F7-4BEE-B306-90AD014DD52D})
GdiDrawText failed:
font argument is null

File: <main>
Line: 65, Column: 8
Stack trace:
  on_paint@:65:8

This means that the bug is present in Spider Monkey Panel v1.6.2-dev+7c0928bf too?

Setting the default wine font to Segoe UI works as intended displaying the ""click here to open the editor".

The playlist manager crashes with

Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf ({89CB6BF3-C1B2-4C9A-8872-E14774FED3A1}: Playlist Manager v0.5.0-beta8 by XXX)
this.g_theme is null

File: buttons_panel_xxx.js
Line: 119, Column: 5
Stack trace:
  themedButton/this.draw@buttons_panel_xxx.js:119:5
  drawAllButtons@buttons_panel_xxx.js:165:30
  on_paint_buttn@buttons_panel_xxx.js:186:2
  on_paint@playlist_manager.js:263:2

and buttons_playlist_tools.js crash the player.




Re: Playlist-Manager-SMP

Reply #114
v0.5.0-beta.8?

Segoe UI is the default font for the tooltip AND the fallback font when others fail. I don't really get why it crashes (?) if the font is installed on Wine (no matter if it's the default one or not). Also if doesn't crash on windows if the font is missing. Did you change the default font or installed Segoe UI? Maybe it was not installed and was added when setting it as default? Could you revert back the default one and check? Can you provide the crash message?

The last part may be related to a wine thing, but you are the first reporting problems with it on wine (?) and nothing has changed related to that on months. I will definitely try to find what's going on but it will take some time.

I will probably need some help with that. Would you mind doing some testing with alt. files?
(could you check if my other scripts work for u? World map, playlist tools)

the version is Playlist Manager v0.5.0-beta8 by XXX). From git clone.

The font was installed before. Other scripts like last.fm charts or bio print in console

Code: [Select]
Last.fm Similar Artists + User Charts + Recent Tracks: Unable to use default font. Using Segoe UI instead.

when the default font is not Segoe UI.

But Playlist Manager crashes with

Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf ({89CB6BF3-C1B2-4C9A-8872-E14774FED3A1}: Playlist Manager v0.5.0-beta8 by XXX)
N is not defined

File: playlist_manager_panel.js
Line: 48, Column: 4
Stack trace:
  _panel/this.fontChanged@playlist_manager_panel.js:48:4
  _panel@playlist_manager_panel.js:112:7
  @playlist_manager.js:155:13

That's because I'm stupid XD

Line 48 at that file 'playlist_manager_panel.js'
Code: [Select]
console.log(N, 'Unable to use default font. Using', name, 'instead.');

Remove N,
Code: [Select]
console.log('Unable to use default font. Using', name, 'instead.');

It's a typo so it crashes. And it only happens when you are missing some fonts (your situation), so I have missed it.

Re: Playlist-Manager-SMP

Reply #115
Code: [Select]
Illegal operation:
Code: E06D7363h, flags: 00000001h, address: 7B0122E6h
Additional parameters: 19930520h 0021C228h 06B5714Ch
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 06B5714C 026A0000
0021C194h:  00000000 00000013 70B73406 026A0000
0021C1A4h:  00000000 0021C1CC 70B74177 0073006A
0021C1B4h:  23BA0000 0021C1DC 70B74177 0021C210
0021C1C4h:  00000013 00000013 0021C1F0 19930520
0021C1D4h:  06B23A81 0021C218 06AC67AD 0021C1F0
0021C1E4h:  06AC7ED7 0021C218 06AC67AD E06D7363
0021C1F4h:  00000001 00000003 0021C20C 0021C518
0021C204h:  0021C2CC 0021C228 19930520 0021C228
0021C214h:  06B5714C 0021C258 0694E984 0021C228
0021C224h:  06B5714C 06B12BA8 4679C800 00000001
0021C234h:  06B05114 00000000 00000000 06B11BC0
0021C244h:  0694EA01 0121C2C8 0021C57C 06AEB17D
0021C254h:  FFFFFFFF 0021C2C0 0694EA0D 06B23A80
0021C264h:  06B23A83 0021C310 0021C2C0 0000000F
0021C274h:  00000000 0021C5B8 0000003A 0021C310

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

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

Loaded modules:
explorerframe                    loaded at 676C0000h - 6771F000h
cryptnet                         loaded at 0F230000h - 0F273000h
psapi                            loaded at 67840000h - 6784F000h
rsaenh                           loaded at 6FE40000h - 6FED7000h
schannel                         loaded at 6DD00000h - 6DD1C000h
msxml                            loaded at 71040000h - 7105C000h
msxml3                           loaded at 41340000h - 41D25000h
msctf                            loaded at 6F900000h - 6F9F3000h
wintrust                         loaded at 6F4C0000h - 6F560000h
setupapi                         loaded at 6BCC0000h - 6BE61000h
userenv                          loaded at 0EFC0000h - 0EFE3000h
lgpllibs                         loaded at 0F9C0000h - 0FAD3000h
mozglue                          loaded at 0F8C0000h - 0F9BD000h
nss3                             loaded at 0F6B0000h - 0F8BF000h
xul                              loaded at 2D5A0000h - 32BF4000h
mshtml                           loaded at 24020000h - 25596000h
scrrun                           loaded at 0EF90000h - 0EFB6000h
wshom                            loaded at 0EF70000h - 0EF8C000h
atlthunk                         loaded at 66540000h - 66554000h
foo_dsp_sqrcomp                  loaded at 0BCE0000h - 0BCEE000h
foo_dsp_vocal_exciter            loaded at 0BCC0000h - 0BCD4000h
foo_enhanced_playcount           loaded at 0BC80000h - 0BCB5000h
foo_ui_std                       loaded at 0AB70000h - 0AC79000h
foo_runcmd                       loaded at 0A930000h - 0A963000h
foo_uie_albumlist                loaded at 0A8B0000h - 0A923000h
avutil-fb2k-56                   loaded at 0A600000h - 0A8A6000h
avcodec-fb2k-58                  loaded at 0A440000h - 0A5FB000h
foo_input_std                    loaded at 0A2E0000h - 0A439000h
foo_rgscan                       loaded at 0A290000h - 0A2DA000h
foo_dsp_replaygain               loaded at 0A270000h - 0A283000h
foo_simplaylist                  loaded at 09F20000h - 0A06C000h
foo_texttools                    loaded at 09CE0000h - 09D14000h
foo_textdisplay                  loaded at 09A90000h - 09ADB000h
foo_dsp_std                      loaded at 09A50000h - 09A86000h
foo_stop_after_queue             loaded at 09A40000h - 09A4D000h
foo_freedb2                      loaded at 09A10000h - 09A40000h
foo_unpack                       loaded at 099A0000h - 09A0E000h
foo_musical_spectrum             loaded at 09780000h - 0979C000h
foo_uie_typefind                 loaded at 09750000h - 09773000h
foo_dsp_eq                       loaded at 09710000h - 0974D000h
foo_simplaylist_manager          loaded at 09430000h - 09508000h
foo_quicksearch                  loaded at 091D0000h - 09227000h
foo_vis_vumeter                  loaded at 08D20000h - 08DC5000h
foo_uie_console                  loaded at 08CE0000h - 08D17000h
foo_facets                       loaded at 08920000h - 08AD5000h
foo_lrc_metalarchives            loaded at 08880000h - 08918000h
foo_cdda                         loaded at 08840000h - 08875000h
fooid                            loaded at 08420000h - 0843A000h
foo_biometric                    loaded at 083E0000h - 08417000h
foo_musicbrainz                  loaded at 08310000h - 083D3000h
foo_enhanced_spectrum_analyzer   loaded at 082C0000h - 08303000h
riched20                         loaded at 7AC00000h - 7AE2A000h
msftedit                         loaded at 08280000h - 082B7000h
wsock32                          loaded at 69180000h - 691A5000h
nspr4                            loaded at 08040000h - 08071000h
mozjs-68                         loaded at 06B90000h - 08038000h
foo_spider_monkey_panel          loaded at 06920000h - 06B89000h
foo_run                          loaded at 060E0000h - 0611A000h
foo_albumlist                    loaded at 06090000h - 060D7000h
foo_playcount                    loaded at 06060000h - 06087000h
urlmon                           loaded at 05DC0000h - 06054000h
propsys                          loaded at 69940000h - 699AA000h
windowscodecs                    loaded at 056C0000h - 05DC0000h
usp10                            loaded at 056B0000h - 056B2000h
dwmapi                           loaded at 6EC40000h - 6EC5C000h
foo_ui_columns                   loaded at 053B0000h - 056AC000h
foo_multisource                  loaded at 04990000h - 04B20000h
foo_input_monkey                 loaded at 04950000h - 0498A000h
mpr                              loaded at 70940000h - 70994000h
wininet                          loaded at 61940000h - 61B3F000h
foo_uie_lyrics3                  loaded at 04890000h - 0494B000h
foo_converter                    loaded at 04400000h - 0448A000h
foo_dsp_dynamics                 loaded at 043F0000h - 04400000h
foo_scrobble                     loaded at 04320000h - 043EC000h
foo_discogger                    loaded at 04160000h - 0431A000h
foo_masstag                      loaded at 04120000h - 0415D000h
foo_wave_minibar_mod             loaded at 03E70000h - 03F11000h
foo_dsp_dolbyhp                  loaded at 03C40000h - 03C64000h
foo_jesus                        loaded at 03A20000h - 03A3A000h
foo_stnaa                        loaded at 039F0000h - 03A1D000h
foo_r128norm                     loaded at 037C0000h - 037E8000h
foo_fileops                      loaded at 03780000h - 037C0000h
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 02D10000h - 02D7E000h
winex11                          loaded at 02A60000h - 02AD7000h
secur32                          loaded at 02020000h - 020AD000h
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 01DB0000h - 02012000h
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

One thing I noticed:

To do this test i split the tab in two SMP panels to add playlist tools. This new panel crashes even empty with

Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf ({245526F8-C8F7-4BEE-B306-90AD014DD52D})
GdiDrawText failed:
font argument is null

File: <main>
Line: 65, Column: 8
Stack trace:
  on_paint@:65:8

This means that the bug is present in Spider Monkey Panel v1.6.2-dev+7c0928bf too?

Setting the default wine font to Segoe UI works as intended displaying the ""click here to open the editor".

The playlist manager crashes with

Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf ({89CB6BF3-C1B2-4C9A-8872-E14774FED3A1}: Playlist Manager v0.5.0-beta8 by XXX)
this.g_theme is null

File: buttons_panel_xxx.js
Line: 119, Column: 5
Stack trace:
  themedButton/this.draw@buttons_panel_xxx.js:119:5
  drawAllButtons@buttons_panel_xxx.js:165:30
  on_paint_buttn@buttons_panel_xxx.js:186:2
  on_paint@playlist_manager.js:263:2

and buttons_playlist_tools.js crash the player.
Player crashes are a SMP thing, an script should only crash the panel in most cases. Also your report points to some bug within SMP too. There are a few things going there yep, @TheQwertiest will have to check them. Could you report it at his github? (your las crash with missing fonts on empty panel, etc.)

The "this.g_theme" thing may be tested though. I was expecting "window.CreateThemeManager('Button');" to be available on wine. Let me write you a simple script test to be sure.

Add this to any panel and let us know where it fails, if it fails.
Code: [Select]
"use strict";

const button = window.CreateThemeManager('Button');
const gFont = gdi.Font('Segoe UI', 50);

function on_paint(gr) {
    if (!window.ID) {return;}
    if (!window.Width || !window.Height) {return;}
    button.SetPartAndStateID(1, 1);
    button.DrawThemeBackground(gr, 0, 0, window.Width, window.Height);
    gr.GdiDrawText('My button', gFont, 0, 0, 0, window.Width, window.Height, 0x00000001|0x00000004|0x00000400);
}
You should see something like this:
X

Re: Playlist-Manager-SMP

Reply #116
Player crashes are a SMP thing, an script should only crash the panel in most cases. Also your report points to some bug within SMP too. There are a few things going there yep, @TheQwertiest will have to check them. Could you report it at his github? (your las crash with missing fonts on empty panel, etc.)

I don't have an account in github, but when I'll see him around here, I tell him.

The "this.g_theme" thing may be tested though. I was expecting "window.CreateThemeManager('Button');" to be available on wine. Let me write you a simple script test to be sure.

Add this to any panel and let us know where it fails, if it fails.
Code: [Select]
"use strict";

const button = window.CreateThemeManager('Button');
const gFont = gdi.Font('Segoe UI', 50);

function on_paint(gr) {
    if (!window.ID) {return;}
    if (!window.Width || !window.Height) {return;}
    button.SetPartAndStateID(1, 1);
    button.DrawThemeBackground(gr, 0, 0, window.Width, window.Height);
    gr.GdiDrawText('My button', gFont, 0, 0, 0, window.Width, window.Height, 0x00000001|0x00000004|0x00000400);
}
You should see something like this:
[attach type=thumb]22643[/attach]

No luck.

Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf ({89CB6BF3-C1B2-4C9A-8872-E14774FED3A1})
button is null

File: test.js
Line: 9, Column: 5
Stack trace:
  on_paint@test.js:9:5

Re: Playlist-Manager-SMP

Reply #117
No problem, I will create the issue there then pointing to this thread.

And yep, obviously the problem is CreateThemeManage code. I have zero knowledge about it so i have no idea if
- It's a problem introduced on a recent wine version.
- It has never been supported on wine (don't think so since there have been users using my scripts on wine fine).
- It's a SMP thing on wine.

Supposing it's the second one, I could replace all the theme code with a button entirely done with javascript + SMP UI methods. It would take me some days though.

Re: Playlist-Manager-SMP

Reply #118
Meanwhile you may use this file with all buttons disabled. Obviously you will miss the sorting and filtering options but at least you may use the manager.

EDIT: reuploaded the file, I missed one thing.

Re: Playlist-Manager-SMP

Reply #119
I tried with wine 6.0.4, and it crashes in the same way. Maybe they are using some winetricks verb....

The new file loads without problem (nice animation btw)

Man, I have to say that look a bit intimidating, there are a LOT of things  ;D

Re: Playlist-Manager-SMP

Reply #120
I tried with wine 6.0.4, and it crashes in the same way. Maybe they are using some winetricks verb....

The new file loads without problem (nice animation btw)

Man, I have to say that look a bit intimidating, there are a LOT of things  ;D

Yep. There is a pdf though.

I have spent lot of time explaining it all, specially the advanced features :)

About the wine thing, no idea... seems to me strange there has been zero reports about it on the past though. Specially when some of the SMP samples use buttons too XD
We also had a wine topic testing multiple things, and there was no report about that. Neither at the docs
https://theqwertiest.github.io/foo_spider_monkey_panel/docs/faq/wine/

Re: Playlist-Manager-SMP

Reply #121

Yep. There is a pdf though.

I have spent lot of time explaining it all, specially the advanced features :)

About the wine thing, no idea... seems to me strange there has been zero reports about it on the past though. Specially when some of the SMP samples use buttons too XD
We also had a wine topic testing multiple things, and there was no report about that. Neither at the docs
https://theqwertiest.github.io/foo_spider_monkey_panel/docs/faq/wine/

I must confess that I never tried all of them, but for science, I load them. Minus basic/HtmlDialogWithCheckBox.js that crash trying to open (known issue in wine) all works well.  :o


Re: Playlist-Manager-SMP

Reply #123
Basic\Simple themed button can not work since that's essentially the thing that crashes for u (?)

Clearly I didn't load ALL.....

That doesn't work  ;D

Re: Playlist-Manager-SMP

Reply #124
Well, I overestimated the work to replace the themed buttons, try this:

playlist_manager.js: is the original one, the same on github (remember you now have a file with disabled buttons)
playlist_manager_buttons.js: has a small bugfix for some text I found while testing this (not related at all to this but well..)
buttons_panel_xxx.js: check your console. it will say "window.CreateThemeManager('Button') failed, using experimental buttons"

And esentially you will see something like this:
X

PD: I will port this to Playlist Tools too, but it will take me some more time. Also the fallback SMP buttons don't follow the UI theme, so they are always grey.
PD2: Bugs:
https://github.com/TheQwertiest/foo_spider_monkey_panel/issues/172
https://github.com/TheQwertiest/foo_spider_monkey_panel/issues/173