Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: WSH Panel Mod script discussion/help (Read 1400188 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

WSH Panel Mod script discussion/help

Reply #450
sorry but i have no idea what you're on about? :/

edit: i'll just explain how it works and maybe you can tell me what your problem is.

when foobar is playing, it follows the "now playing" item. it only resets when the playing artist changes, resize the panel or use the context menu to delete an image.
when foobar isn't playing it follows the cursor. but again, it only resets when the selected artist changes. this is because i assume most people who want to display multiple images will be using either last.fm mode or using their own collection of art using %artist% titleformatting in the custom folder setup.

EDIT2: i see what the problem is now. i only set the artist in last.fm artist mode and not custom folder mode. my mistake, i've uploaded fixed versions of "thumbs" and "thumbs2".

EDIT3: 

now i've uploaded another "fix". in last.fm mode, it still changes on the artist as before. but in custom folder mode, it only changes when the evaluated custom title formatting changes. i think that makes more sense.

http://cid-649d3bfeaf541fbb.office.live.co...ide/samples.zip

WSH Panel Mod script discussion/help

Reply #451
i've now updated the "thumbs2" script so the thumbnails are centered.


Great!!!!! Thank you so much.

I have some idea. 

1) If area of panel is oblong and small, thumbnail place is left side.(Now preview image very small if panel height is short.)
2) Download Last.fm images on Custom folder mode.
3) Support multiple value on download lastfm image function. Select artist on context menu.(default use $meta(%tag%,0))
I use original meta tag(e.g. %original artist%) on multiple artist track.
Some tracks %artist% is "A and B", "A feat. B", "A,B", "A with B" etc.
In these, I set "A;B" on original artist field.
I use the following TF on biography view(Remap meta).

$if2(%<original artist>%,%artist%)

I will use like the following TF on custom folder path If this function added.
C:\image\$meta(original artist,0)\;
C:\image\$meta(original artist,1)\;
C:\image\$meta(original artist,2)\;
C:\image\$meta(original artist,3)\;
...

4) work for focused item on playlist permanently.(Can I use this script in multiple?)
5) High quality image resize algorithm on thumb.
6) Thumb size config not available?
7) Put arrow that suggest more image exist on thumb.
8) Config priority on Last.fm Image downloading.(e.g. newest, popular)
9) Store already exist image on Last.fm image downloading and limit show image.(choice is random)
10) Background color config.

Please examine these. 
This is a proposal. 

Thank you.

WSH Panel Mod script discussion/help

Reply #452
changing the background is easy enough. on line 103, replace "g_backcolor" with "RGB(x,y,z)".

as for the rest. have fun.....


WSH Panel Mod script discussion/help

Reply #454
11) Download progress images.
12) Auto download Last.fm images.
13) NG image function.(Some time, very small image and no relation image downloaded.)
14) If wheel scroll on big image, show next image.
15) If image count is 1, not show thumb.
16) Stands out current thumb.
17) Config image sort order.(filename, folder path, random)


WSH Panel Mod script discussion/help

Reply #455
i see we have a comedian in the house. 

a few things make sense and i might implement. i can't do progress but i should be able to show it's doing something when downloading images. and automatic downloading would be handy.

WSH Panel Mod script discussion/help

Reply #456
@Watercolor:
Point 6 is already possible
hold shift while right clicking and that will show "properties" on the context menu. you can change the "thumb_size" variable there. if you want to draw a better border, you'll need to edit scripts\marc2003\v2\common.js and find the "scale" function.


@Marc:
Quote
14) If wheel scroll on big image, show next image.
15) If image count is 1, not show thumb.
point 14 could have sense if we could switch between "BigImage+Thumbs" and "only BigImage display".
point 15 have sense, even for you, using only lastFM mode.

Quote
17) Config image sort order.(filename, folder path, random)
As, marc, you only use this script for lastfm artist, i suppose you will not mess the code to give us the possibility to chose the name of the first image (e.g. Front, instead of Back...). It is not a priority, but it would be cool, later, one day, maybe, perhaps...
Greets

edit: details for 14 & 15

WSH Panel Mod script discussion/help

