Skip to main content

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

0 Members and 1 Guest are viewing this topic.
  • marc2003
  • [*][*][*][*][*]
[Not my release] Biography view
Reply #400
in place of each instance of %artist%

  • maXelo
  • [*]
[Not my release] Biography view
Reply #401
Thank you so much!!!....I have been using fb2k for about 4 years now, for little things like this, is that is simple the best player out there.

  • wdekler
  • [*][*][*]
[Not my release] Biography view
Reply #402
I just found a simple fix for the problem with incomplete texts from allmusic when an accent is in the text: set the character code of the external script to UTF16. 

  • Quitch
  • [*][*]
[Not my release] Biography view
Reply #403
Only just been introduced to this plugin and I must say that it rocks.

I have a few of questions:

  • Caching seems to be on by default but no path is specified, is a default location used or is caching non-functional until you pick a location or choose another option?
  • What is Core Image Stub?
  • What does Lock Display Type do?
  • Last Edit: 02 October, 2011, 05:47:33 PM by Quitch

  • taxstin
  • [*]
[Not my release] Biography view
Reply #404
The foobar2000 skin I was using used to show "Related Artists and Listeners" in the biography section as seen here

http://browse.deviantart.com/customization...rder=9#/d2ivwfv

But all of a sudden it doesn't show that anymore. It just disappeared. Does anyone know if this is bc of an outdated component or something? I don't get why it would disappear like that.

  • Quitch
  • [*][*]
[Not my release] Biography view
Reply #405
I have two panels, one for album and one for artist. Every so often the album panel switches to artist instead. This seems to occur when both LastFM and Wikipedia fail to turn up results (though using Built-In Artwork is my third and final server option).

Anyone else seen this?

  • WilB
  • [*][*][*][*]
[Not my release] Biography view
Reply #406
Try right click menu > options > lock display type

  • Quitch
  • [*][*]
[Not my release] Biography view
Reply #407
Thanks, I'll give that a whirl.

  • matav
  • [*][*][*]
[Not my release] Biography view
Reply #408
@ssenna
hi,
i love your component and have been using it ever since i switched to foobar.
i just hope you are still checking this thread and are open to feature requests.

my biography panel is set up properly.
i save
1. artist info and pic to x:\lastfm\%artist%\%artist%
2. album info and pic to x:\lastfm\%artist%\%album%\%album%
i use a columns UI text viewer to display the playcount and similar artist list by %lastfm_similar_artist% and %lastfm_artist_playcount% provided by your component.
everything is great!

i'd like to request a few features and improvements (though they have been requested previously) but anyways...
Kindly:

1. Add support for retrieving tags from last.fm (the top 5 tags). It will be same method as it was for playcount and similar artist.

2.Do something about the delay in refreshing the display
It takes a very long time to change. it will still display the artist i played half an hour ago!
I have noticed this happens when:
> it's downloading high resolution images from last.fm so it kinda clogs your component.
example: say, i play a new artist and the 3 images on last.fm are 10+mb. your component begins to download it but in the meantime, i play another artist but the display will not refresh until it downloads the previous artists images.
> this also happens when my network is overloaded and i haven't kept aside any speed for normal browsing

3. When search cache after online search is unchecked, the component should check local cache first and...
> if the cache exists then no need to request the online source at all
> if cache exists but cache is old then (stop display: if it causes locking issues) and download the latest info.
> if cache doesn't exist, then request online sources (obviously)
The problem here is, i believe it checks the online source even when local cache exists and is up to date.

sorry for the trouble
hope you get my message


EDIT:
oh! one more thing.
in server preferences > last.fm | Artist > "Artist picture criteria", the option "Popurarity" is misspelled. It should be "Popularity"
but it's no big deal.

--
foobar2000 v1.1.9 | Columns UI v0.3.8.8 | Biography View v0.4.2.4.2
  • Last Edit: 09 November, 2011, 06:45:50 AM by matav
try my portable foobar theme -- eXdb v4d
http://bit.ly/matavfb

  • godrick
  • [*][*][*][*]
[Not my release] Biography view
Reply #409
I'm using the review script generously provided in post #387, and it seems to work very well a great deal of the time, but probably one out of ten albums I receive the reply of "No review was found for..." for an album and album artist combination that I can verify is reviewed at allmusic.  I don't think I've done anything incorrectly in my script call because everything works perfectly the other 90% of the time, and I believe that I have properly tagged my file and accurately passed the proper album artist and album tags to the script, based on what the script returns and what I find at allmusic.  I have the character codes set to UTF8.  I also treid UTF16 but nothing changed for the missing reviews.

