BlueHuskyStudios / BlueHuskyStudios/DeadassSimpleMediaPlayer

Better play history handling

Open
#47 1 comment 0 reactions 0 assignees View on GitHub
Automatically found
Dominant language
Swift
Stars
0
Forks
3
Avg merge
2d 22h
Merged PRs (30d)
9

Description

Currently, history growth is unbounded by default, and every write is a full rewrite.

`.forever` is the default retention. Combined with #46, a user with a year of listening has a large JSON file that is fully decoded at launch and fully re-encoded on every single play. Nothing caps it, and nothing warns.

Options range from a soft default cap, to append-only storage, to simply not rewriting on every play (batch like the queue snapshot does).

Contributor guide

Open the contributing guide

Research direction

Start by locating the play-history persistence entry point and compare it with the queue snapshot batching path mentioned in the issue. Before coding, determine which retention and write strategy is intended; the issue currently lists several options, so a concrete definition of done still needs agreement.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.