#!/usr/bin/env python

list_album_playlists.py

Copyright © 2008 Dave Bayer. Subject to a BSD-style license.


Usage:

list_album_playlists.py outfile

Lists the playlists that consist of entire albums found in the iTunes master music library.

This Python script is part of the iTunes project.


Import iTunes module:

from iTunes import *

Open command line argument as the unicode file out:

out = open_arg('outfile')

List all album playlists:

list_album_playlists(out)