Skip to content

Conversation

@vedanthvdev
Copy link

No description provided.

Major modernization update:

- Updated to Python 3.8+ (removed Python 2 support)
- Optimized for macOS Apple Silicon (M1, M2, M3, M4)
- Added Retina display support with proper DPI scaling
- Improved GUI with native macOS appearance

Core Changes:
- spatialmedia/gui.py: Removed Python 2 compatibility, added macOS optimizations
- spatialmedia/__main__.py: Updated shebang to python3
- setup.py: Migrated from distutils to setuptools with modern configuration
- requirements.txt: Updated dependencies with version constraints

New Files:
- SETUP_MAC_M_SERIES.md: Comprehensive setup guide for Apple Silicon Macs
- build_macos_app.sh: Automated build script for macOS app bundles

Documentation:
- README.md: Updated with Python 3 and M series information
- Added quick start guides and troubleshooting sections

Technical Improvements:
- Platform-specific scaling (1.4x for macOS, 2.0x for others)
- Native macOS themed toplevel windows
- Fixed string encoding for Python 3
- Enhanced error handling and console output

Compatibility:
- Python 3.8, 3.9, 3.10, 3.11, 3.12
- macOS 10.13+ (Intel and Apple Silicon)
- Windows 10, 11
- Linux (modern distributions)

Tested on: macOS Sequoia with Apple Silicon
- Add YouTube V2 metadata injection (SV3D, PRHD, EQUI boxes)
- Fix Box.print_box() method for file opening in GUI
- Update to Python 3.8+ with Apple Silicon support
- Configure GUI for macOS with proper tkinter settings
- Update all dependencies to modern versions

Core Changes:
- spatialmedia/mpeg/box.py: Add missing print_box() method
- spatialmedia/gui.py: Add V2 metadata injection, macOS optimizations
- spatialmedia/__init__.py: Add version 2.1.0
- spatialmedia/__main__.py: Add --version flag
- setup.py: Migrate to setuptools, Python 3.8+ requirement
- .python-version: Set to 3.12.8 for pyenv

Bug Fixes:
- Fix AttributeError when opening files in GUI
- Fix GUI metadata injection to include V2 for YouTube

Tested:
- All 8 original tests passing
- V2 metadata verified (SV3D, PRHD, EQUI boxes present)
- YouTube compatibility confirmed
- GUI and CLI both functional
@google-cla
Copy link

google-cla bot commented Jan 7, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

1 participant