{"id":25876576,"url":"https://github.com/szclsya/mpdris2-rs","last_synced_at":"2025-03-02T10:32:17.842Z","repository":{"id":65892846,"uuid":"500012791","full_name":"szclsya/mpdris2-rs","owner":"szclsya","description":"Exposing MPRIS V2.2 D-Bus interface for mpd ","archived":false,"fork":false,"pushed_at":"2025-02-22T02:11:21.000Z","size":196,"stargazers_count":31,"open_issues_count":3,"forks_count":1,"subscribers_count":5,"default_branch":"trunk","last_synced_at":"2025-02-24T13:56:35.462Z","etag":null,"topics":["mpd","mpris"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/szclsya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-05T05:54:53.000Z","updated_at":"2025-02-22T02:11:25.000Z","dependencies_parsed_at":"2024-03-05T17:27:27.899Z","dependency_job_id":"77501b06-25ac-44a5-8881-289ecb40f692","html_url":"https://github.com/szclsya/mpdris2-rs","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szclsya%2Fmpdris2-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szclsya%2Fmpdris2-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szclsya%2Fmpdris2-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szclsya%2Fmpdris2-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szclsya","download_url":"https://codeload.github.com/szclsya/mpdris2-rs/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241493704,"owners_count":19971867,"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":["mpd","mpris"],"created_at":"2025-03-02T10:32:17.329Z","updated_at":"2025-03-02T10:32:17.833Z","avatar_url":"https://github.com/szclsya.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mpdris2-rs\n\nA lightweight implementation of MPD to D-Bus bridge, which exposes MPD player and playlist information onto [MPRIS2](https://specifications.freedesktop.org/mpris-spec/latest/index.html) interface so other programs can use this generic interface to retrieve MPD's playback state.\n\n## Installation\nIf you are using Arch Linux, mpdris2-rs is available on [AUR](https://aur.archlinux.org/packages/mpdris2-rs).\n\nTo build, clone this repository, and run `cargo build --release`. The MSRV (minimum supported Rust version) is **1.80.1**.\n\nIf using Linux with systemd, you can use systemd user service to run mpdris2-rs. Copy the result binary (`target/release/mpdris2-rs`) to `/usr/local/bin`, add [mpdris2-rs.service](misc/mpdris2-rs.service) to `~/.config/systemd/user` and run `systemctl --user enable mpdris2-rs.service`.\n\n## Configuration\nThis program reads the D-Bus session bus path from `$DBUS_SESSION_BUS_ADDRESS` and fall back to `$XDG_RUNTIME_DIR/bus` if such variable is not defined. Usually this variable should be set automatically when using desktop environments like KDE and GNOME, but if you are using a window manager or launching DE session by yourself, you might need to start your graphical session with `dbus-launch --exit-with-session $CMD`.\n\nCurrently the following command line arguments are supported:\n- `--host $MPD_HOST` hostname + port, or UNIX socket path of MPD server, similar to what `mpc` takes\n  - if not configured, `MPD_HOST` will be used\n  - if `MPD_HOST` is not set either, `localhost:6600` is the default\n  - UNIX socket path has to be absolute, and abstract sockets (socket path that starts with `@`) are not supported\n- `--no-notification` don't send desktop notification\n- `-v` show debug information\n\n## Implementation Status\n- [x] Root Interface\n- [x] Player control\n- [x] Track list (the current playing queue)\n- [ ] Playlists\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszclsya%2Fmpdris2-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszclsya%2Fmpdris2-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszclsya%2Fmpdris2-rs/lists"}