[Not my release] Biography view |
![]() ![]() |
[Not my release] Biography view |
Feb 25 2013, 21:08
Post
#576
|
|
|
Group: Members Posts: 35 Joined: 9-June 12 Member No.: 100550 |
I encoded ampersand, thanks Marc oh sorry, i didn't even look at your script. i just assumed it didn't based on the problem that was reported and the fact that mine works ok. I think that problem is not with script: http://developer.echonest.com/api/v4/artis...grid+michaelson http://www.last.fm/music/Sara+Bareilles+&a...ichaelson/+wiki But in some cases it won't load anything (with or without'' &'' character): http://imageshack.us/f/838/capturezvj.png/ http://developer.echonest.com/api/v4/artis...Whitehead"]http://developer.echonest.com/api/v4/artis...n+%26+Whitehead http://imageshack.us/photo/my-images/11/capturehnx.png/ http://developer.echonest.com/api/v4/artis...mp;name=Cherish also sometimes wiki goes first and then below is last.fm: http://developer.echonest.com/api/v4/artis...emical+brothers maybe it causes some strange behavior... This post has been edited by mire777: Feb 25 2013, 21:50 |
|
|
|
Feb 26 2013, 10:30
Post
#577
|
|
![]() Group: Members Posts: 3261 Joined: 27-January 05 From: England Member No.: 19379 |
well like i said before, no issues with ampersands in my WSH panel mod scripts.
screenshot and the wiki coming first in some examples doesn't matter as the script is set to only use last.fm - it doesn't care where it is. |
|
|
|
Feb 26 2013, 11:33
Post
#578
|
|
![]() Group: Members Posts: 607 Joined: 16-January 09 Member No.: 65630 |
you guys are helpless
-------------------- Scripts (mainly foobar2000 related): http://goo.gl/yje3h
|
|
|
|
Feb 26 2013, 11:45
Post
#579
|
|
![]() Group: Members Posts: 3261 Joined: 27-January 05 From: England Member No.: 19379 |
so after all that, mire777 still hasn't wrapped the artist in double quotes. i guess i should pay more attention.
|
|
|
|
Feb 26 2013, 22:44
Post
#580
|
|
|
Group: Members Posts: 35 Joined: 9-June 12 Member No.: 100550 |
|
|
|
|
Mar 3 2013, 20:22
Post
#581
|
|
|
Group: Members Posts: 1 Joined: 3-March 13 Member No.: 107001 |
Romor, just to say, thank you for this script, you saved my life. great work!
Thank you very much. |
|
|
|
Mar 4 2013, 07:14
Post
#582
|
|
![]() Group: Members Posts: 607 Joined: 16-January 09 Member No.: 65630 |
Sanja, welcome to the forum, and thanks for your kind words
-------------------- Scripts (mainly foobar2000 related): http://goo.gl/yje3h
|
|
|
|
Mar 4 2013, 08:30
Post
#583
|
|
|
Group: Members Posts: 27 Joined: 7-July 11 Member No.: 92107 |
they are there in the wikipedia segment but not the last.fm... After seeing the content in biography view processed with xmllint, it seems like they use new lines on last.fm contents to format additional information, like History, Musical style etc., while biography text new lines are stripped. These stripped new lines can be "recovered" by replacing dot followed by two spaces with dot followed by two CRLF, i.e ". " -> ".\r\n\r\n". I'll do that later today and provide script, as there is no "sed" equivalent on Windows. Edit: Sooner than later, here is 6 line vbscript that renders as expected full last.fm bio: https://gist.github.com/aa2ada8bdc93144abd03 How to use it (if script is placed in foobar root folder): ![]() hi romor would you be so kind and explain exactly (if possible with pics) what i have to do to get your script running thank you |
|
|
|
Mar 4 2013, 09:33
Post
#584
|
|
![]() Group: Members Posts: 607 Joined: 16-January 09 Member No.: 65630 |
Step by step walkthrough:
1. download the script from provided link and save it in foobar's folder 2. In foobar's preferences navigate to "Biography Server" page and from "Available source list" listbox, add "Run External Script" item to the "Current source list" list box. Move it to the top with the "Up" button 3. In foobar's preferences "Run External Script" page, in Artist tab, type exactly what you see in quoted image -------------------- Scripts (mainly foobar2000 related): http://goo.gl/yje3h
|
|
|
|
Mar 4 2013, 10:04
Post
#585
|
|
|
Group: Members Posts: 27 Joined: 7-July 11 Member No.: 92107 |
Step by step walkthrough: 1. download the script from provided link and save it in foobar's folder 2. In foobar's preferences navigate to "Biography Server" page and from "Available source list" listbox, add "Run External Script" item to the "Current source list" list box. Move it to the top with the "Up" button 3. In foobar's preferences "Run External Script" page, in Artist tab, type exactly what you see in quoted image Thanks, works perfectly is it possible to get lastfm-bio in german ? |
|
|
|
Mar 5 2013, 10:52
Post
#586
|
|
|
Group: Members Posts: 1 Joined: 5-March 13 Member No.: 107028 |
Romor, thanks for the script, it works. Have you considered to creating a new script for displaying image, if something happens with the existing ones. Last.fm seems no longer safe.. Thanks and continue your good work...
|
|
|
|
Mar 5 2013, 11:04
Post
#587
|
|
![]() Group: Members Posts: 607 Joined: 16-January 09 Member No.: 65630 |
Don't remove Last.fm from "Current source list" and images should show fine. There is no need for workaround
-------------------- Scripts (mainly foobar2000 related): http://goo.gl/yje3h
|
|
|
|
Mar 6 2013, 17:41
Post
#588
|
|
![]() Group: Members Posts: 607 Joined: 16-January 09 Member No.: 65630 |
I updated last.fm biography script, as I noticed that it fails if artist name has non-ASCII character.
Problem was that unlike last.fm, echonest doesn't accept anything but UTF-8 encoded or ASCII query strings. Those that use version with text caching, should check if 0 length files are present because of this issue, and delete all. -------------------- Scripts (mainly foobar2000 related): http://goo.gl/yje3h
|
|
|
|
Mar 8 2013, 00:02
Post
#589
|
|
|
Group: Members Posts: 7 Joined: 23-February 13 Member No.: 106833 |
Thanks for the update, works even faster than standard foo_uie_biography now, thanks
This post has been edited by neons: Mar 8 2013, 00:20 |
|
|
|
Mar 14 2013, 10:10
Post
#590
|
|
|
Group: Members Posts: 22 Joined: 11-May 12 Member No.: 99730 |
Is it possible to add some effects when image change?
Would anyone update this plugin include this feature? |
|
|
|
Mar 14 2013, 10:46
Post
#591
|
|
![]() Group: Members Posts: 3261 Joined: 27-January 05 From: England Member No.: 19379 |
that won't happen. the component itself is closed source and all the image stuff is done internally.
the developer has not been seen in a long time. |
|
|
|
Mar 14 2013, 19:53
Post
#592
|
|
|
Group: Members Posts: 22 Joined: 11-May 12 Member No.: 99730 |
that won't happen. the component itself is closed source and all the image stuff is done internally. the developer has not been seen in a long time. Oh, right, this is why can't I found his original source... In the past, I think romor fork Biography view, and Biography view is open source. XD This post has been edited by matif: Mar 14 2013, 19:53 |
|
|
|
Mar 15 2013, 00:53
Post
#593
|
|
|
Group: Members Posts: 9 Joined: 13-February 12 From: Italy Member No.: 97125 |
Now it works LAST FM, how can I set the Italian language?
|
|
|
|
Mar 15 2013, 01:04
Post
#594
|
|
![]() Group: Members Posts: 3261 Joined: 27-January 05 From: England Member No.: 19379 |
you can't. this 3rd party site is English only.
This post has been edited by marc2003: Mar 15 2013, 01:05 |
|
|
|
Mar 15 2013, 01:20
Post
#595
|
|
|
Group: Members Posts: 9 Joined: 13-February 12 From: Italy Member No.: 97125 |
I changed the address but does not work ..
WScript.Echo Replace(Replace(.selectSingleNode("/response/biographies/biography/text[../site='last.fm']").text, ". ", "." & vbCrLf & vbCrLf), ". ", "." & vbCrLf & vbCrLf) |
|
|
|
Mar 15 2013, 01:36
Post
#596
|
|
![]() Group: Members Posts: 3261 Joined: 27-January 05 From: England Member No.: 19379 |
of course not. as i said before, the script is using a 3rd party site (the echonest) - http://developer.echonest.com/docs/v4/arti...tml#biographies
it only supports english. if you want to know why the script refers to "last.fm", look at this example server response.... http://developer.echonest.com/api/v4/artis...icense=cc-by-sa you'll see there are 2 bios provided by wikipedia and last.fm. the site=last.fm bit in the script selects only the last.fm article. This post has been edited by marc2003: Mar 15 2013, 01:40 |
|
|
|
Mar 15 2013, 10:50
Post
#597
|
|
|
Group: Members Posts: 9 Joined: 13-February 12 From: Italy Member No.: 97125 |
I understand, it would take a foo with a site like this http://www.enjoyyourstay.net/biografia-Renato_Zero-7463.html
Or some other solution. thanks |
|
|
|
Mar 18 2013, 13:41
Post
#598
|
|
|
Group: Members Posts: 35 Joined: 9-June 12 Member No.: 100550 |
I understand, it would take a foo with a site like this http://www.enjoyyourstay.net/biografia-Renato_Zero-7463.html Or some other solution. thanks This site does not use the last.fm biography, and that's what we want to use. if you want you can use already built in wikipedia and set your language there in: preferences>tools>biography server>wikipedia for now it's not possible to change language for last.fm with echonest, but it probably will be possible in the future.. |
|
|
|
Mar 18 2013, 16:07
Post
#599
|
|
![]() Group: Members Posts: 3261 Joined: 27-January 05 From: England Member No.: 19379 |
you could scrape data from just about any site if you have the skills. romor has already proven this with his allmusic script. but whether anyone would want to tackle that particular site is another matter entirely.
|
|
|
|
Mar 18 2013, 21:58
Post
#600
|
|
|
Group: Members Posts: 9 Joined: 13-February 12 From: Italy Member No.: 97125 |
This site does not use the last.fm biography, and that's what we want to use. if you want you can use already built in wikipedia and set your language there in: preferences>tools>biography server>wikipedia for now it's not possible to change language for last.fm with echonest, but it probably will be possible in the future.. Wikipedia has less information, I prefer last fm but no Italian. The Italian language is used shortly, I do not think that will be added to echonest you could scrape data from just about any site if you have the skills. romor has already proven this with his allmusic script. but whether anyone would want to tackle that particular site is another matter entirely. In fact, I asked you, I know you have the skills, but the problem is that the Italian is not in use, it takes someone who spends time |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 14:51 |