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 Organizer (aka foo_plorg) replacement on Jscript Panel 3 (Read 46466 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #75
I tested by switching normal and dark mode with the same foobar.
Dark Mode works fine.opacity is enough.

Both Default UI and Columns UI are the same.
Dark Mode is fine.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself)

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #76
New version :
Playlist Organizer (Jscript Panel 3)
v1.5.2
27-03-2023

Version changes :
- fix cover background for light mode
- selection bar is slightly wider
- text size is now persistent

X

@Airken let me know if that fixes these topics for you. I have weird behavior with certain fonts (like Yu Gothic by example) and i'm still trying to understand what's going on.


Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #77
Thanks for all these updates. You're too kind to us. 👍

And now I'm going to ask for another!

Any chance of a font size 9 option please?

It's the default font size and I'd imagine it would be more used than size 32.

And is it possible change the colour of that red bar near the top?

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #78
@etip

problem solved.
Many Thanks.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself)

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #79
  • Type to search - i.e. start typing name of playlist to jump to it
@frogworth
2 questions for you to try to understand the logic you are after.
- what you type would be the beginning of the playlist name (and not char within the playlist name) ?
- if a folder is closed, is that part of the search ? (in case that means the folder would open up)
thanks

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #80
  • Type to search - i.e. start typing name of playlist to jump to it
@frogworth
2 questions for you to try to understand the logic you are after.

Thanks so much for thinking about this!
I hope that typing what I guess are letters and numbers won't interfere with the navigation shortcuts - don't think so.

So re these questions:
Quote
- what you type would be the beginning of the playlist name (and not char within the playlist name) ?
- Yes, I think it should be "playlists beginning with...". It would be too confusing to match characters inside a playlist name, I think!
The way I imagine it, with focus on the panel, you start typing, and it takes you to the first playlist that begins with the letters you've typed. It may be worth having a small latency there, so that typing a few letters in quick succession doesn't cause it to jump around too much?
(The other way would work, I guess, like the filtering on the keyboard shortcuts settings page. That's a classic case where typing four or five letters, it struggles to keep updating the results each time.)

Quote
- if a folder is closed, is that part of the search ? (in case that means the folder would open up)
- I don't really have an opinion on how it behaves if a folder is closed. I generally always have folders open. My instinct is that playlists inside closed folders should not be included, but I'm not set on that.

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #81
Hi,

a right-click on a playlist crashes the panel:

JScript Panel 3.2.7 (Playlist Organizer v1.5.2 date 27/3/2023 by Seb + inspiration and abstract from marc2003)
Laufzeitfehler in JavaScript
Die Eigenschaft "name" eines undefinierten oder Nullverweises kann nicht abgerufen werden.
File: C:\Users\xyz\Desktop\foobar2000 v2.0 b28 (x64) Test\profile\scripts\js\pl_organizer.js
Line: 606, Col: 8

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #82
@ASopH

Is the location of the script file correct?
https://hydrogenaud.io/index.php/topic,123820.msg1024163.html#msg1024163
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself)

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #83
@AIR Ken :-)

Hi and yes:
JScript Panel 3.2.7 (Playlist Organizer v1.5.2 date 27/3/2023 by Seb + inspiration and abstract from marc2003)
Laufzeitfehler in JavaScript
Die Eigenschaft "name" eines undefinierten oder Nullverweises kann nicht abgerufen werden.
File: C:\Users\xyz\Desktop\foobar2000 v2.0 b28 (x64) Test\profile\pl_organizer\pl_organizer.js
Line: 606, Col: 8

It makes no difference

cheers :-)

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #84
foobar2000 v2.0 beta 18 newer?
(>File: C:\Users\xyz\Desktop\foobar2000 v2.0 b28 (x64) Test): confirmation)

Please show me the SS when the Playlist Organizer Panel is displayed for the first time.
Please wait for the answer from the author.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself)

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #85
Yes it't foobar v2.0 BETA 28 ...
Panel start is ok - only when I right-click on a playlist (e.a. LIBRARY VIEWER SELECTION) it crashes.

