IPB

Welcome Guest ( Log In | Register )

137 Pages V  « < 76 77 78 79 80 > »   
Reply to this topicStart new topic
WSH Panel Mod script discussion/help
marc2003
post Dec 14 2012, 10:50
Post #1926





Group: Members
Posts: 4751
Joined: 27-January 05
From: England
Member No.: 19379



QUOTE (kaloian79 @ Dec 13 2012, 23:08) *
I have one silly problem - i can't add user picture for genre in the script - now playing with last.fm bio. place help me. tenx.


i'm not really sure what you're asking. can you clarify?

QUOTE (neothe0ne @ Dec 14 2012, 04:28) *
(I want it to select my SimPlaylist instead of my ElPlaylist). Is this possible?


simplaylist is default UI only and ELPlaylist is columns UI only. perhaps you meant ESPlaylist?

but i don't even know why i'm asking - it's not possible either way. tongue.gif
Go to the top of the page
+Quote Post
neothe0ne
post Dec 14 2012, 11:36
Post #1927





Group: Members
Posts: 296
Joined: 25-September 05
Member No.: 24684



I exploded my foobar2000 into pieces via Popup Panels but left the main window on Default UI for Facets (unfortunately the instance of Facets has to be recreated in a dozen seconds every time you reopen Facets...)

likewise I was hoping to use SimPlaylist's Search window, because I prefer it's custom search window over the default
Go to the top of the page
+Quote Post
marc2003
post Dec 14 2012, 11:42
Post #1928





Group: Members
Posts: 4751
Joined: 27-January 05
From: England
Member No.: 19379



perhaps you could place ELplaylist popup panel over simplaylist to hide it?? probably a bit ugly though. tongue.gif

Go to the top of the page
+Quote Post
morphguy12
post Dec 15 2012, 17:30
Post #1929





Group: Members
Posts: 95
Joined: 6-February 07
Member No.: 40359



Marc You are awesome!!!
Thanks so much!!

Definitely appreciate it!
Go to the top of the page
+Quote Post
garbanzo.bean
post Dec 15 2012, 18:38
Post #1930





Group: Members
Posts: 267
Joined: 25-September 08
Member No.: 58627



marc2003, your thumbs config changed recently. it used to center the image, center the thumbs, add arrows for scrolling through thumbs...

now it's very plain.

any plans on bringing back the nicer version?
Go to the top of the page
+Quote Post
garbanzo.bean
post Dec 15 2012, 23:57
Post #1931





Group: Members
Posts: 267
Joined: 25-September 08
Member No.: 58627



also, i'm still having trouble with your biography script crashing now and then. certain artists always make it crash, like Massive Attack and They Might Be Giants...

CODE
Error: WSH Panel Mod (Last.fm Biography by marc2003): Microsoft JScript compilation error:
Syntax error
File: D:\Apps\No Install\Audio\Players\foobar2000 DUI\marc2003\common6.js
Ln: 2509, Col: 6
<source text only available at compile time>
Go to the top of the page
+Quote Post
neothe0ne
post Dec 16 2012, 02:59
Post #1932





Group: Members
Posts: 296
Joined: 25-September 05
Member No.: 24684



Is it possible to fb.RunMainMenuCommand while simulating the SHIFT key?

(I can get the behavior by holding SHIFT while clicking the button that does fb.RunMainMenuCommand, but would prefer to "bake" the shift key into the script...)
Go to the top of the page
+Quote Post
kaloian79
post Dec 16 2012, 10:22
Post #1933





Group: Members
Posts: 13
Joined: 13-June 11
From: Bulgaria
Member No.: 91471



QUOTE (kaloian79 @ Dec 14 2012, 01:08) *
I have one silly problem - i can't add user picture for genre in the script - now playing with last.fm bio. place help me. tenx.


I would like to receive the following:


this view I made after hard moding kabuki's script. I can not do it on wsh. place help me
Go to the top of the page
+Quote Post
marc2003
post Dec 17 2012, 11:24
Post #1934





Group: Members
Posts: 4751
Joined: 27-January 05
From: England
Member No.: 19379



QUOTE (garbanzo.bean @ Dec 15 2012, 18:38) *
any plans on bringing back the nicer version?


nicer in your opinion. tongue.gif you can always continue to use the older version if you like. i just won't be updating it.

QUOTE (garbanzo.bean @ Dec 15 2012, 23:57) *
also, i'm still having trouble with your biography script crashing now and then. certain artists always make it crash, like Massive Attack and They Might Be Giants...


when i test those artists it works so i can only assume your downloaded cache files are corrupted. i need to check these files so find the on_metadb_changed function inside your panel. add this as the first line...

CODE
p.run("notepad " + p.data_folder + p.eval("$crc32(" + p.artist_tf + ")") + "\\artist.getInfo.json");


copy/paste the contents into [codebox ] tags here.

Go to the top of the page
+Quote Post
mjm716
post Dec 17 2012, 13:39
Post #1935





