Shop Forum More Submit  Join Login
WSH CoverFlow by Br3tt WSH CoverFlow by Br3tt
a jscript for WSH Panel Mod component for foobar2000

[Change Log]
2012-05-08 12:10 (GMT+1): 1.4.0 released
2015-02-22 18:05 (GMT+1): 1.5.0 released >> optimized repaint system + new shading effect + now compliant with latest WSH Panel Mod version 1.5.7.1
2015-02-22 18:20 (GMT+1): 1.5.1 quickfix >> bug on double click cover and cover frame not displayed for centered cover...
[/Change Log]

[Requirements]
 * foobar2000 v1.1 or better >> foobar2000.org
 * WSH panel Mod v1.5.3.1 or better >> code.google.com/p/foo-wsh-pane…
 * Optional: Font uni 05_53  >> www.dafont.com/uni-05-x.font
    this font is required to display total tracks info on flat display mode
[/Requirements]

[Installation]
 * import/paste this jscript into a WSH Panel Mod instance of your foobar2000 layout (DUI or CUI)
[/Installation]

[Informations]
 * change colors and fonts in foobar2000 Preferences > DefaultUI or ColumsUI
 * Some Settings (*USER_xxx ones only) can be changed in window Properties
 * middle click on cover > Send album tracks to specific playlist "CoverFlow View"
 * keyboard keys : left/right arrows, Home/End, page up/down, spacebar to set focus on the centered album, Return key to play ...
 * Type as you Search feature : type artist name with keyboard to automatically set the focus on its first album
 * Think about it >> Adjust size/effects of the panel according to your cpu capacities to avoid bad perf
[/Informations]

---
Br3tt
Add a Comment:
 
:iconneonpri:
neonpri Featured By Owner Edited Jun 28, 2017
Hello, may I ask a question about error? 

JScript Panel (CoverFlow View (stand alone script version) v1.5.1 by Br3tt aka Falstaff >> br3tt.deviantart.com)
JavaScript Runtime error:
개체가 'IsAutoPlaylist' 속성이나 메서드를 지원하지 않습니다.
File: <main>
Line: 3616, Col: 5
<source text only available at compile time>

I got this message after right click over coverflow panel.
What can i do?
Reply
:iconngmodulator:
NGmodulator Featured By Owner Dec 8, 2016
What part of the code handles the "Type as you Search feature"? I'm trying to implement something similar in CUI playlist view and I'd like to see how you did it here.
Reply
:iconbr3tt:
Br3tt Featured By Owner Dec 12, 2016  Hobbyist Interface Designer
search for "incremental" string in the script, it will point you on all the part of code that handle it (in on_paint, on_char, on_key_down, IncrementalSearch function itself, ...)
Reply
:iconngmodulator:
NGmodulator Featured By Owner Jan 22, 2017
Thanks for the help!
Reply
:iconbr3tt:
Br3tt Featured By Owner Jan 25, 2017  Hobbyist Interface Designer
you're welcome
Reply
:icon13475825762:
13475825762 Featured By Owner Jul 23, 2016
Hello!
How to set the background to transparent, you can see the custom background image! Making it able to display cover can see transparent background! Or can be added in the next version to be able to customize the properties of an image!
Reply
:iconlytos42:
Lytos42 Featured By Owner Jun 3, 2016
Salut, est-il possible d'enlevé le dégradé de la couleur de fond (Les éclaircicement sur les cotés) ? Pour avoir une couleur unie. Merci!
Reply
:iconfizbin69:
Fizbin69 Featured By Owner Edited Mar 22, 2016
Is there any way to make the search like in JS Smooth Browser? That is make it search album titles as well?
Reply
:iconfizbin69:
Fizbin69 Featured By Owner Oct 19, 2015
Can I make a suggestion for a future update? In addition to the slider, display the letters A to Z that you can click on. For example, if you click B, you'll go straight to the first artist starting with B. This would be a much easier process. I actually find myself scrolling the normal playlist more often than using Coverflow.

