top

MacMusicPlayer

English | 简体中问

MacMusicPlayer is an elegant and minimalist music player for macOS, designed as a menu bar application to provide a seamless music playback experience. Built with SwiftUI, it perfectly integrates into the macOS ecosystem, delivering an exceptional user experience.

Application Screenshot

📦 Installation

Method 1: Homebrew

Need to install Homebrew first, Follow the Homebrew Installation Guide to install Homebrew.

brew tap samzong/tap
brew install samzong/tap/mac-music-player

Method 2: Download DMG

Download the latest MacMusicPlayer.dmg from the Releases page.

⚠️ About Security Warnings

Since the app is not notarized by Apple, you may encounter a security warning when first launching it. This is a macOS security feature and does not indicate any security issues with the app.

Solution:

  1. Right-click on the app and select "Open" (instead of double-clicking)
  2. In the dialog that appears, click "Open"
  3. After this, the system will remember your choice and allow normal usage

For Homebrew users: The installation script automatically handles this issue, no additional steps required.

If you still can't open the app, run this command in Terminal:

xattr -dr com.apple.quarantine /Applications/MacMusicPlayer.app

🚀 Usage Guide

VIDEO

  1. On first launch, click the menu bar icon and select "Set Music Source"
  2. Choose a folder containing MP3 files
  3. Access the following features through the menu bar icon:
    • Play/Pause
    • Previous/Next Track
    • Switch Playback Mode
    • Download Music from Online Sources
    • Enable/Disable System Sleep Prevention
    • Configure Launch at Login
    • Reconfigure Music Folder

✨ Key Features

🛠 Technical Architecture

🔨 Development Guide

Requirements

Build Steps

  1. Clone the repository
git clone https://github.com/samzong/MacMusicPlayer.git
  1. Open the project
cd MacMusicPlayer
open MacMusicPlayer.xcodeproj
  1. Build and Run

Project Structure

MacMusicPlayer/
├── Managers/           # Business Managers
│   ├── PlayerManager   # Playback Control
│   ├── LaunchManager   # Launch Management
│   ├── SleepManager    # Sleep Control
│   └── DownloadManager # Music Download
├── Models/             # Data Models
├── Views/              # UI Components
├── Helpers/            # Utility Classes
└── Resources/          # Resource Files

Localization Support

The project supports multiple languages with localization files located at:

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 Development Roadmap

📄 License

This project is licensed under the MIT License - see the LICENSE file for details

🌟 Star History

Star History Chart

🙏 Acknowledgments

Thanks to all the developers who have contributed to this project!


For questions or suggestions, please feel free to open an Issue or Pull Request.