About:
This script helps you rate your music:
At every track change, the script checks the rating of the last played track, and if it's one of preset rating values, a pop up appears to let you rate the track.

Usage:
When the pop up shows , either click the item you choose or press a number on the keyboard to set the rating.
a number of settings can be changed in the script file.

Dependencies:
Amarok 1.4
Ruby 1.8
QtRuby

License:
GPL V2

Author:
Muhammed Helmi

Changelog:

in 0.7:
Now more things work like they should.

in 0.6:
The script doesn't touch your database directly anymore.
Updates reflect immediately on the playlist entries.
Rating can be set by pressing a number on the keyboard.
A timeout value can be set to hide the pop up automatically.
Now labels are used instead of numbers in the popup , which can be changed in the script via a constant.
Easily reachable constants in the script file to change settings.

Can you add an option to make the pop-up appear after a certain percentage of the song has already played? Sometimes I don't know at the beginning of the song what rating I want to give it. Cheers.

Re: Nice script!

notice that the pop up shows at the beginning of track, but the rating you give is for the previous track, so effectivly the pop up shows at the end of the previous track. hope that helped.
regarding the feature you requested, i was thinking about adding a global shortcut to request the popup , like WIN+R for example, but i assume that will require extra dependency (korundum instead of qtruby) , not sure if it would be worth it.

I'd just like to add a "me too". It looks nice, but I'd like to be able to rate at the start of the song.
Thanks

Confused Noob

I must admit that I am COMPLETELY new to Linux in general... I just tried Ubuntu for the first time with the release of 7.04. I have been trying to use this Amarok script to rate my unrated music, but I can't seem to get it to pop up for *only* unrated songs. I have dug through the config in the script... and I thought this was right:
# the pop up will show when one of these rates is assigned to the target track (0 for unrated tracks)
#TARGET_RATES = [0 , 6 ]
TARGET_RATES = [0]

But regardless of what numbers I put into the lower TARGET_RATES box, the menu pops up either EVERY song, or for none of them. Any help you could offer would be greatly appreciated...

Sincerely,
An embarrassed noob named Matt.

Re: Confused Noob

Same here. There seems to be something completly wrong with the script. I noticed the following:

1.) A rateIt Box pops up even when i start playing the first song. Seems "trackChange" is triggered on the start of the first song as well
2.) The recieving of the current score seems to be defective. I've added a `kdialog --sorry "#{@current_rating}"` to see what is returned and it is always empty.

Thanks in advance!

Michael

Re: Rate it for remote

i'm not really sure since i don't have such device, but did you try to add actions using irkick? if you like to, send me a message and we can look into this together.
also check if you can find something helpful in these pages:
http://gentoo-wiki.com/HOWTO_LIRC#Using_LIRC_in_KDE
http://amarok.kde.org/wiki/RemoteControl

regards

Re: Re: Rate it for

Thank you,

I found something.
- Start Amarok
- irckick settings
- add
- function of a running program
- chose a key
- select amarok -> default
- on the right window you'll find a function called "set rating"
- set value on:
for 2 stars on 4
for 3 stars on 6
for 4 stars on 8
for 5 stars on 10

I skipped the other values, for me it's enough to have a rating from 2 to 5 stars.

How do you like Plasma 5? The best KDE Desktop ever. Definitely a nice improvement. Not decided yet. Haven't tried it yet. I do not like some of the changes. KDE is taking the wrong way. I am still sticking with KDE 3.5. I have no opinion, but wanted to vote anyway.

Copyright 2003-2015 KDE-Apps.org Team All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.All contributors are responsible for the lawfulness of their uploads.KDE and K Desktop Environment are trademarks of KDE e.V.