Thanks
Reply
:iconbr3tt:
Br3tt Featured By Owner Jul 24, 2016  Hobbyist Interface Designer
useless because of keyboard feature... just tape A to jump to A ... Z to jump to Z ... etc
Reply
:iconbr3tt:
Br3tt Featured By Owner Oct 19, 2015  Hobbyist Interface Designer
??? there is already a feature to jump to the first artist by typing the letter on your keyboard , have you tried ?
Reply
:iconfizbin69:
Fizbin69 Featured By Owner Oct 19, 2015
Cool! I had no idea. Thanks for the heads up.
Reply
:iconbr3tt:
Br3tt Featured By Owner Oct 19, 2015  Hobbyist Interface Designer
ok, i was surprise because it's written in Informations section: "* Type as you Search feature : type artist name with keyboard to automatically set the focus on its first album"
Reply
:iconfizbin69:
Fizbin69 Featured By Owner Oct 20, 2015
I didn't notice it. :) BTW, just an FYI but when I browse your folder on this site, this page does not exist in it.  I found it on a google search.
Reply
:iconbr3tt:
Br3tt Featured By Owner Oct 20, 2015  Hobbyist Interface Designer
i have no idea of which folder you are talking about. a deviant art folder ? could you tell me where you access to it ?
Reply
:iconswimon86:
swimon86 Featured By Owner Oct 14, 2015
Is it possible to always display my entire library in the cover flow? 

Now only the covers from the current playlist are shown. 

I would like to use the cover flow to choose an album by cover from my entire library. 
Reply
:iconbr3tt:
Br3tt Featured By Owner Oct 14, 2015  Hobbyist Interface Designer
this version do not support library view, maybe in a next update
Reply
:iconfizbin69:
Fizbin69 Featured By Owner Edited Oct 2, 2015
I was just wondering if there is anything else displayed besides the covers? Looking at your code it would seem there is. But all I see are covers. Thanks.

Edit... I got it working in horizontal mode and now I see the title.
Reply
:iconscrummble:
Scrummble Featured By Owner Aug 6, 2015
That's awesome! I have been using it for a long time. Sorry I haven't said thank you until now..
One problem: I'm afraid that in Windows 10, the floor reflection is no longer displayed. Is it possible to bring it back?
Reply
:iconbr3tt:
Br3tt Featured By Owner Aug 6, 2015  Hobbyist Interface Designer
thanks.
I will check that point but that's surprising.
Reply
:iconscrummble:
Scrummble Featured By Owner Aug 7, 2015
Sorry to trouble you, but I just figured out that this wasn't a problem at all... It was just because of a missing parameter in properties panel. Apologies.
Reply
:iconbr3tt:
Br3tt Featured By Owner Aug 8, 2015  Hobbyist Interface Designer
no problem.
Reply
:iconplutooo:
Plutooo Featured By Owner Aug 2, 2015
First .. BIG THANKS for the great foobar script !!
I can nothing about scripting, and had problems with error
To help others, Win7 x64
Ensure that in "WSH Panel Mod Configuration" to change in (drop-down-menu)  Script: "JScript9" / import the script.

Question to Br3tt Have you done something similar script that shows simple thumbnail view? I still use "graphical_browser"
I mean thumbnail only as "WSH Panel Mod" script ?

