Skip to main content

beets-unskipper

A beets plugin to browse and edit beets' import state file (state.pickle) with a small terminal UI.

Beets records already-imported directories in state.pickle, and then any other import with --incremental will skip anything listed in there. unskipper lets you browse this file and remove ("unskip") entries, so beets will reconsider them next time you import.

It also keeps a human-readable sidecar file (<statefile>.unskipper.json) with additional data per item, recorded automatically during import, and that can be used to rebuild a lost or corrupted state.pickle.

The sidecar stays in sync with state.pickle: entries that disappear from the pickle (removed by another tool, or unskipped) are marked as such (when you open the UI and after each import).

Screenshot of the plugin's interface

Installation

Install from PyPI into the same environment as beets:

pip install beets-unskipper

or, if you installed beets as a uv tool:

uv tool install beets --with beets-unskipper --reinstall

To upgrade, use pip install -U beets-unskipper, or re-run the uv tool command above.

Then add unskipper to the plugins line in your beets config.

Usage

beet unskipper
Option Description
-s, --state-file Path to state.pickle (default: beets' configured location)
-j, --unskipper-json Path to the sidecar JSON (default: alongside the state file)
-r, --remap OLD=NEW Remap paths starting with OLD to NEW when loading
--rebuild Rebuild state.pickle from the sidecar JSON, then exit
--migrate-db With --remap, rewrite item/album paths in the beets database, then exit
--split Also record the folders of multi-folder entries one by one, then exit
-d, --dry-run With --rebuild, --split or --migrate-db, preview changes without writing

Multi-folder entries

When beets imports a multi-disc album, or merges a disc into an album that is already in the library, it records the folders together as one entry. Annoyingly, if a later scan finds one of those discs, it doesn't match the entry and beets considers it new.

beet unskipper --split adds an entry for each of these subfolders, so any later incremental imports properly skips them. A backup is saved next to state.pickle. Use -d to preview. Stop any running import first.

Moving your music library

If you move your whole library to a new location (new drive, new mount point, etc.), --remap can update everything that beets-unskipper and beets itself track, so incremental imports and the state UI keep working against the new paths:

beet unskipper --remap /old/path=/new/path --migrate-db    # rewrite paths in the beets database
beet unskipper --remap /old/path=/new/path --rebuild       # rebuild state.pickle and apply the remap to the sidecar

Add -d/--dry-run to either command to preview what would change without writing anything.

Keys

Key Action
↓/↑ move
Shift+↓/Shift+↑, PgDn/PgUp move by a page
a-z jump to next row starting with that letter
+/- jump to next entry marked new (unimported)
Enter run beet import on the selected new folder (using your existing beets config)
space mark/unmark row
Del/Backspace delete marked rows (or current one if none marked)
Ctrl+S save
Esc quit

Metadata

Release files for beets-unskipper 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beets-unskipper 1.2.0
File Size Uploaded Provenance Actions
beets_unskipper-1.2.0.tar.gz 1.1 MB Without provenance Details for beets_unskipper-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for beets-unskipper 1.2.0
File Interpreter ABI Platform Actions
beets_unskipper-1.2.0-py3-none-any.whl Python 3 none any Details for beets_unskipper-1.2.0-py3-none-any.whl

Total release size: 1.1 MB

Release files / beets_unskipper-1.2.0.tar.gz

Download URL beets_unskipper-1.2.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
45c7d9cfe5d2dcecf703cd372892937314a02327a1b6c5454bb49832317998b9
BLAKE2b-256 checksum
How to use checksums
8cebb598c9ed0c7a685a7d0a787be215fa3c64836f322b4a1c612e97504761b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / beets_unskipper-1.2.0-py3-none-any.whl

Download URL beets_unskipper-1.2.0-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
181f533d23ac2d9c371f29094a2d9b49c6ea211f5b2c99d72a4fad2af54b64e8
BLAKE2b-256 checksum
How to use checksums
4273df76acd7fc2fdbe4bd48569608e0b2f8320ae4d39dced1699c40d40994fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for beets-unskipper 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page