Skip to main content

A beets plugin to send notifications when albums are imported

Project description

A beets plugin to notify your devices and services when new album(s) are imported into your library.

Apprise is the backend used to send push notifications to your phone, matrix channel, email, push notification service, and many others. Apprise supports nearly all notification services.

If your notification service supports it, album art will be embedded in the notification, automatically handled through Apprise’s attachment system.

Install

From PyPI (recommended):

$ pipx inject beets beets-notify

From source (development/testing):

$ git clone https://github.com/brege/beets-notify
$ cd beets-notify
$ touch beetsplug/__init__.py
$ pipx inject beets .

Apprise Urls

Apprise uses service urls.

Pushover

pover://abcdefghijklmnopqrstuvwxyz1234@xyz1234zbcdefghijklmnopqrstuvw

Email (Fastmail supports 100+ aliased domains)

Using an app-password 1234 5678 5a5c 3b3d for the main email account@fastmail.com using the alias alias@sent.as:

mailto://1234 5678 5a5c 3b3d@sent.as?user=account@fastmail.com&to=alias@sent.as

Configuration

Enable the plugin in your ~/.config/beets/config.yaml:

plugins: notify

notify:
    apprise_urls:
        - "pover://abcdefghijklmnopqrstuvwxyz1234@xyz1234zbcdefghijklmnopqrstuvw"
    truncate: 3                  # albums to enumerate before truncating (...)
    body_maxlength: 512          # max body chars (pushover: 1024)
    artwork: yes                 # attach artwork
    artwork_maxsize: 1000000     # (bytes) limits (pushover: 5MB)
    show_first_art: yes          # show art for multiple album imports

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_notify-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

beets_notify-0.1.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file beets_notify-0.1.1.tar.gz.

File metadata

  • Download URL: beets_notify-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for beets_notify-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6aea5930cc42a1ec2ac96a2040a4c9e408eb3793fe2fcc746a58ff95f7231612
MD5 2cc332eb52c3d86290340d9e6f4e46be
BLAKE2b-256 335cc304d2f43f779eb30194b2b0a7a669c217b3f1a79f14e2724411fb949704

See more details on using hashes here.

Provenance

The following attestation bundles were made for beets_notify-0.1.1.tar.gz:

Publisher: workflow.yml on brege/beets-notify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file beets_notify-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: beets_notify-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for beets_notify-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 13afaf2a1b544af9cb1ec48db70513edeb58442a55fb8f9d19c06f3a30914ce8
MD5 3aa56d94f2604da4289a31b37a4324f1
BLAKE2b-256 a86e725196996f49961d9b0d28f6a5b1556d69ac7d21c9cc12f4b45de9541ec7

See more details on using hashes here.

Provenance

The following attestation bundles were made for beets_notify-0.1.1-py3-none-any.whl:

Publisher: workflow.yml on brege/beets-notify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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