Giter VIP home page Giter VIP logo

Comments (6)

Alex313031 avatar Alex313031 commented on July 26, 2024 1

@quacksire This doesn't use anything from Cider?

It uses stuff from apple-music-electron.

But in any case, how should I fix this?

from apple-music-desktop.

coredev-uk avatar coredev-uk commented on July 26, 2024

Hello,

Since Qwack is not replying to this, I will handle this on behalf of the team.

If you could remove any reference to Cider in your codebase, notably the client-preload.js which has clearly been copied word by word from our version, including the logs referring to it, or if you continue to use this code please follow the AGPL license rules and adopt this license.

As Cider has now been archived and I understand that there is not much on GitHub for Apple Music, this will not go any further than this. As far as I can see, the majority of the functionality you have copied, you have not even used. So I suggest removing it and rewriting as necessary.

Thank you for your cooperation.

from apple-music-desktop.

Alex313031 avatar Alex313031 commented on July 26, 2024

@coredev-uk I will do both. Update the license and remove unneeded stuff from the preload script. I'm mainly just using a few musickit stuff from it to allow pausing/playing from the tray and menu.

from apple-music-desktop.

coredev-uk avatar coredev-uk commented on July 26, 2024

In that case, all you will need is to hook into PlaybackStateHasChanged (or WillChange) and/or NowPlayingHasChanged with just an IPC call to send the current playing item.

If you want to know more about the types I suggest taking a look at our types for MusicKit.

from apple-music-desktop.

Alex313031 avatar Alex313031 commented on July 26, 2024

@coredev-uk Yeah, I looked at that, but I am still keeping the file around as client-preload.bak. It isn't used in the app anymore, or included in the installers. Just keeping it around as a backup reference, as looking through and seeing examples made it alot easier for me to come up with my own, simplified implementation, rather than reading through the apple docs (although the docs did help me with getting track info to make a new popup window to show the track name/album/artist when in docked/tray mode.)

The whole point of this project was because apple-music-electron was broken, and I tried and tried but couldn't fix it. I was trying to update the npm deps and electron version, and change a few minor UI things. I gave up and decided to make my own app from scratch, but I did use the file from Cider originally, since I knew it worked and Cider still works and can be built from source properly even though it's deprecated.

Should I still modify the license since the file is in the repo? Or can I exclude it since it isn't actually built into the product or installer.

from apple-music-desktop.

coredev-uk avatar coredev-uk commented on July 26, 2024

Just throw it in a docs folder outside the src and remove any direct references to cider, that should be all. As for apple-music-electron, its a very hard to keep it going since its highly dependant on Apple's site, hence the reason why we made Cider, just the paywalled nature of the application is a regrettable circumstance of our expanded user base.

I wish you good luck for this and hope it goes well and thanks again for following this.

from apple-music-desktop.

Related Issues (9)

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.