No description
Find a file
renovatebot 9025e6a0a0
All checks were successful
CI pipeline / test-and-build (push) Successful in 27s
fix(deps): update module github.com/urfave/cli/v2 to v3
2026-09-08 20:16:53 +03:00
.forgejo/workflows chore(deps): pin dependencies 2026-09-07 19:05:53 +00:00
cmd build(deps): upgrade lipgloss, bubbletea and bubbles to v2 2026-07-30 16:17:19 +03:00
internal build(deps): upgrade lipgloss, bubbletea and bubbles to v2 2026-07-30 16:17:19 +03:00
.gitattributes chore: add git lfs 2025-12-15 20:10:38 +02:00
.gitignore chore: update .gitignore 2026-07-29 21:40:53 +03:00
AGENTS.md chore: add AGENTS.md 2026-07-29 21:40:48 +03:00
go.mod fix(deps): update module github.com/urfave/cli/v2 to v3 2026-09-08 20:16:53 +03:00
go.sum fix(deps): update module github.com/urfave/cli/v2 to v3 2026-09-08 20:16:53 +03:00
LICENSE chore: update LICENSE year and name 2025-08-31 20:39:01 +03:00
README.md docs: update README 2026-07-29 21:26:44 +03:00
renovate.json chore(renovate): switch assignees to reviewers 2026-08-04 23:10:17 +03:00

Spotify playlist sorter

This script sorts your Spotify playlist.

Sorting of the playlist follows these rules:

  1. Duplicate tracks will be removed.
  2. Tracks are sorted into groups of albums, that are ordered in the manner of the album.
  3. Albums are grouped by artist and release date. (Artist is determined from the album rather than the track)
  4. Artist groups are sorted depending on the first tracks appearance date on the playlist.

Getting started

Create a Spotify application to get your CLIENT_ID and CLIENT_SECRET from the Spotify Developer Dashboard.

git clone https://code.faceguy.dev/faceguy/my-spotify-playlist-sorter-go.git
cd my-spotify-playlist-sorter-go

Depending on the version you want to use you can choose between a cli or a tui app.

go build -o cli-app cmd/cli/main.go
go build -o tui-app cmd/tui/main.go

License

This project is licensed under the MIT License - see the LICENSE file for details.