Thesis Wordpress Theme brought to you by Astro-Geek:3000

iTunes: Manually Adjust Play Count in iTunes 9

by Christopher on September 23, 2009

If you’re using iTunes 8 or earlier, I have an earlier post that will allow you to manually adjust your play count.

User Tiketti has posted a script on the iLounge forums that will allow you to adjust your play counts in iTunes 9.

Dim iTunesApp, currTrack, newPlayCount
Dim prompt, title, defaultValue

Set iTunesApp = WScript.CreateObject("iTunes.Application")
Set currTrack = iTunesApp.CurrentTrack

prompt = "New playcount:"
title = currTrack.Artist & " - " & currTrack.Name
defaultValue = currTrack.PlayedCount

newPlayCount = InputBox (prompt, title, defaultValue)

If IsNumeric(newPlayCount) Then
If newPlayCount >= 0 Then
If Len(newPlayCount) > 0 Then
currTrack.PlayedCount = newPlayCount
End If
End If
End If

  1. Copy this code into Notepad.
  2. Save the file as SetPlayCount.vbs (the file name doesn’t matter; just make sure it’s a .vbs file)
  3. In iTunes, play the song whose play count you want to adjust; double click the script you just saved.
  4. Enter the desired play count in the input box.
  5. A few things to note… Unlike the script for versions 8 and earlier, you must have the song playing. If you only highlight the song as before, you’ll receive a script error.

    Since this script works only on the song that is playing, it won’t work on multiple tracks.

    Thanks, Emma, for the tip!

{ 18 comments… read them below or add one }

Madi March 4, 2010 at 7:14 pm

To save as a .vbs file, go to File > Save As…
File name: SetPlayCount.vbs
Save as type: All Files

Reply

Fireface March 30, 2010 at 9:52 pm

To save as a .vbs file, type the filename in double quotes:
“SetPlayCount.vbs”
Then click save

Reply

Evan April 12, 2010 at 12:52 am

THANK  YOU. In caps.

Reply

Robert April 15, 2010 at 12:30 am

Worked perfectly. Thank you!

Reply

James April 19, 2010 at 6:48 pm

thank you so much for this, it worked perfectly!
i have a large collection of music with a lot of greatest hits albums creating plenty of duplicates, and i would rather have the playcounts attributed to the original album rather than the compilation. this helped me edit everything (well, almost everything, i have plenty to go through yet)
thanks again!

Reply

petercove April 21, 2010 at 6:09 am

have you heard playcount sky rocketing ??
 

Every time I connect my iPod Touch to my computer, the play count increases by a lot. I reset them yesterday, listened to a song ONCE, plugged it in, and it said I had listened to it 554 times.

Does anybody know what the problem could be, and how I can fix it? This is really urgent.

hope you can make a script to fix this

Reply

Leave a Comment

CommentLuv Enabled

Previous post:

Next post:

-->
How smart is your Theme?  How good is your support? Check out ThesisTheme for WordPress.

About Christopher

I love tech, but don’t have as much time or money to spend on it as I’d like. I get what I need to sustain my Geek vicariously through other sources and pass it along to you.

TwitterFacebookLinkedInDiggStumbleUponTechnoratiDeliciousFriendFeedRobot Skull

Popular Post

Recent Comments

Categories

Archives

Tag Cloud

-->

Twitter - follow me