omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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

    Pythonista
    ios10 playlist music pythonista 3
    2
    3
    3253
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CytotoxicTCe11
      CytotoxicTCe11 last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • omz
        omz last edited by

        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.

        CytotoxicTCe11 1 Reply Last reply Reply Quote 1
        • CytotoxicTCe11
          CytotoxicTCe11 @omz last edited by

          @omz Aw darn - Perhaps I can export the list of songs and use an Automator workflow to assemble the playlist instead. Thank you!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors