Project restructuring.

Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
2024-04-24 12:15:45 -04:00
parent d914215f47
commit f51109f08a
12 changed files with 6 additions and 6 deletions

20
.github/docs/adrs/000-template.md vendored Normal file
View File

@@ -0,0 +1,20 @@
# ADR N: brief decision title
Describe here the forces that influence the design decision, including technological, cost-related, and project local.
## Decision
Describe here our response to these forces, that is, the design decision that was made. State the decision in full sentences, with active voice ("We will...").
## Rationale
Describe here the rationale for the design decision. Also indicate the rationale for significant _rejected_ alternatives. This section may also indicate assumptions, constraints, requirements, and results of evaluations and experiments.
## Status
[Proposed | Accepted | Deprecated | Superseded]
If deprecated, indicate why. If superseded, include a link to the new ADR.
## Consequences
Describe here the resulting context, after applying the decision. All consequences should be listed, not just the "positive" ones.

10
.github/docs/diagrams/updater.mermaid vendored Normal file
View File

@@ -0,0 +1,10 @@
flowchart TD
A[Start] --> B[[Update start timestamp & get last updated]]
B --> C([Get track from plex])
C --> |more tracks| D[[Remove recently played tracks from playlist]]
D --> E[[Insert/update track into database]]
E --> C
C --> |no more tracks| F[[Clean up genres]]
F --> G[[Calculate statistics]]
G --> H[[Update end timestamp]]
H --> I[End]