Reply #457
@marc, sorry to spam you about this script:
could you point me the direction and place in your code where I could change the ratio of thumbs (is it possible)?
actually, i don't want you to make it for me, i want just to change that part, so all thumbs would be square.

Thx

edit:typo

WSH Panel Mod script discussion/help

Reply #458
@Watercolor:
Point 6 is already possible
hold shift while right clicking and that will show "properties" on the context menu. you can change the "thumb_size" variable there. if you want to draw a better border, you'll need to edit scripts\marc2003\v2\common.js and find the "scale" function.



OK. but old version have context menu that config thumb size. Thank you.

Everyone, sorry my bad English. 

If can not understand something in my post, please ask for me.
I will effort explain.

WSH Panel Mod script discussion/help

Reply #459
OK. but old version have context menu that config thumb size. Thank you.
I know that too, but as you have 17 asking points, maybe some "conceding" could help  .As, I suppose, you will not change the thumbs size every minute, maybe it is not so important to have it in context menu or not.

WSH Panel Mod script discussion/help

Reply #460
OK. but old version have context menu that config thumb size. Thank you.
I know that too, but as you have 17 asking points, maybe some "conceding" could help  .As, I suppose, you will not change the thumbs size every minute, maybe it is not so important to have it in context menu or not.


Windows 7 Explorer have slider that config thumb size.
...Sorry, I only change thumb size when panel layout changed.

Thank you.

WSH Panel Mod script discussion/help

Reply #461
EDIT3: 

now i've uploaded another "fix". in last.fm mode, it still changes on the artist as before. but in custom folder mode, it only changes when the evaluated custom title formatting changes. i think that makes more sense.
I'm really ashamed to knock hammer  at your door that way.
Actually it changes to another custom folder only if artist changes... (but the focus is ok now).

WSH Panel Mod script discussion/help

Reply #462
if it only changes when the artist changes, then you must be using %artist% in your title formatting. :/

RE: square thumbnails, you need to look at the maths calculations in the scale function. it's in the external file "scripts\marc2003\v2\common.js" inside the scale() function. this function is shared between lots of my scripts so you might want to make a copy and call it by another name.

WSH Panel Mod script discussion/help

Reply #463
i'm using this:
$replace(%path%,%filename_ext%,)\Cover\

maybe i m doing wrong, so i will fix and find it by myself.
but if not, if there is a "bug" with custom folder definition, there is no emergency about that.
i'm not asking you to focus about that, i know you are about multiple thing at once.

WSH Panel Mod script discussion/help

Reply #464
remove the trailing slash.

WSH Panel Mod script discussion/help

Reply #465
http://cid-649d3bfeaf541fbb.office.live.co...ide/samples.zip

