# Plugin auto set comment on import

**URL:** <https://discourse.beets.io/t/plugin-auto-set-comment-on-import/1762>\
**Category:** Help\
**Created:** [May 4, 2021, 5:12am UTC](https://discourse.beets.io/t/plugin-auto-set-comment-on-import/1762 "2021-05-04T05:12:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bebe](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@bebe](https://discourse.beets.io/u/bebe)\
**Post date:** [May 4, 2021, 5:12am UTC](https://discourse.beets.io/t/plugin-auto-set-comment-on-import/1762/1 "2021-05-04T05:12:48Z")

</div>

Hi,

I’m surprised that I did not find an answer to my searches in the forum, since I guess what I would like to do is quite common (although maybe not for beets users):

On import, I would like to add the same static comment to each track’s tags. (E.g. “Imported by me.”)

Which plugin does that?

Thank you 🙇‍♂️

PS: My use case is that I have a folder of music of two types. One part is a big mess, the other part I have listened to and found to be ‘good’. Only good music will enjoy the treatment with beets. My goal is to mark each good track with a comment, such that I can filter the folder based on the comment. (I would like the filtering to be possible with other tools than beets, too, hence `beet list <query>` does not help here.)

---

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [May 4, 2021, 11:19am UTC](https://discourse.beets.io/t/plugin-auto-set-comment-on-import/1762/2 "2021-05-04T11:19:46Z")

</div>

Hello! Have you tried the `--set` flag to the `import` command?

---

<div class="post-metadata">

**Author:** ![bebe](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@bebe](https://discourse.beets.io/u/bebe)\
**Post date:** [May 4, 2021, 4:12pm UTC](https://discourse.beets.io/t/plugin-auto-set-comment-on-import/1762/3 "2021-05-04T16:12:50Z")

</div>

Thx. Yes, I did. Also tried by configuring the (equivalent) `set_fields` property of the importer. As I understand from various discussion, `set` and `set_fields` work on the _album_ level.

This is why `beet info ...` does _not_ show the comments.

I’d like to have `comments=...` be applied at _track_ level (and written to each individual file) at import.

Cheers.

cf. the [merge request on github](https://github.com/beetbox/beets/pull/2581/files)

---

<div class="post-metadata">

**Author:** ![bebe](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@bebe](https://discourse.beets.io/u/bebe)\
**Post date:** [May 6, 2021, 6:08pm UTC](https://discourse.beets.io/t/plugin-auto-set-comment-on-import/1762/4 "2021-05-06T18:08:14Z")

</div>

FYI

> **[set\_track\_fields in addition to set\_fields · Discussion #3925 · beetbox/beets](https://github.com/beetbox/beets/discussions/3925)**
>
> //github.com/beetbox/beets/discussions/3925
