Replies: 1 comment 6 replies
-
If the file is stored locally on the device, then you can achieve this using the from pymobiledevice3.lockdown import LockdownClient
from pymobiledevice3.services.afc import AfcService
# connect to first detected usb device for afc (file transfer from /var/mobile/Media)
mp3_contents = AfcService(lockdown=LockdownClient()).get_file_contents('path/of/remote/file.mp3') Then analyze the file on the local machine and do whatever with it. pymobiledevice3 afc shell |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m trying to play music from my iPhone to a rpi using python. I’ve been trying to find out how to use pymobiledevice and this seems like the most documented repo, but I still can’t find what I’m looking for. My questions are:
Beta Was this translation helpful? Give feedback.
All reactions