20
.github/docs/adrs/000-template.md
vendored
Normal file
20
.github/docs/adrs/000-template.md
vendored
Normal 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
10
.github/docs/diagrams/updater.mermaid
vendored
Normal 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]
|
||||
Reference in New Issue
Block a user