HOME | DD

#jscript #wsh #falstaff #foobar2000 #br3tt
Published: 2015-11-10 10:41:44 +0000 UTC; Views: 27050; Favourites: 55; Downloads: 2698
Redirect to original
Description
a jscript for the component "JScript Panel" v1.0.0 or better[Change Log]
* 2015-11-10 at 12:00 (GMT+1) : 0.9.0 >> Initial beta release version (for the new component JScript panel 1.0.0)
* 2015-11-10 at 13:45 (GMT+1) : 0.9.1 >> cover size wasn't refreshed on zoom in/out with mouse wheel, now fixed
* 2015-11-15 at 10:35 (GMT+1) : 0.9.2 >> added drag'n drop files support + bugs fixing
[/Change Log]
[Features]
* Groups (collpase or expand, add extra lines, ...)
* True Smooth Scrolling
* Screen Touch support
* "in track" rating system
* Playlist Header at Top (can be hidden with CTRL+T)
* Vertical Scrollbar (can be hidden with CTRL+B)
* Custom or Cover art Wallpaper as background supported (including a blur effect)
* Collapsable playlists panel to easily drag'n drop tracks to a another playlist
* 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]
[Options]
* Font guifx v2 transports, to get better stars for rating >> blog.guifx.com/2009/04/02/guif…
[/Options]
[Installation]
* copy folder "js_br3tt" into your foobar2000 Profile folder (it contains the "jssp" 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\jssp\" 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
* Use Keyboard for "jumping" to an artist in the playlist (incremental search feature like in ELPlaylist) or to navigate in playlist
* 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
* F3 key to show now playing track
* F5 key to refresh covers
* ... etc
[/Tips]
Thanks by advance for bugs report and feedback
Related content
Comments: 52
seriousstas [2017-11-25 11:38:07 +0000 UTC]
Br3tt
Are you planning to create a new playlist based on the latest JScript Panel versions?
👍: 0 ⏩: 0
GuardianAngel72 [2017-08-22 09:53:02 +0000 UTC]
Great list, very clean and really helping breathe life into my personal layout. I'm having an issue however where multi-disc albums are being split into new entries for each disc. Is there a line in the code I can adjust to tweak this behavior?
👍: 0 ⏩: 0
starise [2017-05-03 20:07:29 +0000 UTC]
Very nice! What kind of stuff are in the "Now Playing" and "Queue" tabs?
I mean, it's part of this script or something else?
👍: 0 ⏩: 0
sasalasa [2017-04-30 14:37:02 +0000 UTC]
Hi, may I ask a question about error?
JScript Panel (JS Smooth Playlist v20151114-1630-540 by Br3tt aka Falstaff >> br3tt.deviantart.com )
JavaScript compile error:
syntax error
File: C:\Users\sang9\AppData\Roaming\foobar2000\js_br3tt\jssp\js\JScommon.js
Line: 540, Col: 8
}; else {
What can I do?
👍: 1 ⏩: 2
Br3tt In reply to sasalasa [2017-05-02 18:46:05 +0000 UTC]
in the script, replace all }; with only }
it's due to new version of JScript Panel that do not accept anymore this syntax.
HTH
👍: 1 ⏩: 1
sasalasa In reply to Br3tt [2017-05-03 11:04:13 +0000 UTC]
Thank you for reply!. may I ask one more question?
I am also using your JSPlaylist. It's very good too. and I think that JSPlaylist has one more feature than JS smooth.
when I do 'add to playback queue' in JSPlaylis, playlist named "Queue Content" is automatically made. but not in the JS smooth.
Is this a unique feature of JSPlaylist? I hope that JS smooth has that function.
👍: 0 ⏩: 0
seriousstas In reply to sasalasa [2017-05-01 23:00:23 +0000 UTC]
github.com/19379/JS-Smooth-Scr…
👍: 0 ⏩: 1
jahwise [2017-02-05 20:38:33 +0000 UTC]
Is there any way to get rid of the white border on the cover ?
👍: 0 ⏩: 0
alwaysbeta [2016-12-05 17:24:35 +0000 UTC]
Can you add support for "Prefences>Display>Selection viewers"? For 'Album Art Viewer' or 'Selection Properties' Element...
👍: 0 ⏩: 0
angelus-novus [2016-11-17 01:41:24 +0000 UTC]
hi dude, may i ask you how can i add a string to show disc number in playlist album header?
👍: 0 ⏩: 0
seriousstas [2016-09-20 16:42:19 +0000 UTC]
Does not work on resistive touch panels (on capacitive multitouch - no problem):
See video: youtu.be/o9YZJwGwx80
And please do sorting/grouping selection .
Also, please return "mood" ,look - it was the beginning ..
👍: 0 ⏩: 1
Br3tt In reply to seriousstas [2016-09-21 19:08:08 +0000 UTC]
i won't be fixed for resistive screen
👍: 0 ⏩: 1
seriousstas In reply to Br3tt [2016-10-31 14:58:54 +0000 UTC]
There were also problems with caching images (> 500x500) on low-end PCs.
I have already made changes to resistive screen.
The script will send in Your PM (Scroll Setup)
also I have done, badly needed - sort 'by folders'
👍: 0 ⏩: 1
Br3tt In reply to seriousstas [2016-11-01 09:31:38 +0000 UTC]
what kind of problem for large images ?
👍: 0 ⏩: 1
seriousstas In reply to Br3tt [2016-11-02 00:39:10 +0000 UTC]
When scrolling has appreciable freezes, sticking.
Tests on different PCs.
After sticking to scroll trying to catch up
👍: 0 ⏩: 0
alwaysbeta [2016-05-21 12:12:57 +0000 UTC]
At the time of the next update, Displays the name of the album for stream as Stream ( or Unknown Album )? Like JSP. Or all streaming into a group, like Image 1( a.pomf.cat/vxbqia.png) or Image 2( a.pomf.cat/njrisl.png). Because current JSSP show is a mess.( a.pomf.cat/kyquwc.png)
👍: 0 ⏩: 0
TakuSkan [2016-05-10 14:49:50 +0000 UTC]
This has been preventing Foobar2000 from fully shutting down in Windows 10 Br3tt. After a few weeks I finally got around to removing panels 1 by 1 until I found this was the culprit. No problem in Windows 7 though.
👍: 0 ⏩: 1
Br3tt In reply to TakuSkan [2016-05-11 07:24:14 +0000 UTC]
Hi, i'm using it under Windows 10 since many month and i never encountered a such issue. Without more information about what happen and when exactly, and Jscript Panel version used and script version used and without a console log or crash report, i can not help at all
👍: 0 ⏩: 1
TakuSkan In reply to Br3tt [2016-05-12 07:32:59 +0000 UTC]
Thanks so very much for replying Br3tt. I just did extensive testing before replying here. I found that FB2K with Smooth Playlist (SP) >does< fully shut down in Windows 10 as long as there are not any marc2003 jscript v4.0 panels configured. It doesn't fully shut down when a SP panel is present along with any 1 of the 3 marc2003 panels listed below.
FB2K does not crash, and its console shows nothing unusual (I will send you the log in DA note). I have to 'end task' on FB2K in Task Manager in order to restart it, and it starts normally without complaining. I have also confirmed that a duplicate copy of the portable FB2K build will shut down properly in Windows 7.
It's interesting that if no tracks are played after FB2K is started, it will fully shut down properly.
However I am having an unrelated problem with SP in a simple build with just 2 panels configured: SP and Playlist Switcher. I have a >very< old 'Various Tracks' mp3 folder with a lot of files that lack album tags. The cover art files in my library are named from the %album% tag, and they are stored in each album folder. In this folder there are several %album%.jpg cover art files. The problem starts when I select this 'Various Tracks' playlist. SP scans & chooses the 1st art jpg in the folder in lowest alphabetical order a-z. It then creates thumbnail files for every one of those mp3s that lacks an album tag. If I then tag the mp3 properly and add the corresponding %album%.jpg art file to the folder, SP doesn't change the thumbnail it displays to match. In fact I can find no way to change a thumbnail for 1 single track in SP without having to delete the entire \imgcache folder.
During my tests today I did see a connection between SP and marc2003's jscripts. His Album Art Downloader panel will notice the thumbnail SP creates for mp3s lacking album tags. And then like SP, his panel will then display that art for every track in the playlist that lacks that tag. Also if I close FB2K, and then try to delete the entire \wsh_data\artists folder before ending task on FB2K, some sub-folders will delete, but some remain until FB2K is fully shut down.
Here is my setup:
Foobar2000 v1.3.9
foo-jscript-panel v1.1.4
JS Smooth Browser version "20151114-1630-340"
js_marc2003-v4.0
* Now playing (basic) script
* Thumbs script
* Last.fm Album Art Downloader script (latest marc posted on Hydrogenaud.io)
PC: Windows 7 b7601 SP1
Notebook: Windows 10 v1511 b10586.318
Notebook: Windows 10 v1507 b10240 <- Recently upgraded from this
👍: 0 ⏩: 1
Br3tt In reply to TakuSkan [2016-05-13 06:48:24 +0000 UTC]
Thanks for the fully detailled rport, this sentence is interesting "During my tests today I did see a connection between SP and marc2003's jscripts. His Album Art Downloader panel will notice the thumbnail SP creates for mp3s lacking album tags"
issue is when SP is used with marc script, so something is badly interact in SP (or in marc script) ...
i'll give it a look asap
Regards
👍: 0 ⏩: 3
TakuSkan In reply to Br3tt [2016-05-14 10:53:38 +0000 UTC]
Have resolved the problem with foobar not fully shutting down in Windows 10 Br3tt.
hydrogenaud.io/index.php?PHPSE…
I also removed all the thumbnail naming patterns in the SP panel properties and set just %album%.*. That seems to have resolved the problem I was having with SP selecting the wrong jpgs to make thumbs from. It would still be nice to be able to remove and / or replace individual thumbnails instead of having to delete the entire cache folder and start over. Tho' the script is pretty quick.
👍: 0 ⏩: 0
TakuSkan In reply to Br3tt [2016-05-13 10:45:35 +0000 UTC]
Looks like marc's and your scripts are not interacting Br3tt. They're just doing the same thing. They are both choosing 1 jpg among many in the folder to display cover art for every mp3 in the folder that lacks an album tag. This is a very old and very neglected group of unrelated music files, the oldest dating back to 2002. Think I put poor marc through more time and effort than it may have been worth in this hydrogen thread:
hydrogenaud.io/index.php/topic…
👍: 0 ⏩: 0
TakuSkan In reply to Br3tt [2016-05-13 08:57:29 +0000 UTC]
Thanks. Have made marc aware of this too Br3tt.
👍: 0 ⏩: 0
SuperMagicom [2016-04-28 21:28:46 +0000 UTC]
Can I change the double click action to add track to the Queue instead of Play?
👍: 0 ⏩: 1
TakuSkan In reply to SuperMagicom [2016-05-12 11:03:03 +0000 UTC]
That'd be a cool function.
👍: 0 ⏩: 1
SuperMagicom In reply to TakuSkan [2016-06-01 06:24:47 +0000 UTC]
The older (non smooth) JS Playlist component had a setting to change the double click action from play to enqueue. It looks like there is a similar setting in this one but it doesn't do anything.
👍: 0 ⏩: 0
devilhood [2016-03-08 15:40:49 +0000 UTC]
This is a really great looking theme, but sadly it does not have any basic sorting capabilities. I've had to revert back to using the default foobar theme because it is not possible to keep my playlists properly organised. I look forward to the next update Br3tt, because you've done great work here.. it just needs some final touches before it becomes a viable replacement.
👍: 0 ⏩: 0
bwer1233 [2016-03-04 08:30:41 +0000 UTC]
This is great! Jscript panel seems to be a whole lot easier to manage from a users perspective than WSH as well, making me even more excited to see you moving this style of playlist over! Quick question though. What part of the script is handling playlist sorting. Right now without looking at the script it APPEARS you are calling an if/then to make the playlist sort by album, and then follow additional sub rules to also break it up by artist. I want to eliminate these sub sorting rules and have it all ONLY sort by album (so no matter what is in the artist/albumartist/composer/etc tags it still only shows you ONE album.) I'm gonna take a wild guess and say lines 16-22 are handling the sorting rules, I'm just going to post this here anyway for you to either validate my assumptions or point me in the right direction. Seems as though my best bet would be to just change these values and watch what happens. Process of elimination is a great learning tool! (since I do have a basic understanding of this I should be able to make these changes without breaking the script and having to start over!)
EDIT: I know, I was wrong! I WILL find this! I feel like I'm missing something PAINFULLY obvious.....
👍: 0 ⏩: 0
revo1973 [2016-02-19 13:40:10 +0000 UTC]
Hi Br3tt,
are you going to add all (possible) functions that you had in your WSH version of JSPlaylist?
For example custom columns?
👍: 0 ⏩: 0
Arnie77 [2016-01-09 22:23:47 +0000 UTC]
Is the JScript panel the new or the better WHS Pannel Mod ?
Nice Work !
Only 5285 Lines of Code
Keep on Your good work.
RESPECT
👍: 0 ⏩: 1
Punkpkin [2015-12-28 19:16:10 +0000 UTC]
Could you tell me what part of the code do I have to change to remove the white margin on albums covers on JS Playlist? Thanks for your hard work...
👍: 0 ⏩: 0
alwaysbeta [2015-12-28 14:52:48 +0000 UTC]
Drag and drop a track into the middle of the album > click on the artist in JSSB > In JSSP, can not select all the tracks of the artist or the wrong choice.
137.12 KiB a.pomf.cat/opnpay.png 178.18 KiB a.pomf.cat/vxteya.png
👍: 0 ⏩: 1
seriousstas In reply to alwaysbeta [2016-01-12 20:32:10 +0000 UTC]
Need a sorting just as in JS Playlist. I hope Br3tt and in JS Smooth Playlist also add in JS Smooth Browser( Folder Structure Groups)
rghost.ru/7XGFW5f2S/image.png
👍: 0 ⏩: 0
seriousstas [2015-12-22 23:21:42 +0000 UTC]
Please add smooth scrolling on JS Playlist
JS Playlist - Your best product!
👍: 0 ⏩: 1
theramblingsofaronin [2015-12-20 22:12:33 +0000 UTC]
I'm experiencing an issue with this script and Columns UI when I'm attempting to place this within a playlist stack. When I unclick "show caption" in the Columns UI settings for that, the script disappears. It only happens if I happen to employ a second splitter besides what is used for the base.
imgur.com/a/sAthl
👍: 0 ⏩: 0
samithaj [2015-12-17 11:16:49 +0000 UTC]
Could you please make Collapsable playlists panel active via middle click (like in JSPlaylist)
to change the playlist quickly
I do love the your Playlist Manager but really miss this feature form JSPlaylist
(no need of other features only playlist changing would be real handy)
👍: 0 ⏩: 1
Br3tt In reply to samithaj [2015-12-18 09:00:28 +0000 UTC]
no planned for now, i've other priorities to code before, and for now, i do not code at all, too busy
👍: 0 ⏩: 0
albmanzi [2015-12-02 05:15:20 +0000 UTC]
i don't understand what mood is and where would it display if enabled and present as tag ....i'd like to customize it to display the genre instead as i often assign genres different from other tracks in the same album, any help pls?
👍: 0 ⏩: 0
skibbipl [2015-11-11 11:32:08 +0000 UTC]
Filter seems to be broken. Entering anything causes my foobar UI to freeze and only restart helps.
👍: 0 ⏩: 2
skibbipl In reply to skibbipl [2015-11-12 13:33:51 +0000 UTC]
Mystery solved. Somehow Auto DJ plugin (whis seems to be dead) is responsible for interface hangups. I had it on both foobar profiles.
👍: 0 ⏩: 0
Br3tt In reply to skibbipl [2015-11-11 21:41:10 +0000 UTC]
thank to give me more informations ... what kinf of playslist are you filtering (autoplaylist ? how many tracks ? what king of tracks ? what is the string entered in the filter box ? ....) thanx by advance
👍: 0 ⏩: 1
skibbipl In reply to Br3tt [2015-11-12 09:58:00 +0000 UTC]
I checked on another foobar instance and I have exactly the same issue, so I guess it's related to the script itself. Here are the details:
I have a basic playlist with 193 entires. Those are few radioshows with cue files. I type a song name and foobar UI just freezes, but the music plays in the backgroud. It doesn't matter what I type: 1 letter or 10, the UI just freezes after I stop typing. The same issue I have when I search on a classic playlist with mp3 files. The filtering works fine with your playlist manager script or album list. Only the playlist itself is broken
I use latest foobar 1.3.9 on Windows 8.1/10 (with latest updates). Jscript Panel version is 1.0.1.
👍: 0 ⏩: 1
Br3tt In reply to skibbipl [2015-11-12 10:16:06 +0000 UTC]
i can't reproduce your issue on my 2 computers (on DefaultUI)
could you post a video capture of these weird behaviour to let me judge and maybe found a clue ?
👍: 0 ⏩: 1
skibbipl In reply to Br3tt [2015-11-12 13:22:29 +0000 UTC]
I made a clean foobar profile with only JScript Panel and filter works fine. I'll try to narrow down if this issue is related to some of my installed foobar addons.
👍: 0 ⏩: 1
Br3tt In reply to skibbipl [2015-11-12 14:31:27 +0000 UTC]
ok, i'm interrested in the component not compliant with my script
👍: 0 ⏩: 0
Br3tt In reply to alwaysbeta [2015-11-10 18:03:39 +0000 UTC]
i know, nut not a big problem, i will reduce the area when nothing else to do
👍: 0 ⏩: 0
| Next =>