Skip to content

feat: add search history tracking#1

Merged
dotMavriQ merged 1 commit intomasterfrom
feature/new-thing
Nov 30, 2025
Merged

feat: add search history tracking#1
dotMavriQ merged 1 commit intomasterfrom
feature/new-thing

Conversation

@dotMavriQ
Copy link
Owner

Description

Adds a new search history feature to track recent scrobbles.

Changes

  • New history module tracks up to 50 recent searches
  • Stores query, artist, title, album, and timestamp
  • Add --history [n] flag to view recent searches (default 10)
  • Add --clear-history flag to clear history
  • Automatically logs all successful scrobbles
  • History stored in ~/.local/share/demel/history.json

Testing

  • Tested history recording
  • Tested history display
  • Tested clear history function

Type of Change

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

- New history module tracks recent searches
- Stores up to 50 recent queries with results
- Add --history flag to view recent searches
- Add --clear-history flag to clear history
- Automatically logs all successful scrobbles
- Shows timestamp, query, and result for each entry
@dotMavriQ dotMavriQ merged commit 29474bf into master Nov 30, 2025
0 of 2 checks passed
@dotMavriQ dotMavriQ deleted the feature/new-thing branch November 30, 2025 22:27
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.

1 participant