Example albums that fail for which there are reviews at allmusic but no review found by the script:

Peter Gabriel's Security
Pink Floyd's Animals

For both Peter Garbriel and Pink Floyd, the script successfully returns reviews for other albums.

any suggestions?  thanks
  • Last Edit: 12 November, 2011, 02:34:03 PM by godrick

  • romor
  • [*][*][*][*][*]
[Not my release] Biography view
Reply #410
Both albums:

http://allmusic.com/search/album/animals
http://allmusic.com/search/album/security

have multiple releases. Script tries to find first match for Artist and Album and they does not have review, so this thing can happen on such popular albums, which is no good.
Script can be changed a bit to crawl all matches for review if multiple matches are found, and I'll try that when I boot in Windows in near future

  • godrick
  • [*][*][*][*]
[Not my release] Biography view
Reply #411
A belated thanks for looking into picking a match that has a review.  On a related note, I notice frequently when the script does pull down a review from allmusic, the bottom of the review is incomplete.  It seems to be related to allmusic's habit of only displaying part of a review and forcing a user to hit a "read more" button on their site to display the full reivew.  This also happens with the related allmusic script for pulling down artist biographies.  If there is a way to tweak the allmusic script in post #387 and the related script for artist information to simulate hitting that button or working around it, that would be great.
  • Last Edit: 25 November, 2011, 06:12:41 AM by godrick

[Not my release] Biography view
Reply #412
Biography view works great for me, but I confirm that it is incompatible with foo_w7shell.  Guess I'll use the system tray instead.
  • Last Edit: 27 November, 2011, 01:06:28 PM by Morality124

  • culinko
  • [*][*]
[Not my release] Biography view
Reply #413
hi guys. i have to say that this is an awesome plugin! but i just switched from an old version to current version and have one simple question. is it any possibility to hide the scrollbar? didn't find it anywhere, big thanks.

  • godrick
  • [*][*][*][*]