@AIR Ken: what you mean with "SS" ??

Edit: hmm.. error is no longer reproducible - sorry -
Edit2: this happen only, when no playlist ist highlighted and the I right-click

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #86
Yes it't foobar v2.0 BETA 28 ...
Panel start is ok - only when I right-click on a playlist (e.a. LIBRARY VIEWER SELECTION) it crashes.

@AIR Ken: what you mean with "SS" ??

Edit: hmm.. error is no longer reproducible - sorry
This happens to me on startup. The appearance is the selection frame around a playlist not the selection bar, meaning nothing is selected. Right-click > Javascript error.
If I left-click to select something first, then right-clicking doesn't crash.
So it seems on startup nothing is initially selected, and that causes the crash.

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #87
@ASopH

Preferences > Media Library > Library viewer selection playlist > Enable (on)

I tried sending from "Album List" to "Library viewer selection playlist".

> Edit2: this happen only, when no playlist ist highlighted and the I right-click

both were fine

Have you rebuilt your media library?
and Create a new Playlist.

Back Up:
\profile\library-v2.0
\profile\playlists-v2.0
\profile\metadb.sqlite
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself)

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #88
Yes, media library is rebuild, it's only happened after first start and no PL is selected.
Preferences > Media Library > Library viewer selection playlist > Enable (on) IS selected!

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #89
yes, i'll post a fix to that, didnt have time yesterday :)

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #90
- I don't really have an opinion on how it behaves if a folder is closed. I generally always have folders open. My instinct is that playlists inside closed folders should not be included, but I'm not set on that.

I've started to work on it, the idea is to push (and stay pushed) shift to input chars, if you release shift the process stops. At each char (maybe with a min of 3), if a playlist matches, it selects it. Something like it.
And yes, i will not open folders.
Thanks for your answer.

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #91
New version :
Playlist Organizer (Jscript Panel 3)
v1.6.0
28-03-2023

Version changes :
- font size starts at 9
- Color of the line separating the header from the list can be customized.
- fix crash when right clicking at load up
- implemented a search functionality : Triggering it using shift, closing it using shift again. Search starts at the third character.
@frogworth : let me know what you think and how to improve it (i need to make sure the scroll goes to the selected item).

The files "inputbox.js" & "pl_organizer.js" need to be copied in the pl_organizer folder (the inputbox.js file is new and was developped by @marc2k3 )
X


Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #92
(the inputbox.js file is new and was developped by @marc2k3 )

Nope, not my work. Whichever one you took from JSPlaylist or the Smooth folder is by the original author of those scripts (Falstaff). Obviously I've had to update them many times over the years to keep up with all my breaking component changes but the main bits that do all the work haven't really been touched.

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #93
yep, smooth folder. Thanks for the clarification.

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #94
First of all, thaks for doing this. As this is the last absolutely essential component not available as 64-bit (standalone) I decided to give this version a try :) (also, this script is the reason I decided to install JScript Panel after all, even if I for a long time didn't want to)

Some observations/questions:

Can the "Total" (duration) tooltip be disabled? I find it rather irritating, and I'd rather have that info show up in the right column (which now can be toggled between "number of items" and "number of items + size"). So this is also a request to add "total duration" as an option to the right column.
Same question about the drag and drop tooltip, so actually this request is generally for an option to turn the tooltip on and off.

I know you just updated it to have minimum font size at 9, but I'd still like to request size 8 as a minimum as my entire interface is Tahoma size 8 (and 8 is also the minimum in the DUI fonts picker).

The playlist selection bar is a bit off and acts a bit strangely in some cases (these screenshots were taken with 1.5.2 and text size 10 just before 1.6.0 was out, but the behaviour is the same with 1.6.0 and size 9)

Selected playlist clashes with the top bar in some cases:

There is actually a playlist between "Goa Trance" and "Goa Trance Revolution" but it's hidden (as it's supposed to)

