beetbox / beetbox/beets

hooks: Allow field notation like the inline plugin

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

Description

### Use case

As discussed in #3547 it would be greater if hooks could be provided with the same field notation that the inline plugin already supports.

This will make it easier to access `Item`-level attributes like `mtime` when the hook works on an `Album`.

Contributor guide

Open the contributing guide

Research direction

Start by reading the discussion in #3547 and the inline plugin's existing field notation. Then trace how hooks receive items and determine the changes needed so hooks accept that notation and can access Item-level attributes such as mtime when operating on an Album.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.