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: Biography Discussion (Read 273957 times) previous topic - next topic
Mekoz and 2 Guests are viewing this topic.

Re: Biography Discussion

Reply #1125
cscript.exe //nologo foo_lastfm_img.vbs http://lastfm.freetls.fastly.net/i/u/770x0/0e5dbdea7c7c4127a1c9155eaedeb0a0.jpg test.jpg (Haha... funny picture...)
The same outcome... :/
C:\Users\***\AppData\Roaming\foobar2000\foo_spider_monkey_panel\package_data\{BA9557CE-7B4B-4E0E-9373-99F511E81252}\foo_lastfm_img.vbs(16, 1) msxml3.dll: Det gick inte att hitta den angivna resursen.

Could this issue of me not being able to download images be browser related?
Got really tired of Chrome sometime ago, after the latest ape-shit-ugly GUI update and uninstalled Chrome.
Now I only use Firefox.
What is the opposite of music?

Re: Biography Discussion

Reply #1126
No, this is not browser related. It's purely windows. If http downloads are failing it's probably not a question of windows being outdate but something is broken/corrupted.

You can try these commands from an admin command prompt to try and fix corrupt files:

Code: [Select]
dism /Online /Cleanup-image /Restorehealth

then

Code: [Select]
sfc /scannow

Re: Biography Discussion

Reply #1127
Hello!
No change... I give up... It is what it is.
Many thanks for your effort!

Code: [Select]
This:
dism /Online /Cleanup-image /Restorehealth
Deployment Image Servicing and Management tool
Version: 10.0.19041.3636
Image Version: 10.0.19045.4894
[==========================100.0%==========================]
The restore operation completed successfully.
The operation completed successfully.

This:
sfc /scannow
Beginning system scan.  This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection did not find any integrity violations.
What is the opposite of music?

Re: Biography Discussion

Reply #1128
Well I tried to help without pimping my own component but I might as well do it now.  :))

https://jscript-panel.github.io/gallery/lastfm-bio/#__tabbed_1_2
https://jscript-panel.github.io/gallery/thumbs/

These use very different methods for downloading images. I use C++ from the foobar2000 SDK to do it.

Re: Biography Discussion

Reply #1129
Hello!

Can you perhaps describe where you think the error lies?
Spider Monkey Panel, WilB Biography, my theme or my Windows 10 x64 setup, my picture paths and perhaps the change of Last.fm API downloading images?
Can I install your component on top of existing foobar and still be using the DarkOne4 theme?
Will it look like this?

Is it a must to create a Last.fm account?
As you can tell, I'm not very good at this...

Thanks and best regards,
redorb
What is the opposite of music?

Re: Biography Discussion

Reply #1130
foobar and WilB JScript Biography 1.4.2 won't download artist images anymore since some time ago.
What can I do to make it work?
Is it possible to edit a script file (eg lastfm.js) so that it works with WilB artist pictures?
Is it impossible with WilB Biography?
Is WilB JScript Biography 1.4.2 abandoned and dead?
What is the opposite of music?

Re: Biography Discussion

Reply #1131
foobar and WilB JScript Biography 1.4.2 won't download artist images anymore since some time ago.
What can I do to make it work?

Firstly, Biography is a SMP panel, not JSP.
There initially was a JSP version, but that no longer works and noone will be updating it. If you can do so, I would also be happy.

The SMP version does work, however if one has a very large library or runs many other memory intensive components, expect issues.

If it doesn't work, you should try a fresh portable install with only SMP + Bio and see if it is downloading into the default location.

Re: Biography Discussion

Reply #1132
Thanks for your reply, it's much appreciated!
I use Spider Monkey Panel along with WilB Biography.
When you say "very large library" what do you mean? What is a large library?
I have no problem whatsoever playing my music with foobar.
It's only artist image download that doesn't work.
I don't think I have many memory intensive components, but don't know how to measure that?
If necessary, I can show which components I have.
A little info.
Top RAM for foobar is ~ 396.72 MB (total on my PC 16 GB)
Top IO for foobar is ~ 255kB/s ~ 10-35%
Can I have both a foobar installed on (C:) and a portable one at the same time without conflicts?
What is the opposite of music?

