From 3c64f13b92e5fc4e328a1a6dfa211d2dd509df0e Mon Sep 17 00:00:00 2001 From: 28allday Date: Sat, 30 May 2026 12:47:37 +0100 Subject: [PATCH] Rename project to tsplay Collapse the project/module/directory name to match the binary, so there is a single name everywhere (tuistream-play -> tsplay). The binary, config dir and Jellyfin client identity were already tsplay. Co-Authored-By: Claude Opus 4.8 (1M context) --- README.md | 4 +--- cmd/tsplay/main.go | 6 +++--- go.mod | 2 +- internal/tui/browse.go | 2 +- internal/tui/delegate.go | 2 +- internal/tui/login.go | 2 +- internal/tui/model.go | 12 ++++++------ internal/tui/playing.go | 2 +- internal/tui/styles.go | 2 +- 9 files changed, 16 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 2971eb2..3d1340c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,4 @@ -# tuistream-play - -> Project **tuistream-play**; the command you run is **`tsplay`**. +# tsplay A terminal Jellyfin client for Arch / Omarchy. Browse your server's libraries in the terminal; the selected title plays in an **mpv window** (hardware diff --git a/cmd/tsplay/main.go b/cmd/tsplay/main.go index 7ef60ef..3a3ee05 100644 --- a/cmd/tsplay/main.go +++ b/cmd/tsplay/main.go @@ -10,9 +10,9 @@ import ( tea "github.com/charmbracelet/bubbletea" - "tuistream-play/internal/config" - "tuistream-play/internal/theme" - "tuistream-play/internal/tui" + "tsplay/internal/config" + "tsplay/internal/theme" + "tsplay/internal/tui" ) func main() { diff --git a/go.mod b/go.mod index ec996f0..db10757 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module tuistream-play +module tsplay go 1.26.1 diff --git a/internal/tui/browse.go b/internal/tui/browse.go index 6013c97..acd613e 100644 --- a/internal/tui/browse.go +++ b/internal/tui/browse.go @@ -7,7 +7,7 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "tuistream-play/internal/api" + "tsplay/internal/api" ) func (m Model) updateBrowse(msg tea.Msg) (tea.Model, tea.Cmd) { diff --git a/internal/tui/delegate.go b/internal/tui/delegate.go index 3aa6a9c..fccbd0c 100644 --- a/internal/tui/delegate.go +++ b/internal/tui/delegate.go @@ -13,7 +13,7 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "tuistream-play/internal/api" + "tsplay/internal/api" ) type itemDelegate struct{ st styles } diff --git a/internal/tui/login.go b/internal/tui/login.go index 7a7e65e..67edba6 100644 --- a/internal/tui/login.go +++ b/internal/tui/login.go @@ -8,7 +8,7 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "tuistream-play/internal/discovery" + "tsplay/internal/discovery" ) func (m Model) updateLogin(msg tea.Msg) (tea.Model, tea.Cmd) { diff --git a/internal/tui/model.go b/internal/tui/model.go index 8660aae..afa4b49 100644 --- a/internal/tui/model.go +++ b/internal/tui/model.go @@ -11,12 +11,12 @@ import ( "github.com/charmbracelet/bubbles/textinput" tea "github.com/charmbracelet/bubbletea" - "tuistream-play/internal/api" - "tuistream-play/internal/cliamp" - "tuistream-play/internal/config" - "tuistream-play/internal/discovery" - "tuistream-play/internal/player" - "tuistream-play/internal/theme" + "tsplay/internal/api" + "tsplay/internal/cliamp" + "tsplay/internal/config" + "tsplay/internal/discovery" + "tsplay/internal/player" + "tsplay/internal/theme" ) type screen int diff --git a/internal/tui/playing.go b/internal/tui/playing.go index a4b98cb..a8dd267 100644 --- a/internal/tui/playing.go +++ b/internal/tui/playing.go @@ -7,7 +7,7 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "tuistream-play/internal/player" + "tsplay/internal/player" ) func (m Model) updatePlaying(msg tea.Msg) (tea.Model, tea.Cmd) { diff --git a/internal/tui/styles.go b/internal/tui/styles.go index b0e761b..26c68c1 100644 --- a/internal/tui/styles.go +++ b/internal/tui/styles.go @@ -4,7 +4,7 @@ package tui import ( "github.com/charmbracelet/lipgloss" - "tuistream-play/internal/theme" + "tsplay/internal/theme" ) type styles struct {