Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FromFilename Plugin don't work at all #5597

Open
migrgh opened this issue Jan 14, 2025 · 0 comments
Open

FromFilename Plugin don't work at all #5597

migrgh opened this issue Jan 14, 2025 · 0 comments

Comments

@migrgh
Copy link

migrgh commented Jan 14, 2025

I have flac files without any tags but the folder and file naming are good.

The ARTIST and ALBUM is on musicbrainz and show up after manual search.

I don't know if there's need of more PATTERNS or if it because the plugin don't consider the track as empty ?

Foldername: ARTIST - ALBUM
Filename: 01 ARTIST - TRACK.flac

metaflac --list 01 ARTIST - TRACK.flac

METADATA block #0
  type: 0 (STREAMINFO)
  is last: false
  length: 34
  minimum blocksize: 4096 samples
  maximum blocksize: 4096 samples
  minimum framesize: 14 bytes
  maximum framesize: 10805 bytes
  sample_rate: 44100 Hz
  channels: 2
  bits-per-sample: 16
  total samples: 6920760
  MD5 signature: 
METADATA block #1
  type: 4 (VORBIS_COMMENT)
  is last: false
  length: 47
  vendor string: reference libFLAC
  comments: 0
METADATA block #2
  type: 1 (PADDING)
  is last: true
  length: 8192

beet -vv import ARTIST - ALBUM

user configuration: /home/user/.config/beets/config.yaml
data directory: /home/user/.config/beets
plugin paths: /home/user/git/beets/beetsplug
Sending event: pluginload
library database: /home/user/.config/beets/beets.db
library directory: /home/user/musik2
Sending event: library_opened
Sending event: import_begin
Sending event: import_task_created
Sending event: import_task_start
fromfilename: Title replaced with: ARTIST - TRACK
fromfilename: Track replaced with: 1
Looking up: /home/user/musik2/ARTIST - TRACK
Tagging  - 
No album ID found.
Search terms:  - 
Additional search terms: {'year': 0, 'label': '', 'catalognum': '', 'country': '', 'media': ''}
Album might be VA: True
Evaluating 0 candidates.

/home/user/musik2/ARTIST - TRACK (1 items)
Sending event: import_task_before_choice
Sending event: before_choose_candidate
No matching release found for 1 tracks.
For help, see: https://beets.readthedocs.org/en/latest/faq.html#nomatch
➜ [S]kip, Use as-is, as Tracks, Group albums, Enter search, enter Id, aBort? B
Sending event: import
Sending event: cli_exit

Important here are the two line

fromfilename: Title replaced with: ARTIST - TRACK
fromfilename: Track replaced with: 1

ARTIST - TRACK arent't the Title(TRACK) of course so the plugin don't even interest in ARTIST!?

Setup

beets version 1.6.1
Python version 3.13.1
plugins: fromfilename

My configuration (output of beet config) is:

library: ~/.config/beets/beets.db
directory: ~/musik2/
threaded: yes
import:
    write: yes
    copy: no
    resume: no

musicbrainz:
    enabled: yes
    host: musicbrainz.org
    https: yes
    extra_tags: [year, catalognum, country, media, label]

plugins: fromfilename

pluginpath:
    - /home/user/git/beets/beetsplug/

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant