Skip to main content

This is a fork of copyartifacts, which was created in its entirety by Sami Barakat. It includes Python 3 fixes and has been published to PyPI as beets-copyartifacts3.

copyartifacts plugin for beets

https://travis-ci.org/adammillerio/beets-copyartifacts.svg?branch=master

A plugin that moves non-music files during the import process.

This is a plugin for beets: a music library manager and much more.

Installing

Stable

The stable version of the plugin is available from PyPI. Installation can be done using pip:

pip install beets-copyartifacts3

If you get permission errors try running it with sudo

Development

The development version can be installed from GitHub by using these commands:

git clone https://github.com/adammillerio/beets-copyartifacts.git
cd beets-copyartifacts
python setup.py install

If you get permission errors try running it with sudo

Configuration

You will need to enable the plugin in beets’ config.yaml

plugins: copyartifacts

It can copy files by file extenstion:

copyartifacts:
    extensions: .cue .log

Or copy all non-music files (it does this by default):

copyartifacts:
    extensions: .*

It can also print what got left:

copyartifacts:
    print_ignored: yes

Renaming files

Renaming works in much the same way as beets Path Formats with the following limitations: - The fields available are $artist, $albumartist, $album and $albumpath. - The full set of built in functions are also supported, with the exception of %aunique - which will return an empty string.

Each template string uses a query syntax for each of the file extensions. For example the following template string will be applied to .log files:

paths:
    ext:log: $albumpath/$artist - $album

This will rename a log file to: ~/Music/Artist/2014 - Album/Artist - Album.log

Example config

plugins: copyartifacts

paths:
    default: $albumartist/$year - $album/$track - $title
    singleton: Singletons/$artist - $title
    ext:log: $albumpath/$artist - $album
    ext:cue: $albumpath/$artist - $album
    ext:jpg: $albumpath/cover

copyartifacts:
    extensions: .cue .log .jpg
    print_ignored: yes

Thanks

copyartifacts was built in its entirety by Sami Barakat. This fork is simply a Python 3 compatible version published to PyPI.

copyartifacts was built on top of the hard work already done by Adrian Sampson and the larger community on beets. We have also benefited from the work of our contributors.

This plugin was built out of necessity and to scratch an itch. It has gained a bit of attention, so I intend to maintain it where I can, however I doubt I will be able to spend large amount of time on it. Please report any issues you may have and feel free to contribute.

License

Copyright (c) 2015-2017 Sami Barakat Copyright (c) 2020 Adam Miller

Licensed under the MIT license.

Release files for beets-copyartifacts3 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beets-copyartifacts3 0.1.7
File Size Uploaded
beets_copyartifacts3-0.1.7.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for beets-copyartifacts3 0.1.7
File Interpreter ABI Platform
beets_copyartifacts3-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / beets_copyartifacts3-0.1.7.tar.gz

Download URL beets_copyartifacts3-0.1.7.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6d830d8646c0e0c1d949b12de103b68845fa7c509d8ae05936392c0491a3f909
BLAKE2b-256 checksum
How to use checksums
8b5080ff604ded91c12a57b83462b24e89be989ccf151b28e723d1ff416e3d45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / beets_copyartifacts3-0.1.7-py3-none-any.whl

Download URL beets_copyartifacts3-0.1.7-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b02f9e3f361c40256d9e0c060aa4a99312823791c4bdc6ef0a433e1fbc451d7
BLAKE2b-256 checksum
How to use checksums
3417a79f2a0e342be1d9c3d7aee3ae409ac71b3df7fd0c052ca7adf461de0e3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page