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.


    MusicRuntime: a module for controlling the Apple Music app.

    Pythonista
    music-player code-sharing
    4
    6
    2525
    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.
    • arandomperson
      arandomperson last edited by

      Hi there! I have been working on this module for the past few days and I think it's ready to be shared. Find it here.

      This provides the following classes,

      • MusicQueueViewer
        • Provides a viewer to select a song/songs in the queue.
      • MQVSong
        • A wrapper for MPMediaItem.
      • MusicPlayerController
        • Provides methods to replace and reorder the queue.

      Currently, for MusicPlayerController, those are the only two methods, but contributions are always welcome. And this requires the rubicon module.

      The repo also has two examples,
      Upnext, allows the user to select multiple songs to be moved up in the queue and to be played next.
      MusicStopper, allows the user to select the last song to be played, I find this useful when I am playing music to go to sleep.

      Have fun!

      mikael 1 Reply Last reply Reply Quote 2
      • mikael
        mikael @arandomperson last edited by

        @arandomperson, looks very useful for playlist automation. I assume this is limited to Apple Music only?

        arandomperson 1 Reply Last reply Reply Quote 0
        • arandomperson
          arandomperson @mikael last edited by

          @mikael I assume so but I haven’t tested it with any other players, nevertheless it would probably be easy to support them.

          1 Reply Last reply Reply Quote 0
          • Alma Helen
            Alma Helen last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Alma Helen
              Alma Helen last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • TiffanyAlvarado
                TiffanyAlvarado last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB Forums | Contributors