Skip to main content

Beets plugin that provides a customizable flexible field/tag, vt_albumartist, which defaults to the track's albumartist.

Project description

Beets - VT Album Artist

This is a plugin for Beets. It provides a customizable flexible field/tag, vt_albumartist, which defaults to the track's albumartist. With this tag you'll be able to group different artists under a same group if your music player supports custom tags (e.g.: MusicBee).

Plugin only lightly tested by me. Use at your own risk!

Install

To install it, use pip:

pip install beets-vtalbumartist

or

git clone https://github.com/rafaelparente/beets-vtalbumartist.git
cd beets-vtalbumartist
python setup.py install

Configuration

Enable the plugin in beets' config.yaml

plugins: vtalbumartist

How to use it

It works primarily as an extra import stage, after Apply-like actions, which allows the user to Edit the "Virtual Album Artist", saving this value under the field/tag "vt_albumartist". If not edited, its value will be the same as the album's artist field/tag (default value) or some previously set value (current value).

To set or change this field/tag for already imported tracks, a new command is provided: vtalbumartist. To run it, just type beet vtalbumartist QUERY where QUERY matches the tracks to be set. By default the command will match only albums (and its tracks) which have at least one track missing the vt_albumartist field/tag for that QUERY. Additional command-line options include:

  • --singletons or -s: match singleton tracks instead of albums

  • -reset or -r: match even those with field/tag already set

  • -quiet or -q: never prompt for input: set field/tag automatically It will try to set the field/tag to a current value, if any, or else it will use the default value.

It's compatible with built-in plugins that modify tags, like scrub and mbsync, as long as the field is still saved on the library.

Therefore, if so needed, you can remove the tag from the files by first removing the field from the library. For that you can use the default modify function on beets like it's explained in the Docs. For example:

beet modify vt_albumartist! QUERY

will remove the field for all tracks that match QUERY. Then, to remove the tag from the file, you can use the built-in plugin scrub: Scrub. Like so:

beet scrub QUERY

but be aware that it will also remove other tags on the file if they are not saved on the library's database.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beets-vtalbumartist-1.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

beets_vtalbumartist-1.1.0-py2.py3-none-any.whl (5.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file beets-vtalbumartist-1.1.0.tar.gz.

File metadata

  • Download URL: beets-vtalbumartist-1.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for beets-vtalbumartist-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c52cfa8c38dcf7818ecfdf80de3d64ea0f90f3224970061575f789817ead8d26
MD5 b6b28e85b0f312038bef56468a76f003
BLAKE2b-256 76e132910f70784480c6799292cc5f451624b658982eb77cd05588466985c9dc

See more details on using hashes here.

File details

Details for the file beets_vtalbumartist-1.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: beets_vtalbumartist-1.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for beets_vtalbumartist-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 77a71bb08628cfcf6eb6350c07cdfefb24f6cc112f8afde6139deb88753eee66
MD5 1e1d1d41b1ece019c1b1da0424085797
BLAKE2b-256 0f0f913fdbaaa35b6d4fcf9b3903309fcda59227e4b588925fea8382163fefe4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page