scrbbl-edit(1) General Commands Manual scrbbl-edit(1)

scrbbl-editedit 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 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:

title
Set the title of each matched scrobble to title.

If --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.

artist
Set the artist of each matched scrobble to artist.

If --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.

album
Set the album of each matched scrobble to album.

If --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.

Remove the album of each matched scrobble.

Exclusive with --set-album.

artist
Set the album artist of each matched scrobble to artist.

Exclusive with --set-no-album-artist.

Remove the album artist of each matched scrobble, making it the same as the artist.

Exclusive with --set-album-artist.

Swaps the track title and artist fields.

If --set-title or --set-artist are also specified, they alter the already swapped fields.

time
Filter by scrobbled time, restricting the lower bound.

The time format is 'YYYY-mm-dd HH:MM:SS'. Timezone is the local timezone.

time
Filter by scrobbled time, restricting the upper bound.

The time format is 'YYYY-mm-dd HH:MM:SS'. Timezone is the local timezone.

title
Filter by track title. If specified multiple times, matches any of the titles. Case insensitive.
artist
Filter by artist. If specified multiple times, matches any of the artists. Case insensitive.
album
Filter by album. If specified multiple times, matches any of the albums. Case insensitive.
Filter by tracks with no album. If specified together with --album, matches any of the albums and tracks with no album.
regex
Filter by track title matching the regex. The regex is similar to PCRE and case insensitive. If specified together with --title, matches any of the titles and titles matching the regex.
regex
Filter by artist matching the regex. The regex is similar to PCRE and case insensitive. If specified together with --artist, matches any of the artists and artists matching the regex.
regex
Filter by album matching the regex. The regex is similar to PCRE and case insensitive. If specified together with --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 Bar

Swap 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-title

Append '(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