Group: Members
Posts: 159
Joined: 27-May 10
From: EST
Member No.: 80935



QUOTE (marc2003 @ Dec 17 2012, 12:24) *
i just won't be updating it.


Quick question about your 'text viewer' script - is there a way to use wildcard with it, e.g. path/*.txt ?

thanks in advance!
Go to the top of the page
+Quote Post
garbanzo.bean
post Dec 17 2012, 13:45
Post #1936





Group: Members
Posts: 267
Joined: 25-September 08
Member No.: 58627



QUOTE (marc2003 @ Dec 17 2012, 04:24) *
QUOTE (garbanzo.bean @ Dec 15 2012, 23:57) *
also, i'm still having trouble with your biography script crashing now and then. certain artists always make it crash, like Massive Attack and They Might Be Giants...


when i test those artists it works so i can only assume your downloaded cache files are corrupted. i need to check these files so find the on_metadb_changed function inside your panel. add this as the first line...

CODE
p.run("notepad " + p.data_folder + p.eval("$crc32(" + p.artist_tf + ")") + "\\artist.getInfo.json");


copy/paste the contents into [codebox ] tags here.


nothing happened but i found the file for Massive Attack. it was blank. so i deleted it and reloaded the panel, now it works.

thanks!

Go to the top of the page
+Quote Post
marc2003
post Dec 18 2012, 11:10
Post #1937





Group: Members
Posts: 4751
Joined: 27-January 05
From: England
Member No.: 19379



samples updated: use the Online update feature on the context menu or download the full zip here. http://db.tt/BInQ3Abm

last.fm bio: better error handling. now prompts you to re-download if errors are encountered.
musicbrainz: now uses the json webservice instead of xml. you can delete all xml files from your profile\wsh_lastfm folder to tidy up.
simple text reader: added support for wildcards. it now supports the reading of txt and log files if you specify just the folder.

files changed:
CODE
marc2003\common6.js

Go to the top of the page
+Quote Post
mjm716
post Dec 18 2012, 13:43
Post #1938





Group: Members
Posts: 159
Joined: 27-May 10
From: EST
Member No.: 80935



QUOTE (marc2003 @ Dec 18 2012, 12:10) *
samples updated:
simple text reader: added support for wildcards. it now supports the reading of txt and log files if you specify just the folder.


with support like this, where's the 'donate' button?! biggrin.gif
Go to the top of the page
+Quote Post
extracampine
post Dec 18 2012, 18:09
Post #1939





Group: Members
Posts: 206
Joined: 24-July 07
From: United Kingdom
Member No.: 45592



Quick question re. the "thumbs" script - it doesn't work and produces an error message in Foobar:

Scripting Engine Initialization Failed (Thumbs v6.2012-12-05.01 by marc2003, CODE: 0x80020101)
Check the console for more information (Always caused by unexcepted script error).

The only thing that I can see is that in the script, it has a line:

// @import "%fb2k_profile_path%marc2003\common6.js"

Whereas in the marc2003 directory, there are only common2, common3 and common4.js files.
Go to the top of the page
+Quote Post
Emerelle
post Dec 18 2012, 23:32
Post #1940





Group: Members
Posts: 142
Joined: 3-November 11
Member No.: 94918



Extracampine, you will find this file in the download Marc posted above. Just put it where the common4.js is and you're good.

Marc, once again I have to ask for your help in adjusting the row height in the new common6.js please. I produce nothing but errors :S
Go to the top of the page
+Quote Post
marc2003
post Dec 19 2012, 10:43
Post #1941





Group: Members
Posts: 4751
Joined: 27-January 05
From: England
Member No.: 19379



@extracampine, i'd extract the whole marc2003 folder again. a few images have been renamed/added since.

@Emerelle, i'd recommend not editing common6.js itself otherwise you wouldn't be able to update it without having to edit it everytime.

but assuming you mean for the last.fm bio/text reader, you can add this to your panel... this needs to go after the first line var p = new panel....

CODE
p.row_height = 26;


change 26 to whatever you like. the one downside to editing here is that if you change your font through the foobar preferences, this setting would revert to my default and you'd have to reload the panel.

if you meant row height for scripts with lists in like last.fm charts/similar artist/musicbrainz etc, you add these 2 lines to the on_size function in your panel. make sure they go after li.size();

CODE
li.row_height = 20;
li.rows = Math.floor((li.h - 30) / li.row_height);


only edit the value of 20 on the first line.

edit: i forgot to mention you need to get the latest update for the list edit to work. use Online update on the context menu.

This post has been edited by marc2003: Dec 19 2012, 11:04
Go to the top of the page
+Quote Post
Emerelle
post Dec 19 2012, 13:39
Post #1942





Group: Members
Posts: 142
Joined: 3-November 11
Member No.: 94918



Thanks so much Marc, you are always so helpful. Chaning just the row height in bio panel will do.
Go to the top of the page
+Quote Post
marc2003
post Dec 20 2012, 11:07
Post #1943





Group: Members
Posts: 4751
Joined: 27-January 05
From: England
Member No.: 19379



samples updated: use the Online update feature on the context menu or download the full zip here. http://db.tt/BInQ3Abm

musicbrainz: bugfix. would crash if artist not found
last.fm - similar artists - top tags - top fans - top albums - top tracks: bugfix. would display info from previous artist if switching to an artist that doesn't have it's own info.
last.fm bio / simple text reader / now playing with last.fm bio: bugfix. text wouldn't update properly after changing font through the main preferences.

files changed:
CODE
marc2003\common6.js


@Emerelle. using this latest version, your custom line spacing should now stick even after changing fonts.

This post has been edited by marc2003: Dec 20 2012, 11:43
Go to the top of the page
+Quote Post
marc2003
post Dec 21 2012, 11:12
Post #1944





Group: Members
Posts: 4751
Joined: 27-January 05
From: England
Member No.: 19379



samples updated: http://db.tt/BInQ3Abm

new script: simple image viewer

these are the available options on the context menu.



it defaults to using the same folder as the playing/selected file for the source but you can change this using any title formatting you like. only specify the path to a folder. it will display all jpg/jpeg/png/gif files inside. you can scroll the images using your mouse wheel or by clicking the panel.

files added/changed:
CODE
marc2003\common6.js
samples\simple image viewer.txt
Go to the top of the page
+Quote Post
marc2003
post Dec 21 2012, 15:17
Post #1945





Group: Members
Posts: 4751
Joined: 27-January 05
From: England
Member No.: 19379



samples updated: http://db.tt/BInQ3Abm

artreader / simple image viewer: now has 2 crop options. one focuses on the centre of the image and the other focuses on the top.

files changed:
CODE
marc2003\common6.js
samples\artreader.txt
Go to the top of the page
+Quote Post
marc2003
post Dec 22 2012, 12:50
Post #1946





Group: Members
Posts: 4751
Joined: 27-January 05
From: England
Member No.: 19379



samples updated: http://db.tt/BInQ3Abm

for new users, an overview of the scripts contained in the package (skip to page 2):

http://dl.dropbox.com/u/22801321/wsh/samples%20readme.pdf

simple image viewer: display a message when no images are found. before you'd see a blank a panel.
samples readme: added how you can help yourself and me if you find errors.

files updated:
CODE
marc2003\common6.js
samples\simple image viewer.txt
samples readme.pdf


all scripts now display their version in the foobar2000 console. you can check the latest versions here-

http://dl.dropbox.com/u/22801321/wsh/versions.txt

as most code is inside common6.js which can be updated via the right click Online update option, these will rarely if ever change assuming i don't find any more bugs.

This post has been edited by marc2003: Dec 22 2012, 12:54
Go to the top of the page
+Quote Post
Koyber
post Dec 22 2012, 15:59
Post #1947





Group: Members
Posts: 9
Joined: 24-December 11
Member No.: 96009



Hi Marc, is it possible to make a script like the one for musicbrainz, but instead using discogs?
Go to the top of the page
+Quote Post
ngonngon
post Dec 24 2012, 11:01
Post #1948





Group: Members
Posts: 1
Joined: 24-December 12
Member No.: 105372



I have a problem with foo_uie_wsh_panel_mod. Some of my pictures embed in the song files are shown but some are not. What is the reason for that?
Go to the top of the page
+Quote Post
marc2003
post Dec 24 2012, 12:02
Post #1949





Group: Members
Posts: 4751
Joined: 27-January 05
From: England
Member No.: 19379



samples updated: http://db.tt/BInQ3Abm

new script: discogs

this is a quick and dirty bodge so report any bugs. it only contains master releases and will only display the first 100. i won't be adding support for pagination.
i looked at using releases to get more results but that can return thousands of hits for popular artists so i ditched that idea... tongue.gif



files added/changed:
CODE
marc2003\common6.js
samples\discogs.txt


@ngonngon, use utils.GetAlbumArtEmbedded to always prefer embedded art. using the other methods, the core artreader may decide other images are better.

This post has been edited by marc2003: Dec 24 2012, 12:02
Go to the top of the page
+Quote Post
wcs13
post Dec 26 2012, 01:23
Post #1950





Group: Members
Posts: 73
Joined: 10-October 10
Member No.: 84514



Hi everyone. Quick question about WSH Coverflow :

How can I increase the size of the font that displays the %album artist% - %album% information, without going through foobar's prefs > colors and fonts ?
I don't mind hardcoding that size in the script. I just need to know what to type and where to type it. Thank you. smile.gif

Optionally, how can I set that same font to bold ? (within the script too).
Go to the top of the page
+Quote Post

137 Pages V  « < 76 77 78 79 80 > » 
Reply to this topicStart new topic
12 User(s) are reading this topic (9 Guests and 1 Anonymous Users)
2 Members: mire777, foosion

 



RSS Lo-Fi Version Time is now: 25th November 2014 - 23:10