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: WSH Panel Mod script discussion/help (Read 1507172 times) previous topic - next topic
0 Members and 11 Guests are viewing this topic.

WSH Panel Mod script discussion/help

Reply #3600
Hello Everyone, I thought you guys could help me.


Im not totally sure if my question has to do with WSH but i'll give it a try.


See, I just flipped an old monitor to portrait and now my foobar skin displays the artworks like this.


How could I Make it fill the whole screen? or at least be centered?


The Skin, btw, is JAM v1.2 .


Thanks!

WSH Panel Mod script discussion/help

Reply #3601
to get any help here, you really need to post a bit of code you need help with, not vague details of some theme you're using. expecting someone to find, download, install and then pick apart a 3rd party's work is a bit much -especially when you don't even know what component it is. it could just as easily be panel stack splitter. what you're asking should be possible but i think you'd be better off asking the theme author.

WSH Panel Mod script discussion/help

Reply #3602
The latest version seem to be crashing?

Code: [Select]
Scripting Engine Initialization Failed (Last.fm Playcount Sync by marc2003, CODE: 0x80020101)
Check the console for more information (Always caused by unexcepted script error).

WSH Panel Mod (Last.fm Playcount Sync by marc2003): Parsing file "C:\Users\xs\AppData\Roaming\foobar2000\marc2003\common8.js"
Error: WSH Panel Mod (Last.fm Playcount Sync by marc2003): Microsoft JScript runtime error:
'undefined' is null or not an object
File: C:\Users\xs\AppData\Roaming\foobar2000\marc2003\common8.js
Ln: 1575, Col: 2
<source text only available at compile time>

WSH Panel Mod script discussion/help

Reply #3603
oh balls, that is my mistake. you'll have to download this fixed version manually because i can't access my dropbox account on the internet i'm using.

http://marc2003.x10host.com/common8.js

WSH Panel Mod script discussion/help

Reply #3604
Cheers, that fixed it. 

WSH Panel Mod script discussion/help

Reply #3605
Hey Marc,

Thanks for all of your hard work and the great scripts.  Really makes FB2k more enjoyable!

Now a question... in the latest versions of your Last.fm Charts script, the 'Refresh' command is no longer on the right-click context menu.  Would it be possible to add it back, or better yet, is it possible to have the charts update automatically after each song change?

Perhaps I missed something.

Thanks!

WSH Panel Mod script discussion/help

Reply #3606
sorry but i won't be making any changes to current behaviour.

if you want to see artist plays update in real time then use a combination of foo_playcount + foo_facets. just add a statistics column to an artist pane.

WSH Panel Mod script discussion/help

Reply #3607
sorry but i won't be making any changes to current behaviour.

if you want to see artist plays update in real time then use a combination of foo_playcount + foo_facets. just add a statistics column to an artist pane.


I monkeyed with "last.fm charts.txt" a bit by incorporating items from "last.fm & wikipedia biography.txt" and got it updating the charts after each song change.  If anybody wants a live chart they can modify the latest version by:

changing line 7 to:
Code: [Select]
var p = new panel("Last.fm Charts", ["metadb", "remap"]);


insert this line below line 10:
Code: [Select]
p.item_focus_change();


insert this at line 27:
Code: [Select]
function on_metadb_changed() {
    li.metadb_changed();
}







WSH Panel Mod script discussion/help

Reply #3609
Hi,
I got this error in foobar2000 v1.3.7:
Quote
Scripting Engine Initialization Failed (Discogs by marc2003, CODE: 0x80020101)
Check the console for more information (Always caused by unexcepted script error).

which -I guess- comes up, because the new "sample8.zip" file doesnt include a "discogs.txt" file.

I did an update from common7.js to common8.js and to all the scripts I use(d), but unfortunately, this one, isnt updateable?

Anyone any advice on how to use the script "discogs.txt"? Or is it not needed anymore and has to be replaced with some other script?

Console shows this:
Code: [Select]
[02:53:05] WSH Panel Mod (Last.fm Charts by marc2003): Parsing file "E:\foobar2000\marc2003\common8.js"
[02:53:05] WSH Panel Mod (Last.fm Charts by marc2003): initialized in 52 ms
[02:53:05] WSH Panel Mod (Autoplaylists by marc2003): Parsing file "E:\foobar2000\marc2003\common8.js"
[02:53:05] WSH Panel Mod (Autoplaylists by marc2003): initialized in 40 ms
[02:53:07] Filter Panel - Discogs: Label: initialised in 1.976 s
[02:53:07] WSH Panel Mod ({0CA26A59-6FE9-4B0A-9A8F-AB8AF7AAA4A1}): initialized in 1 ms
[02:53:07] WSH Panel Mod (Last.fm Similar Artists by marc2003): Parsing file "E:\foobar2000\marc2003\common8.js"
[02:53:07] WSH Panel Mod (Last.fm Similar Artists by marc2003): initialized in 50 ms
[02:53:07] Error: WSH Panel Mod (Discogs by marc2003): Parsing file "E:\foobar2000\marc2003\common7.js": Failed to load
[02:53:07] Error: WSH Panel Mod (Discogs by marc2003): Laufzeitfehler in Microsoft JScript:
'panel' ist undefiniert
File: <main>
Ln: 9, Col: 1
<source text only available at compile time>
[02:53:07] WSH Panel Mod (Musicbrainz by marc2003): Parsing file "E:\foobar2000\marc2003\common8.js"
[02:53:07] WSH Panel Mod (Musicbrainz by marc2003): initialized in 25 ms
[02:53:07] WSH Panel Mod (Last.fm Similar Artists by marc2003): Parsing file "E:\foobar2000\marc2003\common8.js"
[02:53:07] WSH Panel Mod (Last.fm Similar Artists by marc2003): initialized in 13 ms
[02:53:07] WSH Panel Mod (Last.fm Similar Artists by marc2003): Parsing file "E:\foobar2000\marc2003\common8.js"
[02:53:07] WSH Panel Mod (Last.fm Similar Artists by marc2003): initialized in 11 ms
[02:53:07] WSH Panel Mod (Last.fm Similar Artists by marc2003): Parsing file "E:\foobar2000\marc2003\common8.js"
[02:53:07] WSH Panel Mod (Last.fm Similar Artists by marc2003): initialized in 12 ms
[02:53:08] User Interface initialized in: 0:02.509380

