Compare commits

...

2 commits

2 changed files with 15 additions and 8 deletions

View file

@ -5,19 +5,14 @@ This enables your keyboard's standard media keys to control MPD, as well as more
## Installation
The recommended way to install mpd-now-playable and its dependencies is with [pipx](https://pypa.github.io/pipx/). I'm currently unable to register a PyPI account, so to install you'll currently need to do something like this:
```shell
pipx install 'git+https://git.00dani.me/00dani/mpd-now-playable'
```
However once PyPI opens registration again, this will work too, and it's the approach I definitely recommend:
The recommended way to install mpd-now-playable and its dependencies is with [pipx](https://pypa.github.io/pipx/):
```shell
pipx install mpd-now-playable
```
Once pipx is done, the `mpd-now-playable` script should be available on your `$PATH` and ready to use.
Most likely, you'll want mpd-now-playable to stay running in the background as a launchd service. [Here's the service plist I use](./me.00dani.mpd-now-playable.plist), but it's hardcoded to my `$HOME` so you'll want to customise it.
Most likely, you'll want mpd-now-playable to stay running in the background as a launchd service. [Here's the service plist I use](https://git.00dani.me/00dani/mpd-now-playable/src/branch/main/me.00dani.mpd-now-playable.plist), but it's hardcoded to my `$HOME` so you'll want to customise it.
## Configuration

View file

@ -11,9 +11,21 @@ dependencies = [
"pyobjc-framework-MediaPlayer>=10.0",
"python-mpd2>=3.1.0",
]
requires-python = ">=3.12"
readme = "README.md"
requires-python = ">=3.12"
license = {text = "MIT"}
classifiers = [
"Environment :: No Input/Output (Daemon)",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Sound/Audio :: Players",
]
[project.urls]
Homepage = "https://git.00dani.me/00dani/mpd-now-playable"
Issues = "https://git.00dani.me/00dani/mpd-now-playable/issues"
[project.scripts]
mpd-now-playable = 'mpd_now_playable.cli:main'