Skip to content

Instantly share code, notes, and snippets.

@dupleix
dupleix / pyPodTunes.py
Created July 4, 2010 18:38
Synchronize podcasts from iTunes to an mp3 player
#!/usr/bin/env python
from appscript import *
import re, os
from pprint import pprint
from shutil import copy
PODCAST_PLIST = u'Podcasts'
DEST_PODCASTS = '/Volumes/WALKMAN/PODCASTS'
MAX_SIZE = 2*1024*1024*1024
@dupleix
dupleix / pyTunes.py
Created July 4, 2010 14:18
Synchronize an itunes playlist with any mp3 player
from appscript import *
import re, os
from shutil import copy
MY_PLAYLIST = u'walkman'
DEST = '/Volumes/WALKMAN/MUSIC'
iTunes = app('iTunes')
playlist = None