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 1399732 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

WSH Panel Mod script discussion/help

Reply #4225
marc2003, just changed those lines and it works fine. Thank you.

mire777, yep, the code works, but it downloads images "as is" - without file extensions.


Or we can add ".jpg" and then all images will be .jpg files. :]
Code: [Select]
p.run_cmd(this.vbs + " " + url + " " + file + ".jpg", false);


Don't know how this is in Marc script because i changed this line, yes just add ''.jpg'' and should be fine..

WSH Panel Mod script discussion/help

Reply #4226
but.... theaudiodb sucks. 

People get what they asked for...

BTW Nice to see you back with a new set of scripts.
(I see my lodash.js recommendation got to good use)

Why are issues posted here and not at github issue?
It would be better to monitor there.

As for releases you could point users to the latest master zip, since you dont have a development branch.
Cheers.

WSH Panel Mod script discussion/help

Reply #4227
I just noticed this awesome feature
Quote
Properties now splits multi-value tags so each one is clickable to create autoplaylists

I tried to do that some time ago then i relisted how hard is to make some text clickable in WSH panels and gave up

Can you please consider adding autoplaylists links feature in your Artist info panel 
It's too good feature to ditch

WSH Panel Mod script discussion/help

Reply #4228
Please help with :
Quote
// ==PREPROCESSOR==
// @import "%fb2k_profile_path%marc2003\common8.js"
// @name "Now Playing"
// @author "marc2003"

Maybe is hoped update it?

WSH Panel Mod script discussion/help

Reply #4229

WSH Panel Mod script discussion/help

Reply #4230
Can you please consider adding autoplaylists links feature in your Artist info panel 
It's too good feature to ditch


*cough*

Quote
I'm not taking feature requests and I'm not restoring any scripts or features missing from previous packages.




@seriousstas, i have no idea what would cause that error. besides, i'm not supporting older scripts.

WSH Panel Mod script discussion/help

Reply #4231
@seriousstas, i have no idea what would cause that error. besides, i'm not supporting older scripts.

Error - if choose Lastfm.ru BIO, but also stopped loading images from any server 
Can you recommend some alternative for loading pictures Artists?

WSH Panel Mod script discussion/help

Reply #4232
Error - if choose Lastfm.ru BIO, but also stopped loading images from any server 
Can you recommend some alternative for loading pictures Artists?


For images, edit script like this:

Code: [Select]
for (i = 0; i < data.length; i++) {
                        if (data[i].src.indexOf("http://img2-ak.lst.fm/i/u/60x60/") == 0) urls.push(data[i].src.replace("60x60", size == "low" ? "252x252" : size == "medium" ? "500x500" : size == "high" ? "_" : "_"));
                    }
        for (i = 0; i < Math.min(urls.length, th.limit, 5); i++) {
            url = urls[i];
            file = "\"" + f + p.artist.validate() + "_" + url.substring(url.lastIndexOf("/") + 1) + "\"";
            p.run_cmd(this.vbs + " " + url + " " + file + ".jpg", false);
        }
        doc.close();
    }


''low'', ''medium'', high'' - can be different in Marc script , so leave this unchanged..

WSH Panel Mod script discussion/help

Reply #4233
''low'', ''medium'', high''


i presume you've picked these values out of your rectum?? they're not even remotely close to anything i've ever put in my scripts.

WSH Panel Mod script discussion/help

Reply #4234
I'm using "JSPlaylist v1.3.2 for my foobar.

When I'm listening to the streaming radio, it shows "stream.png".
I'd like to change "stream.png" according to the radio stations.

