Skip to main content

Topic: WSH Panel Mod script discussion/help (Read 843731 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • marc2003
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2350
@ehrgeiz & bratman, i've done some testing with a wider panel and the suggested method does look better. because i generally have my panels in portrait, i didn't see any issue with what i was doing before. you still get the issue of the odd top of head cut off but i believe it solves more problems than it causes. script updated. right click>Update script.

full download: https://dl.dropboxusercontent.com/u/22801321/wsh/samples.zip
changelog: https://dl.dropboxusercontent.com/u/2280132...h/changelog.txt

files changed:
Code: [Select]
marc2003\common7.js


@falstaff, thanks for the 0.0.6 playlist update. no complaints at all now. i hope you implement the group header title formatting options. then it will be perfect.

RGB color options


that seemingly simple thing would be extremely hard to do in WSH panel mod. it might not be impossible but i'd never take it on. it would take a supreme amount of effort.
  • Last Edit: 04 May, 2013, 01:39:51 AM by marc2003

  • marc2003
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2351
@falstaff, just one more niggle with your playlist. it should repaint when the last track in playlist has finished because it shows the playing icon when it shouldn't

i see it only repaints when the reason is 0 (stopped by user) but you should include 1 (EOF) as well.

  • Falstaff
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2352
@falstaff, just one more niggle with your playlist. it should repaint when the last track in playlist has finished because it shows the playing icon when it shouldn't

i see it only repaints when the reason is 0 (stopped by user) but you should include 1 (EOF) as well.


thanx, will be fixed in v0.0.7 which will bring a new option :  artist image as wallpaper bg image

  • Bratman
  • [*][*][*]
WSH Panel Mod script discussion/help
Reply #2353
@ehrgeiz & bratman, i've done some testing with a wider panel and the suggested method does look better. because i generally have my panels in portrait, i didn't see any issue with what i was doing before. you still get the issue of the odd top of head cut off but i believe it solves more problems than it causes. script updated. right click>Update script.

full download: https://dl.dropboxusercontent.com/u/22801321/wsh/samples.zip
changelog: https://dl.dropboxusercontent.com/u/2280132...h/changelog.txt

files changed:
Code: [Select]
marc2003\common7.js


@falstaff, thanks for the 0.0.6 playlist update. no complaints at all now. i hope you implement the group header title formatting options. then it will be perfect.

RGB color options


that seemingly simple thing would be extremely hard to do in WSH panel mod. it might not be impossible but i'd never take it on. it would take a supreme amount of effort.


Thanks marc2003, I see you updated the crop top values that's done it, the majority of thumbnails are cropped better too. It definitely solves more problems than it causes, it was a bit of a problem before but now most of the images are cropped pretty well. I have the panel pretty wide:




Honestly before the new crop value their legs or heads was cropped, but now look at the thumbnails, mostly good.

Just a suggestions whilst I'm here if you're interested...

Similar Artists - Have the spotify icons only coloured green if the artist is in the library, then any artist with a green icon can be clicked which would play the clicked artist from the library? Would be cool if the spotify icons was a quicksearch icon which could search for the same artist and send to playlist and play?

I'm just getting to spend more time using your other scripts, I am using six so far. Thumbs, Similar Artists, Lastm/Wiki Bio, News and Musicbrainz. I'll post back soon if I can think of any ideas or improvements, great work marc I was looking at the script and it's very clever stuff, I hope I can learn to do it some day.
  • Last Edit: 04 May, 2013, 11:18:23 AM by Bratman

  • marc2003
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2354
Quote
Similar Artists - Have the spotify icons only coloured green if the artist is in the library, then any artist with a green icon can be clicked which would play the clicked artist from the library?


eh? why would you want a spotify button to find music in your own library?   

the main purpose is to find new music from artists you don't have but are similar to what you are listening to. i had 6 months of spotify premium for free with my last ISP so that's why i created it. i don't use it much now.

also, i can't check the library for an existence of any artist even if i wanted to.

but you can right click>buttons>autoplaylist. that will replace spotify with autoplaylist buttons to search your library for each artist instead.

  • Bratman
  • [*][*][*]
WSH Panel Mod script discussion/help
Reply #2355
I meant click the link not the button, I was going to say I don't use spotify (never will) but I figured you'd be keeping the icons. Shame about the artist checking and the autoplaylist button is cool but it would be better if it played and wasn't an autoplaylist which has to be deleted afterwards.

Got another suggestion being how about the option to list the similar artists as a wall of text, you can fit more in this way.
  • Last Edit: 04 May, 2013, 02:24:17 PM by Bratman

  • marc2003
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2356
you can scroll to see the maximum amount of artists that are fetched.

it's just isn't feasible to list all artists in a paragraph - well not if you want things to be clickable. (even if you don't, i won't be making the changes. )
  • Last Edit: 04 May, 2013, 03:45:36 PM by marc2003

  • Bratman
  • [*][*][*]
WSH Panel Mod script discussion/help
Reply #2357
I know that but isn't it best to display information without wasting space and have a script that is more customizable to different layouts? You say it isn't feasible, so it's not worth putting the code in?

(even with my wonky botch job).

I've had this crash on the musicbrainz script twice, do you know what it is?

Quote
Error: WSH Panel Mod (Musicbrainz by marc2003): JavaScript runtime error:
Out of stack space
File: C:\Users\Nate\AppData\Roaming\foobar2000\marc2003\common7.js
Ln: 2310, Col: 4
<source text only available at compile time>
  • Last Edit: 04 May, 2013, 08:15:33 PM by Bratman

  • marc2003
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2358
making an image isn't going to change my mind. it's not like i didn't know what you meant first time around so you've wasted your own time there.   

if that was just normal HTML, it would be very easy indeed. you just list all the names/urls in anchor tags and the browser takes care of the rest. with WSH panel mod, it's not so easy. i have to calculate the size and position of every piece of text on screen and track the mouse on every move to make it respond to clicks. there is no way you'll ever see anything like that from me.

that error certainly is a new one for me. i'll have to get my googling hat on to see what i can find.

edit: based on what i've googled, i've put in some checks to hopefully stop that happening. i have no idea whether it will work or not because it's not something i've been able to re-produce.

right click>Update script.
  • Last Edit: 04 May, 2013, 09:53:52 PM by marc2003

  • Bratman
  • [*][*][*]
WSH Panel Mod script discussion/help
Reply #2359
making an image isn't going to change my mind. it's not like i didn't know what you meant first time around so you've wasted your own time there.   

if that was just normal HTML, it would be very easy indeed. you just list all the names/urls in anchor tags and the browser takes care of the rest. with WSH panel mod, it's not so easy. i have to calculate the size and position of every piece of text on screen and track the mouse on every move to make it respond to clicks. there is no way you'll ever see anything like that from me.

that error certainly is a new one for me. i'll have to get my googling hat on to see what i can find.

edit: based on what i've googled, i've put in some checks to hopefully stop that happening. i have no idea whether it will work or not because it's not something i've been able to re-produce.

right click>Update script.


Lol well I was hoping it might, that does sound like too much work for what it's worth, damn WSH Panel Mod sounds like a pain, can you not put html in javascript?

Thanks I'll let you know if it happens again.

Two more suggestions.

1) In thumbs grid view how about combining two squares and having an option of portrait thumbs? I'm using 150pixel thumbs giving 4 columns and 2 rows of images, but having just 4 columns would look very cool. This could be an option instead of having a wide image, divide it into portrait images.

