# sunflowerguy/jj-s-musicans-setlist-organiser architecture

> Architecture diagram of the GitHub repository sunflowerguy/jj-s-musicans-setlist-organiser, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sunflowerguy/jj-s-musicans-setlist-organiser
- Repository: https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser

## Overview

JJ’s Musicians Setlist Organiser is a cross-platform desktop app for turning a song spreadsheet into named, ordered gig setlists that can be opened, shared, and printed. The main workflow loads and searches a song library, assigns songs across four sets, then saves or exports the result. The README also documents backup database loading, songsheet links, printing/PDF, customization, and help. The primary app is a monolithic Python module; the Linux copy is a separate packaged edition. Unsampled implementation details are represented only where the README documents the capability.

Main entry points: [`jjs_setlist.py`](https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py) (Four-set builder), [`LINUX VERSION/jjs_setlist.py`](https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/LINUX%20VERSION/jjs_setlist.py) (Linux edition), [`logo_data.py`](https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/logo_data.py) (Embedded logos)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_desktop["Desktop app"]
  node_desktop_app["Desktop app<br/>[jjs_setlist.py]"]
  node_linux_app["Linux edition<br/>[jjs_setlist.py]"]
  node_logo_assets["Embedded logos<br/>[logo_data.py]"]
end

subgraph group_library["Song library"]
  node_song_library["Song library<br/>[jjs_setlist.py]"]
  node_main_database["Main spreadsheet"]
  node_drive_backup["Drive backup"]
  node_song_sheets["PDF songsheets"]
end

subgraph group_setlists["Setlist workflow"]
  node_set_builder["Four-set builder<br/>[jjs_setlist.py]"]
  node_saved_setlists[("Named setlists<br/>[jjs_setlist.py]")]
end

subgraph group_outputs["Output and support"]
  node_setlist_exports["Text and CSV export<br/>[jjs_setlist.py]"]
  node_print_pdf["Print and PDF<br/>[jjs_setlist.py]"]
  node_preferences["Appearance settings<br/>[jjs_setlist.py]"]
  node_help_guides["Help and templates<br/>[jjs_setlist.py]"]
end

node_musician(("Musician"))
node_printer["Printer"]

node_musician -->|"uses"| node_desktop_app
node_musician -->|"uses"| node_linux_app
node_desktop_app -->|"loads and searches"| node_song_library
node_linux_app -->|"loads and searches"| node_song_library
node_main_database -->|"provides songs"| node_song_library
node_drive_backup -.->|"backup load"| node_song_library
node_song_library -->|"adds songs"| node_set_builder
node_set_builder -->|"saves and loads"| node_saved_setlists
node_saved_setlists -->|"restores sets"| node_set_builder
node_set_builder -->|"opens links"| node_song_sheets
node_set_builder -->|"exports"| node_setlist_exports
node_set_builder -->|"prints or saves PDF"| node_print_pdf
node_print_pdf -->|"prints to"| node_printer
node_musician -->|"customizes"| node_preferences
node_musician -->|"consults"| node_help_guides
node_desktop_app -->|"imports"| node_logo_assets
node_linux_app -->|"imports"| node_logo_assets

click node_desktop_app "https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py"
click node_linux_app "https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/LINUX%20VERSION/jjs_setlist.py"
click node_logo_assets "https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/logo_data.py"
click node_song_library "https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py"
click node_set_builder "https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py"
click node_saved_setlists "https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py"
click node_setlist_exports "https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py"
click node_print_pdf "https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py"
click node_preferences "https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py"
click node_help_guides "https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_desktop_app,node_linux_app,node_logo_assets toneBlue
class node_song_library,node_main_database,node_drive_backup,node_song_sheets toneAmber
class node_set_builder,node_saved_setlists toneMint
class node_setlist_exports,node_print_pdf,node_preferences,node_help_guides toneRose
class node_musician,node_printer toneIndigo
```

## Components

### Desktop app

- [Desktop app](https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py): `jjs_setlist.py`
- [Linux edition](https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/LINUX%20VERSION/jjs_setlist.py): `LINUX VERSION/jjs_setlist.py`
- [Embedded logos](https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/logo_data.py): `logo_data.py`

### Song library

- [Song library](https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py): `jjs_setlist.py`
- **Main spreadsheet**
- **Drive backup**
- **PDF songsheets**

### Setlist workflow

- [Four-set builder](https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py): `jjs_setlist.py`
- [Named setlists](https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py): `jjs_setlist.py`

### Output and support

- [Text and CSV export](https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py): `jjs_setlist.py`
- [Print and PDF](https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py): `jjs_setlist.py`
- [Appearance settings](https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py): `jjs_setlist.py`
- [Help and templates](https://github.com/sunflowerguy/jj-s-musicans-setlist-organiser/blob/main/jjs_setlist.py): `jjs_setlist.py`

### Other components

- **Musician**
- **Printer**

## Connections

- Musician → Desktop app: uses (evidence: `README.md`)
- Musician → Linux edition: uses (evidence: `README.md`)
- Desktop app → Song library: loads and searches (evidence: `README.md`)
- Linux edition → Song library: loads and searches (evidence: `README.md`)
- Main spreadsheet → Song library: provides songs (evidence: `README.md`)
- Drive backup → Song library: backup load (evidence: `README.md`)
- Song library → Four-set builder: adds songs (evidence: `README.md`)
- Four-set builder → Named setlists: saves and loads (evidence: `README.md`)
- Named setlists → Four-set builder: restores sets (evidence: `README.md`)
- Four-set builder → PDF songsheets: opens links (evidence: `README.md`)
- Four-set builder → Text and CSV export: exports (evidence: `README.md`)
- Four-set builder → Print and PDF: prints or saves PDF (evidence: `README.md`)
- Print and PDF → Printer: prints to (evidence: `README.md`)
- Musician → Appearance settings: customizes (evidence: `README.md`)
- Musician → Help and templates: consults (evidence: `README.md`)
- Desktop app → Embedded logos: imports (evidence: `jjs_setlist.py`)
- Linux edition → Embedded logos: imports (evidence: `LINUX VERSION/jjs_setlist.py`)
