Skip to content

Build Mixtapes for macOS#43

Open
leoluniere wants to merge 3 commits into
m-obeid:mainfrom
leoluniere:main
Open

Build Mixtapes for macOS#43
leoluniere wants to merge 3 commits into
m-obeid:mainfrom
leoluniere:main

Conversation

@leoluniere
Copy link
Copy Markdown
Contributor

@leoluniere leoluniere commented Apr 24, 2026

I started doing this work on another repo but ended up forking again to prevent:

  • Some kind of "commit spam" (it was like 20 commits in my fork)
  • Update to latest changes without merge conflict headache

In the time I'm writing this, this PR only brings:

  • a GitHub Workflow and scripts to build and bundle Mixtapes
  • dependencies for Homebrew on README.md

The workflow and scripts were partly borrowed from Gajim.

The workflow builds for Apple Intel and Apple Silicon, and both were tested and confirmed to work.

The following things aren't working/need to be implemented:

  • gresources file isn't being loaded¹
  • Quick Login²
  • Media Controls (like MPRIS or SMTC)

1: The file is compiled with glib and imported by Pyinstaller in the spec file, but even the file being on the path main.py looks for (Mixtapes.app/Contents/Frameworks/), it's not loaded correctly or not at all. I didn't got to debug enough to know if the problem is when trying to import the file or finding the file as my priority was to get the workflow working.
2: login_helper.py works completely fine on Mac (Only fix is needing to use a custom user-agent) and is able to collect the cookies, but the cookies collected aren't valid for ytmusicapi (can't auth) for some reason.

Any features besides the ones already listed should be working with no major issues

@leoluniere
Copy link
Copy Markdown
Contributor Author

leoluniere commented Apr 24, 2026

Unfortunately I have no experience with Python neither macOS app development, so currently I have no idea how to implement the Media Controls for Mixtapes on Mac.

@m-obeid
Copy link
Copy Markdown
Owner

m-obeid commented Apr 24, 2026

I’m gonna try to spin up an OSX-KVM virtual machine soon and see if I can fix the issues myself 👍

I just needed to confirm that it works

@m-obeid
Copy link
Copy Markdown
Owner

m-obeid commented Apr 28, 2026

I'm gonna try some other day, the VM makes debugging tedious

@m-obeid
Copy link
Copy Markdown
Owner

m-obeid commented Apr 28, 2026

but i did get it to run

@ponleou
Copy link
Copy Markdown
Contributor

ponleou commented Apr 29, 2026

I don't have a macos device, but I found it kinda strange to see so many manual binary and data imports in the pyinstaller spec. Does brew not install the libraries globally? Or maybe try using the mixtapes.spec from #48, maybe it might work as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cross-platform barriers

3 participants