Giter Site home page Giter Site logo

Comments (6)

zachomedia avatar zachomedia commented on May 24, 2024 1

I looked at this briefly yesterday. I have a feeling it hasn't been implemented yet in MusicKit JS. The documentation refer to https://developer.apple.com/documentation/musickitjs/musickit/playershufflemode and https://developer.apple.com/documentation/musickitjs/musickit/playerrepeatmode, but they don't seem to actually exist yet.

I'm hesitant to implement a feature that should/will be supported by the library.

from apple-music-webplayer.

zachomedia avatar zachomedia commented on May 24, 2024 1

I ended up doing a simple implementation of shuffling for playlists and albums. Once it's properly supported by MusicKit JS, I'll move to that.

from apple-music-webplayer.

dsifriend avatar dsifriend commented on May 24, 2024

I guess this should have something to do with MusicKit.SetQueueOptions.parameters, but the public documentation is still kinda spotty to say the least...

from apple-music-webplayer.

Hum4n01d avatar Hum4n01d commented on May 24, 2024

Don't see an option for shuffle, has it been released?

from apple-music-webplayer.

zachomedia avatar zachomedia commented on May 24, 2024

@Hum4n01d The basic Shuffle that's been implemented outside of MusicKit.JS is only available when viewing a playlist or album. It shows up at the top of the screen (next to the artwork) labelled "Shuffle all"

from apple-music-webplayer.

zachomedia avatar zachomedia commented on May 24, 2024

Shuffle and repeat have been added to the latest release.

from apple-music-webplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.