You can see your own statistics, and, if you allow it, let your friends see what you are listening to and what you like.
You can browse the database on this site and discover new artists or albums that you didn't know about before."
Based on the protocol description I created a ruby script for amaroK so I can update my statistics also from my Linux box.
The script was tested with ruby version 1.8.3 and amaroK 1.3.8 to 1.4. The script depends on Korundum for the config panel.
You can use the amaroK Script manager to install the script.
As I'm no expert neither in ruby nor in Qt, if anyone feels corrections should be made to the script, please tell me so or correct the mistake yourself.
I probably won't add new features unless I'm *really* bored. Or they are useful *and* easy to implement

Oh, and I'm not related in any way to the original foosic developers.
Ratings & Comments
18 Comments
too bad many submitted international characters show up as garble code from foosic.org site. at the meantime, Amarok itself does good job on submitting correct info to last.fm. So if you only listen English songs that's OK, otherwise don't use this script, it will put tons of junk in your foosic data.
Don't see any junk, but tracks with non-standard-Latin (Cyrillic, extended Latin) characters in tags seem not to submit now )-:E
Thanks for foosic support, firstly! I got this script working, but I don't understand, why I cannot see "latest subscriptions" on my page, while playcounter number continues to grow, indicating that script is somehow working. Can you tell something about this? (-:E
Well... It's been fixed by its own. Somehow (-:E
Glad to hear, frankly I had no idea what could have caused the problem. That's why I was taking my time with the answer... I'm guessing server-side problems were the cause, as for me at least the site was quite shaky, but I can only guess. Thanks for using this, anyhow :)
Before posting this comment, I tried foobar2000 under Win and it submitted tracks as it always did... And because it was first time I used Amarok with your script, I thought that's regular problem, not reported by that time... I'm glad it was temporary problem! Thanks again for script! (-:E
For some reason Im not sending information if the tag has unusual letters ie Æ, Is this some thing that cant be fixed or is it on my end?
Well, I'm gonna try and look into it, but these days I can't really access my Linux box. I know "special" characters support is kinda flaky in the plugin, because I would have to know the correct character page to get interpret the characters with. I think :) I use a part of the Amarok Diary script for this part, so I'm not 100% sure about how it works and why it would not work exactly. You can get some debug results if you uncomment lines 152, 153 and 156. That's not too much though, but it's worth a try.
Well Im pretty sure all of them should be supported by UTF-8, I checked to see if Mysql db was saved in utf-8 (But i figured mysqldb has nothing to do with the sent data, only the actual idv tag's) and it was...and the songs are being sent to last.fm, but ill take a look at the output logs. and post them
I'd be glad if you'd rather email them to me. Thanks, Mark
so after a little reading, apparently this is Ruby itself, it has issues with utf-8 i guess, i tried to add the hack that is available for ruby w/o much success, being my ruby knowledge is low, i can read it and know what some of the calls are.. dont know if your interested but if you do a search in google/clusty with utf8+ruby there is quite a lot of stuff about it. whether or not you feel like or even have time to implement it, if you dont thats fine, I like the script and the fact that it works well with every thing other then, albums like NAÏVE or Ænima or bands like Fantomas, any way no big deal.... BTW i was unable to figure out where the debug information is going
so, i keep trying to use this, and i keep getting this error: ./foosic_cfg.rb:10: uninitialized constant Qt (NameError) from /home/jeff/.kde/share/apps/amarok/scripts/foosic.rb:37 any ideas? im very new to linux, and so i have no idea how to go about fixing this. is it because im running ubuntu? thanks!
Well, this error most probably is caused by some missing dependencies, like Korundum, as that handles the Ruby-Qt interaction to show the config screen. So you need to install that, I think. Please tell me if that solves your problem. Thanks for trying the script :)
Sorry, maybe I'm missing something. But what's the difference between this and last.fm that's already built into amarok?
nothing as far as I can tell, other than yet another mob who have seen last.fm's success and want a pice o' that tasty thing :D
Free Software is all about alternatives, right? So why not another musical statistics site? It won't hurt, for sure
You're absolutely right, thanks for setting me straight.
Also foosic aims for a little bit other goal. To cut a long story short, foosic database could be used for tagging your files using some kind of "fingerprinting". For more info, visit foosic homepage (-:E