WSH Panel Mod script discussion/help

Reply #3610
Ohhhh, so you have your own thread! That explains not getting response on DA.

I'm running a theme that uses your star script, but instead of a 5 scale system I want to use 10 stars. I figured out how to add them on ELPlaylist, but not what part of the script I need to modify to change the 5 stars at the bottom for 10. I asked the guy that made the theme, but he said I should ask you since you made the script. This is what appears when you right click > configure those 5 stars.


WSH Panel Mod script discussion/help

Reply #3611
Bonjour tout le monde, de france :
" LAst-fm charts" and "similar artists" are down since update !!
What can i Do ?
thanks

WSH Panel Mod script discussion/help

Reply #3612
i can't update my dropbox so download the fixed file from here and save it in your marc2003 folder.

http://marc2003.x10host.com/common8.js

@Drakebad, delete this line near the bottom on the panel script c.lbtn_dblck(x, y);

@fuffi, discogs no longer works because of changes they made to their webservices. musicbrainz does the same thing if you want to try it.

@firewater, i do respond to people on DA but you've made no attempt to contact me. i'll look at your problem in the week because i can't check your links now (censored internet!)

WSH Panel Mod script discussion/help

Reply #3613
thanks Marc2003,
but i already done this update and paste common8.js , and "Lastfm charts" and "similar artist" only give white screen, "Now playing " works fine ....

WSH Panel Mod script discussion/help

Reply #3614
!

thanks Marc2003,
but i already done this update and paste common8.js , and "Lastfm charts" and "similar artist" only give white screen, "Now playing " works fine ....

I delete old WHS data, and it's ok now , thanks for this great job !

Just one question, is it possible to have more than 50 artists in lastfm chart ?
thanks

WSH Panel Mod script discussion/help

Reply #3615
Thank you marc2003, now i have only :

function on_mouse_lbtn_dblclk(x, y) {
      if (th.lbtn_dblclk(x, y)) return;
}

WSH Panel Mod script discussion/help

Reply #3616
marc2003,
Use your script that would take bio with last.fm, but there is a problem:
sometimes does not download bio, recorded an empty file: bio.www.lastfm.ru.txt
and that would be to upload a bio, you have to manually delete the file, and then downloaded bio. This is not often, but it happens !.
I would like to make a button pressed downloaded \ overwritten bio - tell me how to do so.

WSH Panel Mod script discussion/help

Reply #3617
@fuffi, discogs no longer works because of changes they made to their webservices. musicbrainz does the same thing if you want to try it.

Thank you marc2003,
I tried the MB, but it only offers "Links" and "releases".

I cannot find a "similar artists", "Top Tracks", or "Top Albums" option here.

Where should I go or what do I need to change to use MB as a DG replacement with your Scripts? Now, its seems to be only a rudimental alternative, which I may fail to configure correctly.
(I also dl the common8.js you've linked above and it updated the file I downloaded the day before yesterday from your webpage, but with no success)

WSH Panel Mod script discussion/help

Reply #3618
@zsoft. downoad this and save it in your marc2003 folder. you should now have a refresh option on the right click menu. it only works in last.fm mode.

http://marc2003.x10host.com/common8.js

@fuffi, discogs only ever showed releases which is why i suggested musicbrainz as an alternative. it looks like you've got them confused with last.fm similar artists which does contain all the other feeds you listed. make sure you have the common8.js linked directly above as i've had to set a new api key.

edit: if people have any problems with last.fm similar artists or charts displaying blank pages because of the api key changes, do the following:

browse wsh_data\charts and delete all files.
browse wsh_data and search for and delete all files named artist*.json (the star is a wildcard supported by windows explorer)
lastly, clear all temporary internet files in internet explorer.

WSH Panel Mod script discussion/help

Reply #3619
Marc2003
Is it possible to have more than 50 artists in lastfm Charts ?
thanks

WSH Panel Mod script discussion/help

Reply #3620
it's now set to 100. use the download link above/instructions for clearing old files.

 

WSH Panel Mod script discussion/help

Reply #3622
I don't understand white page with the new common8.js !!!!!
Even after delete all data in WSH-data ....


WSH Panel Mod script discussion/help

Reply #3624
I don't understand white page with the new common8.js !!!!!
Even after delete all data in WSH-data ....


which script/setting/artist? can you right click the panel>open containing folder and check the contents of the file it's pointing to.

depending on what you're trying to look at, there is no guarantee that you'll get results on everything. if it's last.fm charts, the one month track option does not work. this is a problem at last.fm's end.