Skip to main content

Schedule music to play in the background

Project description

background-music

Schedule music to play in the background.

Detects changes to config file while running.

Plays music with pygame. AI-generated and unreviewed - but I use it.

Motivation

Plan the music you want to play ahead of time so you actually listen to it. Idem vs ipse vs attention.

I don't like having to mess with my phone to play music because it a distraction machine.

An alternative to algorithms.

Alternatives and prior work

There is a tool called musicron focused on playing projects. I could not find the home page. cmus is a command line tool which has a playlist and a remote contro.

You could use spotify and just play music with algorithms or use your phone.

Installation

pipx install background-music

Usage

Write config

9-10 file.wav
10-11 random:file2.wav,file3.wav
11-13 paylist.txt # work through the playlist
13-14 random:playlist.txt

Mon 18:30-18:40  monday.wav
Tue 18:30-18:40  monday.wav

bgmus config

Hacking

I encouraage your to fork this and call it bgmusic-something. You can then tell me about this fork on github as a PR and I will loot your features :D and cite you.

About me

I make tools for reading and agency.

I also mess around with music and music technology and home automation in my spare time. If this sounds interesting you might like to check out r/musicaltreadmilldesk about my music desk.

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

background_music-2.0.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

background_music-2.0.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file background_music-2.0.0.tar.gz.

File metadata

  • Download URL: background_music-2.0.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for background_music-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f8335e39f5672bcb878fb5d5e11a3be4ecf8ea9a37d82bc62a3bb422e22befb9
MD5 e86da3f0a8bcb5087afb32e44112a2a8
BLAKE2b-256 fe2f394b1b29406afe7686c5a6af6ec8908c66252ee7a273649a9a6377f9887c

See more details on using hashes here.

File details

Details for the file background_music-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for background_music-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aec4903746cab0fe1509e684332e9f63a8ef85a41b52195bec2669f0e5a79933
MD5 0e5d9fbc86cdff43eba7930e11c65ebd
BLAKE2b-256 0055b9217593c61ce9be0f80d9ffaaa6ec91817f0e946ece3f0fa4e6572d0596

See more details on using hashes here.

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