regorxxx / Playlist-Manager-SMP

A playlist manager for foobar2000, using Spider Monkey, to save and load (auto)playlists on demand, synchronizing, ... along many more utilities.
https://regorxxx.github.io/foobar2000-SMP.github.io/scripts/playlist-manager-smp/
GNU Affero General Public License v3.0
56 stars 5 forks source link

"Shortcut not properly set: M Single Click --> Copy selection to playlist" [BUG] #74

Closed sonofevil closed 10 months ago

sonofevil commented 10 months ago

Describe the bug I set the single middle click to "copy selection to playlist", but it doesn't work and produces an error.

To Reproduce Steps to reproduce the behavior:

  1. Configure middle click to "copy selection to playlist".
  2. Select some tracks.
  3. Middle-click on a playlist.
  4. See error

Shortcut not properly set: M Single Click --> Copy selection to playlist

Expected behavior Selected tracks are copied to the playlist I click on.

Desktop (please complete the following information):

Additional context I tried installing the latest Nightly, but it gets stuck on "loading" when I start Foobar2000 and is thus unusable, so this is still the standard release.

Note that it works just fine with ctrl+middle click.

regorxxx commented 10 months ago

Nightly not working must be an error on your side, just reload the panel. It's working fine here. Both as package and script file.

Also delete anything at '\foobar2000\js_data\temp\'

sonofevil commented 10 months ago

Nightly not working must be an error on your side, just reload the panel. It's working fine here. Both as package and script file.

Also delete anything at '\foobar2000\js_data\temp'

It seems to happen even with a totally clean install.

regorxxx commented 10 months ago

Have found the problem with the bug (and will fix it asap), but no idea with the package thing, since I can not reproduce it in any way.

Maybe redownload it? For ex. this one works fine: https://github.com/regorxxx/Playlist-Manager-SMP/actions/runs/7411092033

Also, I need more info. Send me your console and a gif. The tooltip shows the current action if its 'loading' or 'updating'

sonofevil commented 10 months ago

Also, I need more info. Send me your console and a gif. The tooltip shows the current action if its 'loading' or 'updating'

The log gets stuck here:

https://raw.githubusercontent.com/Regorxxx/Playlist-Manager-SMP/main/VERSION
[9:25:43 PM] Playlist Manager: created dynamic menus
[9:25:44 PM] Playlist manager: Cached playlists for searching
[9:26:19 PM] Playlist manager: reading files from "Z:\home\lutra\.foobar2000\profile\playlist_manager\"
[9:26:21 PM] Spider Monkey Panel v1.6.1: profiler ({AAF59FDB-61BD-46AD-AB04-2B4F509EB087}: loadPlaylistsFromFolder): 1475ms
[9:26:22 PM] Caching library paths 0%.
[9:26:22 PM] Caching library paths 10%.
[9:26:24 PM] Caching library paths 20%.
[9:26:25 PM] Caching library paths 30%.
[9:26:26 PM] Playlist Manager: created dynamic menus
[9:26:26 PM] Caching library paths 40%.
[9:26:27 PM] Caching library paths 50%.
[9:26:37 PM] Playlist manager: Cached playlists for searching
[9:27:55 PM] getText(): undefined
    https://raw.githubusercontent.com/Regorxxx/Playlist-Manager-SMP/main/VERSION

Screenshot_20240104_212836

Hope that is sufficiently informative, I don't have any gif creation tools installed.

regorxxx commented 10 months ago

I need the tooltip over the panel though

regorxxx commented 10 months ago

That's an entirely different problem, so opening a new issue for that.

This one has been fixed.