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) <noreply@anthropic.com>
This commit is contained in:
parent
8ee58b905f
commit
3c64f13b92
9 changed files with 16 additions and 18 deletions
|
|
@ -1,6 +1,4 @@
|
||||||
# tuistream-play
|
# tsplay
|
||||||
|
|
||||||
> Project **tuistream-play**; the command you run is **`tsplay`**.
|
|
||||||
|
|
||||||
A terminal Jellyfin client for Arch / Omarchy. Browse your server's libraries in
|
A terminal Jellyfin client for Arch / Omarchy. Browse your server's libraries in
|
||||||
the terminal; the selected title plays in an **mpv window** (hardware
|
the terminal; the selected title plays in an **mpv window** (hardware
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,9 @@ import (
|
||||||
|
|
||||||
tea "github.com/charmbracelet/bubbletea"
|
tea "github.com/charmbracelet/bubbletea"
|
||||||
|
|
||||||
"tuistream-play/internal/config"
|
"tsplay/internal/config"
|
||||||
"tuistream-play/internal/theme"
|
"tsplay/internal/theme"
|
||||||
"tuistream-play/internal/tui"
|
"tsplay/internal/tui"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
2
go.mod
2
go.mod
|
|
@ -1,4 +1,4 @@
|
||||||
module tuistream-play
|
module tsplay
|
||||||
|
|
||||||
go 1.26.1
|
go 1.26.1
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ import (
|
||||||
tea "github.com/charmbracelet/bubbletea"
|
tea "github.com/charmbracelet/bubbletea"
|
||||||
"github.com/charmbracelet/lipgloss"
|
"github.com/charmbracelet/lipgloss"
|
||||||
|
|
||||||
"tuistream-play/internal/api"
|
"tsplay/internal/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (m Model) updateBrowse(msg tea.Msg) (tea.Model, tea.Cmd) {
|
func (m Model) updateBrowse(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import (
|
||||||
tea "github.com/charmbracelet/bubbletea"
|
tea "github.com/charmbracelet/bubbletea"
|
||||||
"github.com/charmbracelet/lipgloss"
|
"github.com/charmbracelet/lipgloss"
|
||||||
|
|
||||||
"tuistream-play/internal/api"
|
"tsplay/internal/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
type itemDelegate struct{ st styles }
|
type itemDelegate struct{ st styles }
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import (
|
||||||
tea "github.com/charmbracelet/bubbletea"
|
tea "github.com/charmbracelet/bubbletea"
|
||||||
"github.com/charmbracelet/lipgloss"
|
"github.com/charmbracelet/lipgloss"
|
||||||
|
|
||||||
"tuistream-play/internal/discovery"
|
"tsplay/internal/discovery"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (m Model) updateLogin(msg tea.Msg) (tea.Model, tea.Cmd) {
|
func (m Model) updateLogin(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||||
|
|
|
||||||
|
|
@ -11,12 +11,12 @@ import (
|
||||||
"github.com/charmbracelet/bubbles/textinput"
|
"github.com/charmbracelet/bubbles/textinput"
|
||||||
tea "github.com/charmbracelet/bubbletea"
|
tea "github.com/charmbracelet/bubbletea"
|
||||||
|
|
||||||
"tuistream-play/internal/api"
|
"tsplay/internal/api"
|
||||||
"tuistream-play/internal/cliamp"
|
"tsplay/internal/cliamp"
|
||||||
"tuistream-play/internal/config"
|
"tsplay/internal/config"
|
||||||
"tuistream-play/internal/discovery"
|
"tsplay/internal/discovery"
|
||||||
"tuistream-play/internal/player"
|
"tsplay/internal/player"
|
||||||
"tuistream-play/internal/theme"
|
"tsplay/internal/theme"
|
||||||
)
|
)
|
||||||
|
|
||||||
type screen int
|
type screen int
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ import (
|
||||||
tea "github.com/charmbracelet/bubbletea"
|
tea "github.com/charmbracelet/bubbletea"
|
||||||
"github.com/charmbracelet/lipgloss"
|
"github.com/charmbracelet/lipgloss"
|
||||||
|
|
||||||
"tuistream-play/internal/player"
|
"tsplay/internal/player"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (m Model) updatePlaying(msg tea.Msg) (tea.Model, tea.Cmd) {
|
func (m Model) updatePlaying(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ package tui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/charmbracelet/lipgloss"
|
"github.com/charmbracelet/lipgloss"
|
||||||
"tuistream-play/internal/theme"
|
"tsplay/internal/theme"
|
||||||
)
|
)
|
||||||
|
|
||||||
type styles struct {
|
type styles struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue