{"id":16606782,"url":"https://github.com/fichtefoll/discordrp-mpris","last_synced_at":"2026-03-10T14:32:41.644Z","repository":{"id":44709586,"uuid":"129827346","full_name":"FichteFoll/discordrp-mpris","owner":"FichteFoll","description":"Discord Rich Presence through media players providing the mpris2 dbus interface","archived":false,"fork":false,"pushed_at":"2023-05-09T23:41:31.000Z","size":110,"stargazers_count":92,"open_issues_count":14,"forks_count":18,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-05T08:13:41.664Z","etag":null,"topics":["cmus","discord","discord-rich-presence","hacktoberfest","mpd","mpris","mpv","vlc-media-player"],"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/FichteFoll.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-04-17T01:24:26.000Z","updated_at":"2025-05-19T17:35:45.000Z","dependencies_parsed_at":"2023-01-29T03:40:12.063Z","dependency_job_id":null,"html_url":"https://github.com/FichteFoll/discordrp-mpris","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/FichteFoll/discordrp-mpris","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FichteFoll%2Fdiscordrp-mpris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FichteFoll%2Fdiscordrp-mpris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FichteFoll%2Fdiscordrp-mpris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FichteFoll%2Fdiscordrp-mpris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FichteFoll","download_url":"https://codeload.github.com/FichteFoll/discordrp-mpris/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FichteFoll%2Fdiscordrp-mpris/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30337241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T12:41:07.687Z","status":"ssl_error","status_checked_at":"2026-03-10T12:41:06.728Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cmus","discord","discord-rich-presence","hacktoberfest","mpd","mpris","mpv","vlc-media-player"],"created_at":"2024-10-12T01:10:00.665Z","updated_at":"2026-03-10T14:32:41.627Z","avatar_url":"https://github.com/FichteFoll.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Rich Presence through mpris\n\n| User Modal          | Popout Modal          |\n| ------------------- | --------------------- |\n| ![][img-user-modal] | ![][img-popout-modal] |\n\ndiscordrp-mpris provides Rich Presence to Discord clients\nbased on music or other media that you are playing\nand that is exposed through the [mpris2][] D-Bus interface.\nThus, it only works on systems where D-Bus is available\nand *not* on Windows.\n\ndiscordrp-mpris is intended to run in the background\nalongside your local Discord client\nand your media player(s).\nMultiple media players are supported\nand the ones with active playback are prioritized.\nThe most recently active player will then be followed\nuntil it is no longer playing\nand a different player starts playback.\n\nThis project is in *beta* stage.\n\n\n## Installation \u0026 Usage\n\nRequirements:\n\n- Python 3.6 or higher\n\n### Recommended\n\n- **Arch Linux**: [AUR](https://aur.archlinux.org/packages/discordrp-mpris-git/)\n\n```sh\nsystemctl --user enable discordrp-mpris.service --now\n```\n\n### Manual\n\n```sh\npip install git+https://github.com/FichteFoll/discordrp-mpris.git\n\n# Usage\ndiscordrp-mpris\n```\n\nYou might also want to use `pip install --user` instead.\n\n### pipenv\n\nRequires [pipenv][].\n\n```sh\ngit clone https://github.com/FichteFoll/discordrp-mpris.git\ncd discordrp-mpris\npipenv install\n\n# Usage\npipenv run python -m discordrp-mpris\n```\n\n\n## Media Players\n\nThe following media players are known to be supported:\n\n- [Clementine][]\n- [Strawberry][]\n- [cmus][]\n- [KDE Plasma integration][plasma-integration] (supports various browsers)\n- [Lollypop][]\n- [Media Player Classic Qute Theater][mpc-qt] (newer than 18.03 or 2018-06-20)\n- [Media Player Daemon][mpd] (through [mpDris2][])\n- [Mozilla Firefox][]\n  (does not support `Position` attribute; [upstream ticket][firefox-bug])\n- [mpv][] (through [mpv-mpris][])\n- [SMPlayer][]\n- [VLC Media Player][vlc]\n\nIcons are available for:\n\n- Clementine\n- Lollypop\n- Media Player Daemon\n- Media Player Classic Qute Theater\n- Mozilla Firefox\n- mpv\n- SMPlayer\n- VLC Media Player\n\nWhen no player icon is available,\nthe playback state is used as the large icon.\n\nThe following players are **not** supported:\n\n- Spotify\n  (conflicts with its own Rich Presence, #4)\n- [mps-youtube][]\n  (doesn't implement introspectable DBus properties,\n  mps-youtube/mps-youtube#839)\n\n\n## Configuration\n\nConfiguration may be provided in a `config.toml` file\nusing the [TOML][] format\nand located in the folders `$XDG_CONFIG_HOME/discordrp-mpris`\nor `$HOME/.config/discordrp-mpris`.\n\nFor available options, see the [default `config.toml`][default-config].\n\n\n\u003c!-- Resources --\u003e\n\n[img-user-modal]: https://user-images.githubusercontent.com/931051/39368449-e0da4afa-4a39-11e8-8909-2d3b2383ad9f.png\n[img-popout-modal]: https://user-images.githubusercontent.com/931051/39368450-e0fb03da-4a39-11e8-8fc3-d6910f097243.png\n\n\u003c!-- Links --\u003e\n\n[mpris2]: https://specifications.freedesktop.org/mpris-spec/2.2/\n[pipenv]: https://docs.pipenv.org/\n[Clementine]: https://www.clementine-player.org/\n[Strawberry]: https://www.strawberrymusicplayer.org/\n[cmus]: https://cmus.github.io/\n[plasma-integration]: https://community.kde.org/Plasma/Browser_Integration\n[Lollypop]: https://wiki.gnome.org/Apps/Lollypop\n[mpc-qt]: https://github.com/cmdrkotori/mpc-qt\n[mpd]: https://musicpd.org/\n[mpDris2]: https://github.com/eonpatapon/mpDris2\n[mpv]: https://mpv.io/\n[mpv-mpris]: https://github.com/hoyon/mpv-mpris\n[vlc]: https://www.videolan.org/vlc/\n[mps-youtube]: https://github.com/mps-youtube/mps-youtube\n[SMPlayer]: https://www.smplayer.info/\n[TOML]: https://github.com/toml-lang/toml\n[default-config]: discordrp_mpris/config/config.toml\n[firefox-bug]: https://bugzilla.mozilla.org/show_bug.cgi?id=1659199\n[Mozilla Firefox]: https://www.mozilla.org/en-US/firefox/new/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffichtefoll%2Fdiscordrp-mpris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffichtefoll%2Fdiscordrp-mpris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffichtefoll%2Fdiscordrp-mpris/lists"}