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.

{ 1 trackback }

How to: Edit The Play Count Of Songs in iTunes 9 - PocketFullOfApps
May 2, 2010 at 6:02 pm

{ 34 comments… read them below or add one }

GRF March 9, 2009 at 7:32 pm

Thanks so much for posting this script!!  I have created a few Smart Playlists based on play count (i.e. play only songs where play count = ‘0′ or ‘1′ so I can listen to songs that never come up in shuffle) and I now need to restore my iPod.  But when I re-load all my songs from my external hard drive, it automatically sets the play count to zero.  With this script I can rebuild my play counts which I stored in another field temporarily.  Thanks again!

Reply

Christopher March 18, 2009 at 9:39 am

Glad you were able to get some use out of it

Reply

b March 31, 2009 at 9:45 am

Thanks, works amazing!

Reply

Adriano April 17, 2009 at 9:46 am

Thank you, Bro, It really helps me!

Reply

Nick April 27, 2009 at 6:27 pm

is it possible to do this through the iPod?

Reply

Christopher April 30, 2009 at 9:22 am

@Nick – I don’t believe so. iPod keeps track of play counts – if you watch play counts in iTunes before and after you sync your iPod, you’ll notice they change – but I don’t think there’s any way to access them.

Reply

Amy June 26, 2009 at 6:36 pm

Mine just opens up with dreamweaver when I double-click it.

Reply

Amy June 26, 2009 at 6:55 pm

It just opens up in dreamweaver if I try to double-click it to run the script.

Reply

Stuart Bruce June 27, 2009 at 6:44 am

Thanks very much for this, works a treat.

The one thing I’m wondering is if there’s be a way to add another line below currTrack.PlayedCount = 1
which would set the “Last Played” value to the current time, as well as changing the play count?

Thanks again

Reply

Jordan July 14, 2009 at 12:23 pm

Wow, that’s just awesome. Such a simple script too!

Reply

Hatty July 27, 2009 at 2:34 am

Wow. Thank you so much. It worked like a charm and such an easy script too!

Reply

iPod-Life at it's best August 4, 2009 at 9:42 pm

Chris,

Thanks a-bunch. Just what I have been looking for. Somehow I have many duplicate songs (wonder if it was due to restoreing my library) and noticed playcounts now growing on these new dups, so I want to put them all on one file. don’t want to loose those large play counts.

oh..just notice you like space adventure (pictures at the bottom) – do a Google on APOD (Astronomical Picture of the Day, for over a decade of postings) and you’ll see daily posts by experts – I tell everyone about these awesom images – the most beautiful images of galaxies, starts, planets, and Earth. Thanks again and Engjoy!

Reply

Christopher August 5, 2009 at 12:37 am

I’m glad you’re able to get some use out of the javascript.

I’m quite familiar with APoD. I came across it several years ago, and it’s been a great source of information!

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