{"id":19700194,"url":"https://github.com/dbeley/mpdscrobble","last_synced_at":"2025-07-02T13:04:31.302Z","repository":{"id":41408410,"uuid":"342039946","full_name":"dbeley/mpdscrobble","owner":"dbeley","description":"mpdscrobble: a simple Last.fm scrobbler for MPD. Also compatible with ListenBrainz and Maloja.","archived":false,"fork":false,"pushed_at":"2024-07-04T21:06:00.000Z","size":94,"stargazers_count":12,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T17:35:16.689Z","etag":null,"topics":["last-fm","lastfm","lastfm-scrobbler","listenbrainz","maloja","mpd","scrobble","scrobbler","scrobbling"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbeley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-24T21:25:41.000Z","updated_at":"2025-03-21T23:56:58.000Z","dependencies_parsed_at":"2022-09-05T09:41:05.587Z","dependency_job_id":null,"html_url":"https://github.com/dbeley/mpdscrobble","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fmpdscrobble","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fmpdscrobble/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fmpdscrobble/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbeley%2Fmpdscrobble/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbeley","download_url":"https://codeload.github.com/dbeley/mpdscrobble/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251509577,"owners_count":21600666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["last-fm","lastfm","lastfm-scrobbler","listenbrainz","maloja","mpd","scrobble","scrobbler","scrobbling"],"created_at":"2024-11-11T21:04:40.096Z","updated_at":"2025-04-29T13:31:41.746Z","avatar_url":"https://github.com/dbeley.png","language":"Python","funding_links":[],"categories":["Scrobble Clients (w/ Native Support)"],"sub_categories":[],"readme":"# mpdscrobble\n\nA simple Last.fm scrobbler for MPD.\n\nOn top of [Last.fm](https://www.last.fm/home), mpdscrobble is also compatible with those services:\n- [ListenBrainz](https://listenbrainz.org/)\n- [Maloja](https://github.com/krateng/maloja)\n\nIf you are searching for a mpd-compatible Last.fm scrobbler, check out first [mpdscribble](https://github.com/MusicPlayerDaemon/mpdscribble), as mpdscrobble has less features than mpdscribble:\n- no journal of failed scrobbles\n- it needs a pair of Last.fm API key/secret instead of just username/password\n\nIf you need to scrobble tracks from an existing mpdscribble journal file, you can use the [`mpdscribble_history.py`](https://github.com/dbeley/mpdscrobble/blob/main/mpdscribble_history.py) script.\n\n## Requirements\n\n- httpx\n- mpd-python2\n- pylast\n\n## Installation\n\nClassic installation :\n\n```\npip install mpdscrobble\nmpdscrobble -h\n```\nYou will then need to create a config file (see the [Configuration](#Configuration) section).\n\nIf you want the systemd-service, you will have to install it manually (see the [Scheduling](#Scheduling) section).\n\n### Run from source\n\n#### First method\n\n```\ngit clone https://github.com/dbeley/mpdscrobble\ncd mpdscrobble\npython setup.py install --user\nmpdscrobble -h\n```\n\n#### Second method (with pipenv)\n\n```\ngit clone https://github.com/dbeley/mpdscrobble\ncd mpdscrobble\npipenv install '-e .'\npipenv run mpdscrobble -h\n```\n\n### On Archlinux\n\nIf you are an Archlinux user, you can install the AUR package [mpdscrobble-git](https://aur.archlinux.org/packages/mpdscrobble-git).\n\n```\nyay -S mpdscrobble-git\n```\n\nThe systemd service file will be automatically installed.\n\n## Configuration\n\nSee [`mpdscrobble.example.conf`](https://github.com/dbeley/mpdscrobble/blob/main/mpdscrobble.example.conf) for an example.\n\nBy default, `mpdscrobble` search a config file at `~/.config/mpdscrobble/mpdscrobble.conf`, but you can override the default location with the `-c/--config` flag (see the [Usage](#Usage) section).\n\n## Scheduling\n\nIf you installed the AUR package on Archlinux, the systemd service is automatically installed.\n```\nsystemctl --user enable --now mpdscrobble\nsystemctl --user status mpdscrobble\n```\n\nOtherwise you will need to manually install the systemd service.\n```\ncurl https://raw.githubusercontent.com/dbeley/mpdscrobble/main/systemd-service/mpdscrobble.service \u003e ~/.config/systemd/user/mpdscrobble.service\nsystemctl --user daemon-reload\nsystemctl --user enable --now mpdscrobble\nsystemctl --user status mpdscrobble\n```\n\n## Usage\n\n```\nusage: mpdscrobble [-h] [--debug] [-c CONFIG_FILE] [--dry-run]\n\nA simple Last.fm scrobbler for MPD.\n\noptional arguments:\n  -h, --help            Show this help message and exit.\n  --debug               Display debugging information.\n  -c CONFIG_FILE, --config_file CONFIG_FILE\n                        Config file (default: ~/.config/mpdscrobble/mpdscrobble.conf).\n  --dry-run             Disable scrobbling.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbeley%2Fmpdscrobble","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbeley%2Fmpdscrobble","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbeley%2Fmpdscrobble/lists"}