Shop Mobile More Submit  Join Login
WSH Playlist 2013 v0.0.8 by Br3tt WSH Playlist 2013 v0.0.8 by Br3tt
Finally my new WSH playlist viewer script for the foobar2000 component "WSH Panel Mod" (version v1.5.6)

[Features]
* Groups (collpase or expand them, add extra lines)
* Arrange columns as you want
* Playlist Header at Top (can be disabled)
* Wallpaper as background supported with (option) with no loose of reactivity or %cpu increase (or really minor)
* ... and more
[/Features]

[Requirements]
* foobar2000 v1.1 or better >> [link]
* WSH panel Mod v1.5.6 or better >> [link]
* Font guifx v2 transports >> [link]
this font is required to get nice stars for the rating columns, but if not installed, it will works with standard star (*) character
[/Requirements]

[Installation]
* disable "Safe Mode" option in WSH Panel Mod preferences (menu File>Preferences>Tools>WSH Panel Mod)
* copy "wsh_br3tt" folder into your foobar2000 Profile folder
* import/paste this script into a WSH Panel Mod instance of your foobar2000 layout (DUI or CUI)
Important: for any update of my scripts, replace the whole folder "wsh_br3tt" each time!
[/Installation]

[Tips]
* Use Jscript9 engine (if supported by your system) for better performances (known issue: high %cpu on mouse move with Windows 8 versions, prefer Jscript engine)
* change colors and fonts in foobar2000 Preferences > DefaultUI or ColumsUI
* Some Settings can be changed in window Properties (right click on a playlist item > Settings...)
* double click on toolbar > Show Now Playing item
* use Keyboard for searching artist in the playlist (incremental search feature like in ELPlaylist)
* Right Click > Settings to chang some extra properties !!
[/Tips]

[Change Log]
* v0.0.2 (2013-05-01 15:05 GMT+1):
- toolbar headers now are following column text alignment
- column name "N" changed to "#" because of some problem with asian code pages ...
- Right click context menu on toolbar Header => Edit Column moved to top of the menu, no more in "Columns" sub-menu
- drag'n drop in this panel => support added
- some useless trace still wrote to the console removed!
* v0.0.3 (2013-05-01 16:05 GMT+1):
- Refresh of the top playlist header fixed on tracks added or removed from the playlist (on drag'n drop adds too)
* v0.0.4 (2013-05-01 22:33 GMT+1):
- bug fixed on last group of a playlist when collapsed (auto or manual) when focus changed (thanx to asionwu for the report)
- bug fixed for different groups of tracks stored in the same folder that force the same cover art for all the groups of the disk folder...
* v0.0.5 (2013-05-01 23:25 GMT+1):
- bug fixed on calculation of group length (thanx Tedgo)
- fixed overlapping text in group header (thanx to marc2003)
- cosmetic change: text alignment adjusted on the right of the group header to always match the last column alignment
* v0.0.6 (2013-05-02 0:50 GMT+1):
- bug fixed on calculation of group length (another one)
- cosmetic change: mood heart icon enhanced
- tweaks...
* v0.0.7 (2013-05-05 10:20 GMT+1):
- some bugs fixed
- wallpaper feature enhanced, now, you can set the wallpaper to the now playing artist image (check panel properties)
* v0.0.8 (2013-05-08 11:50 GMT+1):
- bug fixed to avoid crash on dragging group when auto-collapse is active
[Change Log]

I Hope you'll like it, please report me any bugs you may encounter, thanks by advance :)
Add a Comment:
 
:icondanteux:
danteux Featured By Owner Mar 5, 2015
Hi Br3tt,

I'd like the double click to automatically start playing the selected playlist, preferably at the place where I left off the last time I opened that playlist. I listen to audiobooks a lot and remembering the position and the track I last played is really important for me.

Thank you for the help!
Reply
:icondanteux:
danteux Featured By Owner Mar 5, 2015
Thank you for the help Br3tt. I've used your JSPlaylist script as you suggested and it works like a charm! The interface is both beautiful and intuitive, I really enjoy it.
One minor thing that I'd like if I could change is that the playlist starts playing when I double-click it in the playlist viewer. I'd also like if there wasn't  X button for deleting the playlist in the playlist viewer so I do not accidentally delete one of my playlist when switching between them.
Reply
:iconbr3tt:
Br3tt Featured By Owner Mar 5, 2015  Hobbyist Interface Designer
What do you want it does on double clicking a track ?
Reply
:icondanteux:
danteux Featured By Owner Mar 4, 2015
Hi,

I've followed the instruction but I don't know how to import the stuff you provided into the WSH plugin. I've done as instructed:
 * disable "Safe Mode" option in WSH Panel Mod preferences (menu File>Preferences>Tools>WSH Panel Mod)
* copy "wsh_br3tt" folder into your foobar2000 Profile folder
* import/paste this script into a WSH Panel Mod instance of your foobar2000 layout (DUI or CUI)

I'm not sure what I should import into the WSH Panel Mod? When I click Import  I'm asked for a .cfg file which is not supplied in the .zip file I've downloaded. Can you help me with this please?
Reply
:iconbr3tt:
Br3tt Featured By Owner Mar 4, 2015  Hobbyist Interface Designer
this playlist script is out to date, prefer JSPlaylist script, it replace this one the bugs less :)

