Skip to content

lyrics: add --no-keep-synced CLI option#6769

Merged
snejus merged 1 commit into
masterfrom
lyrics-add-no-keep-synced-cli-opt
Jul 13, 2026
Merged

lyrics: add --no-keep-synced CLI option#6769
snejus merged 1 commit into
masterfrom
lyrics-add-no-keep-synced-cli-opt

Conversation

@snejus

@snejus snejus commented Jun 24, 2026

Copy link
Copy Markdown
Member
  • This change adds a small CLI override to beetsplug/lyrics.py: --no-keep-synced. It is the inverse of --keep-synced, and lets one manual lyrics run ignore the configured keep_synced: yes.

Copilot AI review requested due to automatic review settings June 24, 2026 03:14
@snejus snejus requested a review from a team as a code owner June 24, 2026 03:14
@github-actions github-actions Bot added the lyrics lyrics plugin label Jun 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

grug see PR add new CLI flag for lyrics plugin. goal: one manual beet lyrics run can ignore config keep_synced: yes and not skip synced-lyrics items.

Changes:

  • add --no-keep-synced option to lyrics command, mapping to keep_synced=False
  • add pytest for config-vs-CLI precedence for keep_synced
  • update lyrics plugin docs + changelog entry

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
beetsplug/lyrics.py add --no-keep-synced CLI option (inverse of --keep-synced)
test/plugins/test_lyrics.py add test for CLI overriding keep_synced config
docs/plugins/lyrics.rst document new --no-keep-synced usage
docs/changelog.rst add unreleased changelog note for new option

Comment thread beetsplug/lyrics.py
@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.16%. Comparing base (ba6610a) to head (d9a1bde).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6769   +/-   ##
=======================================
  Coverage   75.15%   75.16%           
=======================================
  Files         163      163           
  Lines       21042    21043    +1     
  Branches     3312     3312           
=======================================
+ Hits        15814    15816    +2     
  Misses       4470     4470           
+ Partials      758      757    -1     
Files with missing lines Coverage Δ
beetsplug/lyrics.py 89.61% <100.00%> (+0.21%) ⬆️
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@snejus snejus force-pushed the lyrics-add-no-keep-synced-cli-opt branch 3 times, most recently from 35aa3f9 to eeb1960 Compare June 28, 2026 00:31
- Allow manual lyrics fetches to override keep_synced configuration for a single
  run.
@snejus snejus force-pushed the lyrics-add-no-keep-synced-cli-opt branch from eeb1960 to d9a1bde Compare July 13, 2026 00:14
@snejus snejus merged commit 1a1d7dc into master Jul 13, 2026
22 checks passed
@snejus snejus deleted the lyrics-add-no-keep-synced-cli-opt branch July 13, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lyrics lyrics plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants