WSH Panel Mod script discussion/help. |
![]() ![]() |
WSH Panel Mod script discussion/help. |
Dec 14 2012, 10:50
Post
#1926
|
|
![]() Group: Members Posts: 3259 Joined: 27-January 05 From: England Member No.: 19379 |
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? (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. |
|
|
|
Dec 14 2012, 11:36
Post
#1927
|
|
|
Group: Members Posts: 274 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 |
|
|
|
Dec 14 2012, 11:42
Post
#1928
|
|
![]() Group: Members Posts: 3259 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.
|
|
|
|
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! |
|
|
|
Dec 15 2012, 18:38
Post
#1930
|
|
|
Group: Members Posts: 252 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? |
|
|
|
Dec 15 2012, 23:57
Post
#1931
|
|
|
Group: Members Posts: 252 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> |
|
|
|
Dec 16 2012, 02:59
Post
#1932
|
|
|
Group: Members Posts: 274 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...) |
|
|
|
Dec 16 2012, 10:22
Post
#1933
|
|
|
Group: Members Posts: 12 Joined: 13-June 11 From: Bulgaria Member No.: 91471 |
|
|
|
|
Dec 17 2012, 11:24
Post
#1934
|
|
![]() Group: Members Posts: 3259 Joined: 27-January 05 From: England Member No.: 19379 |
any plans on bringing back the nicer version? nicer in your opinion. 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. |
|
|
|
Dec 17 2012, 13:39
Post
#1935
|
|
|
Group: Members Posts: 81 Joined: 27-May 10 Member No.: 80935 |
|
|
|
|
Dec 17 2012, 13:45
Post
#1936
|
|
|
Group: Members Posts: 252 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... 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! |
|
|
|
Dec 18 2012, 11:10
Post
#1937
|
|
![]() Group: Members Posts: 3259 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 |
|
|
|
Dec 18 2012, 13:43
Post
#1938
|
|
|
Group: Members Posts: 81 Joined: 27-May 10 Member No.: 80935 |
|
|
|
|
Dec 18 2012, 18:09
Post
#1939
|
|
|
Group: Members Posts: 201 Joined: 24-July 07 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. |
|
|
|
Dec 18 2012, 23:32
Post
#1940
|
|
|
Group: Members Posts: 139 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 |
|
|
|
Dec 19 2012, 10:43
Post
#1941
|
|
![]() Group: Members Posts: 3259 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 |
|
|
|
Dec 19 2012, 13:39
Post
#1942
|
|
|
Group: Members Posts: 139 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.
|
|
|
|
Dec 20 2012, 11:07
Post
#1943
|
|
![]() Group: Members Posts: 3259 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 |
|
|
|
Dec 21 2012, 11:12
Post
#1944
|
|
![]() Group: Members Posts: 3259 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 |
|
|
|
Dec 21 2012, 15:17
Post
#1945
|
|
![]() Group: Members Posts: 3259 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 |
|
|
|
Dec 22 2012, 12:50
Post
#1946
|
|
![]() Group: Members Posts: 3259 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 |
|
|
|
Dec 22 2012, 15:59
Post
#1947
|
|
|
Group: Members Posts: 7 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?
|
|
|
|
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?
|
|
|
|
Dec 24 2012, 12:02
Post
#1949
|
|
![]() Group: Members Posts: 3259 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... ![]() 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 |
|
|
|
Dec 26 2012, 01:23
Post
#1950
|
|
![]() Group: Members Posts: 39 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. Optionally, how can I set that same font to bold ? (within the script too). |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 12:17 |