--- id: pyobjc-framework-mediaplayer version: "12.2.2" license: MIT license_treatment: permissive maintenance: active --- # pyobjc-framework-MediaPlayer — Wrappers for the framework MediaPlayer on macOS License: permissive · Maintenance: active · Downloads: 661.6K/mo ## What it is and what it does This package is a PyObjC wrapper that exposes Apple's MediaPlayer framework to Python developers on macOS. It allows you to interact with media player controls, media item selection, and playback interfaces from Python code by bridging to the underlying Objective-C framework. The wrapper itself contains no documentation—you rely on Apple's official MediaPlayer framework documentation combined with PyObjC's general translation guides to understand how to use each class and method. It's part of the larger PyObjC project and requires pyobjc-core and pyobjc-framework-AVFoundation as runtime dependencies. The package is actively maintained, supports Python 3.10 through 3.15, and carries no known security vulnerabilities. Use it for: - Build native macOS applications that need to control media playback or present media selection interfaces - Integrate media player functionality into Python-based macOS desktop tools or automation scripts - Create custom media player UIs on macOS by wrapping MediaPlayer framework components - Develop macOS audio or video management utilities that interact with system media controls ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python bindings to macOS's MediaPlayer framework, enabling programmatic control of media playback and player interface elements on macOS. Yes, if you are developing on macOS and need to control media playback or media selection from Python. The package is actively maintained, has no security issues, and uses a permissive license. The main constraint is platform specificity—it only works on macOS—and you will need to cross-reference Apple's framework documentation to use it effectively. ## Install pip install pyobjc-framework-mediaplayer uv add pyobjc-framework-mediaplayer poetry add pyobjc-framework-mediaplayer ## Installing pyobjc-framework-MediaPlayer Before you install: Low install friction with a pure-wheel distribution. Actively maintained with a release 3 days ago and recent repository activity. Depends on pyobjc-core and pyobjc-framework-AVFoundation, both part of the same PyObjC ecosystem. License in practice: MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for most projects. Quickstart: pip install pyobjc-framework-mediaplayer from MediaPlayer import MPMediaPickerController # Use MediaPlayer framework classes via PyObjC bindings Requires macOS; only works on Apple platforms. Requires Python 3.10 or later. Verify before relying: - Specific MediaPlayer framework capabilities exposed by this wrapper version - Whether free-threading support (indicated in classifiers) is fully functional ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 661.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags macOS media player control, python mediaplayer framework, pyobjc media playback, macos audio video control, objective-c media bindings, macos cocoa media player, python mediaplayer wrapper, macos-only, objective-c-bridge, media-control [View on SkillFed](https://skillfed.io/packages/pyobjc-framework-mediaplayer) · [View on PyPI](https://pypi.org/project/pyobjc-framework-mediaplayer/)