Skip to content

Instantly share code, notes, and snippets.

@rbrito
Created June 24, 2014 14:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbrito/486cef39ed4194f41df5 to your computer and use it in GitHub Desktop.
Save rbrito/486cef39ed4194f41df5 to your computer and use it in GitHub Desktop.
import daap
client = daap.DAAPClient()
client.connect('192.168.1.100')
session = client.login()
db = session.library()
tracks = db.tracks()
tracks[0].save('/tmp/foo.mp3')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment