Compare commits

..

No commits in common. "54d2a6d4153de7d1907ecb370c947336b3fa35d8" and "06d96314450dacdb3723c04e0078e2193158d766" have entirely different histories.

2 changed files with 8 additions and 15 deletions

View file

@ -5,14 +5,19 @@ This enables your keyboard's standard media keys to control MPD, as well as more
## Installation ## Installation
The recommended way to install mpd-now-playable and its dependencies is with [pipx](https://pypa.github.io/pipx/): 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:
```shell ```shell
pipx install mpd-now-playable pipx install mpd-now-playable
``` ```
Once pipx is done, the `mpd-now-playable` script should be available on your `$PATH` and ready to use. 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](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. 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.
## Configuration ## Configuration

View file

@ -11,21 +11,9 @@ dependencies = [
"pyobjc-framework-MediaPlayer>=10.0", "pyobjc-framework-MediaPlayer>=10.0",
"python-mpd2>=3.1.0", "python-mpd2>=3.1.0",
] ]
readme = "README.md"
requires-python = ">=3.12" requires-python = ">=3.12"
readme = "README.md"
license = {text = "MIT"} 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] [project.scripts]
mpd-now-playable = 'mpd_now_playable.cli:main' mpd-now-playable = 'mpd_now_playable.cli:main'