Categories: Misc / DotNet / Java / Coder / Linux / PHP Ask - La ask - La Answer

Rating songs with keyboard

Is there a way to change the rating of a song in itunes for Windows exclusively through the keyboard. If not, is there a plugin that will allow this?
[149 byte] By [Slipknot] at [2007-11-9 20:26:41]
# 1 Re: Rating songs with keyboard
*bump*

I've been looking for a solution to this as well.
drumsofdeath at 2007-11-15 16:42:47 >
# 2 Re: Rating songs with keyboard
You can use my program, iRemote, which creates shortcuts to the iTunes interface.

Check out the site in the sig for the program.
EvilDude at 2007-11-15 16:43:47 >
# 3 Re: Rating songs with keyboard
I tried using it and it crashes on my system. Is the program compatible with 4.6?
drumsofdeath at 2007-11-15 16:44:45 >
# 4 Re: Rating songs with keyboard
Yes it should be. Can you email me with exact error / when it happens.

Also try opening iTunes before the program.
EvilDude at 2007-11-15 16:45:51 >
# 5 Re: Rating songs with keyboard
AWESOME! I got it to work. Thank you so much.
drumsofdeath at 2007-11-15 16:46:50 >
# 6 Re: Rating songs with keyboard
This error popped up for me though:

Run-time error '91';
Object variable or With block variable not set

By the way, can this program do fast forwarding via the keyboard? I don't like how iTunes just skips to the next song.
drumsofdeath at 2007-11-15 16:47:49 >
# 7 Re: Rating songs with keyboard
Hey

Yeah the program can do all those. Check the docs, theres a function called skip. skip =10 would go 10 seconds forward etc.

also those errors are usually when itunes closes or something.

I'm currently working on / got a new version that doesn't crash at all but I need to fix a few things here and there before I release it.
EvilDude at 2007-11-15 16:48:53 >
# 8 Re: Rating songs with keyboard
Thanks for informing us about your program. It appears to be a good start to addressing the needs of Windows users who like iTunes.

I am having a bit of trouble configuring it to add keystrokes. I select the keys I want to use, and the function they should call and select 'Add New', but what shows up in the list is always "Win+P;PlayPause" even though that isn't want I selected. Attempting to edit the string fields manually results in a Run-Time error 383 and the program crashes out. Am I doing something wrong?

Also, just a suggestion: It would be nice to have a system tray icon to call the progam up, particularly in the case of using the 'None' skin inadvertantly and then trying to access the preferences.
Slipknot at 2007-11-15 16:49:56 >
# 9 Re: Rating songs with keyboard
It'd be really nice if you could build the iRemote menu options directly into the iTunes system tray icon. I don't know if iTunes COM lets you do that currently though.
drumsofdeath at 2007-11-15 16:50:54 >
# 10 Re: Rating songs with keyboard
Hey Slipknot, thanks for the system tray idea, I'll implement that soon
I just chekced the keyboard shortcuts manager and it seemed to work fine for me. You have to add a shortcut first and then you change what the shortcut is by selecing the different checkboxes and options.

As for getting the iRemote menu through iTunes menu, there is unfortunately a very small possiblitiy for this :( The COM doesn't provide it and any other way of doingg it makes iRemote very unstable.
EvilDude at 2007-11-15 16:51:53 >
# 11 Re: Rating songs with keyboard
Here are the settings for the itunes.xml profile in the firefly profiles folder:

Add the following:
<Actions Button="Number1" Description="1">
<KeyAction Keys="%^1" />
</Actions>
<Actions Button="Number2" Description="2star">
<KeyAction Keys="%^2" />
</Actions>
<Actions Button="Number3" Description="3">
<KeyAction Keys="%^3" />
</Actions>
<Actions Button="Number4" Description="4star">
<KeyAction Keys="%^4" />
</Actions>
<Actions Button="Number5" Description="5star">
<KeyAction Keys="%^5" />
</Actions>
sugardaddy at 2007-11-15 16:53:02 >
# 12 Re: Rating songs with keyboard
re: "Here are the settings for the itunes.xml profile in the firefly profiles folder:"

Pardon my ignorance on the subject but I'm not entirely sure what to do with this information. How do I apply this? What is firefly?

Thanks in advance.
Slipknot at 2007-11-15 16:54:00 >
# 13 Re: Rating songs with keyboard
Sorry - firefly is a good remote control made by snapstream
sugardaddy at 2007-11-15 16:54:56 >
# 14 Re: Rating songs with keyboard
It appears that the above modification is independent of the Firefly remote control system. Will editing my XML file allow me to add keystrokes that are not native to iTunes? If so, is there an online tutorial somewhere I can research how to do it properly?

I already have a remote control unit which I use through my Sound Blaster Live! drive. I purchased a program called "UICE" to allow this remote to control anything on my system, sort of like the Firefly system. It was this setup that prompted my original post on this subject several months ago. If I can get a program to do add or remove stars via a keystroke, then i can program the remote to access it.
Slipknot at 2007-11-15 16:56:02 >
# 15 Re: Rating songs with keyboard
I use iremote most of the time, a great little tool!

With the "new features" skin however, it crashes if songs with certain album arts play. It seems that it doesn't like certain pictures...
Elhabash at 2007-11-15 16:57:06 >
[an error occurred while processing this directive]
[an error occurred while processing this directive]