Last.fm scrobbler via MPRIS2 in Linux
Project description
Last.fm scrobbler
A Last.fm scrobbler via MPRIS2 in Linux, implemented via pylast and mpris2
Modified based on dbus-scrobbler
Features
-
scrobble music to Last.fm if one of the conditions are met:
- played for 4 mins
- played for half the length
-
update now playing status
-
offline storage support
Alternatives
If you'd like a scrobbler similar to this, there're some choices. I recommand taking a look at scrobblez, which is more functional (at least for now).
Also, although rescrobbled may also work, in my case it raised "Dbus error: argument type mismatch".
What is MPRIS2?
MPRIS (Media Player Remote Interfacing Specification) is a standard D-Bus (Desktop Bus) interface that allows applications to communicate with and control media players running on a Linux desktop environment.
Thus, this scrobbler is a general-purpose one under the Linux desktop environment, supporting scrobble music from media players without a built-in Last.fm scrobbling feature.
Check if your media player supports MPRIS2 via playerctl (when it is running)
playerctl --list-all
Installation
The package is now available via PyPI
pip install lastfm-mpris2-scrobbler
Configurations
The program expect a config.yaml file, example and detailed information can be found in config.yaml.example
Usage
lastfm-mpris2-scrobbler PATH_TO_YOUR_CONFIG/config.yaml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lastfm-mpris2-scrobbler-0.2.1.tar.gz.
File metadata
- Download URL: lastfm-mpris2-scrobbler-0.2.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a39e29733c1a7971cc1e68f5477e994b05d2d4c8c73630e71b657355d8946b95
|
|
| MD5 |
6c1f7a6dcffec73600a292c1d05a185c
|
|
| BLAKE2b-256 |
adcd11197f58e798ae5604eb8807dcc62837cd834d18f7f3e9e07dc1e4c704ec
|
File details
Details for the file lastfm_mpris2_scrobbler-0.2.1-py3-none-any.whl.
File metadata
- Download URL: lastfm_mpris2_scrobbler-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e08825c727a5874f95e7e7b7a6ea0ffb8fb1d8919d289184a3af4b458723d0c9
|
|
| MD5 |
b49f2e322abbfe15b9bb324f02db2613
|
|
| BLAKE2b-256 |
eeb29dd805fcdd73bdb3100b2b2c4df887037b1d47d92a52a12cc1c0de71b446
|