Skip to main content

Topic: [Not my release] Biography view (Read 337689 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Daeron
  • [*][*][*][*][*]
Re: [Not my release] Biography view
Reply #825
The component is essentially obsolete now. You can get the same functionality with jscript panel and one of marc2003's scripts.
https://hydrogenaud.io/index.php/topic,110499.0.html

  • marc2003
  • [*][*][*][*][*]
  • Developer
Re: [Not my release] Biography view
Reply #826
Just to clarify:

last.fm bio.txt: displays text only. Use the right click menu to change language and other options.
thumbs.txt: displays images only. Automatic downloads are off by default but can be turned on via the right click menu
now playing (basic).txt: displays images and text in the same panel. Same options as above scripts.

  • kan
  • [*]
Re: [Not my release] Biography view
Reply #827
there is no fix for this component because the source has never been shared. as an alternative, you can use my WSH panel mod script which is linked a few posts up.

There is a fix. Biography View uses official last.fm API so it still works. The issue is that an api key used in component has been blocked by last.fm. The solution is simple. You need to obtain a new api key (free) from last.fm and replace the old one with the new one in component using a hexeditor.
By the way good work marc2003.

  • marc2003
  • [*][*][*][*][*]
  • Developer
Re: [Not my release] Biography view
Reply #828
You are mistaken. The API key used by the component is fine because it can still download images. Also, the url for the image is extracted from the same page that contains the text. The reason the component can't display text is because the response XML is formatted differently compared to what is was before.

The solution is simple. You need to obtain a new api key (free) from last.fm and replace the old one with the new one in component using a hexeditor.

This is bullshit. Why are you making stuff up that isn't true?

edit; just to prove a point, I captured the response with wireshark.

http://i.imgur.com/Gc5exA9.png

The text is right there. Changing the API key isn't going to fix it.
  • Last Edit: 27 May, 2016, 07:10:43 PM by marc2003

  • mire777
  • [*][*][*][*][*]
Re: [Not my release] Biography view
Reply #829
Just don't know why some developer don't make new biography component, it's easy to make that plugin if you already familiar with creating components for foobar. Biography and lyrics are plugins that should be present as standard..
Anyway i use wsh(jscript), so i don't need to worry that it will stop working..
  • Last Edit: 28 May, 2016, 04:46:06 AM by mire777

  • Daeron
  • [*][*][*][*][*]
Re: [Not my release] Biography view
Reply #830
Just don't know why some developer don't make new biography component, Anyway i use wsh(jscript),
You answered your own question. That component is called jscript with the corresponding biography sample from marc2003.
  • Last Edit: 28 May, 2016, 06:26:45 AM by Daeron

  • kan
  • [*]
Re: [Not my release] Biography view
Reply #831
You are mistaken.

Yes. You are right. I did not test it thoroughly and made a mistake.  There is no need to use Wireshark, you can check it directly from browser using API request:
http://ws.audioscrobbler.com/2.0/?method=artist.getInfo&api_key=554ae27e0b90079f4fa22a825cf2b200&autocorrect=1&artist=Abba
and it did not work at the time I was checking it.
Second I forgot about cache of Biography component. Coincidence this two has led me to wrong conclusion that this is a culprit.

You gave me a hint and I had one more look at this issue and found a solution. A real one this time :).
It used to be <![CDATA[...]]> markup in XML that exist no more in last.fm API response. Fortunately it can be corrected using hexeditor as well. All bytes <![CDATA[...]]> should be filed with zeros so component puts nothing in this place.
Fixed Biography component:
http://www.filedropper.com/foouiebiographylastfmfix
changes:
-bytes <![CDATA[...]]> changed to 00
-version change from 0.4.2.4  to 0.4.2.5
and it DOES work this time.

  • zeremy
  • [*][*][*][*]
Re: [Not my release] Biography view
Reply #832

You gave me a hint and I had one more look at this issue and found a solution. A real one this time :).
It used to be <![CDATA[...]]> markup in XML that exist no more in last.fm API response. Fortunately it can be corrected using hexeditor as well. All bytes <![CDATA[...]]> should be filed with zeros so component puts nothing in this place.
Fixed Biography component:
http://www.filedropper.com/foouiebiographylastfmfix
changes:
-bytes <![CDATA[...]]> changed to 00
-version change from 0.4.2.4  to 0.4.2.5
and it DOES work this time.

Your download link doesn't work. :-[
But I can confirm the HEX fix does work and can display the wiki text.!! :D

  • kan
  • [*]
Re: [Not my release] Biography view
Reply #833
Your download link doesn't work. :-[

For me the download link works. I can give one more:
http://speedy.sh/cYfsT/foo-uie-biography-lastfm-fix.7z

I have to give one more advice. If somebody uses cached files, you have to remove all old *.lmfl files from cache directory(set in Biography component settings). That files contains ![CDATA[...] markups and will not be displayed correctly.

Re: [Not my release] Biography view
Reply #834
i confirm, biography 4.2.5 works perfect
thx

Re: [Not my release] Biography view
Reply #835
an issue:
david gilmour bio ends with pete townshend - white city - 1985
but there are 14 lines more on lastfm

Re: [Not my release] Biography view
Reply #836
error found:
panel preference - font/color :
font renderer must be on GDI+
so the whole bio will be shown

Re: [Not my release] Biography view
Reply #837
Thanks for the update! Your efforts are truly appreciated. 

I did notice that the text formatting is a bit fucked up with apostrophes, and other symbols.  For example, whenever there is an apostrophe it'll display "#apos;"   Any fix for this? 

Re: [Not my release] Biography view
Reply #838
Now images aren't showing anymore.... 

Re: [Not my release] Biography view
Reply #839
Now images aren't showing anymore.... 

Is anybody else experiencing this or is the problem on my end?

Re: [Not my release] Biography view
Reply #840
I'm having the same issue.

  • failure13
  • [*]
Re: [Not my release] Biography view
Reply #841
Yep, same here - no images.
+ i've found bug, if bio text is scrollable, and you scroll to bottom, than press little arrow on top - whole bio will disappear and will stay same, unti foobar2000 restart

  • swana
  • [*]
Re: [Not my release] Biography view
Reply #842
+1 on no artist image showing

Anyone figure out why (or how to fix)?

  • Solynth
  • [*]
Re: [Not my release] Biography view
Reply #843
I can get the album and artist pictures to display in the panel, but the image cache is not working. The images are not downloading to the respective folders.



I have the setting "Provide artwork to other artwork viewers" enabled. It's weird that it can display the images fine in the panel, but they wont download.

It seems to only work for some artists.
  • Last Edit: 25 August, 2016, 08:48:32 AM by Solynth

Re: [Not my release] Biography view
Reply #844
+1 on no artist image showing

Anyone figure out why (or how to fix)?

I honestly just gave up on this and switched to marc2003's jscript panel for bio and album info. 

Doesn't have the album art saving capabilities but I can live with it. 

  • fuffi
  • [*][*][*][*]
Re: [Not my release] Biography view
Reply #845
Doesn't have the album art saving capabilities but I can live with it.
This is something, I really loved about it. automatic saving of an albumart, which I then could embedd into the music files. I really miss it.