Fast Thumbnail view in foobar is the only thing i missing :)
Reply
:iconbr3tt:
Br3tt Featured By Owner Aug 2, 2015  Hobbyist Interface Designer
i already work on it: JSBrowser Project (that ain't Facets!) by Br3tt
Reply
:iconclassicman92:
classicman92 Featured By Owner Apr 30, 2015
Hi! First of all, I'd like to thank you for your awesome script! It really makes browsing the collection a pleasure!
I have to ask you something, I have seen that if the same album has multiple artists, it is considered as multiple albums, one for every artist. 
In my opinion this is a problem, I'd like some suggestion from you to fix that!
Thanks in advance!
Reply
:iconbr3tt:
Br3tt Featured By Owner Apr 30, 2015  Hobbyist Interface Designer
it's basics dude: fill the tag %ALBUM ARTIST% with the same value for all the tracks of your various artists, "VA3 or "Various Artist" is a good choice.

HTH
Reply
:iconclassicman92:
classicman92 Featured By Owner May 1, 2015
That worked! Sorry for the silly question!
Also, is there a way to make the script look into your music library rather than your playlist?
This is a minor issue since I can always make a playlist with all my music library.

Thanks!
Reply
:iconbr3tt:
Br3tt Featured By Owner May 1, 2015  Hobbyist Interface Designer
for now it's only work with playlists, update to handle library directly is planned...
Reply
:iconchimaychanga:
chimaychanga Featured By Owner Edited Apr 30, 2015
Hi Br3tt
Could you please explain a noob how to install this?
Sorry.. but I dont get how to paste the script part..
I also get a crash whenever i have installed the WSH panel mod CURSE YOU! 
What the hell am I doing wrong
please help :)
Thanks
Reply
:iconbr3tt:
Br3tt Featured By Owner Apr 30, 2015  Hobbyist Interface Designer
Reply
:iconchimaychanga:
chimaychanga Featured By Owner Edited Apr 30, 2015
OK.. I successfully installed the panel mod in the default UI
Then switched over to your xch4nge UI it then crashes again Rage
Reply
:iconslowboyfast:
slowboyfast Featured By Owner Mar 23, 2015  Professional Interface Designer
Thanks Br3tt! Just updated to 1.5.1. This wouldn't be possible without your WSH :)

Cheers!
Reply
:iconcottonty:
cottonty Featured By Owner Mar 6, 2015
Amazing! thanx
I wonder if there is a way to show the song list from the top of the playlist when I click a cover instead of from the middle?
And can I make the cover displayed more compact? I mean more alike to the original iTunes version?
Reply
:iconslowboyfast:
slowboyfast Featured By Owner Mar 23, 2015  Professional Interface Designer
To modify item info display, open up coverflow toolbar, select configure and go all the way down to line 1650.

Now, you need to experiment with stuff I highlighted below. I played with this for like 2 minutes, so I cannot tell you exact values to make it iTuneish but I'm working on it.

                    try {
                        gr.GdiDrawText(list.item[list.mid].group_info, g_font, g_backcolor, text_x, 2, text_w, cover.pad_top_mid, DT_CENTER | DT_CALCRECT | DT_VCENTER | DT_END_ELLIPSIS | DT_NOPREFIX);
                        gr.GdiDrawText(list.item[list.mid].group_info, g_font, g_textcolor, text_x, 1, text_w, cover.pad_top_mid, DT_CENTER | DT_CALCRECT | DT_VCENTER | DT_END_ELLIPSIS | DT_NOPREFIX);
                    } catch(e) {
                        gr.GdiDrawText(list.item[list.mid].group_info, gdi.Font("tahoma", 11), g_backcolor, text_x, 2, text_w, cover.pad_top_mid, DT_CENTER | DT_CALCRECT | DT_VCENTER | DT_END_ELLIPSIS | DT_NOPREFIX);
                        gr.GdiDrawText(list.item[list.mid].group_info, gdi.Font("tahoma", 11), g_textcolor, text_x, 1, text_w, cover.pad_top_mid, DT_CENTER | DT_CALCRECT | DT_VCENTER | DT_END_ELLIPSIS | DT_NOPREFIX);
                    };
Reply
:iconmaster-kosa:
Master-Kosa Featured By Owner Feb 22, 2015  Hobbyist Writer
 Works quite well with JSplaylist, it took some work to figure ColumnsUI but in the end it's worth the time.  What I'm trying to say great job and thank you.
