Rename the product Scrobbled
Display name only: UI, docs, API title, dashboards, hashtag and User-Agent. Identifiers (package, metrics, env vars, SCROBBLER_CONFIG) are unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9e4218f11b
commit
65ee13fa65
64 files changed
+130
-130
No files matched your search
+10
-10
@@ -1,9 +1,9 @@
|
||||
# Admin guide
|
||||
|
||||
Running a real Scrobbler instance: architecture, installation, configuration, TLS,
|
||||
Running a real Scrobbled instance: architecture, installation, configuration, TLS,
|
||||
fediverse sharing, monitoring, backups, upgrades and troubleshooting. If you're using an
|
||||
instance someone else runs, see the [user guide](user-guide.md) instead. If you're
|
||||
working on Scrobbler's own code, see [setup.md](setup.md).
|
||||
working on Scrobbled's own code, see [setup.md](setup.md).
|
||||
|
||||
## Architecture
|
||||
|
||||
@@ -25,7 +25,7 @@ Prometheus ◄── API :9100/metrics, postgres-exporter ──► Grafana
|
||||
- **`db`**: PostgreSQL.
|
||||
- With the `monitoring` profile: `prometheus`, `grafana`, `postgres-exporter`.
|
||||
|
||||
Everything Scrobbler needs to run is in these five services plus optional monitoring —
|
||||
Everything Scrobbled needs to run is in these five services plus optional monitoring —
|
||||
there's no separate cache, queue or search service to operate.
|
||||
|
||||
## Installing
|
||||
@@ -42,7 +42,7 @@ Published images: `pkgs.daubney.dev/scrobbler/scrobbler-api` and
|
||||
`pkgs.daubney.dev/scrobbler/scrobbler-ui`, tagged `main` (latest push to `main`),
|
||||
`sha-<commit>`, and `<version>`/`latest` for tagged releases.
|
||||
|
||||
This is enough for evaluating Scrobbler. Before putting it in front of real users, also
|
||||
This is enough for evaluating Scrobbled. Before putting it in front of real users, also
|
||||
read **Putting it behind TLS** below — the quick start above serves plain HTTP only.
|
||||
|
||||
## Configuration
|
||||
@@ -109,7 +109,7 @@ the web UI — see the [user guide](user-guide.md#sharing-on-the-fediverse).
|
||||
|
||||
## Putting it behind TLS
|
||||
|
||||
Scrobbler itself only speaks plain HTTP; something in front of it needs to terminate
|
||||
Scrobbled itself only speaks plain HTTP; something in front of it needs to terminate
|
||||
TLS. Any reverse proxy works — nginx, Caddy, or a tunnel like Cloudflare Tunnel for
|
||||
testing without a public IP (see `docs/design/activitypub-phase4.md` for how the
|
||||
project's own manual federation test used one).
|
||||
@@ -166,7 +166,7 @@ registered/active/currently-listening users. Labels never contain usernames, API
|
||||
track names.
|
||||
|
||||
With `--profile monitoring`, Grafana (`GRAFANA_ADMIN_PASSWORD`) provisions a
|
||||
**Scrobbler** folder with dashboards for API overview, Last.fm API, usage, database and
|
||||
**Scrobbled** folder with dashboards for API overview, Last.fm API, usage, database and
|
||||
(with federation on) federation. Alert rules live in `deploy/prometheus/alerts.yml` —
|
||||
evaluated by Prometheus and visible in Grafana, but nothing routes them anywhere without
|
||||
Alertmanager.
|
||||
@@ -230,7 +230,7 @@ how to run it locally before tagging.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
**The web UI loads but can't reach the API ("Can't reach the Scrobbler API at …" or
|
||||
**The web UI loads but can't reach the API ("Can't reach the Scrobbled API at …" or
|
||||
requests failing silently).** Almost always `CORS_ORIGINS` on the `api` service not
|
||||
listing the exact origin the browser loads the UI from (scheme and host both have to
|
||||
match — `https://scrobble.example` is not the same origin as `http://scrobble.example`
|
||||
@@ -269,10 +269,10 @@ curl -H 'Accept: application/jrd+json' \
|
||||
```
|
||||
|
||||
If that's correct, the fix is time (or trying a smaller/different instance to confirm
|
||||
it's not a Scrobbler-side problem) — there's nothing to change on the server.
|
||||
it's not a Scrobbled-side problem) — there's nothing to change on the server.
|
||||
|
||||
**A legacy scrobbler client (e.g. VLC's built-in scrobbler) fails to connect at all.**
|
||||
Scrobbler implements the Last.fm 2.0 API only, not the legacy 1.2 Audioscrobbler
|
||||
Scrobbled implements the Last.fm 2.0 API only, not the legacy 1.2 Audioscrobbler
|
||||
handshake (`hs=true&p=1.2&...`). Clients that only speak 1.2 can't be pointed at
|
||||
Scrobbler regardless of configuration — point users at a client with 2.0 support
|
||||
Scrobbled regardless of configuration — point users at a client with 2.0 support
|
||||
instead.
|
||||
@@ -5,12 +5,12 @@
|
||||
Where this differed from the plan:
|
||||
|
||||
- **httpcore instead of httpx.** httpcore is the transport layer underneath httpx, and it publicly supports the custom network backend that connecting to a pre-checked address needs.
|
||||
- **No in-process test with two Scrobbler instances.** Scrobbler can't initiate follows yet, so one instance has nothing to send the other. Scripted remote accounts over real HTTP cover the same paths, and GoToSocial is the real second server.
|
||||
- **No in-process test with two Scrobbled instances.** Scrobbled can't initiate follows yet, so one instance has nothing to send the other. Scripted remote accounts over real HTTP cover the same paths, and GoToSocial is the real second server.
|
||||
- **Undo of a Block.** Unblocking needed it: GoToSocial otherwise keeps the block.
|
||||
|
||||
This implements phase 2 of [activitypub.md](activitypub.md), building on [phase 1](activitypub-phase1.md).
|
||||
|
||||
**Outcome:** people on Mastodon, GoToSocial and similar servers can follow a user who shares. Follows are accepted automatically, or wait for the user's approval if they've turned it on. The user sees their followers and can approve, decline, remove or block them. Scrobbler signs everything it sends and checks the signature on everything it receives. Posts come in phase 3; this phase makes the relationship work end to end.
|
||||
**Outcome:** people on Mastodon, GoToSocial and similar servers can follow a user who shares. Follows are accepted automatically, or wait for the user's approval if they've turned it on. The user sees their followers and can approve, decline, remove or block them. Scrobbled signs everything it sends and checks the signature on everything it receives. Posts come in phase 3; this phase makes the relationship work end to end.
|
||||
|
||||
Everything below is inside `scrobbler.federation`, and the boundary tests keep holding. Federation off still means nothing is registered.
|
||||
|
||||
@@ -56,7 +56,7 @@ Everything below is inside `scrobbler.federation`, and the boundary tests keep h
|
||||
- At most 3 redirects, each checked the same way.
|
||||
- Response bodies are capped at 1 MB.
|
||||
- Timeouts: 10s to connect and 20s to read.
|
||||
- A `User-Agent` of `Scrobbler/<version> (+<base url>)`.
|
||||
- A `User-Agent` of `Scrobbled/<version> (+<base url>)`.
|
||||
- `signed_get(url, as_actor)`, which signs with the instance actor by default so "authorized fetch" servers answer; and `signed_post(inbox, activity, as_user)`.
|
||||
- **`FEDERATION_INSECURE_TESTING=1`** is **for automated tests only**. It allows `http://` and private addresses. It's refused unless the domain ends in `.test` (a reserved top-level domain) and logs a warning every minute while on. It exists so CI can federate with GoToSocial on a private Docker network.
|
||||
- **`remote.py`**: the remote-actor cache.
|
||||
@@ -178,12 +178,12 @@ Everything below is inside `scrobbler.federation`, and the boundary tests keep h
|
||||
- bad signatures rejected with the right reason
|
||||
- a blocked domain
|
||||
- turning sharing off
|
||||
- **A real peer in CI**: a new `federation-interop` job runs Scrobbler (API, worker and UI) and a GoToSocial container on one Docker network. The hosts are `scrobble.test` and `gts.test`, over HTTP, with each side's test-only settings. A script:
|
||||
- **A real peer in CI**: a new `federation-interop` job runs Scrobbled (API, worker and UI) and a GoToSocial container on one Docker network. The hosts are `scrobble.test` and `gts.test`, over HTTP, with each side's test-only settings. A script:
|
||||
1. creates a GoToSocial user with its admin CLI,
|
||||
2. gets a user token by driving GoToSocial's sign-in and OAuth screens with plain HTTP (this part gets a short spike first, since GoToSocial has no password grant),
|
||||
3. follows `@alice@scrobble.test`, and checks it's accepted,
|
||||
4. unfollows, and checks it's gone,
|
||||
5. with manual approval on, checks the request waits until approved through Scrobbler's API.
|
||||
5. with manual approval on, checks the request waits until approved through Scrobbled's API.
|
||||
|
||||
The job posts to ntfy like every other job. It doesn't run on pull requests from forks.
|
||||
- **Manual pass before merging**: follow and unfollow from a real Mastodon account through a tunnel.
|
||||
@@ -210,5 +210,5 @@ Everything below is inside `scrobbler.federation`, and the boundary tests keep h
|
||||
|
||||
- **Licences**:
|
||||
- `httpx` is BSD-3-Clause and `cryptography` is Apache-2.0/BSD.
|
||||
- GoToSocial is AGPL, but it runs only as a separate container in CI to test against. Nothing of it is linked into, or shipped with, Scrobbler, so it has no effect on Scrobbler's licence.
|
||||
- GoToSocial is AGPL, but it runs only as a separate container in CI to test against. Nothing of it is linked into, or shipped with, Scrobbled, so it has no effect on Scrobbled's licence.
|
||||
- **Scale**: this is the biggest phase, and signatures plus safe outbound HTTP are where the risk lies. They come first and have the most thorough tests.
|
||||
@@ -46,7 +46,7 @@ Everything is in `scrobbler.federation` except one small addition to the core st
|
||||
- `id`, `attributedTo`, `content` (HTML) plus `contentMap` (`{"en": …}`)
|
||||
- `published`, `url` (the UI post page)
|
||||
- `to` and `cc` from the visibility setting
|
||||
- `tag` (`Hashtag` objects: `#Scrobbler`, and `#NowPlaying` in phase 4)
|
||||
- `tag` (`Hashtag` objects: `#Scrobbled`, and `#NowPlaying` in phase 4)
|
||||
- `sensitive: false`
|
||||
- **`create(...)`**: `Create` wrapping the Note, with the same addressing.
|
||||
- **`delete(...)`**: `Delete` whose object is a `Tombstone` of the Note (the same shape Mastodon sends).
|
||||
@@ -85,7 +85,7 @@ Everything is in `scrobbler.federation` except one small addition to the core st
|
||||
> **My week in music: 312 plays**
|
||||
> Top artists: 1. Radiohead (48) 2. Björk (31) 3. Portishead (22)
|
||||
> Most played: *Reckoner* by Radiohead (12 plays)
|
||||
> #Scrobbler
|
||||
> #Scrobbled
|
||||
|
||||
**Milestones** (`publishing/milestones.py`, worker task `federation.milestones`):
|
||||
|
||||
@@ -99,7 +99,7 @@ Everything is in `scrobbler.federation` except one small addition to the core st
|
||||
- **No retroactive posts:**
|
||||
- When a user **turns sharing on**, every threshold they've already passed is marked `posted=false`.
|
||||
- When an **import finishes** (`import_finished`), the same happens: imported history moves the baseline silently. Imported plays therefore never trigger milestone posts, even if a live scrobble crosses a line soon after.
|
||||
- Example: *"10,000 plays on Scrobbler 🎉"* or *"Björk just joined my all-time top 10 (at #7)"*.
|
||||
- Example: *"10,000 plays on Scrobbled 🎉"* or *"Björk just joined my all-time top 10 (at #7)"*.
|
||||
|
||||
## 6. Endpoints (served on the UI domain, documented in OpenAPI)
|
||||
|
||||
@@ -188,5 +188,5 @@ Everything is in `scrobbler.federation` except one small addition to the core st
|
||||
| Milestone thresholds | Plays: 1k, 5k, 10k, then every 25k. An artist's plays: 100, 500, 1k. New artist in the all-time top 10 |
|
||||
| Posts per milestone check | At most one (the most notable) |
|
||||
| Post language | English only for now (`contentMap.en`) |
|
||||
| Hashtag | `#Scrobbler` on every post |
|
||||
| Hashtag | `#Scrobbled` on every post |
|
||||
| Deleting individual posts | Allowed, from the web UI |
|
||||
@@ -26,7 +26,7 @@ Everything is in `scrobbler.federation`, using the core's existing `services.scr
|
||||
## 1. Settings and data (migration on the `federation` branch)
|
||||
|
||||
- **`federation_settings` gains `now_playing_mode`**: `off` (default), `profile`, or `posts`. Validated the same way `visibility` is.
|
||||
- **`federation_now_playing`**, one row per user, the state of what Scrobbler has last told the fediverse (as opposed to `now_playing` in core, which is what's actually playing):
|
||||
- **`federation_now_playing`**, one row per user, the state of what Scrobbled has last told the fediverse (as opposed to `now_playing` in core, which is what's actually playing):
|
||||
- `profile_key` (nullable) and `profile_updated_at` (nullable): what the last `Update(Person)` said, and when it was sent
|
||||
- `post_key` (nullable) and `post_posted_at` (nullable): the key of the last now-playing post, and when
|
||||
|
||||
@@ -36,7 +36,7 @@ Everything is in `scrobbler.federation`, using the core's existing `services.scr
|
||||
|
||||
- **`update(activity_id, actor_id, actor_object)`**: wraps a document as an `Update`, addressed the same way `undo()` already does (mirrors its shape).
|
||||
- **`person(...)` already takes `fields`** (phase 1): a "Now playing" field is just one more `(name, value)` pair, `"Track by Artist"`.
|
||||
- Now-playing posts reuse the existing `note()`/`create()` builders from phase 3, tagged `#NowPlaying` in addition to `#Scrobbler` (already anticipated in the phase 3 plan's vocabulary notes).
|
||||
- Now-playing posts reuse the existing `note()`/`create()` builders from phase 3, tagged `#NowPlaying` in addition to `#Scrobbled` (already anticipated in the phase 3 plan's vocabulary notes).
|
||||
|
||||
## 3. Live actor vs. pushed updates
|
||||
|
||||
@@ -114,4 +114,4 @@ No event receiver, no pending-checks queue: unlike milestones, now playing doesn
|
||||
| Minimum played before a post | 30 seconds |
|
||||
| Deleting the previous now-playing post | Always, when a new one goes out |
|
||||
| Worker poll interval | 30 seconds |
|
||||
| Hashtags | `#Scrobbler` and `#NowPlaying` |
|
||||
| Hashtags | `#Scrobbled` and `#NowPlaying` |
|
||||
+12
-12
@@ -4,17 +4,17 @@ Status: **proposal, for review.** Nothing here is built yet. The decisions still
|
||||
|
||||
## Summary
|
||||
|
||||
Let a user turn their Scrobbler account into a fediverse account, for example `@alice@scrobble.example`, that people on Mastodon, GoToSocial, Misskey and similar servers can follow. Followers see three kinds of post:
|
||||
Let a user turn their Scrobbled account into a fediverse account, for example `@alice@scrobble.example`, that people on Mastodon, GoToSocial, Misskey and similar servers can follow. Followers see three kinds of post:
|
||||
|
||||
- a **weekly listening summary**
|
||||
- **milestones** (for example "10,000th scrobble")
|
||||
- **what the user is playing now**
|
||||
|
||||
The first version is **outbound only**: Scrobbler publishes, and it accepts and manages followers. Following other people and showing their listening in the UI is a possible later phase (see [Later](#later-following-and-listen-activities)). The data model is designed so it can be added without rework.
|
||||
The first version is **outbound only**: Scrobbled publishes, and it accepts and manages followers. Following other people and showing their listening in the UI is a possible later phase (see [Later](#later-following-and-listen-activities)). The data model is designed so it can be added without rework.
|
||||
|
||||
Federation is **off for everyone until they turn it on**. Until then a user can't be found by WebFinger and nothing about them is published.
|
||||
|
||||
**Decided:** we write the protocol layer ourselves, on `cryptography` plus the Flask, SQLAlchemy and worker setup we already have (about 1,500 lines, in the four phases below). Scrobbler is BSD-licensed, and the ready-made Python library is AGPL (see [Build or buy](#build-or-buy)).
|
||||
**Decided:** we write the protocol layer ourselves, on `cryptography` plus the Flask, SQLAlchemy and worker setup we already have (about 1,500 lines, in the four phases below). Scrobbled is BSD-licensed, and the ready-made Python library is AGPL (see [Build or buy](#build-or-buy)).
|
||||
|
||||
All of it lives in **one self-contained package, `scrobbler.federation`**, behind a narrow interface. It can then be changed, replaced or switched off without touching the rest of the app, and changes to the specs (signature schemes, vocabulary, FEPs) stay inside it. See [Module structure](#module-structure).
|
||||
|
||||
@@ -35,7 +35,7 @@ All of it lives in **one self-contained package, `scrobbler.federation`**, behin
|
||||
## How it fits the current system
|
||||
|
||||
```
|
||||
Mastodon, GoToSocial, … Scrobbler
|
||||
Mastodon, GoToSocial, … Scrobbled
|
||||
────────────────────────────────────────────────────────────────────────────
|
||||
GET /.well-known/webfinger?resource=acct:… ─► API (only for opted-in users)
|
||||
GET /users/alice (Accept: activity+json) ─► API actor document
|
||||
@@ -53,7 +53,7 @@ POST /users/alice/inbox or /inbox ─► API verify signature, reco
|
||||
|
||||
## Module structure
|
||||
|
||||
Everything to do with ActivityPub lives in `src/scrobbler/federation/`. The rest of Scrobbler knows only two things about it: how to switch it on, and a handful of domain events. Replacing the implementation (with another library, or a rewrite when the specs move on) means replacing this package; nothing else changes.
|
||||
Everything to do with ActivityPub lives in `src/scrobbler/federation/`. The rest of Scrobbled knows only two things about it: how to switch it on, and a handful of domain events. Replacing the implementation (with another library, or a rewrite when the specs move on) means replacing this package; nothing else changes.
|
||||
|
||||
```
|
||||
src/scrobbler/
|
||||
@@ -222,7 +222,7 @@ Serve `/.well-known/nodeinfo` and `/nodeinfo/2.1`, giving the software name `scr
|
||||
|
||||
## What gets posted
|
||||
|
||||
Posts are `Note` objects inside `Create` activities: Mastodon shows `Note` as a normal status, while other types are squashed into a title and link. The HTML uses only tags Mastodon keeps (`p`, `a`, `br`, `strong`, `em`, `ul`, `ol`, `li`), and all track and artist text is escaped. Each post also gets hashtags (`#NowPlaying`, `#Scrobbler`) as `Hashtag` tags. Visibility follows the user's setting, which defaults to **followers only**:
|
||||
Posts are `Note` objects inside `Create` activities: Mastodon shows `Note` as a normal status, while other types are squashed into a title and link. The HTML uses only tags Mastodon keeps (`p`, `a`, `br`, `strong`, `em`, `ul`, `ol`, `li`), and all track and artist text is escaped. Each post also gets hashtags (`#NowPlaying`, `#Scrobbled`) as `Hashtag` tags. Visibility follows the user's setting, which defaults to **followers only**:
|
||||
|
||||
| Setting | `to` | `cc` |
|
||||
|---|---|---|
|
||||
@@ -248,7 +248,7 @@ Example:
|
||||
> **This week: 312 scrobbles**
|
||||
> Top artists: 1. Radiohead (48) 2. Björk (31) 3. Portishead (22)
|
||||
> Top track: *Reckoner* by Radiohead (12 plays)
|
||||
> #Scrobbler
|
||||
> #Scrobbled
|
||||
|
||||
### Milestones
|
||||
|
||||
@@ -279,7 +279,7 @@ A new post for every track would flood followers' timelines. There are two optio
|
||||
| Maturity | New code, but the scope is narrow | Active, but young (0.3.x, one maintainer) | The most complete framework |
|
||||
| Effort | About 1,500 lines, mostly signatures, inbox and delivery | Less code, but we'd adapt its storage and flow to ours | A new service to run and monitor |
|
||||
|
||||
**Decided: write it ourselves.** Scrobbler is BSD-3-Clause licensed. Using Pubby inside the app would make the running program subject to the AGPL, which defeats the point of a permissive licence. Fedify is excellent, but it would split the backend across two languages. The protocol surface we need is small (four activity types in and three out), so writing it ourselves is the least total cost. It also keeps ActivityPub on the same metrics, dashboards and tests as everything else, and it can all live in the one replaceable module described above.
|
||||
**Decided: write it ourselves.** Scrobbled is BSD-3-Clause licensed. Using Pubby inside the app would make the running program subject to the AGPL, which defeats the point of a permissive licence. Fedify is excellent, but it would split the backend across two languages. The protocol surface we need is small (four activity types in and three out), so writing it ourselves is the least total cost. It also keeps ActivityPub on the same metrics, dashboards and tests as everything else, and it can all live in the one replaceable module described above.
|
||||
|
||||
New dependency: `cryptography` (Apache-2.0 or BSD), for keys and signatures.
|
||||
|
||||
@@ -335,8 +335,8 @@ Everything goes on the existing Prometheus and Grafana setup:
|
||||
- inbox state transitions
|
||||
- delivery retry schedule
|
||||
- visibility addressing
|
||||
- **In-process federation**: two Scrobbler instances in one test process following each other.
|
||||
- **A real peer in CI**: a [GoToSocial](https://gotosocial.org) container, which is a single binary with SQLite. It follows a Scrobbler user and we assert that it receives the `Accept` and the posts. That's much lighter than running Mastodon in CI.
|
||||
- **In-process federation**: two Scrobbled instances in one test process following each other.
|
||||
- **A real peer in CI**: a [GoToSocial](https://gotosocial.org) container, which is a single binary with SQLite. It follows a Scrobbled user and we assert that it receives the `Accept` and the posts. That's much lighter than running Mastodon in CI.
|
||||
- **Manual pass before release** (done, over a `cloudflared` tunnel - see [phase 4](activitypub-phase4.md)):
|
||||
- follow from a real Mastodon account
|
||||
- check the profile, posts, profile-field updates and unfollowing
|
||||
@@ -363,8 +363,8 @@ Each phase can be released on its own, with its migration, docs, OpenAPI updates
|
||||
|
||||
This is the "profiles plus friends' listening" option, deliberately left out of v1:
|
||||
|
||||
- Users follow other Scrobbler users, or any actor that publishes listens, and see a friends feed in the UI.
|
||||
- **Wire format**: ActivityStreams has a `Listen` activity type. Funkwhale already federates `Listen` activities whose object is a `Track`. We'd send the same thing to followers on Scrobbler and Funkwhale servers only. Mastodon ignores activity types it doesn't know, and a stream of `Listen`s isn't something people want in their timelines anyway.
|
||||
- Users follow other Scrobbled users, or any actor that publishes listens, and see a friends feed in the UI.
|
||||
- **Wire format**: ActivityStreams has a `Listen` activity type. Funkwhale already federates `Listen` activities whose object is a `Track`. We'd send the same thing to followers on Scrobbled and Funkwhale servers only. Mastodon ignores activity types it doesn't know, and a stream of `Listen`s isn't something people want in their timelines anyway.
|
||||
- **Changes needed**: an outbound `Follow` flow, storing received listens, a feed UI, and moderation of incoming content.
|
||||
- **Account migration** (`Move` and `alsoKnownAs`) would come with this, so users can change handle or domain without losing followers.
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"info": {
|
||||
"description": "Two APIs: `/2.0/` is Last.fm (Audioscrobbler 2.0) compatible, for players and scrobblers; `/api/v1/` is the JSON API used by the web UI.",
|
||||
"title": "Scrobbler API",
|
||||
"title": "Scrobbled API",
|
||||
"version": "v1"
|
||||
},
|
||||
"paths": {
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
# Working on Scrobbler
|
||||
# Working on Scrobbled
|
||||
|
||||
Setting up a local development environment. For running a real instance, see the
|
||||
[admin guide](admin-guide.md). For what the service does, see the
|
||||
@@ -67,7 +67,7 @@ route is missing its bearer-auth declaration.
|
||||
|
||||
- `uv run python scripts/generate_traffic.py --minutes 5` — sends a realistic mix of
|
||||
scrobbles and errors, so the Grafana dashboards have something to show.
|
||||
- `scripts/interop/run.sh` — runs Scrobbler against a real GoToSocial server on a private
|
||||
- `scripts/interop/run.sh` — runs Scrobbled against a real GoToSocial server on a private
|
||||
network and checks the whole federation follow/post/now-playing life cycle end to end.
|
||||
CI runs this on every push; run it locally the same way before changing anything in
|
||||
`scrobbler.federation`.
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
# User guide
|
||||
|
||||
What Scrobbler does once you're signed in: connecting a player, importing your old
|
||||
What Scrobbled does once you're signed in: connecting a player, importing your old
|
||||
history, and sharing your listening on the fediverse. If you're setting up or running an
|
||||
instance rather than using one, see the [admin guide](admin-guide.md) instead.
|
||||
|
||||
@@ -18,7 +18,7 @@ In the player's scrobbling settings, choose a custom or self-hosted Last.fm serv
|
||||
|
||||
- **API URL**: `https://your-host/2.0/`
|
||||
- **API key and shared secret**: from an app on the **Apps** page
|
||||
- **Username and password**: your Scrobbler account
|
||||
- **Username and password**: your Scrobbled account
|
||||
|
||||
Two sign-in flows are supported, and most players use one or the other automatically:
|
||||
|
||||
|
||||
Reference in new issue
Block a user