The bounding box is too high and not centered:


And then a quite strange one:
Sometimes, sorting (or as it's named, "Filter (Asc/Desc) on folder" which confused me a bit at first) just doesn't work. For example, I have a folder with playlists prefixed with numbers (01-13 currently) and no matter which sorting option I choose (Asc/Desc) the playlists stay sorted as 13->01 (descending). For some reason it looks like if you have even a single playlist where the name starts with a number (or actually, any symbol not A-Z it seems), and you have that playlist in a folder, sorting that folder's playlists only works descending, not ascending. I can do some further investigation if needed, this is preliminary info. Edit: forget that, sorting ascending inside folders doesn't work at all, or rather, it doesn't do anything to the current order, whatever it might be. In the root it seems to work, but I made the mistake of trying that and it sorted my folders in with the playlists which was a bit of an unpleasant surprise.

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #95
Still getting this occasionally when right clicking:

JScript Panel 3.2.7 (Playlist Organizer v1.6.0 date 28/3/2023 by Seb + inspiration and abstract from marc2003)
JavaScript runtime error
Unable to get property 'id' of undefined or null reference
File: C:\Users\XXXX\AppData\Roaming\foobar2000-v2\pl_organizer\pl_organizer.js
Line: 800, Col: 6

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #96
Well, I might as well keep talking to myself here in the middle of the night, but something is seriously off with sorting the playlists. Now that I finally finished organizing my over 600 playlists into folders (with nothing in the root folder), sorting works both ways...until it doesn't. Meaning that sorting a folder ascending might look like it's sorted in alphabetical order, but suddenly there's a jump. Look at this (this is a snippet from my Artists folder):

It actually starts at the beginning of the list at Astral Projection, then goes alphabetically to almost to the end of playlists starting with G (skipping some playlists no, actually that entire 12 Moons - Asia 2001 section should be in alphabetical order at the beginning of the folder, before Astral Projection) then jumps back to Asia 2001 and it actually goes in reverse alphabetical (descending) order until 12 Moons, then continues again from Gus Till in what seems like a proper alphabetical order until the end of the folder. This doesn't happen with all folders though (at least as far as I can tell) and how the playlists are actually sorted varies quite randomly (or at least not following any pattern I can figure out).
Another weird side effect of sorting is that sorting one folder has a high possibility to cause another random folder to go into a random sorting order. And when you go and sort that folder it messes up another folder and so on and so on.

 

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #97
Still getting this occasionally when right clicking:

JScript Panel 3.2.7 (Playlist Organizer v1.6.0 date 28/3/2023 by Seb + inspiration and abstract from marc2003)
JavaScript runtime error
Unable to get property 'id' of undefined or null reference
File: C:\Users\XXXX\AppData\Roaming\foobar2000-v2\pl_organizer\pl_organizer.js
Line: 800, Col: 6

Ignore that error when you get it, which is common.
Drag and Drop, right click, mouse operation.

Right click > Reload.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself)

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #98
Ignore that error when you get it, which is common.
Drag and Drop, right click, mouse operation.

Right click > Reload.

Okay, yes it's more like an annoyance.
I figured out that rclick -> reload already (fortunately no changes are lost)

Re: Playlist Organizer (aka foo_plorg) replacement on Jscript Panel 3

Reply #99
New version :
Playlist Organizer (Jscript Panel 3)
v1.6.0
28-03-2023

Version changes :
- font size starts at 9
- Color of the line separating the header from the list can be customized.
- fix crash when right clicking at load up
- implemented a search functionality : Triggering it using shift, closing it using shift again. Search starts at the third character.
@frogworth : let me know what you think and how to improve it (i need to make sure the scroll goes to the selected item).

The files "inputbox.js" & "pl_organizer.js" need to be copied in the pl_organizer folder (the inputbox.js file is new and was developped by @marc2k3 )
[attach type=thumb]25101[/attach]


Right-Click Error is fixed - thank you  ;)