fix quicklookd and transmission when downloading video

April 29th, 2008

I say we take off and nuke the entire site from orbit…
it’s the only way to be sure.

Is your Mac’s CPU pegged when Transmission (or any other Mac BitTorrent client) downloads video? That’s because quicklookd — the QuickLook daemon that sneaks around and builds thumbnails of your movie files, is trying to build a thumbnail of a chunk of video that doesn’t exist yet. Because BitTorrent clients allot the disk space non-contiguously and then fill in the data, your Mac is confused. End the confusion with two Terminal commands so long that there is no center content well that can contain them:

sudo cp -r /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Movie.qlgenerator ~/Documents/Movie.qlgenerator
sudo rm -r /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Movie.qlgenerator

NOTE: So what did that do? The first command made a backup copy of the problematic Movie.qlgenerator in your Documents folder. The second command removed it. On the downside, you will lose the ability to “QuickLook” video files, and no thumbnails will be created or maintained for video files. On the upside, you will instantly gain ~75% of your CPU back as your Mac stops struggling in vain to create a thumbnail for a video frame that hasn’t actually been downloaded yet.

~Jeff

10 Responses to “fix quicklookd and transmission when downloading video”

  1. Cay says:

    So how easily reversible is this? I do use Quicklook for video, since it loads much faster than VLC for the most part…

  2. Jeff says:

    To reverse it completely, you’d do a:

    sudo cp -r ~/Documents/Movie.qlgenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Movie.qlgenerator

    and then:

    qlmanage -r

    to rebuild the QuickLook generator list.

    ~Jeff

  3. Jeff says:

    …man that looks shitty. but it works. essentially it copies back the movie qlgenerator file to where OS X expects it and then tells OS X to rebuild the list of QuickLook plug-ins.

  4. Cay says:

    Awesome, thanks! Helps out a lot when I’m snagging more than 5 videos at a time, since mds was, indeed, killing VLC’s frame rate.

  5. […] an item on Google Reader fix quicklookd and transmission when downloading video May 28 at 1:26 pm – Link ©2008 FriendFeed – About FriendFeed – Blog – API – Help […]

  6. kyf says:

    i never leave comments, but that’s the best tip ever. thanks!

  7. Chackster says:

    Thanks bro.

  8. Jeff says:

    great tip, thank you so much, do i leave Movie.qlgenerator in the document folder or move it to somewhere in the library?

  9. […] ldopa.net » archive » fix quicklookd and transmission when downloading video […]