for installing a wsh script this video should help newbies like you :

www.youtube.com/watch?v=vzY2fq…
Reply
:iconrthjsrtjsrts:
rthjsrtjsrts Featured By Owner Jan 5, 2015
It's Great WSH playlist I like it
but I often used "Add Playback queue"
in columns playlist
Playlist view-columns-Scripts-Display
$if(%isplaying%,▶)[%queue_index%]
How can do it in
this WSH playlist?
sorry I'm a beginner thankyou
Reply
:iconbr3tt:
Br3tt Featured By Owner Jan 6, 2015  Hobbyist Interface Designer
Not possible in this version... Maybe in my next version that should be out soon...Btw, you can see the queue content as a playlist, just right click on the columns header and select the feature.
Reply
:iconrthjsrtjsrts:
rthjsrtjsrts Featured By Owner Jan 6, 2015
queue content playlist is one idea
but maybe I do not use it very much
but someone need it thankyou
Reply
:icondayrosc:
dayrosc Featured By Owner Dec 24, 2014
please add custom wallpaper path with different artist like C:\foobackground\%artist% - %album%.bmp. Thanks. I love this playlist so much!
Reply
:iconbr3tt:
Br3tt Featured By Owner Dec 28, 2014  Hobbyist Interface Designer
will try to add that feature in my WSH playlist v3 currently in progress...
Reply
:iconsamithaj:
samithaj Featured By Owner Nov 16, 2014
How can sort the this playlist with artist,album,playcount ??
Reply
:iconbr3tt:
Br3tt Featured By Owner Nov 16, 2014  Hobbyist Interface Designer
menu Edit > Sort > ...
Reply
:iconcyde29:
CyDe29 Featured By Owner Nov 2, 2014  Hobbyist Digital Artist
Hey Br3tt,
I really love the way this playlist looks but I have one question. Is it possible to add middle mouse click actions, like send to a queue playlist? That's the one thing I really need as a function and I'm not sure if it's possible to do easily.
Reply
:iconbr3tt:
Br3tt Featured By Owner Nov 2, 2014  Hobbyist Interface Designer
Right-Click > Add to playback queue, does the job as well, why asking for another way which the facility is to debate imho.
Reply
:iconcyde29:
CyDe29 Featured By Owner Nov 4, 2014  Hobbyist Digital Artist
Do you know of anyway to do what I said using a WSH Panel? Could I code it? I forgot to mention that one other thing I really like is that when it gets added to the queue, the '#' column changes to whatever position in the queue the song is.
By the way, I hope you don't take this as an insult, I don't mean to give the impression that this "isn't good enough" or something. I added the feature myself to vanilla foobar2000 and I just really like it a lot.
Reply
:iconsasalasa:
sasalasa Featured By Owner Jun 21, 2014
I love this playlist! I want to know how to change scroll steps too! (default is 4)
Reply
:iconmusikomaniak:
musikomaniak Featured By Owner Jun 13, 2014
Hello,
I registered here to say I use your script which works fine. Thank you (Merci).
If you could add the possibility to rename playlist, it would be perfect.
CoverFlow is already perfect :)
Reply
:icongam3radar:
GaM3RaDaR Featured By Owner May 19, 2014
I can't get this too work :/ 
So i pasted to folder "wsh_br3tt" at C:\Users\<Name>\AppData\Roaming\foobar2000

