beetbox / beetbox/beets

Do not try to open music database for basic commands (--help, --version, etc)

Open
#1,415 12 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Python
Stars
15.7k
Forks
2.1k
Avg merge
4d 21h
Merged PRs (30d)
31

Description

Current version (`1.3.11`) tries to open database file even for purely informational commands.
In cases when database file resides on some external and unmounted drive, this makes it impossible to see output of `beet --help` or `beet --version`, because user gets an error instead:

```
error: database file /path/to/musiclibrary.blb could not be opened
```

Would be nice to have `beets` provide this info without probing for the DB file.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.