Re: Biography Discussion

Reply #1133

Top RAM for foobar is ~ 396.72 MB (total on my PC 16 GB)

Can I have both a foobar installed on (C:) and a portable one at the same time without conflicts?

Your library size is not too large - my ram for FB with SMP is 2.8GB, I would *love* to be under 500mb.
 Even at 2.8gb, it is downloading data correctly for me (for about 10 clicks when it crashes.)

It will simply crash when too much.

Yes you can absolutely run them both (or 10!)

I use a 1.61 portable install with SMP/bio only to update data for new library items - it is downloading correctly today.


Re: Biography Discussion

Reply #1134
foobar and WilB JScript Biography 1.4.2 won't download artist images anymore since some time ago.
What can I do to make it work?

Firstly, Biography is a SMP panel, not JSP.
There initially was a JSP version, but that no longer works and noone will be updating it. If you can do so, I would also be happy.
The JSP3 sample/panel "Last.fm Bio + Images" does work, just now it requires that the user enter their own last.fm API key via a context menu selection in the setup for the "Bio" section to work.  Without the last.fm API key it will still download the artist image and the initial section showing tags/years active/listeners/scrobbles, just not the Bio.  A shot from mine on Foobar v2.2 (artist image truncated) just now (JSP3 3.8.0) using a radio stream for a source:

Re: Biography Discussion

Reply #1135
Hello and thanks for your reply, much appreciated!

Created an API key, searched frantically in all possible places/files where to put the key... but where do I put it? and how?
Then I installed JScript Panel 3 3.8.0 but I can't get any further from there either?
This is more difficult than I can handle without extensive help.
Preferably "full rectal" as Jackson Lamb would put it...

Thanks for reminding me of Basia Bulat!
I like her music, have her early albums but haven't heard anything from her lately, have to check that out.
What is the opposite of music?

Re: Biography Discussion

Reply #1136

Top RAM for foobar is ~ 396.72 MB (total on my PC 16 GB)

Can I have both a foobar installed on (C:) and a portable one at the same time without conflicts?

Your library size is not too large - my ram for FB with SMP is 2.8GB, I would *love* to be under 500mb.
 Even at 2.8gb, it is downloading data correctly for me (for about 10 clicks when it crashes.)

It will simply crash when too much.

Yes you can absolutely run them both (or 10!)

I use a 1.61 portable install with SMP/bio only to update data for new library items - it is downloading correctly today.


