{"id":23149613,"url":"https://github.com/mange/mpris-rs","last_synced_at":"2025-09-22T02:32:57.802Z","repository":{"id":44876628,"uuid":"109198609","full_name":"Mange/mpris-rs","owner":"Mange","description":"Idiomatic MPRIS D-Bus interface library for Rust","archived":false,"fork":false,"pushed_at":"2025-05-01T21:21:35.000Z","size":441,"stargazers_count":76,"open_issues_count":9,"forks_count":17,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-20T19:47:06.095Z","etag":null,"topics":["d-bus","dbus","mpris","mpris-ctl","rust-library"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mange.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-11-02T00:26:53.000Z","updated_at":"2025-09-20T09:02:24.000Z","dependencies_parsed_at":"2024-03-23T23:32:07.628Z","dependency_job_id":"e99b3537-abf3-4d08-b764-401d9f059073","html_url":"https://github.com/Mange/mpris-rs","commit_stats":{"total_commits":202,"total_committers":10,"mean_commits":20.2,"dds":"0.18316831683168322","last_synced_commit":"b8189060450e9719189240ab085a2c76146ac219"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/Mange/mpris-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mange%2Fmpris-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mange%2Fmpris-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mange%2Fmpris-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mange%2Fmpris-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mange","download_url":"https://codeload.github.com/Mange/mpris-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mange%2Fmpris-rs/sbom","scorecard":{"id":89279,"data":{"date":"2025-08-11","repo":{"name":"github.com/Mange/mpris-rs","commit":"9f55730b9dff3a3a62ad98531ed7098e146fc03e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Code-Review","score":6,"reason":"Found 10/16 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T07:35:14.842Z","repository_id":44876628,"created_at":"2025-08-15T07:35:14.842Z","updated_at":"2025-08-15T07:35:14.842Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276336222,"owners_count":25624557,"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","status":"online","status_checked_at":"2025-09-22T02:00:08.972Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["d-bus","dbus","mpris","mpris-ctl","rust-library"],"created_at":"2024-12-17T18:09:01.129Z","updated_at":"2025-09-22T02:32:57.513Z","avatar_url":"https://github.com/Mange.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mpris\n\n\u003e A Rust library for dealing with [MPRIS2][mpris2]-compatible players over\n\u003e D-Bus.\n\n[![Crates.io][crate-badge]][crate] [![Documentation][docs-badge]][docs] [![Build Status][ci-badge]][ci] ![Actively developed][maintenance-badge]\n\n## What is MPRIS2?\n\n\u003e The Media Player Remote Interfacing Specification is a standard D-Bus\n\u003e interface which aims to provide a common programmatic API for controlling\n\u003e media players.\n\u003e\n\u003e It provides a mechanism for discovery, querying and basic playback control of\n\u003e compliant media players, as well as a tracklist interface which is used to\n\u003e add context to the active media item.\n\nFrom [*About*, in the MPRIS2 specification][mpris-about].\n\nBasically, you can use it to control media players on your computer. This is\nmost commonly used to build media player applets, UIs or to pause other players\nbefore your own software performs some action.\n\nYou can also use it in order to query metadata about what is currently playing,\nor *if* something is playing.\n\n## How to use\n\n```rust\nuse mpris::PlayerFinder;\n\n// Pauses currently playing media and prints metadata information about that\n// media.\n// If no player is running, exits with an error.\nfn main() {\n  let player = PlayerFinder::new()\n    .expect(\"Could not connect to D-Bus\")\n    .find_active()\n    .expect(\"Could not find any player\");\n\n  player.pause().expect(\"Could not pause\");\n\n  let metadata = player.get_metadata().expect(\"Could not get metadata for player\");\n  println!(\"{:#?}\", metadata);\n}\n```\n\nSee the `examples` directory for more examples.\n\n## License\n\nCopyright 2017-2022 Magnus Bergmark\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n[mpris2]: https://specifications.freedesktop.org/mpris-spec/latest/\n[mpris-about]: https://specifications.freedesktop.org/mpris-spec/latest/#About\n[docs]: https://docs.rs/mpris/\n[docs-badge]: https://docs.rs/mpris/badge.svg\n[crate]: https://crates.io/crates/mpris\n[crate-badge]: https://img.shields.io/crates/v/mpris.svg\n[maintenance-badge]: https://img.shields.io/badge/maintenance-actively--developed-brightgreen.svg\n[ci-badge]: https://travis-ci.org/Mange/mpris-rs.svg?branch=master\n[ci]: https://travis-ci.org/Mange/mpris-rs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmange%2Fmpris-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmange%2Fmpris-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmange%2Fmpris-rs/lists"}