But then i don't know where to paste the scipts :/
Reply
:iconbr3tt:
Br3tt Featured By Owner May 19, 2014  Hobbyist Interface Designer
look at this, that should help you to understand where to paste it...
youtu.be/vzY2fqVXA0U
Reply
:icongam3radar:
GaM3RaDaR Featured By Owner May 21, 2014
In the video there was only 1 script, and i dont seem to have that script, how can i get it?
Reply
:iconbr3tt:
Br3tt Featured By Owner May 22, 2014  Hobbyist Interface Designer
the script to past in WSH pane mod is the one (playlist.txt) stored in wsh_br3tt\panels
Reply
:icongam3radar:
GaM3RaDaR Featured By Owner May 22, 2014
Omg thank you so much! Sorry Im new to the skins stuff thats why,  but thanks it works like a charm :)
Reply
:iconbr3tt:
Br3tt Featured By Owner May 22, 2014  Hobbyist Interface Designer
*paste
Reply
:icongam3radar:
GaM3RaDaR Featured By Owner May 21, 2014
So i was able to do that, now my problem is importing the script, but now i don't know which script to import, there's two "WSHcommon" and "WSHplaylist"
Reply
:icongam3radar:
GaM3RaDaR Featured By Owner May 21, 2014
Gonna try it right now, thnx 
Reply
:iconshiroyuki2:
shiroyuki2 Featured By Owner May 10, 2014
Hi Br3tt I have 2 questions.

1.Is it possible to create custom tag columns in the playlist view? For example let's say I create a custom tag called TAG1 in the MP3. I tried creating a new column under the properties menu (SYSTEM.Toolbar.col) and named it TAG1. When I try to call it using %tag1% it doesn't show up. How would I make that work?

Could you explain what each field does: Tag1;$if2(%tag1%, ' ');53289;tag1;0

2. Is it possible to sort the columns by clicking like in DUI and CUI? Or is that function not built in?

Thank you!
Reply
:iconbr3tt:
Br3tt Featured By Owner May 11, 2014  Hobbyist Interface Designer
1)you can edit an existing column by right clicking on column header !> Colums > Edit column xxx (pattern and name) but not adding a new one (except by modding the jscript of course)
2)no, to sort use menu Edit > Sort > ...
Reply
:iconthetruebeast33:
TheTrueBeast33 Featured By Owner May 4, 2014
I am having the most difficult time trying to get this to work. I downloaded everything that it needed and disabled safe mode on WSH. I load up the text file from your folder and I receive an error message, Scripting Engine Initialization Failed ({19656264-3F55-4712-8233-4B2A999502F0}, CODE: 0x80020101). I'm I making this harder than it seems? I can't get any skin to work for me.
Reply
:iconbr3tt:
Br3tt Featured By Owner May 5, 2014  Hobbyist Interface Designer
"copy "wsh_br3tt" folder into your foobar2000 Profile folder" ... it's that point done ?
Reply
:iconthetruebeast33:
TheTrueBeast33 Featured By Owner May 5, 2014
Yes, I copied that folder into the Foobar folder.
Reply
:iconbr3tt:
Br3tt Featured By Owner May 5, 2014  Hobbyist Interface Designer
portable or normal foobar instalaltion done ?
Reply
:iconevigilatio:
Evigilatio Featured By Owner Dec 7, 2013
Dear Br3tt!

I'm thankful for your creations. You are the best designer of foobar2000.
I like your vision of minimalistic and simpleness.

Please, keep going your way. Wish you only positive people and events on your way.

This skin was made due to you: clip2net.com/s/6kK7qe

only best regards!
Reply
:iconevigilatio:
Evigilatio Featured By Owner Nov 30, 2013
Dear Brett! Thank you very much for your titanic work and brilliant creation of foobar2000. 
Could you explain how I can change visible %track number% of main playlist to %list_index% and how I can make visible titles of columns in this component?
With best regards!!
:) (Smile) 
Reply
:iconevigilatio:
Evigilatio Featured By Owner Nov 30, 2013
Sorry that I ask many questions. I will be very thankful for your help. How can I automatically sort playlist by %directory%%artist%%title%?
Reply
:iconevigilatio:
Evigilatio Featured By Owner Nov 30, 2013
I have found how to change %track number% of main playlist to %list_index%. Just change to "this.tracknumber = "%list_index%""
Reply
:iconmarkeight:
Markeight Featured By Owner Nov 12, 2013
If i can i have another question for you Br3tt, also if i fear i already know the answer...
I use a layout with some tabs (standard dUI tabs). something like | Left tab | Center tabS | Right tab | , in my case:
| library | artwork/wsh playlist | lyrics | 
I'd like to set it that way: when i click on a library item on the left tab, the second central tab (that's your wsh playlist) comes to focus also if the visible tab before clicking on the library was the artwork.
Do you think that's possible?
Reply
:iconbr3tt:
Br3tt Featured By Owner Nov 12, 2013  Hobbyist Interface Designer
not possible even if the library panel is a wsh script, is it ? you have a good one here
why ? because, DUI tabs can only be handled by human action (mouse click or keyboard)
would be possible if the tabs where a WSH panel : in the clicked WSH panel mod, with command window.NotifyOther("action_name", value), you can activate actions in the other panels that catch this event notification. One important notification to send is for resizing the 2 other tabbed panels to order them to set their window.Min/Max Width or Height to 0 to hide them or to the wanted size to show them.

