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 1399865 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

WSH Panel Mod script discussion/help

Reply #3750
it's great to have proper 2 line support without me having to hack it. thanks for all the effort you've put in to this.

WSH Panel Mod script discussion/help

Reply #3751
Falstaff - Getting a crash when I click on the PL arrow button.

Error: WSH Panel Mod (JSPlaylist v1.0.4 by Br3tt aka Falstaff >> http://br3tt.deviantart.com): Microsoft JScript runtime error:
Object expected
File: C:\Users\***\Desktop\foobar-new-dui\wsh_br3tt\jsplaylist\js\WSHheaderbar.js
Ln: 509, Col: 21


EDIT: Never mind. I updated the configuration script instead of just replacing the js files and it works now.

WSH Panel Mod script discussion/help

Reply #3752
Falstaff - Getting a crash when I click on the PL arrow button.

Error: WSH Panel Mod (JSPlaylist v1.0.4 by Br3tt aka Falstaff >> http://br3tt.deviantart.com): Microsoft JScript runtime error:
Object expected
File: C:\Users\***\Desktop\foobar-new-dui\wsh_br3tt\jsplaylist\js\WSHheaderbar.js
Ln: 509, Col: 21


a v1.0.4 bug, no support for old version update your JSPlaylist to v1.1.0 please, and then if it still crash, i'll check it


WSH Panel Mod script discussion/help

Reply #3754
i just noticed a little bug... when you don't have enough tracks in the playlist to draw a scrollbar, the line drawn in the group header extends too far. it should stop in line with right edge of the last column.


WSH Panel Mod script discussion/help

Reply #3755
Nice work Falstaff!
Just one little remark, would it be able to add the version number  into the panel settings? Would be handy to have this visible.
Then we can check if we have the correct version number installed before, like I did, ask questions about something whereby we do not have installed the latest version / release.

WSH Panel Mod script discussion/help

Reply #3756
Nice work Falstaff!
Just one little remark, would it be able to add the version number  into the panel settings? Would be handy to have this visible.
Then we can check if we have the correct version number installed before, like I did, ask questions about something whereby we do not have installed the latest version / release.


will be done asap.

WSH Panel Mod script discussion/help

Reply #3757
JSPlaylist updated to v1.1.1

Changes:
Custom color sliders: focus handled with LEFT & RIGHT arrow keys to adjust RGB values with more accuracy
Columns titleformat: 3 special TF fields now supported: %list_index%, %list_total% & %isplaying%
Panel version is now displayed in Panel Settings
Bugs fixing... (in group header, color refresh in playlist manager after a custom color update, ... etc)

link

WSH Panel Mod script discussion/help

Reply #3758
Hey marc your rating script has been very useful, but I'm lacking a feature that hopefully you could add on a future release or tell me what to look for to do it myself. I would like for a way to rate entire albums... more precisely that the script does the calculation of rating given to individual songs divided in total rated songs and make that the value of a tag called Album Rating or just display it somehow on ELPlaylist. I've been making the tag myself by adding it from properties, but obviously it doesn't update automatically so it's a mess...

WSH Panel Mod script discussion/help

Reply #3759
fat chance.  that's not even remotely related to the existing script and it would have to be something new written from scratch.

WSH Panel Mod script discussion/help

Reply #3760
Damn! Do you have any idea how it could be done with another script or component? Supposedly SimPlaylist can do it, but I'm not getting many results from Google...

And is there any way to rate songs with a keyboard shortcut? It would be super convenient because right now I'm opening foobar each 3 minutes to click the stars.

WSH Panel Mod script discussion/help

Reply #3761
regarding an old embedded album art issue....

Actually the situation is much simpler. foobar2000 does not define or implement any callback for changed album art, no matter whether it was updated by foobar2000 itself or another application.


^is there any chance it could be updated to trigger the same callback as when normal tags are updated? obviously this would only be for embedded art added/removed/modified by foobar itself. i think this makes more sense than adding anything new as all components could use it without modification.


I cannot speak for Peter but this feels like a hack for me.


i've only just noticed so i have no idea when it happened but this "hack" has been implemented in the core so this component updates without any modification. thanks Peter!!

@firewater, look at foo_quicktag.

WSH Panel Mod script discussion/help

Reply #3762
JSPlaylist updated to v1.1.1

Changes:
Custom color sliders: focus handled with LEFT & RIGHT arrow keys to adjust RGB values with more accuracy
Columns titleformat: 3 special TF fields now supported: %list_index%, %list_total% & %isplaying%
Panel version is now displayed in Panel Settings
Bugs fixing... (in group header, color refresh in playlist manager after a custom color update, ... etc)

link


Thanks!


 

WSH Panel Mod script discussion/help

Reply #3764
JSPlaylist updated to v1.1.1

Changes:
Custom color sliders: focus handled with LEFT & RIGHT arrow keys to adjust RGB values with more accuracy
Columns titleformat: 3 special TF fields now supported: %list_index%, %list_total% & %isplaying%
Panel version is now displayed in Panel Settings
Bugs fixing... (in group header, color refresh in playlist manager after a custom color update, ... etc)

link


@Falstaff

Thanks first of all for this script!!

When updating from ver 1.1.0 to 1.1.1 , I noticed that the Index column doesn't show anything, but the new %list_index% works fine.

Also when playing streams in versions up to 1.1.0 the station's name didn't get updated with dynamic titles which happens now with version 1.1.1.
I suggest that the first row to show the station's name and the second row the dynamic title changes.

Modified WSHplaylist.js to show you what I mean.
https://www.dropbox.com/s/kp4308tsmkpfhed/W...laylist.js?dl=0





WSH Panel Mod script discussion/help

Reply #3766
When updating from ver 1.1.0 to 1.1.1 , I noticed that the Index column doesn't show anything, but the new %list_index% works fine.

normal if you don't clear cached properties of the panel (to do on each new version install, installation notes updated to notice that)

Also when playing streams in versions up to 1.1.0 the station's name didn't get updated with dynamic titles which happens now with version 1.1.1.

so v1.1.1 is better


I suggest that the first row to show the station's name and the second row the dynamic title changes.
Modified WSHplaylist.js to show you what I mean.
https://www.dropbox.com/s/kp4308tsmkpfhed/W...laylist.js?dl=0

i can't get image and files from now but normally you can set this by yourself by testing %isplaying% in your TF (if true, dynamic update, else static) ==> give it a try


WSH Panel Mod script discussion/help

Reply #3767
When updating from ver 1.1.0 to 1.1.1 , I noticed that the Index column doesn't show anything, but the new %list_index% works fine.

normal if you don't clear cached properties of the panel (to do on each new version install, installation notes updated to notice that)

Also when playing streams in versions up to 1.1.0 the station's name didn't get updated with dynamic titles which happens now with version 1.1.1.

so v1.1.1 is better


I suggest that the first row to show the station's name and the second row the dynamic title changes.
Modified WSHplaylist.js to show you what I mean.
https://www.dropbox.com/s/kp4308tsmkpfhed/W...laylist.js?dl=0

i can't get image and files from now but normally you can set this by yourself by testing %isplaying% in your TF (if true, dynamic update, else static) ==> give it a try


BTW, question, is it possible to lock a playlist where, like this, have set several radio stations?

WSH Panel Mod script discussion/help

Reply #3768
last.fm mod of JSplaylist if anybody is interested...

http://www.hydrogenaud.io/forums/index.php...mp;#entry889486

you must of course already be using my full playcount sync script.

a large thanks to falstaff for all the work he put in to it making this possible.



WSH Panel Mod script discussion/help

Reply #3771
@falstaff, would it possible for the panel settings to use the UI settings instead of system? it doesn't look good with a dark theme.



WSH Panel Mod script discussion/help

Reply #3773
@falstaff, would it possible for the panel settings to use the UI settings instead of system?

you mean replacing system color by UI colors ?


yep. anyway, it doesn't really matter as i've done it myself. i only had to update a few lines in your get_colors function. obviously i had to move it down until after the UI settings are created.

Code: [Select]
    g_syscolor_window_bg = g_color_normal_bg
    g_syscolor_highlight = g_color_highlight;
    g_syscolor_button_bg = g_color_normal_bg;
    g_syscolor_button_txt = g_color_normal_txt;



WSH Panel Mod script discussion/help

Reply #3774
@falstaff, would it possible for the panel settings to use the UI settings instead of system?

you mean replacing system color by UI colors ?


yep. anyway, it doesn't really matter as i've done it myself. i only had to update a few lines in your get_colors function. obviously i had to move it down until after the UI settings are created.



sorry for the stupid question, i was at work and there images are not displayed