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: JScript Panel (Read 292127 times) previous topic - next topic
JesalRo and 3 Guests are viewing this topic.

Re: JScript Panel

Reply #125
I'm on the same boat as orbtwin, I used the biography panel mainly to fetch album art and artist bio and picture, saving them to the same folder as the file.

I tried to understand the code to see if I would be able to brute force it in a way to get the images and save the data. After a few minutes trying to make some sense out of it I realized I would not be able to just change a few lines and get what I wanted.

Can anyone share some light on how to make a simple script to do that? Something like: on song change, get data from lastfm and save to the song folder (overwriting or checking if file exists). Pretty simple, it seems. Sadly, programming anything beyond "hello world" is too hard. :(

Thanks

Lastfm biographtyJScript

Reply #126
I guess you're talking about the lastfm biography vscript Marc2003 created.

Yes. I noticed it doesn't work anymore.
It's especially annoying because, the script also seems to randomly erase biography datas already stored in the local folder (I guess it happens when the script tries to update biography datas, and fail to do so).

Has someone an idea what might have happened ?

If it's impossible to make the script work again, I'd like, at least, find a way to avoid losing biography datas already stored in local forder (I'm quite sure that was an issue Marc2003 fixed this issue in the last version of the script he made available. Unfortunately, it's not on Github anymore, but that means there is a way to solve the "erasing datas" problem).

Thanks !



Re: JScript Panel

Reply #129
I think he intentionally deleted his Gists and repositories for those scripts. I do know that Wikipedia does not arbitrarily delete content unless it violates their rules somehow, and if an account holder themselves violates any rules, they usually suspend the account but don't delete anything.

 

Re: JScript Panel

Reply #130
I think he intentionally deleted his Gists and repositories for those scripts. I do know that Wikipedia does not arbitrarily delete content unless it violates their rules somehow, and if an account holder themselves violates any rules, they usually suspend the account but don't delete anything.

so theres no way to get those scripts then?



Re: JScript Panel

Reply #133
Thank you Machinehead !


Re: JScript Panel

Reply #135
Quote
v1.1.5
- ADD: plman.IsPlaylistLocked(playlistIndex). See interfaces.txt.
- ADD: on_playlists_changed is now called when a playlist's lock
      status changes through the use of components such as foo_utils or
      foo_playlist_attributes. See callbacks.txt
- CHG: Existing samples moved in to new "basic" subfolder.
- ADD: Add new "complete" samples folder containing some more feature complete
      samples.
- ADD: Add "jsplaylist-mod". Since Br3tt's excellent JSplaylist doesn't work
      with JScript Panel, this updated "mod" version has been created.

https://github.com/19379/foo-jscript-panel/releases

Note the added samples are only offline scripts from my previous packages. Nothing accesses the internet.

Re: JScript Panel

Reply #136
Hi :)
Is there a problem to distribute the Wingdings 2 (wingdng2.ttf) and Wingdings 3 (wingdng3.ttf) fonts?

Wingdings 2 - Version 1.10
https://www.microsoft.com/typography/fonts/font.aspx?FMID=665
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD 490 PRO, DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, Bose QuietComfort 45 (made a Upgrade/Balanced Cable by myself)

Re: JScript Panel

Reply #137
I've removed the fonts.


Re: JScript Panel

Reply #139
WSH Mod Plus component  is added a new interface: IGdiBitmap.StackBlur() . The effect of StackBlur is better than BoxBlur.
Could you add this interface in jscript_panel ?
Example: IGdiBitmap.StackBlur([0, 255]radius, [1, 20]core = 1);  "core = 1" represents the number of threading.

Re: JScript Panel

Reply #140
I don't know how to do that by myself and that code isn't in the source for WSH panel mod plus on github.


Re: JScript Panel

Reply #142
Ah, thanks for that.


Re: JScript Panel

Reply #144
Thank you marc2003.
So, if Falstaff has time to update his script, he will be able to use the new interface in the JSS script.

Re: JScript Panel

Reply #145
Falstaff might not want to use it!!

I'll probably update jsplaylist-mod with it though.

Re: JScript Panel

Reply #146
Hello all,

I installed JScript Panel as a replacement to biography view and set up a window for it in columns ui.
I want to get it to automatically show album covers from the web. So I tried to import GetAlbumArtV2.txt and also album art.txt. Album covers are displayed if they are embedded into the mp3 files but it does not seem to get / display covers from the web.

Can anyone let me know what I'm doing wrong?
Thank you very much in advance.


Re: JScript Panel

Reply #147
Code: [Select]
v1.1.6.1
- CHG: Minor changes to Console logging on startup.
- ADD: The "complete" samples folder has 2 new scripts: "thumbs.txt" and "text reader.txt"
       Thumbs allows the display/cycling of multiple images in a given folder. Text reader
       displays the contents of any plain text file. Title formatting can be used to
       specify the folder/file paths.

https://github.com/19379/foo-jscript-panel/releases

Re: JScript Panel

Reply #148
Is it possible for JScript panel to determine whether a visualization is actually being displayed? I am particularly interested in the YouTube Video player pop-up ("View\Visualizations\YouTube Video"). I can toggle it on/off with a button, but it seems the on/off state cannot be determined. Consequently it sometimes gets out of sync with other changes in the layout view, i.e. shows when not wanted & hides when wanted.

Perhaps this would require a new callback that would cover all visualizations, if within your skill set?

Thanks for your consideration.

Re: JScript Panel

Reply #149
No, I don't think so. All current callbacks are provided the SDK itself and I'm almost certain nothing like that would exist for any visualisation windows - especially 3rd party ones.

I've been able to add/modify what is already there because of the existing code/notes. Hacking something together outside of that would be way beyond what I'm capable of.