Metadata-Version: 2.1
Name: mpris-fakeplayer
Version: 0.1.2
Summary: Fake mpris player for activating bluez avrcp volume control
Home-page: https://gitlab.com/hxss-linux/mpris-fakeplayer
Author: hxss
Author-email: hxss@ya.ru
License: MIT
Keywords: mpris,avrcp,bluez,player
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: dbus-next (>=0.1.3)

# MprisFakePlayer

Most of modern bluetooth headphones has internal volume control that works over AVRCP interface.
AVRCP interface requires an active [MPRIS](https://specifications.freedesktop.org/mpris-spec/latest/) player to activate volume control but not all desktop media players implements MPRIS.

This app runs fake mpris player with `Playing` status. It helps to activate `avrcp` volume controls on headphones like `Powerbeats Pro` when using non-mpris media player.

## Installation

### aur: `mpris-fakeplayer`

### pip:

```
$ pip install mpris-fakeplayer
$ sudo -E mpris-fakeplayer --install-service
```

### systems requirements:

* active [mpris-proxy](https://wiki.archlinux.org/index.php/Bluetooth_headset#Media_controls) service

## Usage

```
$ systemctl --user start mpris-fakeplayer.service
$ systemctl --user enable mpris-fakeplayer.service
```


