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

iTunes: Manually Adjust Play Count

by Christopher on January 16, 2009

This script does not work with the newest iTunes version 9.
Check out this post for a new script.

JavaScript Error

Please note: This only works for Windows

If, for whatever reason, you find yourself needing to adjust the play count of a song or songs in iTunes, here’s a really simple way to do it without having to muck through XML files. I don’t remember where I found this script, but it works like a charm, so I’ll pass along. Thanks to the original author, whoever you are.

  1. Download this file: AdjustiTunesPlayCount.txt (Right-click, “Save Link As…”)
  2. Change the file extension from .txt to .js
  3. Right-click the file and choose Edit. (If you choose Open, it will run the script; choose Edit)
  4. Find the line currTrack.PlayedCount = 64 and change “64″ to your desired play count. Save and Close
  5. In iTunes, highlight/select the songs whose playcounts you want to change.
  6. Double-Click the AdjustiTunesPlayCount.js file to run the script. Voila.

{ 31 comments… read them below or add one }

Derek September 11, 2009 at 5:25 pm

Hey guys!

For those who are having trouble with running a JavaScript file…

http://digg.com/software/Make_iTunes_rescan_folders_and_remove_missing_files

This is a .VBS file  (Visual Basic Script)

This worked for me. The JavaScript file was opening in Notepad / Dreamweaver / Generic Text Editor…

Derek

Reply

Liam September 12, 2009 at 4:29 am

I have followed all the instructions here, but when I get to the “highlighting the song” that I want to change, I do this in iTunes, open up the .js file, and nothing changes – it just opens up the notepad document without altering the play count of the song. I don’t know what I’m doing wrong… :(

Reply

JoeC September 13, 2009 at 8:47 pm

Utility was working great. I upgrade to iTunes 9.0 and started getting a runtime error messages:
**Error**
Line: 4
Char: 1
Error: Object Required
Code: 800A01A8
Source: Microsoft JScript runtime error

Any suggestions?

Thanks.

Reply

alex September 20, 2009 at 1:08 pm

i did some research on why this does not work in itunes 9. from what i can tell, seems that itunes 9 does not allow the IITTrack object to be accessed. that is what the runtime error is – jscript / wscript can’t find it.

Reply

Emma September 22, 2009 at 7:23 pm

The script posted here works with iTunes 9:
http://forums.ilounge.com/showthread.php?t=40327

Reply

getfreeitunes October 11, 2009 at 1:21 pm

You can always try adjusting the file “iTunes Music Library.xml” in your iTunes folder. It’s the file that keeps a record of all your tracks and the data associated with each song.

Reply

Sarah December 4, 2009 at 8:44 pm

This is still working fine for me in iTunes 9…

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