Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

All your music, the best of it, by your own admission

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 objects
Octocat-spinner-32 LICENSE.md
Octocat-spinner-32 README.md
Octocat-spinner-32 counter.rb
Octocat-spinner-32 counter_gcd.rb
Octocat-spinner-32 iTunes.bridgesupport
Octocat-spinner-32 iTunes.h
Octocat-spinner-32 stats.txt
README.md

"It's like a better genius playlist generator because it makes you the genius"

Based on this tweet: https://twitter.com/joshaber/status/175230633033994240

Joshtweets

For realz.

Created with macruby 0.10. Should work down to 0.5 I believe.

Defaults:

  • Need an empty playlist named "Top Tracks" or create your own and change the PLAYLIST const.
  • Adjust the DELIMITER to your liking. Mine plays out nicely at 3-5.

Explanation:

The algorithm takes the average play count (disregarding the highest and lowest count for good measure) for each album, and then se​​lects any songs in that album with a play count > DELIMITER

To run:

just run macruby counter.rb

Problem solving:

There shouldn't be any. If there are, you may need to build the iTunes bridge support files for your machine. Simply run:

sdef /Applications/iTunes.app | sdp -fh --basename iTunes and gen_bridge_metadata -c '-I.' iTunes.h > iTunes.bridgesupport

What to do with it:

Listen to good music. ???. Profit.

License:

See LICENSE.md

Something went wrong with that request. Please try again.