{"id":16592522,"url":"https://github.com/jakestanger/rofi_mpd","last_synced_at":"2025-10-08T18:16:36.212Z","repository":{"id":57462549,"uuid":"148385685","full_name":"JakeStanger/Rofi_MPD","owner":"JakeStanger","description":"A rofi menu for interacting with MPD written in Python.","archived":false,"fork":false,"pushed_at":"2020-07-10T10:21:39.000Z","size":67,"stargazers_count":22,"open_issues_count":3,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-13T04:40:45.479Z","etag":null,"topics":["mpd","mpd-client","python","python-3","rofi"],"latest_commit_sha":null,"homepage":null,"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/JakeStanger.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":"2018-09-11T22:02:36.000Z","updated_at":"2025-01-12T21:22:37.000Z","dependencies_parsed_at":"2022-09-12T13:22:04.896Z","dependency_job_id":null,"html_url":"https://github.com/JakeStanger/Rofi_MPD","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/JakeStanger/Rofi_MPD","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeStanger%2FRofi_MPD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeStanger%2FRofi_MPD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeStanger%2FRofi_MPD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeStanger%2FRofi_MPD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JakeStanger","download_url":"https://codeload.github.com/JakeStanger/Rofi_MPD/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeStanger%2FRofi_MPD/sbom","scorecard":{"id":70149,"data":{"date":"2025-08-11","repo":{"name":"github.com/JakeStanger/Rofi_MPD","commit":"e80be282ef8b9e3dce2b411a2c699c74c5e2bff8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: 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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.1.0 not signed: https://api.github.com/repos/JakeStanger/Rofi_MPD/releases/20317074","Warn: release artifact v1.1.0 does not have provenance: https://api.github.com/repos/JakeStanger/Rofi_MPD/releases/20317074"],"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 2 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-15T03:39:46.645Z","repository_id":57462549,"created_at":"2025-08-15T03:39:46.645Z","updated_at":"2025-08-15T03:39:46.645Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270982194,"owners_count":24679447,"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-08-18T02:00:08.743Z","response_time":89,"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":["mpd","mpd-client","python","python-3","rofi"],"created_at":"2024-10-11T23:21:13.161Z","updated_at":"2025-10-08T18:16:36.131Z","avatar_url":"https://github.com/JakeStanger.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rofi MPD\n\nThis is a simple MPD client for quickly adding albums or tracks using Rofi. \nIt supports a variety of modes, and can group longer albums by disc number (or even disc name).\n\n![Demo Gif](https://f.jstanger.dev/rofi-mpd/demo.gif)\n\n## Installation\n\nUnsurprisingly, you will require both MPD and Rofi to be installed. You will also require Python \u003e= 3.6.\n\n### Python Package\n\nYou can install the [pypi](https://pypi.org/project/Rofi-MPD/) package using `pip3 install Rofi-MPD`. \n\nMake sure wherever it is installed to is on your path. You can check with `pip3 show Rofi-MPD`.\n\n### Arch Linux\n\nArch users can install the [rofi-mpd-git](https://aur.archlinux.org/packages/rofi-mpd-git/) package.\n\n### NixOS\n\nNixOS users can add `rofi-mpd` to their `environment.systemPackages` or run `nix-env -iA nixos.rofi-mpd`.\nThe derivation can be found [here](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/rofi-mpd/default.nix)\n\n### Other\n\nClone this repo somewhere, then run:\n\n```bash\npip3 install -r requirements.txt\n```\n\nYou may wish to use the provided script, in which case it needs to be marked as executable:\n\n```bash\nchmod +x bin/rofi-mpd\n```\n\n## Usage\n\nIf installed using a package manager, a script should have automatically been put on your path:\n\n```bash\nrofi-mpd # Normal usage\nrofi-mpd -h # See help\n```\n\nIf not, you can either do:\n```bash\npython3 rofi_mpd/rofi_mpd.py\n# or\nbin/rofi-mpd\n```\n\nBy default, a list of artists is shown.\n\nThe program will take a second or so to load data from MPD. This data is cached for 10 minutes in the database file.\n\n|  Short |  Long             | Description                                                 | Default                               |\n|--------|-------------------|-------------------------------------------------------------|---------------------------------------|\n| -h     | --help            | Shows CLI help and exits                                    | -                                     |\n| -w     | --artists         | Shows a list of all artists                                 | True                                  |\n| -b     | --albums          | Shows a list of all albums                                  | False                                 |\n| -t     | --tracks          | Shows a list of all tracks                                  | False                                 |\n| -g     | --genres          | Shows a list of genres                                      | False                                 |\n| -a     | --playlists       | Shows a list of playlists                                   | False                                 |\n| -m     | --music-directory | Specifies the path to your music library                    | ~/Music                               |\n| -c     | --host            | Specifies the MPD server host                               | localhost                             |\n| -p     | --port            | Specifies the MPD server port                               | 6600                                  |\n|        | --play            | Start playback on track add                                 | None (uses config value)              |\n|        | --noplay          | Do not start playback on track add                          | None (uses config value)              |\n| -i     | --case-sensitive  | Enables case sensitivity                                    | False                                 |\n| -r     | --args            | Space-separated command line arguments to be passed to Rofi | []                                    |\n\n## Configuration\n\nSettings are stored in `~/.config/rofi-mpd/config.toml`. Many of these can be overridden using the arguments above so act as defaults.\n\nBelow is an example config file with each option explained:\n\n```toml\nmusic_directory = \"~/Music\" # Same as MPD `music_directory`\ncase_sensitive = false # Should searching be case sensitive by default?\n\n# Should disc name tags be read?\n# This requires opening the file to read its tags.\n# Disc names can be stored in the `TSST` tag.\nenable_disc_names = true\n\ntracks_keep_open = false # Should the track selection menu re-open on selection?\ndiscs_keep_open = true # Should the disc selection menu re-open on selection?\n\nplay_on_add = false # Should playback start as soon as tracks are added?\n\n# Multiple hosts can be defined.\n# If more than one host is defined, a menu is initially opened\n# from which a host is selected.\n# Passing the host argument bypasses this.\n[[hosts]]\nhost = \"localhost\"\nport = 6600\n\n[[hosts]]\nhost = \"media-server\"\nport = 6600\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakestanger%2Frofi_mpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakestanger%2Frofi_mpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakestanger%2Frofi_mpd/lists"}