IPB

Welcome Guest ( Log In | Register )

26 Pages V  « < 24 25 26  
Reply to this topicStart new topic
[Not my release] Biography view
Propheticus
post Apr 9 2013, 17:53
Post #626





Group: Members
Posts: 121
Joined: 10-September 11
Member No.: 93615



looks like you didnt select the UTF-16 option when adding the external script.
Go to the top of the page
+Quote Post
romor
post Apr 9 2013, 18:02
Post #627





Group: Members
Posts: 607
Joined: 16-January 09
Member No.: 65630



QUOTE (foomark @ Apr 9 2013, 18:09) *
QUOTE (romor @ Apr 9 2013, 16:18) *
@foomark: maybe try with absolute path to script file: `cscript //nologo "c:\...\lastfm_bio.vbs" ...`


ohmy.gif
i tried this method and the result is ....


That's OK
Just add '//U' switch before the script path


--------------------
Scripts (mainly foobar2000 related): http://goo.gl/yje3h
Go to the top of the page
+Quote Post
foomark
post Apr 9 2013, 21:24
Post #628





Group: Members
Posts: 38
Joined: 12-July 11
Member No.: 92213



QUOTE (romor @ Apr 9 2013, 18:02) *
QUOTE (foomark @ Apr 9 2013, 18:09) *
QUOTE (romor @ Apr 9 2013, 16:18) *
@foomark: maybe try with absolute path to script file: `cscript //nologo "c:\...\lastfm_bio.vbs" ...`


ohmy.gif
i tried this method and the result is ....


That's OK
Just add '//U' switch before the script path


First i want to say thank you not only for the script but also for your patience...
But there must be something "wrong" in my F2K configuration, cause i really can't get it to work.

The command i wrote is exactly: cscript //U //nologo "C:\Users\myfolders\foobar2000\lastfm_bio.vbs" "$meta(artist,0)"
via standard output
UTF16

But my BIO panel is always empty unsure.gif
Go to the top of the page
+Quote Post
romor
post Apr 9 2013, 21:58
Post #629





Group: Members
Posts: 607
Joined: 16-January 09
Member No.: 65630



You are welcome, foomark smile.gif

I think that I've read somewhere about changes in Windows 8 in regard to UTF-16 and scripting, thou I'm not sure what was it exactly and when this issue occurs, as it seems it doesn't occur with every Windows 8 version.

I'll suggest you try without '\\U' switch and at the same time set "Character code" to ANSI

This post has been edited by romor: Apr 9 2013, 21:58


--------------------
Scripts (mainly foobar2000 related): http://goo.gl/yje3h
Go to the top of the page
+Quote Post
foomark
post Apr 10 2013, 08:11
Post #630





Group: Members
Posts: 38
Joined: 12-July 11
Member No.: 92213



I think i tried every single combination of the script and character code but this...

QUOTE (romor @ Apr 9 2013, 21:58) *
You are welcome, foomark smile.gif

I think that I've read somewhere about changes in Windows 8 in regard to UTF-16 and scripting, thou I'm not sure what was it exactly and when this issue occurs, as it seems it doesn't occur with every Windows 8 version.

I'll suggest you try without '\\U' switch and at the same time set "Character code" to ANSI


...seems to actually work!!! smile.gif Thank you so much!!

since i'm here i would like to ask you guys also another thing or two regarding the script...
1)Would it be possible to use other languages? I mean...if it's easy ok, if the whole script need to be re-written...it doesn't matter. wink.gif
2)Is there a way to have, like it is in the original LastFm component, also the pictures of the artist?? I use DarkOne and the BIO panel is splitted in two, 50% for the bio and 50% for the pictures, that with this script stay empty.

Thank you again!!
Go to the top of the page
+Quote Post
romor
post Apr 10 2013, 10:45
Post #631





Group: Members
Posts: 607
Joined: 16-January 09
Member No.: 65630



1. It's not possible at the moment, because provider (echonest) indexed only English version of Last.fm biographies

2. To have images, just leave Last.fm entry in "Current source list", and leave it at the bottom of the list


--------------------
Scripts (mainly foobar2000 related): http://goo.gl/yje3h
Go to the top of the page
+Quote Post
foomark
post Apr 10 2013, 10:59
Post #632





Group: Members
Posts: 38
Joined: 12-July 11
Member No.: 92213



QUOTE (romor @ Apr 10 2013, 10:45) *
1. It's not possible at the moment, because provider (echonest) indexed only English version of Last.fm biographies

2. To have images, just leave Last.fm entry in "Current source list", and leave it at the bottom of the list


Ok thank you, the second tip works perfectly wink.gif
Go to the top of the page
+Quote Post
mjm716
post Yesterday, 16:35
Post #633





Group: Members
Posts: 82
Joined: 27-May 10
Member No.: 80935



QUOTE (romor @ Dec 6 2011, 11:52) *
To avoid fragmentation, script can be viewed here: http://db.tt/erPq5XpB and downloaded from here: http://db.tt/RnrNrwQ3
Any further changes will reflect there without using pastebin


I was without internet the past day and realized that the recent script (13.11.2012) no longer pulled items from the cache anymore.

When I looked into the problem, I realized my foo_allmusic.xml file which is about 22MB, had not been updated for some time. When I removed the file from the FB directory and resumed playing, a new file was created and the data saved correctly. I disabled my internet and tested with the new file and data was displayed from the cache, so things are referenced and working properly.

There doesn't seem to be an inherent XML file size/# of records limit in windows. I also checked the large XML file's structure and did not find any problems (open/close tags matched); and the last record had no strange characters.

Does anyone have any ideas?

update: figured it out - was an XML error in the file. FYI, I found this app to check it: http://download.cnet.com/XML-Validator/300...4ca43ec2e8b593b



This post has been edited by mjm716: Yesterday, 17:25
Go to the top of the page
+Quote Post

26 Pages V  « < 24 25 26
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd May 2013 - 17:09