Coder Social home page Coder Social logo

WIP release? about jmc HOT 4 OPEN

gridsystem avatar gridsystem commented on May 24, 2024
WIP release?

from jmc.

Comments (4)

jcm93 avatar jcm93 commented on May 24, 2024 3

I'd like to; it's in quite an unstable state at the moment, however. I've added some integration with Apple Music and probably some other things I've forgotten.

I should be able to devote some time to this during the month of July. A stable-ish build is a priority so hopefully you'll see it sooner rather than later.

from jmc.

jcm93 avatar jcm93 commented on May 24, 2024 1

Just figured I'd post an update here. Had a bit of time to do some work the past couple weeks. Mostly been working on the artist view which is getting there. Last thing for the next build is just to iron out the Apple Music integration which I'm working on now.

Apple Music is a bit awkward, since MusicKit has no direct support for macOS, though the Apple Music API does. So the app is currently embedding an invisible web view that plays tracks with MusicKit JS, while using the normal macOS API to do user catalog lookups. I don't like bundling a web view with the program, but I want to be able to play Apple Music tracks and currently that's the only way. The goal is for this whole thing to be invisible and for the app to play Apple Music tracks just like normal tracks so we'll see how close I can get to that.

from jmc.

gridsystem avatar gridsystem commented on May 24, 2024

Sounds cool! I don't know if it's any use to you but the only non-Apple device I've used with an Apple Music client is the PS5. I mention it in case you might be able to find out how their implementation works.

from jmc.

jcm93 avatar jcm93 commented on May 24, 2024

Still working on stuff. The performance of the embedded web view with MusicKit JS turns out to be too poor for me to want to use it. It was delivering tracks at subpar bitrates and not responding to higher bitrate settings, and integration between JavaScript and Swift was really annoying when trying to ensure sync between the UI and the web player state.

I'm now instead going to try to embed a Mac Catalyst app that plays tracks with MusicKit through the iOS Swift API, and connecting to the main app with either AppleScript or NSXPCConnection. That should solve both issues, but it's sort of uncharted territory so it might take some time to implement.

from jmc.

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.