Skip to content

fix: use absolute ffprobe path on macos (Fix #511) #629

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
Dec 9, 2024
Merged

Conversation

CyanVoxel
Copy link
Member

@CyanVoxel CyanVoxel commented Dec 5, 2024

Successor to #557. This PR resolves #511 by attempting to find ffprobe through a list of commonly known absolute paths:

/opt/homebrew/bin/ffprobe
/usr/local/bin/ffprobe

As this issue affects builds of TagStudio, I would recommend building via PyInstaller and launching via Finder or Spotlight - not the command line.

Tested on macOS Sequoia 15.1.1, M4 (ARM), FFmpeg installed via Homebrew.

@CyanVoxel CyanVoxel added Type: Bug Something isn't working as intended Type: Installation Installing, building, and/or launching the program Type: UI/UX User interface and/or user experience Priority: High An important issue requiring attention Status: Review Needed A review of this is needed System: macOS For the macOS operating system labels Dec 5, 2024
@CyanVoxel CyanVoxel changed the title fix: try to use absolute ffprobe path on macos (Fix #511) fix: use absolute ffprobe path on macos (Fix #511) Dec 5, 2024
@CyanVoxel CyanVoxel added this to the Alpha v9.5 (Post-SQL) milestone Dec 5, 2024
Copy link
Collaborator

@Computerdores Computerdores left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think I have a way of testing this, but the code looks good!

@CyanVoxel CyanVoxel removed the Status: Review Needed A review of this is needed label Dec 9, 2024
@CyanVoxel CyanVoxel merged commit a1daf5a into main Dec 9, 2024
10 checks passed
@CyanVoxel CyanVoxel deleted the fix-511 branch December 9, 2024 19:51
DandyDev01 pushed a commit to DandyDev01/TagStudio that referenced this pull request Dec 13, 2024
…udioDev#629)

* bump pyside version to 6.8.0.1

* fix: try for absolute ffprobe path on macos
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Priority: High An important issue requiring attention System: macOS For the macOS operating system Type: Bug Something isn't working as intended Type: Installation Installing, building, and/or launching the program Type: UI/UX User interface and/or user experience
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

[Bug]: Could Not Find FFmpeg Installation
2 participants