For example,
when I'm listening to "Linn" radio stations, I'd like to use "linn.png".
(Linn Radio Address : http://89.16.185.174:8000/stream)

Please, give me some hints.

WSH Panel Mod script discussion/help

Reply #4235
''low'', ''medium'', high''


i presume you've picked these values out of your rectum?? they're not even remotely close to anything i've ever put in my scripts.


Why these values must be the same in my scripts as in yours?
I don't even have old scripts, i lost all my scripts and foobar settings.
You don't support your old scripts? So i was thought that i should help, or you think that i don't?
Surely I have better things to do than to waste my time..
I will not try to help anyone anymore in this thread..
This is your thread, and i'm glad that you come back with new scripts...

WSH Panel Mod script discussion/help

Reply #4236
you posting snippets from modified scripts isn't going to work for anyone using my old scripts. surely you must realise that. :/


 

WSH Panel Mod script discussion/help

Reply #4238
if you wanted to help, why not post the whole thing as a package? just use a different folder so it doesn't overwrite what people already have.

edit: ah bugger it, i've tried fixing up common8.js to get the new bio and images since the last.fm site change. because i don't keep old copies, i took this from a theme on deviantart and assume it wasn't modded. i haven't checked or tested any of my changes either...

https://gist.github.com/19379/4fd97632dd3defa366e0

WSH Panel Mod script discussion/help

Reply #4239
if you wanted to help, why not post the whole thing as a package? just use a different folder so it doesn't overwrite what people already have.

edit: ah bugger it, i've tried fixing up common8.js to get the new bio and images since the last.fm site change. because i don't keep old copies, i took this from a theme on deviantart and assume it wasn't modded. i haven't checked or tested any of my changes either...

https://gist.github.com/19379/4fd97632dd3defa366e0


I lost all scripts, even those I've worked on..
I pulled this from mediafire backup, if someone wants, this is old common8.js with thumbs, it saves images in folder ''Artist_Info'', so it wont mess with marc2003 folder.

https://gist.github.com/mire777/5463968b477b753e6d96

EDIT:  I forget , there should be this file in foobar folder also: https://gist.github.com/mire777/a1b391ff4426039d704b




WSH Panel Mod script discussion/help

Reply #4242
blaxima, "Musicbrainz now requires a musicbrainz artist id tag in your files. It no longer performs artist lookups if it's missing".


And I have a question about Small Web Links. Is it possible to show only necessary icons/links?

WSH Panel Mod script discussion/help

Reply #4243
blaxima, "Musicbrainz now requires a musicbrainz artist id tag in your files. It no longer performs artist lookups if it's missing".


And I have a question about Small Web Links. Is it possible to show only necessary icons/links?


Careless of me, I only read the last.fm stuff thinking that was the only real change. Thank you for pointing that out.

Too bad though since foo_musicbrainz requires the entire album to work

WSH Panel Mod script discussion/help

Reply #4244
edit: ah bugger it, i've tried fixing up common8.js to get the new bio and images since the last.fm site change. because i don't keep old copies, i took this from a theme on deviantart and assume it wasn't modded. i haven't checked or tested any of my changes either...

https://gist.github.com/19379/4fd97632dd3defa366e0


this link is dead now because i just tried testing it and it didn't work. i can't be bothered to figure out why.

WSH Panel Mod script discussion/help

Reply #4245
Can anyone help me fixing marc2003's Last.fm playcount sync script?

When trying to do a library import, only loved tracks are updated. Updating of play counts fails with the message

Code: [Select]
Last.fm Playcount Sync: {"error":3,"message":"Invalid Method - No method with that name in this package"}


Thanks!

WSH Panel Mod script discussion/help

Reply #4246
Error - if choose Lastfm.ru BIO, but also stopped loading images from any server 
Can you recommend some alternative for loading pictures Artists?


For images, edit script like this:

Code: [Select]
for (i = 0; i < data.length; i++) {
                        if (data[i].src.indexOf("http://img2-ak.lst.fm/i/u/60x60/") == 0) urls.push(data[i].src.replace("60x60", size == "low" ? "252x252" : size == "medium" ? "500x500" : size == "high" ? "_" : "_"));
                    }
        for (i = 0; i < Math.min(urls.length, th.limit, 5); i++) {
            url = urls[i];
            file = "\"" + f + p.artist.validate() + "_" + url.substring(url.lastIndexOf("/") + 1) + "\"";
            p.run_cmd(this.vbs + " " + url + " " + file + ".jpg", false);
        }
        doc.close();
    }


''low'', ''medium'', high'' - can be different in Marc script , so leave this unchanged..

Thanks!

WSH Panel Mod script discussion/help

Reply #4247
Can anyone help me fixing marc2003's Last.fm playcount sync script?


the last.fm API is amazingly broken at the moment so there is nothing i or anyone else can do about it.

WSH Panel Mod script discussion/help

Reply #4248
the last.fm API is amazingly broken at the moment so there is nothing i or anyone else can do about it.

Thanks for taking the time to reply!

So I take it there's hope the script will be working once against after the "temporary service disruptions" associated with the new site launch have passed.

EDIT: Moreover, it's great that you've decided to put your scripts back online for the time being

WSH Panel Mod script discussion/help

Reply #4249
I'm using "JSPlaylist v1.3.2 for my foobar.

When I'm listening to the streaming radio, it shows "stream.png".
I'd like to change "stream.png" according to the radio stations.

For example,
when I'm listening to "Linn" radio stations, I'd like to use "linn.png".
(Linn Radio Address : http://89.16.185.174:8000/stream)

Please, give me some hints.

To use stream logo's as artwork here is how I got it setup.

Create a folder stream-logo and rename the logo according to $crc32($lower(%path%))

e.g For http://89.16.185.174:8000/stream the filename is 2315402056.png



Setup Preferences > Display as below




For jsPlaylist to show the logo as the cover modify the script lines 708-722 as below.
Code: [Select]
//      if(track_type!=3) {
            if(metadb) {
                img = FormatCover(image, pw, ph, cover.draw_glass_reflect, false);
                if(!img) {
                    //img = (cGroup.type == 1) ? images.noartist : images.nocover;
                    img = null;
                    cover.type = 0;
                }; else {
                    cover.type = 1;
                };
            };
//      }; else {
//          img = images.stream;
//            cover.type = 3;
//        };