[Not my release] Biography view
Reply #414
In case this helps any script developer, I just noticed that the allmusic bio of Loreena McKennitt ( http://www.allmusic.com/artist/loreena-mckennitt-p104319 ) displayed by this component exhibits a behavior I had not noticed before in this component (doesn't mean it hasn't been happening - I don't consider myself the most observant person by a long shot)

- The scripts posted in #387 and #395 both deliver text beyond the "read more" limit
- Both scripts chop the text at the same point: after the letter "c" in the first instance of "fiance"

Doing some counts, this point represents 285 words, 2012 characters not including space or line breaks, 2401 characters with spaces and paragraph breaks (and includes a count of three for the three paragraph breaks recognized by script from post #395).  Hope that means something or otherwise helps.

  • romor
  • [*][*][*][*][*]
[Not my release] Biography view
Reply #415
OK, sorry it took me so long to boot in Windows

This rev. will resolve problems on popular releases as Pink Floyd - Animals: http://pastebin.com/jNNg3g5G

Here is diff: http://pastebin.com/t6Y0uMc9

regex pattern slightly changed to defend from possible garbage, and simple indicator added for crawling reported problematic releases.

About your last post, I guess it's something to do with character encoding and I hope it's nothing to do with this script. Best, try to change encodings in biography setting and see if it will resolve

Cheers
  • Last Edit: 01 December, 2011, 03:51:48 PM by romor

  • culinko
  • [*][*]
[Not my release] Biography view
Reply #416
about hiding the scrollbar issue in #415, sorry, the option was there right in front of me... didn't see it the first time lol
  • Last Edit: 01 December, 2011, 06:26:34 PM by culinko

  • godrick
  • [*][*][*][*]
[Not my release] Biography view
Reply #417
Great job, Romor - thanks very much!  Reviews for popular albums are now being found, and switching to ANSI dealt with the e with grave at end of "fiancè" that I should have noticed.

  • culinko
  • [*][*]
[Not my release] Biography view
Reply #418
just two more questions/requests:

is it possible to not to write the file, if no %album% tag is found? (for the album option)
is it possible to clear the panel if you switch to a new song? because now the previous info is still displayed for about 5-10 secs

many thanks

  • romor
  • [*][*][*][*][*]
[Not my release] Biography view
Reply #419
here is more sane script, without naive indicator: http://pastebin.com/4iNt6zXb

  • godrick
  • [*][*][*][*]
[Not my release] Biography view
Reply #420
Not being knowledgeable of scripting beyond some very simple things, if the new script was intended to just return one review result instead of concatenating several reviews, then it works as you intended!  I'll probably keep both versions because sometimes seeing the different reviews can be interesting.

Related to my scripting deficiencies, I've tried to tweak your script for something and I've failed.  I have lots of albums with parenthetical information in the album title, like "(Disc 1 of 2)" to ensure I have unique album names for each disc I ripped, but because the review sites don't care about such matters, my album names with such text don't return review results.  There is probably a regular expression to ignore parentheses and the contents within in an album tag, but it's beyond me.  If you get some time it would be great to add the ability to ignore such text in the album tag, or tell me what to put where to mod it myself.

If there is another way to do this with existing functionality that I missed without creating a new tag, please let me know as well.  Thanks!

  • romor
  • [*][*][*][*][*]
[Not my release] Biography view
Reply #421
Yea, Godrick that was the problem :-[ That indicator needed to be reset, or you'll get all reviews for particular ARTIST - ALBUM combination. And indicator wasn't really needed as main 'For' loop can be exited from anywhere and there was a perfect place for it. I should have thought this in first version but I didn't noticed possibility for this problem.

If you want to tweak things to you preference here is VBS reference: http://msdn.microsoft.com/library/d1wf56tt.aspx or better here: http://www.w3schools.com/vbscript/vbscript_ref_functions.asp

About you problem, look at line 12 in script:

ALBUM = ARGS.Item(1)

You can strip string part in brackets by replacing simple regex pattern "\([^\)]*\)", but here is different way (replace line 12 with it): http://pastebin.com/MUaLELky

You can use other functions, like instead more general Mid() use Left() etc.
  • Last Edit: 02 December, 2011, 02:49:57 PM by romor

  • godrick
  • [*][*][*][*]
[Not my release] Biography view
Reply #422
Romor, thanks again.  I like your suggested script insert because it's far easier to follow and remember than the regex pattern.  For quite a while tonight I thought I screwed up entering the few lines, but it appears that the garbage results I was viewing in the component using my test album was a result of garbage among the reviews of Pink Floyd's The Wall on allmusic.  I entered echo lines to confirm script values to ensure I knew what the script was returning and I found the VBS links very helpful.  I can now get reviews for many albums that I could not get before, and I recommend it for anyone who has parenthetical information in their album names.  Awesome job!
  • Last Edit: 02 December, 2011, 06:43:04 PM by godrick

  • romor
  • [*][*][*][*][*]
[Not my release] Biography view
Reply #423
Updated allmusic script: http://pastebin.com/FCtBZvrs

As mentioned long ago I merged allmusic Review and Biography (with discography match) in one script. It's interesting that I could get both fields in one pass (either Biography from Review and vice versa), but no use in practice as component must execute each separately.

Assuming script is in scripts folder relative to foobar folder:

Artist tab: cscript //NoLogo scripts\foo_allmusic.vbs "%album artist%" "%album%" bio
Album tab: cscript //NoLogo scripts\foo_allmusic.vbs "%album artist%" "%album%"

Double click on biography panel toggles display

Here is what's changed for those that are interested:

Most important - how to ensure that it's right artist in case of multiple artists with same name or in general. I think best way is to find current playing album in allmusic's artist discography and that's what I did like this: there is relevant chance that album name is different than the one on artist's allmusic discography, which is not connected neither with Discogs nor with MusicBrainz so using simple string match like InStr() will make thing worse for all artists instead resolve anything, and yet another regex is used this way - allmusic' album name and user's album name are stripped from non alphabetic characters then user's album name is matched inside allmusic album name; if true, biography is echoed if present otherwise not.
In case this feature is not wanted just comment lines 93 and 111

Similarly for review, album name is checked even if it's not 100% relevant (currently >= 90%) in which case script will additionally echo artist/album combination and relevancy. If it's 100% artist/album is not echoed, but just review.

Also ActiveX object is changed to more general (Microsoft.XMLHTTP) so it should work on Linux too (in Wine) without problems

And there may be issues as I just merged it, and tested on couple of releases. It looks fine to me, but if there are problems do report
  • Last Edit: 05 December, 2011, 04:40:59 AM by romor

  • Emerelle
  • [*][*][*]
[Not my release] Biography view
Reply #424
One question about versions:
I just checked the online troubleshooter and for biography view it tells me to download the latest version but the version at the page is exactly the one I have installed 
Can anyone shed light on this?