
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
"foosic is an automated music database and a playback statistics tracking system. While you listen to your music, the foosic client submits information about which songs you play. Together with the submissions from other users, we can gather a complete database about currently existing albums, artists, compilations, etc..., as well as information about what is popular and what is not.
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.
14 years ago
0.3
- fixed reading username for context menu (now works even before first submission)
0.2
- fix for reading ASCII tags to UTF-8 (thanks to the amaroK Diary script again)
- better Various Artists detection
- no need anymore to restart plugin for username/password changes to take effect
14 years ago
0.3
- fixed reading username for context menu (now works even before first submission)
0.2
- fix for reading ASCII tags to UTF-8 (thanks to the amaroK Diary script again)
- better Various Artists detection
- no need anymore to restart plugin for username/password changes to take effect
cameos
13 years ago
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.
Report
krigstask
12 years ago
Report
krigstask
13 years ago
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
Report
krigstask
13 years ago
Report
kalmark
13 years ago
Report
krigstask
13 years ago
I'm glad it was temporary problem! Thanks again for script! (-:E
Report
tescov
14 years ago
Report
kalmark
14 years ago
Report
tescov
14 years ago
Report
kalmark
14 years ago
Report
tescov
14 years ago
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
Report
curbsideproject
14 years ago
./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!
Report
kalmark
14 years ago
Report
sleepkreep
14 years ago
Report
krigstask
13 years ago
Report
blaster999
14 years ago
Report
sleepkreep
14 years ago
Report
dangle
14 years ago
Report