2) In grid mode, it displays all different album artists by image and upon clicking the image of the artist it will play that artist, image link Like all the images are different artists with their albums below, double clicking an artist will display the albums of that artist. Just an idea mind.
  • Last Edit: 04 May, 2013, 10:23:41 PM by Bratman

  • marc2003
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2360
can you not put html in javascript?


no. you still need a browser to render it.

custom sized thumbs is a more interesting idea. i might think about it.

and it's a big fat no for your last point. i can't list artists/albums because i have no way to query the library. also drawing multiple images is quite CPU intensive. doing a panel that size with so many thumbnails will lag. my script is fine with the default of 5 it downloads from last.fm but if you have lots of images, you will notice a delay.

  • Bratman
  • [*][*][*]
WSH Panel Mod script discussion/help
Reply #2361
Damn that's a shame you could of done a WSH Panel that displays the youtube video of the song. Is it possible to display a video instead of an image? To play music videos in the library, I guess not as it's not a video player.

Well I have the 20 images selected and it's not lagging, seems fine to me!

  • marc2003
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2362
no video and no library support. how many more times does it have to be said before it sinks in?

  • marc2003
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2363
@falstaff, is it ok if i post a little modification of your playlist? i've edited the "mood" column so people can love/unlove tracks on last.fm by clicking the heart of any playlist item. all i've done is replace your mouse button up code with a single line of code (window.NotifyOthers) to tell my script which track to process.

  • Bratman
  • [*][*][*]
