| scrbbl-edit(1) | General Commands Manual | scrbbl-edit(1) |
scrbbl-edit — edit
scrobbles
scrbbl edit |
[option ...] |
scrbbl-edit edits scrobbles based on
specified filters and actions. By default, it edits all scrobbles and
changes nothing, filters restricting which scrobbles to edit, and actions
describing how to edit each scrobble.
This is a scrbbl(1) command.
This command requires login. See scrbbl-login(1) for how to login.
You probably
DO NOT want to run
this without specifying, at the very least, --from
with at most 2 weeks in the past. Last.fm does not accept scrobbles from
before 2 weeks ago, so this would happily delete your scrobbles without
actually adding them back.
This can potentially cause lost scrobbles if something happens during the process - internet connection issues, power loss, Last.fm outage etc. Verify that you have not lost scrobbles after running the command. If scrobbles are lost, they can be readded with scrbbl-new(1).
The options are as follows:
--set-title
titleIf --title-regex is specified,
title is a replacement string for the matched
regex. To reference a matched group $n can be used, where n is the group
number.
--set-artist
artistIf --artist-regex is specified,
artist is a replacement string for the matched
regex. To reference a matched group $n can be used, where n is the group
number.
--set-album
albumIf --album-regex is specified,
album is a replacement string for the matched
regex. To reference a matched group $n can be used, where n is the group
number.
Exclusive with --set-no-album.
--set-no-albumExclusive with --set-album.
--set-album-artist
artistExclusive with
--set-no-album-artist.
--set-no-album-artistExclusive with --set-album-artist.
--swap-titleIf --set-title or
--set-artist are also specified, they alter the
already swapped fields.
--from
timeThe time format is 'YYYY-mm-dd HH:MM:SS'. Timezone is the local timezone.
--to
timeThe time format is 'YYYY-mm-dd HH:MM:SS'. Timezone is the local timezone.
--title
title--artist
artist--album
album--no-album--album, matches any of the albums and tracks with
no album.--title-regex
regex--title, matches any of the titles and titles
matching the regex.--artist-regex
regex--artist,
matches any of the artists and artists matching the regex.--album-regex
regex--album,
matches any of the albums and albums matching the regex.Fix a track title to the correct one
scrbbl edit --from '2026-02-01
18:00:00' --artist foo --title 'bar (music video)' --set-title
BarSwap around the track title and artist for an artist whose name got scrobbled as the track title
scrbbl edit --from '2026-02-01
18:00:00' --title foo --swap-titleAppend '(feat. ...)' to all tracks in an album
scrbbl edit --from '2026-02-01
18:00:00' --artist foo --album bar --title-regex '$' --set-title ' (feat.
Baz)'| March 15, 2026 | Debian |