Is this what you mean when talking about Library size?
Code: [Select]
---------------------------------------------------
From inside DarkOne4 theme
All music (2120)
---------------------------------------------------
A total of 5 HDDs
2.93 TB = 92693 files | 8635 folders (8TB)
These 4 HDDs in an ICY Box
896 MB = 38128 files | 3536 folders (1TB)
894 MB = 39047 files | 4080 folders (1TB)
925 MB = 39117 files | 3861 folders (1TB)
904 MB = 48560 files | 4101 folders (1TB
---------------------------------------------------
5.59 TB = 257545 files | 24213 folders
---------------------------------------------------
Biography | Artist images + Lyrics + Text | 4.22 GB = 23612 files | 1574 folders
-----------------------------------------------------------------------------------------------
What is the opposite of music?



Re: Biography Discussion

Reply #1139
@marc2k3
Thanks for your  input.
You might think I'm stupid but you skipped a few steps...

BIO→Add Panel→Panels→Jscript Panel 3→click→Samples→Last.fm Bio + Images
Although I managed to get your script running and it looks like this.

It seems that DakOne4 theme doesn't like this as the buttons disappear.
Is it possible to edit, scale down, rebuild?
Picky as I am, I would like it to look something like this.

If it is to much work or cannot be changed, I'll just drop the whole Biography thing and hope WilB makes a comeback...

Thanks and best regards,
redorb
What is the opposite of music?

Re: Biography Discussion

Reply #1140
Why not just edit the API key in the Spider Monkey Panel (foo_spider_monkey_panel)?

\profile\user-components\foo_spider_monkey_panel\samples\complete\js\lastfm.js
Line 209:   this.api_key = '9a15798127d9c73dcdd0e24503540d45';

By: ilovefb2k: https://hydrogenaud.io/index.php/topic,110499.msg1049976.html#msg1049976
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: Biography Discussion

Reply #1141
Is it possible to edit, scale down, rebuild?
Picky as I am, I would like it to look something like this.

If it is to much work or cannot be changed, I'll just drop the whole Biography thing and hope WilB makes a comeback...
Thanks and best regards,
redorb
Right-click the image and you'll see the option "Image top, text bottom" and choices to crop the image to center or top.  The amount of space taken up by the image vs. the text can be varied by holding down CTRL while scrolling.

Re: Biography Discussion

Reply #1142
Why not just edit the API key in the Spider Monkey Panel (foo_spider_monkey_panel)?

\profile\user-components\foo_spider_monkey_panel\samples\complete\js\lastfm.js
Line 209:   this.api_key = '9a15798127d9c73dcdd0e24503540d45';
This is what I see in lastfm.js in both paths below.
They are identical hash values SHA1 comparing.
Code: [Select]
--------------------------------------------------------------------------------------------------------------------------------------------
foobar2000
C:\Users\***\AppData\Roaming\foobar2000\user-components\foo_spider_monkey_panel\samples\complete\js

foobar2000-v2
C:\Users\***\AppData\Roaming\foobar2000-v2\user-components\foo_spider_monkey_panel\samples\complete\js
--------------------------------------------------------------------------------------------------------------------------------------------
From last.fm.js

};

_createFolder(folders.data);
this.ini_file = folders.data + 'lastfm.ini';
this.api_key = '51929ffb4faee6e2c8f001bafe5d7e02';
this.secret = '52356bdeb3f76e84f2c1270fb6c8dd63';
this.username = this.read_ini('username');
this.sk = this.read_ini('sk');
this.ua = 'foo_jscript_panel_lastfm2';
this.xmlhttp = new ActiveXObject('Microsoft.XMLHTTP');
}
--------------------------------------------------------------------------------------------------------------------------------------------
From last.fm