WSH Panel Mod script discussion/help
Reply #2364
no video and no library support. how many more times does it have to be said before it sinks in?


I forgot even video would need library support, sorry for being dumb!

  • Falstaff
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2365
@falstaff, is it ok if i post a little modification of your playlist? i've edited the "mood" column so people can love/unlove tracks on last.fm by clicking the heart of any playlist item. all i've done is replace your mouse button up code with a single line of code (window.NotifyOthers) to tell my script which track to process.


it's ok

  • marc2003
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2366
^thanks. i posted a little "how to" in my main last.fm playcount thread:

http://www.hydrogenaudio.org/forums/index....st&p=833547

quick overview: currently my "last.fm love/unlove" button only works on the playing track (or selected track when playback is stopped). with falstaff's WSH playlist, this modification allows you to love/unlove any track in any playlist regardless of what is currently playing, simply by clicking the inline "heart" icons.

  • MDMA
  • [*][*]
WSH Panel Mod script discussion/help
Reply #2367
what's this vinyl script I've seen mention of? does someone have a link? It's not in marc's samples folder

  • marc2003
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2368
https://dl.dropboxusercontent.com/u/2280132...h/turntable.txt
turntable image: https://dl.dropboxusercontent.com/u/2280132...h/turntable.jpg

check the artwork type (id) and path settings in the script for where to save the image. i've not bundled it because the image is large and the lag on startup/album change is pretty crappy.
  • Last Edit: 07 May, 2013, 06:58:15 AM by marc2003

  • MDMA
  • [*][*]
WSH Panel Mod script discussion/help
Reply #2369
nice one marc, thanks

  • derty2
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2370
I need some help please . . .

I want to display a single image by itself in a WSH panel and I want the image to always resize to fit the panel dimensions. What is the JS code to do this?

More specifically, I am trying to do this:
If playing track has one channel, display image "A"
else if playing track has two channels, display image "B"
and resize images to fit panel dimensions at all times.


Once I figure this out, I will show you guys an interesting visual enhancement of the default foobar2000 built-in spectrogram (used as a custom-colored panel).
It actually looks quite nice when used side-by-side together with marc2003's sox spectrogram script.
  • Last Edit: 07 May, 2013, 05:36:31 PM by derty2

  • aNewDay_
  • [*]
WSH Panel Mod script discussion/help
Reply #2371
Hi, I can't install WSH pannel on my foobar. I'm on Windows xp Service Pack 3. I upload a video of foobar. Plz check this out http://youtu.be/pebwM_4D3r4

  • Falstaff
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2372
WSH Playlist 2013 updated to v0.0.8

LINK

last changelog:
* 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
  • Last Edit: 08 May, 2013, 05:54:14 AM by Falstaff

  • marc2003
  • [*][*][*][*][*]
WSH Panel Mod script discussion/help
Reply #2373
@derty2, try this.... https://dl.dropboxusercontent.com/u/2280132.../may/derty2.txt

@aNewDay_, have you done anything stupid like use nlite to reduce the size of your install disk which chops out important system files?

  • aNewDay_
  • [*]
WSH Panel Mod script discussion/help
Reply #2374
No, i never use nlite for any reason. My copy of xp is genuine. 4 or 5 months ago i tried br3tt's WSH Playlist viewer v2.0 and it did work at that time. But now WSH pannel don't work on my pc. To end my doubt yesterday i tried to install foobar and WSH pannel on my friend's pc and yes it's working, but today when i tried to install a new skin fooEKo_v6 'Elato' from Foo-Nation which use WSH pannel it give me script error. I don't know why. Whatever i do with foobar, i do it with portable version.