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 source (development/testing):

$ git clone https://github.com/brege/beets-notify
$ cd beets-notify
$ pipx inject beets apprise
$ cp beetsplug/notify.py ~/.config/beets/plugins/

From PyPI (not published yet):

$ pipx inject beets apprise
$ pip install beets-notify

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

beets/config.yaml

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.0.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.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: beets_notify-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 cfe5af6d50659cb46561cbb678562ddbc98bbd1467b8909f3ac8f5cbe998c2c2
MD5 0241bc9f511184ba12dba1c712a65d98
BLAKE2b-256 f76b89a0541b210b6ce1cda89de9702b70e590508dd250c9013b0058f94c361e

See more details on using hashes here.

Provenance

The following attestation bundles were made for beets_notify-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: beets_notify-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43de12725af1acba97e0db5d0b03abc27992686adfe0f3fdea05eaecdcfb2dd1
MD5 aed8354ef7b3907fd9afcdf7cd46ac76
BLAKE2b-256 59ba9563875ebec7a5ff8863dfa01401e5b80fead814dc1249931c0656eeab7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for beets_notify-0.1.0-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