half star ratings

2 views
Skip to first unread message

ptha

unread,
Dec 17, 2008, 3:28:22 PM12/17/08
to iTSfv
I was just wondering if iTSfv might ever have the functionality to add
half star ratings to songs, as iTunes has the capability of displaying
them. For example you might want to rate a song with 3.5 stars
instead of 3 or 4 stars.
Thanks,
Peter.

Mike Delpach

unread,
Dec 18, 2008, 4:37:43 AM12/18/08
to it...@googlegroups.com
Hi Peter,

iTSfv has the ability to rate songs but automatically. Have a look at Jobs menu.

I can easily add the function to set them manually.

McoreD

ptha

unread,
Feb 13, 2009, 11:37:41 AM2/13/09
to iTSfv
I ended using the following script (after selecting tracks in iTunes)
to add half a star, and another similar script to subtract half a
star, it's messy but it works, if it wouldn't be too much trouble it
would be useful to have a "nicer" way to do this in iTSfv.

Here's the javascript:

var iTunesApp = WScript.CreateObject("iTunes.Application");
if (iTunesApp.SeletedTracks < 1)
{
WScript.Echo("No tracks selected!");
}
var track = iTunesApp.SelectedTracks;
var numTracks = track.Count;
for ( i = 1; i <= numTracks; i++ )
{
var currTrack = track.Item(i);
if (currTrack != null)
{
try
{
var currRating = currTrack.Rating;
if (currRating < 91)
{
currRating += 10;
currTrack.Rating = currRating;
}
else
{
WScript.Echo("Rating unaltered, as current rating is more than
90!");
}
}
catch(er)
{
}
}
}


On Dec 18 2008, 9:37 am, "Mike Delpach" <mco...@gmail.com> wrote:
> Hi Peter,
>
> iTSfv has the ability to rate songs but automatically. Have a look at Jobs
> menu.
>
> I can easily add the function to set them manually.
>
> McoreD
>

Mike Delpach

unread,
Feb 13, 2009, 7:59:00 PM2/13/09
to it...@googlegroups.com
Hi Peter,

I have added a new feature to manually Increment Rating (from -100 to 100) works very similar to PlayedCount in Selected Tracks > Cheat tab.

http://code.google.com/p/itsfv/downloads/list

Cheers,
McoreD

ptha

unread,
Feb 17, 2009, 5:47:47 PM2/17/09
to iTSfv
Thanks Mike, that is certainly helpful - I don't suppose you have a
control like the rating column in iTunes that would let you select in
1/2 star increments (AFAIK the smallest increment iTunes can
display)?
Not a priority by any means, did you happen to see my previous post
about the comma being converted to newlines when adding lyrics?
Thanks a million as always and keep up the good work.
P

On Feb 14, 12:59 am, Mike Delpach <mco...@gmail.com> wrote:
> Hi Peter,
>
> I have added a new feature to manually Increment Rating (from -100 to 100)
> works very similar to PlayedCount in Selected Tracks > Cheat tab.
>
> http://code.google.com/p/itsfv/downloads/list
>
> Cheers,
> McoreD
>
Reply all
Reply to author
Forward
0 new messages