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: JS Playlist (Read 1050 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

JS Playlist

I installed this panel.

Apparently, with wallpaper mode enabled, there is no way to set the transparent image to the right size.

I can't identify in the various scripts located in foobar2000\user-components\foo_spider_monkey_panel\samples\jsplaylist-mod\js\ if there is a way to set the correct size.

Does anyone know how to do?

https://jscript-panel.github.io/gallery/jsplaylist/

https://www.deviantart.com/br3tt/art/JSPlaylist-509803158


Re: JS Playlist

Reply #1
Found the line to replace to get the correct image ratio:

In ....foobar2000\user-components\foo_spider_monkey_panel\samples\jsplaylist-mod\js\

file main.js

line 2646

substitute:

   var img = FormatWallpaper(tmp_img, ww, wh, 2, 0, 0, "", true);

with

   var img = FormatWallpaper(tmp_img, ww, wh, 0, 1, 0, "", true);

 

Re: JS Playlist

Reply #2
The problem with using 0,1,0 is the wallpaper doesn't fill the whole panel, which was the original intent. Plus with Darkone, you already have an additional proper ratio image of the artwork, anyway. 0.1.0 is below.