thumbs & thumbs2
-added square thumbnail option (it's the default). 
-added auto download option. it only works on the start of a new track and if no images are found. you can turn if off via the context menu.

thumbs2
-added configurable thumbnail size
-scrolling over large image cycles through them (thumbnails do not track it at the moment)
-don't show thumbnails if there is only 1 image

now playing.txt
-bugfix. script may have errored if scrolling too fast.

note: changes were made to the "scripts" folder so make sure you extract the contents, overwriting the old files.


WSH Panel Mod script discussion/help

Reply #466
note: changes were made to the "scripts" folder so make sure you extract the contents, overwriting the old files.


i'm such a half-wit. i didn't bundle the new files in the zip. i just re-uploaded. 

WSH Panel Mod script discussion/help

Reply #467
i'm such a half-wit. i didn't bundle the new files in the zip. i just re-uploaded. 
I was self-silenced by my shame to hammered you all the day... So i was silently waiting that you see that by yourself.

so, thx for all. Now everyting is ok. The square format is nice (and you decide to crop image, keeping aspect ratio. Good choice)
And, beside everything, now custom folder change, even if artist is the same.

THANK YOU for your reactivity and your patience. If you were my neighbor, i would offer you some drink... or make you some cookies
Now, i keep my mouth closed, and my hands out of the keyboard until september. Nothing more to ask, except that I wish you a nice summertime.

WSH Panel Mod script discussion/help

Reply #468
note: changes were made to the "scripts" folder so make sure you extract the contents, overwriting the old files.


i'm such a half-wit. i didn't bundle the new files in the zip. i just re-uploaded. 


Wonderful! 

I am wishing this script to become better.

p.s.
I posted some ideas that I wanted.
But I especially want function is
"Multiple value tag support",
"Last.fm Artist Art and Custom Folder can be used at the same time" and
"Blacklist of image"
.

Multiple value tag support:
Support %<tag>% or delimiter(like "$meta_sep($if(%original artist%,original artist,artist),|)". I will use more complex TF.).
Same as custom folder path config.
art.exe will run multiple time(number of tag value).
Plus, I want the setting of the condition disregarding downloading.(Like "$if(%nolastfm%,1)".)
Also I think ignore conditon set by use artist TF.(e.g. "$if(%nolastfm%,,$if(%original artist%,original artist,artist),|))")

Last.fm Artist Art and Custom Folder can be used at the same time:
For example, If I play soundtrack of movie, I want to see some photograph of the movie and liner notes.
Also I want to see composer(%artist% in this case) images.
I think mode changing is tedium. All images should show same time.

Blacklist of image:
Whenever a trivial photograph is seen, I get irritated.
Then, I delete those images.
However, these revive again when downloading again.
Accordingly, I think need function that exclude these images.
I do not understand how to this.(filename? md5? crc32?)

Thank you.

 

WSH Panel Mod script discussion/help

Reply #469
i just re-uploaded to fix a bug in thumbs2. i didn't implement "don't show thumbnails if there is only 1 image" properly.

i can't stop art.exe downloading images. maybe blacklisting could be added to my script. i'll have to have a think on how to implement that.

as for merging last.fm/custom folder mode and multiple tag support, that's not likely to happen.

WSH Panel Mod script discussion/help

Reply #470
as for merging last.fm/custom folder mode and multiple tag support, that's not likely to happen.


 
difficulty? or not needed?

Anyway, I see. I am sorry for saying a trivial demand.
I might make them by myself. 

Thank you.

WSH Panel Mod script discussion/help

Reply #471
small update for thumbs2.



-added forward/back buttons to show when there are more thumbnails. (scripts folder contains new images so make sure you extract that as well)

WSH Panel Mod script discussion/help

Reply #472
another update for thumbs2.  http://cid-649d3bfeaf541fbb.office.live.co...ide/samples.zip

-when deleting images in last.fm mode, you can now blacklist them to prevent them showing again. although i can't stop them being downloaded again, the script deletes them when checking the folder. you can turn off blacklisting or clear the blacklist from the context menu.

EDIT: yet again, i didn't put all the new files in the zip. still, it was only 10 minutes before i realised this time. i just re-uploaded....

WSH Panel Mod script discussion/help

Reply #473
small update for thumbs2.




Nice update.

OK. There is new idea! 

18) Put loading image when downloading.(animation gif is easy?)
19) Thumbs scrollbar.
20) Show total images count. Show current image offset number. (Like 12/20.) Show number that assignment to thumbs.
21) Do fade effect(or some effect) when current image is changed.
22) New mode.(Goolgle image, MySpace, Flickr etc. ...also use custom folder same time. hehehe.  )
23) Mouseover effect.(Thumb, big image etc.)
24) Config auto cycle.(Stop, Start, Interval, Order)
25) A lot of image downloading over 50. Plus, limit use image about under 20-30.(Number is rough.)
26) Config search query TF that use download.(Can I use delimiter? Oh, sorry.  )
27) Config identification TF that use change image set.
28) Support skin.(maybe image file set and color settings.)
29) Reload function that useful in custom folder mode when put some images at playing music.
30) Favorite(or whitelist) image function.(If a image is added to favorite(or whitelist), this image not delete when redownload. And warn alert appear when exec manual delete.)
31) Config limit (min|max) download image's (filesize|pixel|height|width|filetype|date).
32) Another external program execute menu or mouse operation.(to edit image. not viewer. like PhotoShop, Paint.Net, Gimp etc.)
33) additional download function.(5+,10+) This cause too many image problem. but if can limit show image count, it is no problem.
34) Search toolbar or prompt. Any artist images can preview by this.

 

Thank you!

WSH Panel Mod script discussion/help

Reply #474
go **** yourself.