Skip to main content

Scrobbler that can use any MPRIS-enabled media players.

Project description

# mpris-scrobbler

Scrobbler that can use any MPRIS-enabled media players.

Currently only supports [wilt.fm][1]

## Getting Started

This requires Python 3. I have only tested it on Python 3.6, so far.

* This will **NOT** work in Windows.
* Requires [dbus-python][2]

## Installation

* `pip install mpris_scrobbler`

or

* `git clone https://git.mashek.net/bottitytto/mpris-scrobbler.git`


## Usage
If you installed `mpris-scrobbler` via git, you will need to be in the project folder and prefix these commands with `python -m`:


* `mpris_scrobbler` will prompt for everything
* `mpris_scrobbler -u bottitytto -d vlc` will use these settings

```
usage: mpris-scrobbler.py [-h] [-u USERNAME] [-p PASSWORD] [-s SERVICE]
[-d DEVICE]

Scrobble from MPRIS-enabled devices

optional arguments:
-h, --help show this help message and exit
-u USERNAME, --username USERNAME
Scrobble service username
-p PASSWORD, --password PASSWORD
Scrobble service password
-s SERVICE, --service SERVICE
Scrobble service. Options: wiltfm (default)
-d DEVICE, --device DEVICE
MPRIS device to scrobble from
```

If you'd like to help out with code, visit https://git.mashek.net/bottitytto/mpris-scrobbler

Bug reports can be filed at https://git.mashek.net/bottitytto/mpris-scrobbler/issues

## Download

Coming soon!

## Notes

Some players, like [Sayonara][5], must start playing a song before they will work with `mpris-scrobbler.`


## Credits
Inspired by [mpd-scrobbler][3] and my work on [grab-song][4]


[1]:https://wilt.fm
[2]:https://pypi.python.org/pypi/dbus-python
[3]:https://github.com/ModalSeoul/mpd-scrobbler
[4]:https://github.com/aFoxNamedMorris/grab-song
[5]:http://sayonara-player.com

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

mpris_scrobbler-0.2.0.tar.gz (4.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page