Application name
Spider Monkey Panel
Application desciption foobar 2000 JScript Biography 1.4.2
Callback URL ???( Didn't know what to write here.)
Application homepage https://github.com/Wil-B/Biography

API account created

Here are the details of your new API account.
Application name Spider Monkey Panel
API key ***
Shared secret ***
Registered to ***
-------------------------------------------------------------------------------
What is the opposite of music?

Re: Biography Discussion

Reply #1143
Quote
Right-click the image and you'll see the option "Image top, text bottom" and choices to crop the image to center or top.  The amount of space taken up by the image vs. the text can be varied by holding down CTRL while scrolling.
Thanks, will try that later, trying to keep WilB Biography if possible...
What is the opposite of music?

 

Re: Biography Discussion

Reply #1144
No problem just responding to your post (Reply #1139) specifically about the JSP3 last.fm bio + images plugin.  Good luck with the WilB Biography panel, I have no experience with that one.

Re: Biography Discussion

Reply #1145
Hello!
Is something broken with WilB Biography 1.4.2?
New artist photos won't show up, if I download and add artist pictures manually all is OK.
Wikipedia, allmusic, last.fm text works.

Thanks and best regards
redorb

I've had this several times in the past and also reports from my user base to find out that my Comodo firewall was blocking the entire foobar folder.
So if you are also using third party firewalls, check if any folders related to foobar are blocked and whitelist them.
Other than that, WilB's biography is working fine if you add these two fixes:
- Prevented foobar crash when exiting during AllMusic fetching
- Fixed findFile method issue when file names have reserved chars

@WilB needs to merge these pull requests and I have tried to contact him several times here on HA and on Github over the months without success.
He was active on my Github page with conversations but the last message he wrote was from January I think, normally he always responds after a few days...
Let's hope he is OK...

-TT

Re: Biography Discussion

Reply #1146

Thanks, will try that later, trying to keep WilB Biography if possible...

For anyone having memory or performance issues with Wilb's panels and SMP, you may want to try them with JSplitter component instead of SMP

https://foobar2000.ru/forum/viewtopic.php?t=6378&start=400
both 32 + 64 bit available, apparently JSplitter will run WSH JSP & SMP scripts!!

I haven't tested panels with 64b version, but confirm 32b works well - consumes less memory and image, bio & review downloads working fine!

Re: Biography Discussion

Reply #1147
Why not just edit the API key in the Spider Monkey Panel (foo_spider_monkey_panel)?

\profile\user-components\foo_spider_monkey_panel\samples\complete\js\lastfm.js
Line 209:   this.api_key = '9a15798127d9c73dcdd0e24503540d45';

By: ilovefb2k: https://hydrogenaud.io/index.php/topic,110499.msg1049976.html#msg1049976
Can you show how this should be done?
What is the opposite of music?

Re: Biography Discussion

Reply #1148

I've had this several times in the past and also reports from my user base to find out that my Comodo firewall was blocking the entire foobar folder.
So if you are also using third party firewalls, check if any folders related to foobar are blocked and whitelist them.
Other than that, WilB's biography is working fine if you add these two fixes:
- Prevented foobar crash when exiting during AllMusic fetching
- Fixed findFile method issue when file names have reserved chars

@WilB needs to merge these pull requests and I have tried to contact him several times here on HA and on Github over the months without success.
He was active on my Github page with conversations but the last message he wrote was from January I think, normally he always responds after a few days...
Let's hope he is OK...

-TT
Hello and thanks for taking the time to reply, much appreciated!
I use ESET Internet Security with a firewall rule that opens everything to foobar2000, always have and never changed anything.

Unfortunately, I don't know anything about scripts, sorry but that's how it is...
I checked out the link that you provided and after some searching on I saved the script like this:
Code: [Select]
-------------
3 scripts in one folder (Fixed findFile method issue when file names have reserved chars)
allmusic.js
callbacks.js
text.js
2 scripts in one folder (Prevented foobar crash when exiting during AllMusic fetching)
allmusic.js
callbacks.js
(allmusic.js and callback.js appear to be identical.)
(If I compare with existing ones in paths, they are not identical)
-------------

What do I do with these scripts?
allmusic.js already exists in these paths:
Code: [Select]
C:\Users\***\AppData\Roaming\foobar2000-v2\foo_spider_monkey_panel\packages\{BA9557CE-7B4B-4E0E-9373-99F511E81252}\scripts
C:\Users\***\AppData\Roaming\foobar2000\foo_spider_monkey_panel\packages\{BA9557CE-7B4B-4E0E-9373-99F511E81252}\scripts
It is also found in Biography-v1.4.2.zip if I unpack it.
Code: [Select]
callbacks.js already exists in these paths:
C:\Users\***\AppData\Roaming\foobar2000-v2\foo_spider_monkey_panel\packages\{BA9557CE-7B4B-4E0E-9373-99F511E81252}\scripts
C:\Users\***\AppData\Roaming\foobar2000\foo_spider_monkey_panel\packages\{BA9557CE-7B4B-4E0E-9373-99F511E81252}\scripts
It is also found in Biography-v1.4.2.zip if I unpack it.

Yes, I really hope WilB is OK, he very kindly helped me years ago when I first discovered his Biography.
What is the opposite of music?

Re: Biography Discussion

Reply #1149

Thanks, will try that later, trying to keep WilB Biography if possible...

For anyone having memory or performance issues with Wilb's panels and SMP, you may want to try them with JSplitter component instead of SMP

https://foobar2000.ru/forum/viewtopic.php?t=6378&start=400
both 32 + 64 bit available, apparently JSplitter will run WSH JSP & SMP scripts!!

I haven't tested panels with 64b version, but confirm 32b works well - consumes less memory and image, bio & review downloads working fine!
You link to a Russian site that I have no idea about?!
Is the component for WilB's Biography?
Rather show a link to the component found here on hydrogenaud.io.
What is the opposite of music?