Stupid Mac::Glue Tricks: Quick-Edit iTunes Track Properties

| | Comments (0)
You can edit properties for tracks at once in iTunes, but not all of the properties are available in the UI. For my iPod shuffle, I like to have audiobooks and podcasts, some of which do not already have "Remember playback position" and "Skip when shuffling" set, as I'd like them to be. And I cannot see a way to modify those in the UI in bulk. Therefore, I select the files I want to edit, and:

use Mac::Glue;
my $itunes = new Mac::Glue 'iTunes';
my $sel = $itunes->prop('selection');
$sel->prop('bookmarka ble')->set(to => 1);
$sel->prop('shufflable')->set(to => 0);

use.perl.org

Leave a comment

<pudge/*> (pronounced "PudgeGlob") is thousands of posts over many years by Pudge.

"It is the common fate of the indolent to see their rights become a prey to the active. The condition upon which God hath given liberty to man is eternal vigilance; which condition if he break, servitude is at once the consequence of his crime and the punishment of his guilt."

About this Entry

This page contains a single entry by pudge published on December 1, 2005 8:05 AM.

Representatives was the previous entry in this site.

Anti-Alito Commercial is the next entry in this site.

Find recent content on the main index or look in the archives to find all content.