aboutsummaryrefslogtreecommitdiff
path: root/modules/media-utils.el
Commit message (Collapse)AuthorAgeFilesLines
* refactor(media): extract the playback sentinel as a named builderCraig Jennings6 days1-10/+14
| | | | | - cj/media--play-sentinel returns the per-process closure. - Three new tests pin the reap-on-exit behavior.
* refactor: launch external processes with argv lists, not shellsCraig Jennings6 days1-36/+61
| | | | | | | | - open-this-file-with splits the typed command and calls call-process. - media-play-it resolves streams via a yt-dlp capture, then start-process. - Paths, URLs, and player args never meet a shell. - yt-dlp stderr is captured separately so warnings can't parse as URLs. - Stream resolution now blocks briefly. mpv (the default) is unaffected.
* chore(media): default video player to mpvCraig Jennings2026-06-261-2/+4
| | | | mpv resolves streaming-site URLs itself via yt-dlp, so it needs no pre-extracted stream URL or format-guessing the way vlc does. This drives both elfeed's v (cj/play-with-video-player) and the general default.
* docs(load-graph): classify core libraries and command modulesCraig Jennings2026-05-241-0/+9
| | | | | | Third classification batch: the remaining core and library command modules from init.el's early block — external-open, media-utils, auth-config, keyboard-macros, system-utils, text-config, undead-buffers. I annotated each with the load-graph header contract, added a Batch 3 table to the inventory, and extended the validation allowlist. 23 of 102 modules are now classified. No new hidden dependencies in this batch. auth-config stays eager because other modules need credentials early; the command libraries (external-open, media-utils, keyboard-macros) are eager only by init order and flagged as Phase 4 deferral candidates.
* fix(tests): Move cj/log-silently to system-lib.el, fix all test failuresCraig Jennings2025-11-151-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Consolidated cj/log-silently function to system-lib.el as the canonical location for low-level utility functions. This fixes 4 failing tests in video-audio-recording that couldn't find the function. Changes: - Move cj/log-silently to system-lib.el (from system-utils.el) - Remove duplicate definition from org-agenda-config-debug.el - Remove duplicate definition from system-utils.el - Add (require 'system-lib) to all modules using cj/log-silently: - video-audio-recording.el - org-agenda-config-debug.el - media-utils.el (also removed declare-function) - elfeed-config.el (replaced system-utils with system-lib) - wrap-up.el Test Results: - Before: 112/113 passing (4 video-audio-recording tests failing) - After: 113/113 passing ✓ All tests now pass with zero failures. Fixes TODO #809-895 (move cj/log-silently to system-lib.el)
* style:media-utils: Fix indentation and change default playerCraig Jennings2025-10-231-5/+4
| | | | Correct indentation for readability. Change default player to VLC.
* docs: media-utils: Update commentary for default media selectionCraig Jennings2025-10-201-2/+13
| | | | - Expand the commentary section in `media-utils.el` to include details on default media player selection and customizable configurations.
* changing repositoriesCraig Jennings2025-10-121-0/+187