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

Re: ListenBrainz-SMP

Reply #25
Nope. But it crashes only because it's not finding the mask file, but you say it's there...

The console should output something like
...\scripts\SMP\xxx-scripts\images\icons\listenbrainz_64_mask.png

And the file must exist there.

Re: ListenBrainz-SMP

Reply #26
This one works

X

the console message is lost in all enhanced_playcount ones, sorry

The icons are there

X

Re: ListenBrainz-SMP

Reply #27
Doesn't work, it just skips the image you are missing xd

And I need the log, and you to check if the image is there. And if the image is there, but wine can not load it.. then it's a matter of the png not being compatible with your system

Re: ListenBrainz-SMP

Reply #28
Doesn't work, it just skips the image you are missing xd

And I need the log, and you to check if the image is there. And if the image is there, but wine can not load it.. then it's a matter of the png not being compatible with your system

Doesn't crash XD

Then wait a bit, is almost finishing the import

Re: ListenBrainz-SMP

Reply #29
It finished

Code: [Select]
Z:\home\user\_mask.foobar2000_v2\profile\scripts\SMP\xxx-scripts\images\icons\listenbrainz_64.png
Spider Monkey Panel v1.6.1-mod ({2B889C02-D8C6-4B4D-801F-C8A3512F38FF}): initialized in 571 ms

But this path doesn't look correct, the png is in

Z:\home\user\.foobar2000_v2\profile\scripts\SMP\xxx-scripts\images\icons\listenbrainz_64.png

Re: ListenBrainz-SMP

Reply #30
It finished

Code: [Select]
Z:\home\user\_mask.foobar2000_v2\profile\scripts\SMP\xxx-scripts\images\icons\listenbrainz_64.png
Spider Monkey Panel v1.6.1-mod ({2B889C02-D8C6-4B4D-801F-C8A3512F38FF}): initialized in 571 ms
And there you got the problem... xd the lovely dots on unix paths...

Re: ListenBrainz-SMP

Reply #31
It finished

Code: [Select]
Z:\home\user\_mask.foobar2000_v2\profile\scripts\SMP\xxx-scripts\images\icons\listenbrainz_64.png
Spider Monkey Panel v1.6.1-mod ({2B889C02-D8C6-4B4D-801F-C8A3512F38FF}): initialized in 571 ms
And there you got the problem... xd the lovely dots on unix paths...

it take it like the dot of the extension an insert the _mask?


Re: ListenBrainz-SMP

Reply #33
X]

console clean

Spider Monkey Panel v1.6.1-mod ({2B889C02-D8C6-4B4D-801F-C8A3512F38FF}): initialized in 487 ms


Re: ListenBrainz-SMP

Reply #35
I move the foobar folder and wine prefix to /opt/fb2k with user access and work fine now. ;Maybe the dot could mess up other things.

Just in case

Re: ListenBrainz-SMP

Reply #36
Finally fixed.

Quote
I move the foobar folder and wine prefix to /opt/fb2k with user access and work fine now. ;Maybe the dot could mess up other things.

Just in case
I'm fine with the previous setting though. Now that I know what to look for, will try to look for similar errors on my code.

Re: ListenBrainz-SMP

Reply #37
https://github.com/regorxxx/ListenBrainz-SMP/releases/tag/v1.6.0

Quote
1.6.0 - 2023-02-28
Added

    Playlists: playlists created by the user (in addition to recommendations) can now be imported. They are listed by name and can be sorted by name, creation or last modified date.
    Playlists: playlist exporting to user profile. Note this exporting option is different to the one found at Playlist-Manager-SMP in one thing, the MBID is not saved anywhere (contrary to saving it on a playlist file), so there is no playlist tracking at all and exporting the same playlists multiple times will only update the playlist on the server (instead of creating a new one) as long as the playlist names are strictly equal.
    Playlists: playlist importing by MBID. This allows to import any playlist from any user, not just your own. Input allows the MBID or the link (which also contains the MBID).
    Configuration: added COMPOSER to the list of global tags.
    Configuration: added LOCALE LAST.FM to the list of global tags.
    Configuration: added integrity checks to global user settings files, found at '[FOOBAR PROFILE FOLDER]\js_data\presets\global[...].json'. In particular queries are now check to ensure they are valid and will throw a popup at init otherwise. Other settings are check to ensure they contain valid values too.
    Configuration: expanded user configurable file at '[FOOBAR PROFILE FOLDER]\js_data\presets\global\globSettings.json' with a new setting to output to console profiling logs at script init. They work globally. Disabled by default.
    Toolbar: new settings for text (or icon) position: left, right (default), top and bottom. These settings mimic CUI options at the buttons bar.
    Toolbar: new settings for text scale (now independent of button and icon scale).
    Toolbar: new settings for icon scale (now independent of button and text scale).

Changed

    Configuration: changed the remove duplicates bias to prefer tracks with higher play-counts and positive feedback tag (love/hate).
    Helpers: updated helpers.
    Console: improved log file formatting on windows text editors which parse new lines only with CR+LF instead of LF.
    Code cleanup.

Removed
Fixed

    Playlist Recommendations: importing playlists did not retrieve all possible Youtube tracks in some cases.
    Track Recommendations: not retrieving any result due to API changes.
    Toolbar: buttons' size not restored back to normal height after disabling 'Full size buttons' without reloading the panel.
    Helpers: added missing helper.
    UI: wrong parsing of png masks on unix systems (currently, it only affected the ListenBrainz icon when changing the font color).
    Minor fixes.

Re: ListenBrainz-SMP

Reply #38
https://hydrogenaud.io/index.php/topic,120978.msg1059897.html#msg1059897
@paregistrase
I am not able to reproduce your problem with the button on Jsplitter 3.6.1.14. I know I added specific code for wine to make it work there too, but internally testing any setting, it works on my side.

Can you test it on a new portable install? And report which foobar version are you using. The component doesn't work for me on v1.6 so cant test there. I would not discard the latest engine changes does not only break compatibility with win7 but also with wine... but lets see your tests.

Re: ListenBrainz-SMP

Reply #39
https://hydrogenaud.io/index.php/topic,120978.msg1059897.html#msg1059897
@paregistrase
I am not able to reproduce your problem with the button on Jsplitter 3.6.1.14. I know I added specific code for wine to make it work there too, but internally testing any setting, it works on my side.

Can you test it on a new portable install? And report which foobar version are you using. The component doesn't work for me on v1.6 so cant test there. I would not discard the latest engine changes does not only break compatibility with win7 but also with wine... but lets see your tests.

Yes, foobar2000 2.24.2, fresh portable install, wine 10-2 32 prefix. Only modification is adding a jspliter with the toolbar and some buttons.
With jspliter 10 work without problem, with 14 listenbrainz doesn't have menu and make the button at his right disappear on mouse over .
Wine version (stable, devel, staging, tkg, etc) doesn't matter. Windows version emulated (win7 or 10) neither.
Same with the version of your scripts. Is the same in latest zip from repo and the stable versions in release page.

Re: ListenBrainz-SMP

Reply #40
Then definitely a JSplitter bug.. on second thought, this particular script makes use of several timeouts on button hover and click (to retrieve user's data from ListenBrainz). And there were multiple reports about the component failing with that, so that must be the problem.

On my tests, I did not add a token, now I have done it but have not been able to reproduce the problem. Anyway some people have not had problems on foobar v1.6, but on my Win 10 setup v1.6 it's totally broken and v2 works. So there are a few bugs and they seem system dependent.

Re: ListenBrainz-SMP

Reply #41
Then definitely a JSplitter bug.. on second thought, this particular script makes use of several timeouts on button hover and click (to retrieve user's data from ListenBrainz). And there were multiple reports about the component failing with that, so that must be the problem.

On my tests, I did not add a token, now I have done it but have not been able to reproduce the problem. Anyway some people have not had problems on foobar v1.6, but on my Win 10 setup v1.6 it's totally broken and v2 works. So there are a few bugs and they seem system dependent.

With wine I get the same results with foobar2000 2.1.16

Re: ListenBrainz-SMP

Reply #42
I was talking about foobar v1.6.18 (not v2.1.6). Which simply refuses to startup with the latest version of the component installed on my side.

 

Re: ListenBrainz-SMP

Reply #43
I was talking about foobar v1.6.18 (not v2.1.6). Which simply refuses to startup with the latest version of the component installed on my side.

Ops  :)

Version v 1.6.18.
In wine (win7 or 10) both versions of jspliter run but have the same behavior with the listenbrainz button