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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file beets-lidarr-fields-1.1.0.tar.gz
.
File metadata
- Download URL: beets-lidarr-fields-1.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9e09202b34211ab61460f6db52fbff6cefe8fc5312e69de39614ca2b8374afd |
|
MD5 | 9259179d4109c76c42c1e8640a9c602c |
|
BLAKE2b-256 | d7b08ae6f308435ab3cfde35d13937eb80b78ec387c328db808c5c83c0fc284b |
File details
Details for the file beets_lidarr_fields-1.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: beets_lidarr_fields-1.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f57c85d4ae84c6894c8b93bc1163562b8455217782cdab8dacf197a29e8e7cd |
|
MD5 | ecd40fd2aa2cf4ab146803d7276eccc1 |
|
BLAKE2b-256 | cdca560276a37c8890dc9e2e90d7c7fed276726fc91fbf9e054efa3e69206d13 |