Apple

xrayspx's picture

Use The Force

Fixed Tags:

Some time ago, I set "3 finger drag" on my mouse to "Lock my machine". That worked about 50% of the time first try. The rest of the time it would take me to my dashboard, change virtual desktops, or go back in my browser history.

The correct way, as in all things, is to use The Force.

xrayspx's picture

Hmm. So that's how it is in their family

Music: 

Shriekback - Malaria

TL;DR: Here is how to restore DJ to iTunes, as much as possible

A few months ago, Apple maliciously broke iTunes in several really specific ways, one of which was to drop the DJ functionality, which is basically how I would listen to music.

Reading a thread on JWZ's site this issue, among others, I posted my somewhat-fix for the issue. And it is. A "somewhat" fix. It acts pretty much like DJ used to act, but for two problems. You can't drag things from a window with your whole collection into your "DJ" window (Cause hey, ONLY ONE WINDOW NOW), and besides, I had to create a Smart Playlist to fix it, and you can't add to a smart playlist anyway. There is "Play Next", which I guess works.

My other main gripe with this is that when I hit Next to skip a track, usually it removes it from the top of the playlist, but often enough to annoy the fuck out of me, it doesn't, and I have to go back in and clean up the top of my list a few times a day. Worse, songs I've skipped will come back up in the mix sooner than I would otherwise want them to, since iTunes doesn't know I've skipped them.

I remember reading somewhere that there was a discussion once about how to make iTunes mark something as "Skipped", or at least what the secret parameters are that cause things not to become "Skipped". So tonight it annoyed me enough to hunt around, and of course, the very first hit was back to a different JWZ post from exactly three years ago this week, complaining about this exact skipping thing.

Of course he didn't get a satisfactory answer, because he almost never gets a satisfactory answer to exactly what he asked. It looks like if you skip between 2 and 20 seconds into the song, and don't hit pause ever, it will show as Skipped. Neat.

His Herp Derp checkbox was the only thing that made any of this sane for me in this case.

To mostly restore iTunes DJ, do the following:

Click + at the bottom left of the iTunes window and create a new Smart Playlist. I named mine "DJ-ish".

Match All of the following rules:

  • Last Played not in the last 1 days -- Or however long you want to go between repeats
  • Last Skipped not in the last 2 days -- This will make iTunes clean up most songs you skip using the Next button.
  • Limit to 100 items selected by Random -- or however many upcoming tracks you want it to pull at a time
  • Match only checked items -- Unless you want iTunes to randomly play songs you've explicitly told it you don't want to hear by un-checking them
  • Live Updating

It's pretty simple to get most of that functionality back, but you know what would have been simpler? NOT REMOVING IT.

xrayspx's picture

iTunes Mass Importer

Music: 

Bauhaus - King Volcano

For my own notes, so I don't forget I did this... Big thanks to Doug from Doug's Applescripts for iTunes for convincing me that making iTunes update in this way is possible.

As with all things, I have to make my music library overly complicated. In historical times, I ripped at 128k, then 192k, but even a lot of the 192k mp3s sound like crap, so I've decided that going forward, I'm doing 320k CBR MP3s as well as FLAC.

I'm using Max to do the rip and encode on the Mac. It encodes both sets of files in parallel and saves them in a directory under ~/Music/max-rips/Artist/Title.

Here is a script to sort that and update iTunes. It'll drop the MP3s in my MP3 library directory, then drop the FLACs in a repository for them, finally making iTunes add the new files at the end. If all you want is to make iTunes rescan your library for new files from a script of bash shell, you want the osascript line toward the bottom, just substitute the path to your collection in place of mine.

I'd like to pass $directory and $albumdir to the osascript and have it live inside the inner for loop, but I've not figured out how to use my variables inside the 's that osascript -e requires to run its part. It only takes a few seconds to re-index the whole thing.

This is the utterly fugly 15-minute first draft with crappy variables and whatnot, but it does work.

(Yeah yeah, "find blah blah | while yadda yadda", 15 minutes, works, admittedly fugly, 2000 CDs and nothing has | in the artist or title)
Update #2: Nevermind all that, the script below is a lot clearer and does all that stuff I wanted.

maxmover.sh:


#! /bin/bash

