Br3tt's avatar

JS Smooth Playlist Manager

37 27 16K (1 Today)
By Br3tt   |   Watch
Published: November 10, 2015
© 2015 - 2019 Br3tt
a jscript for the component "JScript Panel" v1.0.0 or better

[Change Log]
 * 2015-11-10 at 11:00 (GMT+1) : 0.9.0 >> Initial beta release version (for the new component JScript panel 1.0.0)
 * 2015-11-10 at 13:20 (GMT+1) : 0.9.1 >> bug fixed when creating autoplaylists
 * 2015-11-10 at 16:00 (GMT+1) : 0.9.2 >> bug fixed for autoplaylist properties + selection behaviour modified, now, a double click or RETURN key is required to set the playlist as the Active one
 * 2015-11-10 at 16:25 (GMT+1) : 0.9.3 >> quick fix on v0.9.2, to fix issue when changing selection with arrow keys if filter is activated
 * 2015-11-10 at 18:55 (GMT+1) : 0.9.4 >> quick fix on v0.9.3, to fix other issues when filter is activated
 * 2015-11-12 at 09:15 (GMT+1) : 0.9.5 >> bug fixed when ADDing new playlist/autoplaylist (was ok on INSERTing)
 * 2015-11-15 at 10:30 (GMT+1) : 0.9.7 >> added drag'n drop files into panel support + tweaks
[/Change Log]

[Features]
 * order playlists by dragging items with the mouse
 * presets autoplaylists available
 * True Smooth Scrolling
 * Screen Touch support
 * Header bar at Top (can be hidden with CTRL+T)
 * Vertical Scrollbar (can be hidden with CTRL+B)
 * Filter box
 * Custom or Cover art Wallpaper as background supported (including a blur effect)
 * Windows scaling compliant (you can adjust zoom size in real time with CTRL+mousewheel)
 * Custom Panel Colors (in Properties window)
 * ... and more!
[/Features]

[Requirements]
 * Windows Vista, 7, 8 or 10
 * foobar2000 v1.3 or better >> www.foobar2000.org
 * component "JScript Panel" 1.0.0 or better >> github.com/19379/foo-jscript-p…
[/Requirements]

[Installation]
 * copy folder "js_br3tt" into your foobar2000 Profile folder (it contains the "jsspm" subfolder)
 * import/paste the main script into a "JScript Panel" instance of your foobar2000 layout (DUI or CUI)
 * Important: for any update of my scripts, replace the whole folder "js_br3tt\jsspm\" each time
   and Clear the panel properties (hold SHIFT key + Right-click > Properties > "Clear" button > "OK" button)
[/Installation]

[Tips]
 * Hold SHIFT key + right click to display Configure script and panel Properties entries
 * Always use Jscript9 engine for better performances (choice is to be made when you open the "Configure..." window from a JScript Panel instance (right click)
 * Change colors and fonts in foobar2000 Preferences > DefaultUI or ColumsUI
 * Some minor settings can be changed in window Properties (SHIFT + right click > Properties), use it carefully
 * Right Click on items for contextual menu for the selection
 * CTRL+T to toggle the columns toolbar
 * CTRL+B to toggle the scrollbar
 * Hold CTRL + Mouse Wheel to scale elements (useful for 'retina' screens)
 * Hold SHIFT + Mouse Wheel to scale group header and so the cover art size
 * F2 key to rename selected/active playlist
 * ... etc
[/Tips]

Thanks by advance for bugs report and feedback :)
Comments27
anonymous's avatar
Join the community to add your comment. Already a deviant? Sign In
Sandman2012's avatar
Hi Falstaff. I'm getting some issues with this when I import:

JScript Panel (JS Smooth Playlist Manager v20151115-1000-151 by Br3tt aka Falstaff >> http://br3tt.deviantart.com)
JavaScript compilation error:
Syntax error
File: C:\Users\Daniel\AppData\Roaming\foobar2000\js_br3tt\jsspm\js\JScommon.js
Line: 540, Col: 8
    }; else {

Have I done something wrong or do you know what's causing the error? 
Ultimate-Dark-Water's avatar
Hello :-) After a long using time :-)

I found a bug :-(

When I add a "New Autoplaylist" the panel crash

JScript Panel (JS Smooth Playlist Manager v20151110-1600-140 by Br3tt aka Falstaff >> br3tt.deviantart.com): Laufzeitfehler in Microsoft JScript:
Das Objekt unterstützt diese Eigenschaft oder Methode nicht.
File: <main>
Line: 1421, Col: 13
<source text only available at compile time>

After Reload, the new autoplaylist is present.

Hope you can fix it :-)

Happy Xmas ^^
Br3tt's avatar
Br3ttHobbyist Interface Designer
thanx, already fixed but no time to release the update for now, next year now :)
chamuco99's avatar
JScript Panel (JS Smooth Playlist Manager v20151115-1000-151 by Br3tt aka Falstaff >> br3tt.deviantart.com): Microsoft JScript runtime error:
Function expected
File: C:\Users\Mike\Desktop\foobar2000\js_br3tt\jsspm\js\JSinputbox.js
Line: 373, Col: 6
<source text only available at compile time>

Right-click>Rename this playlist (currently 'New Playlist'), crash on 'Paste' (album title was copied to clipboard from properties dialog).
ctrl+v doesn't crash it, but doesn't work either.
Br3tt's avatar
Br3ttHobbyist Interface Designer
thank you for reporting, i'll check this asap
shadx's avatar
Excellent work as always.  Thank you.
Br3tt's avatar
Br3ttHobbyist Interface Designer
thank you
anmisto's avatar
anmistoHobbyist General Artist
Got an error while making an AutoPlaylist.

EDIT: Missed the script update.
Tofu2525's avatar
Thanks very smooth playlist manager!!

Wants:
single click :select playlist
double click :play playlist 

Sorry, I don't wrtie English well.
Br3tt's avatar
Br3ttHobbyist Interface Designer
no change planned on click actions, it will stay as it is the most convenient for me and for all user with large playlist
Tofu2525's avatar
Thank you answer and I understand.

So,another Wants:
right click option [play this playlist]

please think about it
Br3tt's avatar
Br3ttHobbyist Interface Designer
i will ...
Tofu2525's avatar
thank you answer!
chamuco99's avatar
JScript Panel (JS Smooth Playlist Manager v20151110-1830-142 by Br3tt aka Falstaff >> br3tt.deviantart.com): Microsoft JScript runtime error:
'this.rows[...].idx' is null or not an object
File: <main>
Line: 1389, Col: 13
<source text only available at compile time>

Crash when clicking on open space under current playlists (Add>any of the 3 options). When I reload the script, the new playlist is there.
Br3tt's avatar
Br3ttHobbyist Interface Designer
fixed in v0.9.5 just released
Br3tt's avatar
Br3ttHobbyist Interface Designer
weird, i can't reproduce for now, i'll check it asap, thanks for reporting. any clue ? was list empty before the crash on adding/inserting a new playlist ?
chamuco99's avatar
Other lists were present, just tried Add>New Playlist when it crashed, then tested the other options too. Load playlist worked, and Insert>New Playlist worked when clicking on a present playlist but when deleting the new playlist would delete the playlist that was clicked on too. "20151110-1330-131" was working as expected before I updated. The JSPanel is within a Popup Panel, maybe that has something to do with it?
Br3tt's avatar
Br3ttHobbyist Interface Designer
ok, reproduced, i will fix it asap, thanks for the reporting :)
Br3tt's avatar
Br3ttHobbyist Interface Designer
behaviour changed in v0.9.2, thanks for some feedback...
alwaysbeta's avatar
JScript Panel (JS Smooth Playlist Manager v20151110-1330-131 by Br3tt aka Falstaff >> br3tt.deviantart.com): JavaScript 运行时错误:
对象不支持“ShowAutoPlaylistUI”属性或方法
File: <main>
Line: 1453, Col: 13
<source text only available at compile time>
Br3tt's avatar
Br3ttHobbyist Interface Designer
thanks, i've already fixed it too, i'm changing the way the panel work, in next version, activa playlist will only change on double click (i'm working on and it's far better imho) ... update in a few minutes now ;)
JGDD's avatar
Not a fan of the double click. One of the reasons I used your earlier DUITunes version was because it operated with a single click for speed. Please tell me there is an easy way to comment that out and revert back.
alwaysbeta's avatar
JScript Panel (JS Smooth Playlist Manager v20151110-1200-130 by Br3tt aka Falstaff >> br3tt.deviantart.com): Microsoft JScript 运行时错误:
对象不支持此属性或方法
File: <main>
Line: 1475, Col: 13
<source text only available at compile time>
Br3tt's avatar
Br3ttHobbyist Interface Designer
fixed on all autoplaylist creations, thank you
anonymous's avatar
Join the community to add your comment. Already a deviant? Sign In