HOME | DD

Published: 2010-11-06 19:56:50 +0000 UTC; Views: 61382; Favourites: 79; Downloads: 5375
Redirect to original
Description
[2012-12] I've picked up this project again! If you have ideas or if you want to help with testing please contact me!-------------------------------------------------------------------------------------------------------------------------------------------------------
[2011-06] foo_silk 4.1 is on it's way
Updates (These are not included in this package!)
If you want to get a message when there's a new update available please join the lastfm group here:[link] You can also use the built-in update checker.
Latest script updates
[2011-01-20] foo_silk-lastfm 1.3: [link]
[2011-01-20] foo_silk-albumart 1.4: [link]
[2011-01-20] foo_silk-artistart 1.2: [link]
[2011-01-20] foo_silk-playcount 1.1: [link]
[2011-01-20] .nfoo viewer 1.3: [link]
Log
[2011-01-20] .nfoo viewer 1.3 & foo_silk-albumart 1.4 & foo_silk-artistart 1.2 & foo_silk-lastfm 1.3
[2010-11-29] foo_silk-albumart 1.3
[2010-11-16] foo_silk-albumart 1.2 & foo_silk-artistart 1.1
[2010-11-10] foo_silk-albumart 1.1 & Fixed the update system
[2010-11-07] foo_silk-playcount 1.1
To install script updates, you need to enable the layout editing mode in foobar. (View > Layout > Enable layout editing mode) Right-click on the script you want to update and click Configure... Now click import and browse to the downloaded txt file. Make sure to turn the layout editing mode off once you are done!
foo_silk 4.0
foo_silk 4.0 is a DUI theme for foobar2000 for people who use Last.fm.
I rewrote most of the scripts from the beta version and made some minor changes to the layout. I also included an update checker. If there are problems or if you have ideas please let me know!
Please everyone join the Last.fm group here: [link]
Featuring
- Browsing using facets
- Playlists using dui playlist view and EsPlaylist
- Playcount / Loved status syncing
- Last.fm charts and stats
- (Automatic) Album art downloading (using AlbumArtDownloaderXUI: [link] )
- (Automatic) Artist art downloading (using artistart: [link] )
- Viewing nfo/txt/log files
Changelog
- foo_silk4 here: [link]
- foo_silk-lastfm here: [link]
- .nfoo viewer here: [link]
Installation and how-to guide are included.
Tested on
- Win7 X64 (1920x1200) (foobar2000 1.1)
- WinXP SP3 (1280x1024) (foobar2000 1.1.1)
Related content
Comments: 143
MatthijsB In reply to Ephoras [2011-05-18 11:34:48 +0000 UTC]
looks like you messed some stuff up.
Make sure that the scripts are all in the right place.
\foo_silk\scripts\foo_silk.js": Failed to load
\foo_silk\scripts\tooltip_buttons.js": Failed to load
You can ignore this warning:
WSH Panel Mod: Warning: Could not load file G:\Dokumente\foobar2000Netbook\components\jscript.api
WSH Panel Mod: Warning: Could not load file G:\Dokumente\foobar2000Netbook\components\interface.api
Let me know if there are problems.
👍: 0 ⏩: 1
Ephoras In reply to MatthijsB [2011-05-18 15:50:12 +0000 UTC]
jeah, scripts are at the right place,
and the error message only poppy up when i open foobar via RocketDock, if i open it anywhere else, (exe direck, start menu shortcut, hyperlink etc.) it works just fine.....
strange, but i can handle this
👍: 0 ⏩: 0
Ephoras In reply to ??? [2011-04-16 01:06:40 +0000 UTC]
Hi, i just managed to include your script to my own configuration (was just that the file path was wrong, allways overswa that )
But now i need to know if there is a way to display the foo_silk-lastfm 1.3 data in a vertical way, so that the Overall, last 3 month parts are listed under each other, that would fit my configuration better, but i can'T find a way to do it in the script.
would be great if you could help me
👍: 0 ⏩: 1
MatthijsB In reply to Ephoras [2011-04-16 13:24:25 +0000 UTC]
Hey,
Yea it's possible to do this ^^
I dont have the time at the moment to do this for you. You need to change line 145 - 156. With some help from this documentation: [link]
you should be able to do it.
For example:
GdiDrawText(str, IGdiFont, color, x, y, w, h, format = 0);
FillGradRect(x, y, w, h, angle, color1, color2, focus);
The data array and it's structure can be found in %foobar%/foo_silk/scripts/foo_silk-lastfm.js
But basically what you need here is lastfm_data[4 (and up)][(1 for name 0 for plays)][(rank)]
Good luck!
If I have some spare time I'll try to code this for you.
👍: 0 ⏩: 2
Ephoras In reply to MatthijsB [2011-04-17 10:10:51 +0000 UTC]
yeah, i see the code, and i think i figgured out what line i should modifie:
145: for(id=4; id <= 4 + ta_periods; id++){
this loop starts all the infos and i i manage to tell him...dunno, break the line before dong the loop again with the next Top ARtist group, it should work, but hell i read your documention and i read microsofts help page witch is linked in one of the help .txt files, but i rly dont get it.
If you ever have the time to code this for me i will ever thank you for that, but i can't without learning the hole script language
hope you will be bored from all your other work soon and need sth easy to relax
👍: 0 ⏩: 1
MatthijsB In reply to Ephoras [2011-04-18 15:25:28 +0000 UTC]
I'll try to do it for you
Just give me a few days
👍: 0 ⏩: 1
Ephoras In reply to MatthijsB [2011-04-17 02:20:10 +0000 UTC]
wow rthanks, atm i don't know if it will hep me but if i ever get...whats the opposite of drunke (english is not my mother thounge as you should have noticed) i will try my very best and for sure credit you if i manage to uploade this....
btw its 4 o'clock at the mornig were i live
👍: 0 ⏩: 0
Ka7x [2011-04-09 17:08:03 +0000 UTC]
yeah
that's the problem
some mp3 files have the artwork embedded
so foobar2000 doesn't show the downloaded art
thx for help
👍: 0 ⏩: 0
Ka7x In reply to ??? [2011-04-07 16:54:17 +0000 UTC]
i download a new cover with the cover downloader but foobar keeps showing the older one.. i click on refresh and nothing happens..
👍: 0 ⏩: 1
MatthijsB In reply to Ka7x [2011-04-09 08:22:12 +0000 UTC]
hey
foobar will always load the embedded cover if it's available so that might be what's happening.
if that's not the problem, goto the folder and check if there are more image files.
if there's just one folder.jpg and it shows an other picture i dont know what's wrong ^^
good luck!
👍: 0 ⏩: 0
Ephoras In reply to ??? [2011-03-09 12:28:17 +0000 UTC]
Hiho,is there any possibility to include the component that shows the last fm data (should be foo_silk-lastfm, right?) into a CUI?
would love to have it but like my current configuration a bit more
👍: 0 ⏩: 2
MatthijsB In reply to Ephoras [2011-03-14 16:54:43 +0000 UTC]
you can sent the data array with wsh using on_notify_data
or you can acces the last.fm api yourself @ [link]
good luck!
👍: 0 ⏩: 0
Ephoras In reply to Ephoras [2011-03-09 12:35:58 +0000 UTC]
ah ok, i pasted the content of the text file [link] to an empty WSH Panel.
Now i get this error:
Error encountered during script execution.
- Please make sure that your script is up to date as some newer versions of this component break compatibility with older scripts.
- For more information on what could have changed and help, please visit:
[link]
Error Details:
Scripting Engine Initialization Failed: foo_silk-lastfm v1.3 by MB, CODE: 0x80020101)
Check the console for more information (Always caused by unexcepted script error).
Any idea what i did wrong?
👍: 0 ⏩: 0
Zer0II [2011-02-27 12:11:19 +0000 UTC]
I'm almost there. I was hoping that you could help me fix a couple of problems I'm having. The artist pictures are not showing up in the foo_silk-artistart panel. My last.fm profile picture isn't showing up, and the plays per day, overall plays etc. are not showing up either. Also, my charts simply cut off, where yours show "now playing," "plays on last.fm," etc. Here is a screenshot I took: [link] Any ideas? I would greatly appreciate your help.
👍: 0 ⏩: 2
MatthijsB In reply to Zer0II [2011-03-14 16:57:16 +0000 UTC]
Hey
This isn't very hard to fix.
For the artist art: try rightclicking in that area to see some options.
For the other problems: enable layout editing mode (view > layout > enable layout editing mode) and just hold your mouse on the border of the seekbar and the lastfm panel, then when you get a vertical resize mouse pointer drag it down.
After that make sure to disable the layout editing mode.
good luck
👍: 0 ⏩: 0
BladedThesis08 In reply to Zer0II [2011-03-09 08:52:48 +0000 UTC]
Artist Art: Right-click the area and select to automatically download the images, or if you don't care for having them automatically downloaded, select "Download Images" when you want them.
Last.FM Avatar: Right-click in the area and select Avatar > Download.
The two remaining issues are because your display resolution is too low to allow Foobar to be fully expanded.
👍: 0 ⏩: 0
Kurtegikov In reply to ??? [2011-02-15 01:37:57 +0000 UTC]
Hello, MatthijsB! Really nice work! I just wanna ask: could you please make a version of foo_silk-playcount script what would show a playcount even if nothing is playing at the moment, but there is a track selected in an active playlist? As i remember correctly it was this way in previous version. When nothing is currently playing it shows playcount for selected track and if some track is playing it shows a playcount for this playing track. it's just looks empty without something playing and i would like to see a playcount of a selected track sometimes. Pretty please And thanks for your very nice scripts!
👍: 0 ⏩: 1
MatthijsB In reply to Kurtegikov [2011-03-14 17:02:27 +0000 UTC]
This behavior is intended but you can get a similar script that does what you want here: [link]
👍: 0 ⏩: 0
MatthijsB In reply to vpjayant [2010-12-20 12:31:14 +0000 UTC]
Parsing file "C:\Users\Vivan\AppData\Roaming\foobar2000\\foo_silk\scripts\foo_silk.js": Failed to load
Parsing file "C:\Users\Vivan\AppData\Roaming\foobar2000\\foo_silk\scripts\tooltip_buttons.js": Failed to load
Parsing file "C:\Users\Vivan\AppData\Roaming\foobar2000\\foo_silk\scripts\foo_silk-lastfm.js": Failed to load
Hm looks like these files are just missing.
Make sure these files (foo_silk.js tooltip_buttons.js foo_silk-lastfm.js) are in the right location (C:\Users\Vivan\AppData\Roaming\foobar2000\\foo_silk\scripts\)
If that doesn't work you could try to run foobar as administrator.
good luck!
👍: 0 ⏩: 0
julioforus [2010-12-17 06:48:10 +0000 UTC]
That's great!
Only a problem I had but them solved... when you edit the username & api_key files it should be in unicode and not Ansi (the default of notepad). Took a while to figure that.
Thanks for these amazing script. Keep the good work!
👍: 0 ⏩: 1
MatthijsB In reply to julioforus [2010-12-17 19:16:09 +0000 UTC]
tnx for giving that solution! that might work for others too!
👍: 0 ⏩: 0
Martinez253 [2010-12-04 23:20:04 +0000 UTC]
Wow it worked, thanks alot! this theme is awsome
👍: 0 ⏩: 1
MatthijsB In reply to szymon27 [2010-12-04 23:07:34 +0000 UTC]
i recommend you simply browse to:
C:\Documents and Settings\Administrator\Dane aplikacji\foobar2000\foo_silk\settings\
and create two files there:
username & api_key
these files should be without extension. then simply put your username and api key in those files.
then restart your foobar. good luck!
👍: 0 ⏩: 1
szymon27 In reply to MatthijsB [2010-12-06 13:01:40 +0000 UTC]
Thanks for reply, but still, My foo_silk-lastfm 1.2 window shows no last.fm information. (+ 0 plays )
👍: 0 ⏩: 1
MatthijsB In reply to szymon27 [2010-12-06 18:04:50 +0000 UTC]
what operating system are you using?
and can you please provide a screenshot?
👍: 0 ⏩: 1
szymon27 In reply to MatthijsB [2010-12-06 19:19:54 +0000 UTC]
My OS is Windows XP SP3,
And here's a screenshot:
[link]
👍: 0 ⏩: 1
MatthijsB In reply to szymon27 [2010-12-06 20:25:39 +0000 UTC]
tnx.
from what i can see, the username and api key file are still missing.
if these files are correct the icon next to 0 plays should change into a red heart icon.
then the lastfm panel will also load your stats.
i uploaded some dummy files for you, just open them with notepad and replace the lines with your username and api_key. then save them in C:\Documents and Settings\Administrator\Dane aplikacji\foobar2000\foo_silk\settings\.
username: [link] api_key: [link]
good luck.
👍: 0 ⏩: 1
szymon27 In reply to MatthijsB [2010-12-06 20:51:20 +0000 UTC]
Unfortunaletelly they are in the right place, maybe there's something wrong with my JScripting (not correctly installed or files lost). I'll keep searching for a reason. Thank you for your time.
👍: 0 ⏩: 2
MatthijsB In reply to szymon27 [2010-12-17 19:16:38 +0000 UTC]
try the solution posted by julioforus
👍: 0 ⏩: 0
MatthijsB In reply to szymon27 [2010-12-06 22:18:00 +0000 UTC]
im sorry but i cant figure whats wrong then. it seems to go wrong with reading the files.
good luck with it! please let me know if you figured what went wrong
👍: 0 ⏩: 1
szymon27 In reply to MatthijsB [2010-12-07 00:13:59 +0000 UTC]
I got to work last.fm statistics by filling uname and key manually in the script. But where can I find the "how many plays" script?
Besides, that's what I've noticed. After filling
var username_file, var aip_key with full patches there's compiling error, and the console popups "Hexademical value was excepted." - only for username file.(I've tried to change reading function order).
👍: 0 ⏩: 1
MatthijsB In reply to szymon27 [2010-12-07 10:54:53 +0000 UTC]
huh that is so weird what is your lastfm username?
to edit the playcount script you need to enable layout editing mode first. then you can rightclick and configure and edit lines 21 & 22.
👍: 0 ⏩: 0
MatthijsB In reply to Martinez253 [2010-12-04 12:34:32 +0000 UTC]
looks like some files are missing.
if you goto: C:\Users\Arnold\AppData\Roaming\foobar2000\\foo_silk\scripts\
there should be some files. make sure to checkout the instructions to copy the right files there.
you probably missed a step.
good luck! if you copy the scripts there it should work!
👍: 0 ⏩: 0
Martinez253 In reply to ??? [2010-11-30 03:44:46 +0000 UTC]
I tried doing what he did but stil lsame problem, i get all of this [link]
Any idea how to fix this?
👍: 0 ⏩: 1
MatthijsB In reply to Martinez253 [2010-11-30 07:07:30 +0000 UTC]
can you please paste the console log?
view > console.
👍: 0 ⏩: 0
StttG In reply to ??? [2010-11-28 17:34:51 +0000 UTC]
I found solution here:
[link]
Went to Start>Run and entered "regsvr32.exe scrrun.dll".
Now it works perfect.
Thanks for this great theme!
👍: 0 ⏩: 1
MatthijsB In reply to StttG [2010-11-28 19:34:56 +0000 UTC]
hah ok cool! tnx for your solution maybe others need this
👍: 0 ⏩: 0
StttG In reply to ??? [2010-11-28 15:31:33 +0000 UTC]
Just installed portable version and got the same script errors.
👍: 0 ⏩: 0
MatthijsB In reply to StttG [2010-11-28 14:46:07 +0000 UTC]
but did you try running it as administrator (rightclick > run as administrator)
Looks like an access (denied) problem
👍: 0 ⏩: 1
StttG In reply to MatthijsB [2010-11-28 15:12:55 +0000 UTC]
I don't have a password for administrator.
👍: 0 ⏩: 1
MatthijsB In reply to StttG [2010-11-28 15:15:30 +0000 UTC]
hmm... try installing a portable installation on a location where you have write rights
👍: 0 ⏩: 1
StttG In reply to MatthijsB [2010-11-28 15:18:42 +0000 UTC]
Ok, but I don't get it. It is my computer so why I don't have all write rights? Maybe the administrator password isn't set?
👍: 0 ⏩: 1
| Next =>