Synchronizes iTunes playlists with a folder (on your Android phone)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


A script to sync a playlist from iTunes with a folder (on your Android phone). Currently it needs the target folder mounted as USB mass storage.


Clone the project from GitHub and install it:

git clone git://
cd /path/to/project/DroidSync
pip install -r requirements.txt
python install



Call the script droidsync and define all iTunes playlists you want to clone to your external device as well as the target folder (the mounted storage) as arguments. Every argument except the last are interpreted as playlist names. All media files in the target folder, that are not referenced in the playlist, will be removed from your mobile device per default. If you add the option -a, then no files are removed from the target folder. Files, which are in the target folder, but are newer in your iTunes mediathek, will be updated.


  • Copy all tracks from iTunes playlists "Droid" and "My party mix" to the folder /Volumes/Droid/Music and remove all files from the target folder, that are not part of any playlist.

      droidsync Droid "My party mix" /Volumes/Droid/Music
  • Copy all tracks from iTunes playlist "My party mix" to the folder /Volumes/Droid/Music and leave all files in the target folder as they are.

      droidsync -a "My party mix" /Volumes/Droid/Music


Feel free to fork, make changes and send a pull request.


Copyright 2010-2015 Brendan Almonte

Portions of this software were developed by Dirk Ruediger

This software contains code derived from iTunes integration Code written by Dave Bayer (

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.