Skip to content

Pass playback position to status_display_program - #1502

Merged
flyingmutant merged 4 commits into
cmus:masterfrom
leana8959:current-position-status
Aug 5, 2026
Merged

flyingmutant merged 4 commits into
cmus:masterfrom
leana8959:current-position-status

Conversation

@leana8959

Copy link
Copy Markdown
Contributor

Related to #1207 and #1501.

I passed a pointer to the player_info struct around and added another argument to the argument array of the status_display_program. I'm not really familiar with C, let me know if there's a better way :)

Are there automated tests for this part of the code? I ran the built binary locally against a status_display_program that echos the params it gets to verify it works.

@leana8959
leana8959 marked this pull request as ready for review April 24, 2026 16:37
Comment thread ui_curses.c Resolved
Comment thread cmus-status-display Resolved
@flyingmutant
flyingmutant force-pushed the current-position-status branch from e8107c1 to 674eafe Compare August 5, 2026 13:12
@flyingmutant
flyingmutant merged commit 6775747 into cmus:master Aug 5, 2026
6 checks passed
@BrewTestBot BrewTestBot mentioned this pull request Oct 28, 2026
1 task done
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.

3 participants