Br3tt on DeviantArthttps://www.deviantart.com/br3tt/art/JS-Smooth-Browser-571376160Br3tt

Deviation Actions

Br3tt's avatar

JS Smooth Browser

By
Published:
39.5K Views

Description

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 16:43 (GMT+1) : 0.9.1 >> custom color "selected text" was only working in Grid view : now fixed
 * 2015-11-12 at 12:10 (GMT+1) : 0.9.2 >> bugs fixing (when panel hidden, if display = Grid mode, nothing draw when panel shown + on source = playlist, when clicking on a group item (album / artist / genre) it now selects all the tracks of the group and no more only the 1st one)
 * 2015-11-15 at 10:30 (GMT+1) : 0.9.3 >> added a context menu option to toggle caching image on disk (to get a better image quality on big cover size, degraded when using disk cache) + bugs fixing
[/Change Log]

[Features]
 * 2 sources possible: library or active playlist (initialy designed as a library browser)
 * 3 columns modes available: albums, artists, genres
 * 4 display modes avaliable: column, art+bottom label, art+right label, grid art view
 * 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 "jssb" 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\jssb\" each time
   and Clear the panel properties (hold SHIFT key + Right-click > Properties > "Clear" button > "OK" button)
[/Installation]

[Tips]
 * for the GENRE column mode, images have to be stored in js_br3tt\jssb\images\genres\ folder
 * for the ARTIST column mode, to make the disk cache working, artist images path have to be set in window Properties (SHIFT + right click > Properties)
 * 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/genre in the library view (incremental search feature like in ELPlaylist)
 * 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 (if present in library and not filtered)
 * F5 key to refresh covers
 * ... etc
[/Tips]

Thanks by advance for bugs report and feedback :)
© 2015 - 2024 Br3tt
Comments100
Join the community to add your comment. Already a deviant? Log In

JavaScript compilation error:

Syntax error

Line: 197, Col: 24

}; else {


Identical errors throughout the file. Similar error:


JavaScript compilation error:

Syntax error

Expected 'catch'

Line: 295, Col: 38

}; catch(e) {};


Windows' "gdi" library was also referenced everywhere in the file but was undefined according to the JScompiler.


Thankfully, JScript Panel apparently ships with this script as a sample! (version 3.3.33)

- Right click a JScript Panel UI element and choose configure.

- The script importer pops up. Click Samples, then Smooth Browser.

- Apply and have fun!