not so easy but possible with of course a border still visible even for the collapsed simily - tabs
Reply
:iconmarkeight:
Markeight Featured By Owner Nov 12, 2013
Thank you for the explanation! I got it, it's what i saw in the DarkOne 3 skin,that can switch two panels using a wsh button (if i don't remember wrong).
However it's light years far from my possibility, i'm not a coder at all; i'll live with tabs, thank you again! 
Reply
:iconbr3tt:
Br3tt Featured By Owner Nov 12, 2013  Hobbyist Interface Designer
you're welcome
Reply
:iconmaculadragon:
maculadragon Featured By Owner Nov 10, 2013
is there a way to change wallpaper aside going straight for C:\Users\%username%\AppData\Roaming\foobar2000\skins\xc4\images\wallpaper.jpg?
Reply
:iconmarkeight:
Markeight Featured By Owner Nov 12, 2013
I know this! 
You can set any wallpaper you want also if it's stored in some other directory:
-Menu->View->Layout->Enable layout editing mode.
-Right click on your wsh playlist panel and select "Properties".
-Set the "CUSTOM Default Wallpaper Path" . Point to any file you want, for example C:\User\Images\MyImage.jpg.
-Set "CUSTOM show wallpaper" to True.
-Adjust the "CUSTOM wallpaper alpha" to the level you want.
:)
Reply
:iconmaculadragon:
maculadragon Featured By Owner Nov 12, 2013
thanks for reply but....

-Menu->View->Layout-> (dead end)

if you meant "Enable layout editing mode" by Live Edit ok but after that nothing no properties or anything similare
Reply
:iconmarkeight:
Markeight Featured By Owner Nov 12, 2013
Oh, you're using columns ui than, sorry i was thinking about  default ui ...
well i'ts even easier: you don't have to enable the Live editing, leave it disabled, than go to your playlist, right click on a song and find the voice "Settings...".
this will pop up the menu you need, than you can follow the steps i wrote you before about customization.
Reply
:iconmaculadragon:
maculadragon Featured By Owner Nov 12, 2013
"sigh" here this is how my setup of skin looks like I simply don't see it in there

Reply
:iconmarkeight:
Markeight Featured By Owner Nov 12, 2013
I see the entry "Settings..." in the context menu you opened, it's the first voice. Have you tried it?
PS: nice skin :)
Reply
:iconmaculadragon:
maculadragon Featured By Owner Nov 12, 2013
i42.tinypic.com/2i89j79.jpg only this but I found other way though

In Preference Tools>Covers I can write in there direct path to any image file I got idea from one of Br3tt's links "3. HOWTO Xch4nge Artist Background Wallpaper settings" that comes in downloaded skin file which I haven't look into till now
Reply
:iconmarkeight:
Markeight Featured By Owner Nov 12, 2013
I just figured out the reason why :D
you asked  the question in this page that's the "wsh playlist" page, while in your skin you're using another component, it is ELPlaylist!! :D
Reply
:iconmarkeight:
Markeight Featured By Owner Nov 12, 2013
That's quite strange, i remember i tried a skin some times ago and editing the wsh playlist was easy as i described... maybe it depends on the skin configuration too, idk... sorry for being not so useful than.

Glad to see you found a solution! :) (Smile) 
Reply
(1 Reply)
:iconmarkeight:
Markeight Featured By Owner Oct 23, 2013
Hi Br3tt, thank you for this great script :)
I'm trying to modify the style to match my f2k skin, but there's something i don't understand.
In the description you wrote "change colors and fonts in foobar2000 Preferences > DefaultUI or ColumsUI" but i see that under "Settings..." there are a lot of entry to edit colours of background and text.
As if i'd like to change only the WSH playlist colours and text, i'd rather use these settings, but i can't realize how.
I tried to set some values for the entries "CUSTOM COLOUR BACKGROUND" or "CUSTOM COLOUR HIGHLIGHT" but seems to have a strange behaviour...
An example: if i set to 0-255-255 (should be green) the entry CUSTOM COLOUR BACKGROUND SELECTED, the background of selected items become yellow!!

Is there a map, or a way to understand how have i to edit the number to have different colours?
Reply
:iconbr3tt:
Br3tt Featured By Owner Oct 24, 2013  Hobbyist Interface Designer
for custom colors you have to set for example: RGB(0,255,000) to get green and not 0-255-0 in the Properties Panel
Reply
Add a Comment:
 
×
Download ZIP download, 73.7 KB




Details

Submitted on
May 1, 2013
File Size
73.7 KB
Link
Thumb
Embed

Stats

Views
32,461 (6 today)
Favourites
40 (who?)
Comments
228
Downloads
3,563
×