beetbox / beetbox/beets

Relative paths in configurations provided on the command line are relative to configuration directory

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

Description

For example, if I create a `my_config.yaml` in a directory named `foo` with the following settings:

``` yaml
directory: Music
```

And load it using `beets -c my_config.yaml`, it uses the directory `~/.config/beets/Music` instead of `foo/Music` for the directory.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the `beets -c my_config.yaml` command loads configuration and resolves the `directory` setting. Reproduce the example with `foo/my_config.yaml` and verify that the effective path is `foo/Music` rather than `~/.config/beets/Music`.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.