Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.07 KB

File metadata and controls

39 lines (26 loc) · 1.07 KB

Media Folder Icons

Script to set media folder covers on macOS because I was tired of boring old folder icons for my movie folders. For each immediate subdirectory, applies poster.jpg as the directory icon.

image

Looks great in cover flow!

Screenshot 2023-03-11 at 15 23 13

Getting Started

Prerequisites

  • macOS
  • Python 3
# ImageMagick
brew install imagemagick

# pyobjc (recommended in a local virtual environment)
python3 -m venv .venv
source .venv/bin/activate
python -m pip install pyobjc

Notes:

  • The script prefers .venv/bin/python when available.
  • If magick is available (ImageMagick v7), it will be used automatically.
  • Otherwise it falls back to legacy identify/convert commands.

Usage

./setCovers [-f] <path to media folder>

-f flag overwrites any previously set icon