Skip to main content

Beets plugin that defines some useful template fields to customize your path formats in a more lidarr way.

Project description

Beets - Lidarr Fields

This is a plugin for Beets. It provides some template fields to customize your path formats in a more Lidarr way. It works faster than using the built-in inline plugin because it evaluates those fields only once per album (same value for all tracks). Currently, this plugin provides three template fields:

  • releasegroupartist
    It refers to the "Release Group Artist" (or the first one if multiple) which is whom Lidarr links a release to.

  • lidarralbum
    Original album name, but with illegal characters replaced the same way Lidarr does it.

  • audiodisctotal
    Similar to beet's 'disctotal' field, only it ignores video medias like Blu-ray, DVD, etc.

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

Install

To install it, use pip:

pip install beets-lidarr-fields

or

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

Configuration

Enable the plugin in beets' config.yaml

plugins: lidarrfields

How to use it

Use it to build your path formats in beet's config.yaml, like it's explained in the Beets Docs. To make it look like Lidarr's default format, set it like:

paths:
    default: $releasegroupartist/$lidarralbum ($year)/%if{$audiodisctotal,$disc - }${track}. $title

per_disc_numbering: yes

Be aware that the aunique template function will (most likelly) not work on lidarralbum.

Contributors ✨

Thanks goes to these wonderful people:


mod242

💻

DOFfactory

🐛

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-lidarr-fields-1.1.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

beets_lidarr_fields-1.1.2-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file beets-lidarr-fields-1.1.2.tar.gz.

File metadata

  • Download URL: beets-lidarr-fields-1.1.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2.post20210112 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5

File hashes

Hashes for beets-lidarr-fields-1.1.2.tar.gz
Algorithm Hash digest
SHA256 c25c9bc37bf440b7de2206decf3e4f41d6c616cbbd28b2350245500f80ab808e
MD5 13323a167f404737787398746eb77425
BLAKE2b-256 8b607e08741743b99896be4d10d829176ba9ead558aea166c8041e73e6ca8639

See more details on using hashes here.

File details

Details for the file beets_lidarr_fields-1.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: beets_lidarr_fields-1.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2.post20210112 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5

File hashes

Hashes for beets_lidarr_fields-1.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b6d7f8cab29a6505149ea2b64faf3ffc2a2492000a583dd36f9cca17223eca90
MD5 bac75113a2fbbb30b0d2942cc055ce91
BLAKE2b-256 a77de9c09ded10d3c636d72553666057aa1fc1120cab5f045c6feed5e8d2532b

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