Skip to content

Added a widget to fetch mpv info with socat#437

Open
jonnevuorela wants to merge 1 commit intoJean-Tinland:masterfrom
jonnevuorela:jonnevuorela
Open

Added a widget to fetch mpv info with socat#437
jonnevuorela wants to merge 1 commit intoJean-Tinland:masterfrom
jonnevuorela:jonnevuorela

Conversation

@jonnevuorela
Copy link
Copy Markdown

Description

Added a new MPV widget that displays currently playing media information from MPV player, similar to the existing MPD widget functionality. This widget communicates with MPV through its IPC socket to fetch and display the current media title.

No fixes, this is a new feature addition.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Tests performed:

  • Verified widget displays current media title when MPV is playing
  • Confirmed widget properly handles MPV not running/socket not available
  • Tested settings integration (socket path, refresh rate, display options)
  • Verified widget styling matches Simple Bar's design system

Test Configuration:

  • OS version: Sonoma 14.6.1
  • yabai-v7.1.6
  • Übersicht version: Version 1.6 (82)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas (make use of JSDoc if necessary)
  • My changes generate no new warnings

Changes to make to the documentation

Documentation updates needed:

  1. Add MPV widget section to README.md
  2. Document required MPV configuration (--input-ipc-server flag)
  3. Add widget configuration options to settings documentation
  4. Include example MPV command with required flags

@Jean-Tinland
Copy link
Copy Markdown
Owner

Hi @jonnevuorela,

Thank you very much for your work, I'll merge this soon and add a dedicated documentation page.
I have to take care of some things first but it will be done! :)

@Jean-Tinland Jean-Tinland added enhancement New feature or request planned New feature or request added to roadmap labels Feb 25, 2025
@Jean-Tinland Jean-Tinland removed the planned New feature or request added to roadmap label Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants