Skip to main content
Topic: JScript Panel (Read 93354 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: JScript Panel

Reply #475
Thank you very much.  I thought you might wait for your Spider Monkey version.  I applied your library panel fix and it works great.  But I noticed you had actually made several code changes to the library panel besides the one line fix.  Should I retrofit these as well?  I also applied your playlist row height fix and it works fine.  I saw your CD art file name changes, but don't have a need for this at this time.  I am curious about the time zone changes as I don't have a clue what this logic does.  Should I care? 

I hesitate to ask because I'm sure it's a lot of work.  But I would love the ability to spin the CD art as I saw referenced in an earlier post.  Just something to think about if you ever get bored.
The other library changes just allow disabling tracks. Not sure why anyone would want that, but they can now have it.
Timezone changes aren't important, it was just moving code around and general clean up.

I'll probably play with the spinning cdart at some point, but it's not very high priority for me right now because I'm pretty sure it'll be slow and won't look that great with large cds.
Much more important for me is downloading missing cdart (semi-)automatically.

Re: JScript Panel

Reply #476
Thank you for getting back to me.  The spinning art thing looked kind of cool, but it doesn't really add any useful functionality. 
Simplifying the downloading of CD art would be fantastic.  As always, your hard work is greatly appreciated.


Re: JScript Panel

Reply #478
Fb v1.6 b9, JScript Panel  2.4.1-Beta.1:
Only for autoplaylists: JS Smooth Playlist crashes with right-click at jssp.js, line 2734:
Code: [Select]
_child01.AppendMenuItem(plman.IsAutoPlaylist(g_active_playlist) ? MF_DISABLED | MF_GRAYED : MF_STRING, 1020, "Remove");
Tried to put it as issue on Github, however couldn't locate the issue button.


Re: JScript Panel

Reply #480
Wow, this was immediate - thanks very much!!
And thanks for keeping the JScript Panel alive!

Re: JScript Panel

Reply #481
2.4.1-Beta.2

WebP images are now supported on fb2k v1.5.x. Also contains various JS-Smooth sample fixes.

Re: JScript Panel

Reply #482
Hi :) @snotlicker
JS-Smooth samples Modified

v2.4.1-Beta.2
Modified
JS Smooth Browser.txt 2020/07/01
-------
v2.4.1-Beta.1
Modified
JS Smooth Browser.txt 2020/07/30
SHURE SRH1840, SENNHEISER HD660S, Beyerdynamic DT 1990 PRO, HIFIMAN HE5se, Ultrasone Performance 880, AKG K712 PRO, Bowers & Wilkins P7, SONY MDR-1AM2, Bose QuietComfort 35 wireless, SENNHEISER HD 4.50BTNC (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel

Reply #483
JS Smooth Browser.txt
v2.4.0
MD5: af59b654877382be61357ba577caf2c3

v2.4.1-Beta.1
MD5: af59b654877382be61357ba577caf2c3

v2.4.1-Beta.2
MD5: af59b654877382be61357ba577caf2c3

// ---------------

JS Smooth Playlist.txt
foo_jscript_panel-2.4.0
MD5: b35e3ffa94f55488122d00f01d19ffef

foo_jscript_panel-v2.4.1-Beta1
MD5: b35e3ffa94f55488122d00f01d19ffef

foo_jscript_panel-v2.4.1-Beta2
MD5: b35e3ffa94f55488122d00f01d19ffef

Why? Thanks.
SHURE SRH1840, SENNHEISER HD660S, Beyerdynamic DT 1990 PRO, HIFIMAN HE5se, Ultrasone Performance 880, AKG K712 PRO, Bowers & Wilkins P7, SONY MDR-1AM2, Bose QuietComfort 35 wireless, SENNHEISER HD 4.50BTNC (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel

Reply #484
^There is no code inside those files. Check the contents. They use the @import feature to parse external files. And don't rely on modification times for changes.

v2.4.1 is now final: https://github.com/marc2k3/foo_jscript_panel/releases

The only change since last beta is that %fb2k_path% is no longer supported for imports. It should have been nuked years ago - %fb2k_profile_path% is always the correct solution.

Re: JScript Panel

Reply #485
Hi, I use marc2003's "Menu Button", "Playback Order Button", and "Playback Buttons" to my setup and they all work perfectly. Just wondering if there is a way to add mouse over (hover) function to the above 3 scripts and make the buttons look more vivid? Thanks so much in advance!

Re: JScript Panel

Reply #486
Looking at the simplest example from the Menu button script.

Code: [Select]
buttons.buttons.menu = new _.button(0, 0, 36, 36, {normal : 'misc\\foobar2000.png'}, function (x, y, mask) { _.menu(0, 36); }, 'Menu');

You'll obviously need some new images saved somewhere. Do not use the component folder.

Code: [Select]
// define this at the start of the script
var hover_img = gdi.Image(fb.ProfilePath + "my images\\hover_image.png");

The button object already supports a hover "state" and you can pass an image directly to it like this...

Code: [Select]
buttons.buttons.menu = new _.button(0, 0, 36, 36, {normal : 'misc\\foobar2000.png', hover: hover_img }, function (x, y, mask) { _.menu(0, 36); }, 'Menu');


Re: JScript Panel

Reply #487
Looking at the simplest example from the Menu button script.

Code: [Select]
buttons.buttons.menu = new _.button(0, 0, 36, 36, {normal : 'misc\\foobar2000.png'}, function (x, y, mask) { _.menu(0, 36); }, 'Menu');
...................

Thank you so much! This completes the last piece of my layout!

 
SimplePortal 1.0.0 RC1 © 2008-2020