beetbox / beets

music library manager and MusicBrainz tagger
http://beets.io/
MIT License
12.58k stars 1.8k forks source link

No path completion in fish for `beet import` #5198

Open justbispo opened 2 months ago

justbispo commented 2 months ago

Problem

After enabling the fish plugin to get tab completion, path completion doesn't work. When I press tab, I get all the fieldnames as suggestions instead.

beets

Before enabling, I was getting path completion but no arguments completion.

Setup

My configuration (output of beet config) is:

lyrics:
    bing_lang_from: []
    sources: genius
    auto: yes
    bing_client_secret: REDACTED
    bing_lang_to:
    google_API_key: REDACTED
    google_engine_ID: REDACTED
    genius_api_key: REDACTED
    fallback:
    force: no
    local: no
discogs:
    user_token: REDACTED
    apikey: REDACTED
    apisecret: REDACTED
    tokenfile: discogs_token.json
    source_weight: 0.5
    separator: ', '
    index_tracks: no
hook:
    hooks: [{event: import, command: echo 'beets just exited!'}, {event: import, command: echo 'have a nice day!'}]
lastgenre:
    count: 4
    separator: '; '
    whitelist: yes
    min_weight: 10
    fallback:
    canonical: no
    source: album
    force: yes
    auto: yes
    prefer_specific: no
    title_case: yes
lastfm:
    user: REDACTED
    api_key: REDACTED
spotify:
    source_weight: 0.7
    regex: [{field: title, search: ft., replace: feat.}]
    mode: list
    tiebreak: popularity
    show_failures: no
    artist_field: albumartist
    album_field: album
    track_field: title
    region_filter:
    client_id: REDACTED
    client_secret: REDACTED
    tokenfile: spotify_token.json
wlg:
    auto: yes
    force: yes
    separator: '; '
    count: 4
    whitelist: wlg
pluginpath: [/lib/python3.10/site-packages/beetsplug, ~/.config/beets/plugins]

plugins:
- discogs
- edit
- hook
- lastgenre
- lastimport
- lyrics
- mbsync
- spotify
- wlg
- fish
include: [beets.d/plugins.yaml, beets.d/plugins_settings.yaml]
directory: ~/audio
library: library.db

import:
    copy: no
    languages: en
languages: en

match:
    ignore_video_tracks: no
lastimport:
    per_page: 500
    retry_limit: 3
edit:
    albumfields: album albumartist
    itemfields: track title artist album
    ignore_fields: id path
rien333 commented 1 month ago

Yeah, it's has been like this for years. Extremely annoying.