find ./max-rips -depth 1 -type d | awk -F "max-rips/" '{print $2}' | while read artist
  do

    mkdir "/Volumes/Filestore/CDs/$artist"
    mkdir "flac-output/$artist"

    find "./max-rips/$artist" -depth 1 -type d | awk -F "max-rips/$artist/" '{print $2}' | while read album
      do

        mkdir "/Volumes/Filestore/CDs/$artist/$album"
        mv "max-rips/$artist/$album"/*.mp3 "/Volumes/Filestore/CDs/$artist/$album/"
        mv "max-rips/$artist/$album" "flac-output/$artist"

        `/usr/bin/osascript         tell app "iTunes"
        add POSIX file "/Volumes/Filestore/CDs/$artist/$album/"
        end tell
        EOT`

      done

    rm -f "max-rips/$artist"/.DS_Store
    rmdir "max-rips/$artist"

  done

Update:
It looks like there are several ways to skin my osascript cat. These aren't even the most fluid examples I've found.

xrayspx's picture

LGBTQ Bigotry - Finally Speaking Up

Music: 

Leonard Cohen - Anthem

"I really believe that the pagans, and the abortionists, and the feminists, and the gays and the lesbians who are actively trying to make that an alternative lifestyle, the ACLU, People For the American Way -- all of them who have tried to secularize America -- I point the finger in their face and say "you helped this happen."" -- Jerry Falwell, with Pat Robertson, discussing why God sent religious zealots to attack American cities on 9/11/2001.

----
This post is not an attempt at suppression of anyone's speech or opinions. It is an expression on my part of how those words make me feel. People's feelings, bigoted and horrifying though they may be to me, are their own. Americans have the right, and duty, to non-violently advocate their position as strenuously as possible. History and the sands of time will be the judges of which opinion was right or wrong. If you disagree with me and want to comment, feel free to speak your mind. I will certainly speak mine right back. This is ethical advocacy and will not prevent me from having a beer and a dog, and then another beer, with anyone, ever. And we shall breezily talk of other things. Weather. Inferior corn-height (I am a born Hoosier, remember that. I instinctively know what corn is supposed to look like, and when). Baseball. Kittens.
----

I've made it clear through the history of my posts that I'm a vocal advocate for equal protection under the law for all Americans. Many of my inlaws do not share this belief, and out of an abundance of respect for my wife, and the fact that their opinions are their own, I've not said anything about the bigotry I see on a pretty regular basis. I have simply kept my mouth shut and turned the other cheek when I have seen attacks against gays, women and those who they perceive to worship religions different to their own.

However, the last week of batty Chick-Fil-A nonsense has brought things to a head. A string of updates, beginning with "It's unconstitutional for people to protest Chick-Fil-A" and culminating today in "[National Same Sex Kiss Day] is the start of Christian Persecution".

"I think we are inviting God's judgment on our nation when we shake our fist at Him and say, 'We know better than you as to what constitutes a marriage,'" -- Dan Cathy, President and COO, Chick-Fil-A

There is no requirement for people to support a company which actively works to discriminate against those very same people. Just black people and Jews "boycott" Resistance Records, so shall Gay people (and the people who love them) boycott Chick-Fil-A. Resistance Records' first amendment rights are not being infringed upon simply because the object of their hatred doesn't give them money, and neither are the rights of Chick-Fil-A being infringed upon.

This "persecution" angle has finally prompted me to respond.

In the lifetime of our nation, we've seen:

  • Southern Christians abandoned the Republican party for 100 years after Lincoln took away their biblically mandated right to own other human beings. It wasn't until the 1960s until the Nixon/Goldwater Southern Strategy got them back on the team. (This makes me especially upset, because I often see people say both "Republicans, the party of Lincoln" and "Democrats, who opposed equal rights for blacks in the '50s/'60s", because it's not about the party when the demographic shifts 180 degrees, twice. Southern Evangelicals fled the Republican party because of Lincoln, and only returned to the party when racial intolerance became a plank of the Republican platform)
  • Christians protesting the right for women to vote.
  • Christians protesting the right for black people to vote.
  • Christians protesting the right for black people to eat in the same restaurants, drink from the same fountains, and attending the same schools as whites
  • Christians protesting and making laws against interracial marriage.
  • Christians abandoned the Republican party for 100 years after the Republican Lincoln took away their biblically mandated right to own other human beings. Until the Nixon/Goldwater Southern Strategy got them back on the team. (This makes me especially upset, when people say both "Republicans, the party of Lincoln" and "Democrats, who opposed equal rights for blacks in the '50s/'60s", because it's not about the party. Southern Evangelicals fled the Republican party because of Lincoln, and only returned? to the party when racial intolerance became a plank of their platform)



Since it's been said that boycotts are first amendment violations of the rights of Chick-Fil-A's free speech, and that we are seeing the start of Christian oppression in this country. Below is what "Christian Oppression" would actually look like when presented as mirror images of acts of oppression which have actually happened to other groups :

  • The 85% Atheist majority passes laws requiring science be taught to children in Sunday School
  • The 85% Atheist majority taxes churches to the point that it's not financially feasible for them to hold services (Taxes churches out of existence)
  • An Atheist-values-based chicken company gives millions of dollars to hate groups advocating the extermination, expulsion and imprisonment of Christians (Genocide! Ethnic Cleansing!)
  • A pair of lesbians in Wyoming viciously beats a straight Christian man and leaves him to die tied to a fence post for the crime of speaking to them in a bar
  • A lesbian Atheist group rises to national prominence by protesting that same Christian man's funeral carrying disgusting placards stating "God Hates Christians"
  • That same extremist group grows over the next twenty years, protesting the funerals of American soldiers because those soldiers fight for a country which permits Christians to practice their faith
  • A Christian is legally fired from their job simply because of the fact that they believe in Christ. The federal government does not recognize Christians as a protected group, safe from firing based on their religious beliefs.
  • The federal government refuses to recognize Christian marriage, and denies federal tax and death benefits to Christians who were lucky enough to marry in the tiny minority of states which have chosen to permit them to.
  • Athiest hate groups picketing and intimidating Christian Scientists and Jehovas Witnesses and shooting those who legally refuse to take their family to hospitals for medical care and blood transfusions
  • The 85% Atheist majority looting and burning entire countries to find Christian believers and forcibly convert them away from Christ. If the Christians don't renounce religion, they are murdered after watching their entire family die
  • A written test is required for segments of Americans to be allowed to vote. That test includes questions specifically pertaining to things of which Christians as a group have no knowledge. Additionally, a fee is imposed at the voting booth, which is then selectively enforced, but which Christians all must pay in order to cast their vote. If they pass the test, and pay the fee, the Christian vote then only counts as 3/5 the vote of an Atheist

Honestly, to equate yourselves to actual oppressed people is childish, disgusting, and shows a lack of knowledge of history and the struggles of oppressed peoples. The equal rights of gay, lesbian, bisexual and transgendered Americans is just the latest in a very, very long list of basic human rights and equality measures which have been violently opposed by Christians in the name of their bible over the last 400 years in the New World. For Christians to self-identify as some second-class put-upon minority class is frankly sickening.

xrayspx's picture

Google Chrome Review @ 5 Minutes in

I've just been playing with Google Chrome from the Dev Channel site. After 5 minutes, I've got some things I hate.

xrayspx's picture

What "Apple Tax"?

Why I gladly pay the Apple "Luxury Tax"

Fixed Tags:
xrayspx's picture

This is fantastic

Thanks boingboing.

Here is video and a couple of scanned articles by James Leatham. He made a great SciFi short in 1981 using an Apple II for special effects. The long and short of it is that since the Apple didn't have the horsepower to produce the actual animations he wanted, he set it up to render still images and control a stop motion video setup.

xrayspx's picture

I'm deeply annoyed with IMAP

Since my exit, stage left from VistaPrint earlier this year, I've been running my site at 1and1, with no real complaints, except that their VMs only offer Fedora Core 4, which is ages and ages old. I've been running UW-IMAP since then, and I've had some complaints. I believe those complaints might be client relate, but they might not, so I decided to try out some different servers. My only real complaint is that when running multiple clients against the same message store, they get out of sync.

Mail.app and IMAP Folders

For some time, I've been annoyed by Mail.app not checking all folders every time it checks mail. My situation is that I have an IMAP server at a colo, a Mac Pro at home usually with Mail.app running and more importantly, running its filters, and a MacBook running Mail.app that I take with me to work or wherever.

xrayspx's picture

MacBook Air

[music | Public Image Ltd. - Same Old Story]

I think this machine defines the fine line between "Apple Fan" and "Apple Fanatic", so here are some first thoughts on the Macbook Air in disorganized bullet-point fashion:

Fixed Tags:

Pages

Subscribe to RSS - Apple