Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Create Playlist with Pythonista
-
Does anyone know of a way to create a new playlist on iOS 10 with Pythonista 3? I've been able to tweak the Music_Stats.py example script to make a list of the songs I want to add, but I don't know whether it's possible to programmatically add them to a new playlist. Any thoughts?
-
It's not possible to create playlists programmatically. From Apple's
MPMediaPlaylist
documentation (emphasis mine):Users configure playlists using iTunes on the desktop or by creating an on-the-go playlist on the device. To your iOS application, playlists are read-only.
-
@omz Aw darn - Perhaps I can export the list of songs and use an Automator workflow to assemble the playlist instead. Thank you!