Reply
:iconbr3tt:
Br3tt Featured By Owner Feb 22, 2015  Hobbyist Interface Designer
You're welcome
Reply
:iconbr3tt:
Br3tt Featured By Owner Edited Feb 22, 2015  Hobbyist Interface Designer
script updated to be compliant with latest WSH Panel Mod v1.5.7.1 and code updated (engine, shading, ...)
Reply
:iconhld974:
hld974 Featured By Owner Jan 27, 2015
ok, je m'explique:
Je souhaite changer la position de WSH CoverFlow (vertical ou horizon) visuellement parlant. Chez moi a l'installation, il est par défaut position vertical avec le skin Catrox.
Hors je le préfère a l'horizontale  mais je sais plus comment faire.............
Reply
:iconbr3tt:
Br3tt Featured By Owner Jan 27, 2015  Hobbyist Interface Designer
si ton panel est plus large que haut, ça bascule tout seul en mode horizontal normalement
Reply
:iconhld974:
hld974 Featured By Owner Jan 27, 2015
comment changer la position de wsh coverflow
merci d'avance
Reply
:iconbr3tt:
Br3tt Featured By Owner Jan 27, 2015  Hobbyist Interface Designer
je ne comprends pas ta question, qu'entends tu par "position" exactement ?
Reply
:iconhomerisback:
Homerisback Featured By Owner Edited Sep 5, 2014
 Hi Br3tt,

Awsome job those foobar custos !!
I must be stupid (I'm a newbie in foobar and it's customization...) but I can't get your WSH Coverflow to work. As far as I import the script (whether a .js or .txt) and I apply changes, I have a popup that says :

"Error encountered during script execution.
 - Please make sure that your script is up to date as some newer versions of this component break compatibility with older scripts.
 - For more information on what could have changed and help, please visit: sites.google.com/site/jk7800/f…

Error Details:
Scripting Engine Initialization Failed: CoverFlow View v1.4 v1.4.0 by Br3tt aka Falstaff >> br3tt.deviantart.com, CODE: 0x80020101)
Check the console for more information (Always caused by unexcepted script error)."

I'm stuck... any help would be appreciated, thanks !
I'm running foobar 1.3.4 b1 skinned with xch4nge under Win 7 x64, if it could help ;)
Tried with foobar 1.3.3, no more luck...
Reply
:iconbr3tt:
Br3tt Featured By Owner Sep 9, 2014  Hobbyist Interface Designer
it's because you're not using the right version of WSH panel mod, yours is an unofficial mod that do not support latest features. grab the good version here: code.google.com/p/foo-wsh-pane…
Reply
:iconhomerisback:
Homerisback Featured By Owner Sep 12, 2014
Thank you for answering...
Unfortunately, when I update the WSH panel mod, CUI doesn't start and it only displays the Aw crashed message. Everything works fine again with old WSH panel mod files restored (those files came with the Xch4nge package).

Seems I'll give up coverflow... Thanks indeed
Reply
:iconnsabir:
nsabir Featured By Owner Aug 20, 2014  Student General Artist
awesome
Reply
:iconbr3tt:
Br3tt Featured By Owner Aug 20, 2014  Hobbyist Interface Designer
thanx
Reply
:iconmizuiro93:
Mizuiro93 Featured By Owner Aug 7, 2014
Thanks. Used it in my skin (mizuiro93.deviantart.com/art/B…) and it look awesome.
Reply
:iconbr3tt:
Br3tt Featured By Owner Aug 8, 2014  Hobbyist Interface Designer
you're welcome!
Reply
:iconjames-cyclen:
james-cyclen Featured By Owner May 20, 2014
is there a way to divide the screen so that the coverflow only occur at the top portion and standard view below?
thanks
Reply
Add a Comment:
 
×




Details

Submitted on
March 17, 2012
File Size
23.1 KB
Submitted with
Sta.sh
Link
Thumb

Stats

Views
69,431
Favourites
78 (who?)
Comments
444
Downloads
12,563