Files
Scrobbler/docs/user-guide.md
mattandClaude Sonnet 5.5 7f8afdcdbb
CI / validate-monitoring (push) Successful in 8s
CI / lint (push) Successful in 13s
CI / federation-interop (push) Successful in 1m41s
CI / test (push) Successful in 4m13s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 5s
Move account pages into a menu under the user's name (SCR-3)
The header's name link and Sign out become a button opening a menu of Profile, Sharing,
Apps, Sessions, Import and Sign out; the main nav keeps Overview, History and Album art.
Keyboard and screen-reader friendly. The Profile page now refetches the user after a
failed change instead of showing stale state.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 22:12:02 +01:00

136 lines
7.0 KiB
Markdown

# User guide
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.
## Getting started
Register in the web UI, then open the account menu at the top right (your picture and
name), go to **Apps** and create one app per player or scrobbler
client you use — each gets its own API key and shared secret, and can be revoked on its
own from the **Sessions** page without affecting the others. If a friend runs your
instance, ask them for its address; that's the only thing you need from them to get
going.
## Connecting a player
In the player's scrobbling settings, choose a custom or self-hosted Last.fm server:
- **API URL**: `https://your-host/2.0/`
- **API key and shared secret**: from an app on the **Apps** page
- **Username and password**: your Scrobbled account
Two sign-in flows are supported, and most players use one or the other automatically:
- **Mobile**: you enter your username and password directly in the player.
- **Desktop**: the player opens a browser page for you to approve, then signs itself in
— no password ever passed to the player.
A sign-in method that hashes your password before sending it (sometimes offered as a
"stored password" or "password hash" option, e.g. pylast's `password_hash`) isn't
supported — use the plain username/password or desktop-approval flow instead.
Supported methods, if your player lets you check: `auth.getMobileSession`,
`auth.getToken`, `auth.getSession`, `track.scrobble` (up to 50 per request),
`track.updateNowPlaying`, `user.getInfo`, `user.getRecentTracks`, `user.getTopArtists`,
`user.getTopAlbums`, `user.getTopTracks`. `/api/docs` on your instance has the full
parameters and example responses for each, if you're curious or debugging a client.
A play is silently skipped (not rejected as an error) if the artist or track name is
empty, or its timestamp is more than 14 days old or more than 5 minutes in the future.
Sending the same play twice — a common side effect of a player retrying after a network
blip — is accepted both times but only stored once, so retries are always safe.
**A legacy scrobbler that speaks the old 1.2 "handshake" protocol (rather than 2.0) won't
work here** — this is a client limitation, not a setting to fix. VLC's built-in
scrobbler is one example; look for a plugin or a different player with 2.0 support.
## Importing history
Open **Import** from the account menu:
- **An export file**:
- CSV from [lastfm-to-csv](https://benjaminbenben.com/lastfm-to-csv/), no header row,
artist/album/track/date columns.
- Any CSV or TSV with a header row naming artist, track and a date or Unix-time
column. Comma, semicolon and tab delimiters all work.
- A JSON export of `user.getRecentTracks` pages (such as lastfm.ghan.nl's), a single
`recenttracks` response, or a flat list of tracks.
- Files can be gzipped.
- **Last.fm directly**: enter a Last.fm username and the import runs against that
account's public history. Only appears if your instance's admin has set this up.
Imports run in the background — the page shows progress and you can cancel one in
flight. Unlike live scrobbles, imports keep plays of any age (still skipping rows with no
artist or track, or plays dated in the future). Plays already in your history are
skipped, so importing the same export again, or importing overlapping exports, is safe.
## Your profile image
Open the account menu at the top right (your picture and name) and choose **Profile**, where
you can give yourself a picture, shown next to your name. Upload a JPEG, PNG or WebP image, or remove it again.
If your instance's admin has allowed it, you can also **use your Gravatar**. The server
asks Gravatar for the picture linked to your account email, sending it a hash of that
address (never the address itself), and keeps a copy; your browser doesn't contact
Gravatar. **Refresh Gravatar** fetches it again after you change it there. Choosing an
upload replaces a Gravatar and vice versa.
Your image is private by default. If your instance shares on the fediverse, **Sharing**
has a **Share my profile image** switch that shows it on your public profile page and
sends it to other servers as your picture. They keep their own copies, so a change or
removal can take a while to show up everywhere.
## Sharing on the fediverse
Only available if your instance's admin has turned this on — ask them, or check whether
**Sharing** appears in the account menu. Turn it on there, and you're findable as
`@name@<your instance's host>` from Mastodon and other fediverse apps.
- Follows are accepted automatically, or wait for your approval if you turn that on
under **Followers and discovery**.
- **Followers** lists requests, followers and blocked accounts, with approve, decline,
remove, block and unblock.
Once someone follows you, **Sharing**'s **What to post** section controls what they see:
- **Weekly summary**: your play count and top artist(s), posted once a week (Monday
09:00 in your own time zone, for the week that just ended). A live preview shows what
it would say so far.
- **Milestones**: total scrobbles, an artist's plays, and a new entry into your all-time
top 10 — each posted once, the first time you reach it. History already on file when
you turn sharing on, or added by an import, is never posted about retroactively.
Both are on by default and can be switched off independently. Posts use the same
visibility as your profile (followers only by default, or unlisted/public); **Posts**
lists your own posts, each with a delete button.
**Now playing** is a separate, three-way choice:
- **Off** (default): nothing shown or posted.
- **Show on my profile**: a "Now playing: *Track* by Artist" field on your profile,
refreshed at most every 5 minutes while something's playing and cleared a few minutes
after it stops.
- **Show on my profile and post**: the profile field, plus a post for each track played
30 seconds or more, at most one every 30 minutes, with the previous now-playing post
deleted once the new one is confirmed published.
**Your handle can't change once anyone follows you** — if you get to choose the
instance's domain yourself, or you're choosing which instance to join, bear that in mind
before you start sharing.
## Troubleshooting
**I turned Sharing on but can't see it in the menu.** Try a hard refresh
(Ctrl/Cmd+Shift+R) or a private/incognito window. The menu remembers whether sharing is
available for the length of a browser tab, so it can lag behind a setting your admin just
changed.
**My profile 404s on a big instance like mastodon.social right after I start sharing.**
Some servers cache a "not found" for a little while after they first look you up. Give it
an hour, or try searching from a smaller instance to confirm your handle really works.
**A change I made under Sharing doesn't seem to have taken effect.** Make sure you
clicked **Save sharing settings** at the bottom of the page — ticking a box alone doesn't
save it.