Created
June 24, 2014 14:43
-
-
Save rbrito/486cef39ed4194f41df5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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