{"id":20446422,"url":"https://github.com/ther0n/beefweb_mpris","last_synced_at":"2025-04-13T00:45:34.936Z","repository":{"id":42058576,"uuid":"399654446","full_name":"ther0n/beefweb_mpris","owner":"ther0n","description":"A Python wrapper that adds MPRIS support to foobar2000 running in WINE on Linux through the beefweb component REST API","archived":false,"fork":false,"pushed_at":"2024-07-31T22:08:56.000Z","size":51,"stargazers_count":13,"open_issues_count":5,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T18:52:04.915Z","etag":null,"topics":["beefweb-plugin","foobar2000","linux","mpris","mpris2","wine"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ther0n.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-25T01:37:44.000Z","updated_at":"2025-02-25T20:22:31.000Z","dependencies_parsed_at":"2024-08-01T02:09:02.358Z","dependency_job_id":null,"html_url":"https://github.com/ther0n/beefweb_mpris","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/ther0n%2Fbeefweb_mpris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ther0n%2Fbeefweb_mpris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ther0n%2Fbeefweb_mpris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ther0n%2Fbeefweb_mpris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ther0n","download_url":"https://codeload.github.com/ther0n/beefweb_mpris/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650420,"owners_count":21139672,"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":["beefweb-plugin","foobar2000","linux","mpris","mpris2","wine"],"created_at":"2024-11-15T10:20:03.753Z","updated_at":"2025-04-13T00:45:34.905Z","avatar_url":"https://github.com/ther0n.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# beefweb-mpris\n\nAdds MPRIS support to foobar2000 running in WINE on Linux by using the beefweb REST API.\n\n## Installation\n\nNote: These are only tested on Fedora 40, but can be adapted to other distros\n\n1. Install WINE (`sudo dnf install wine`)\n2. Download the Foobar2000 installer and install in wine: `wine foobar2000-x64_v2.1.5.exe`\n3. Install the beefweb plugin in foobar2000\n4. Install (potential) dependencies\n    - `sudo dnf -y groupinstall \"Development Tools\"`\n    - `sudo dnf install cairo-devel pkg-config python3-pip python3-devel cmake gobject-introspection-devel cairo-gobject-devel`\n    - Some of these may not be needed, but all were needed for development\n5.  Install `beefweb_mpris`: `pip install --user git+https://github.com/ther0n/beefweb_mpris.git`\n6. Create a script to launch foobar2000 somewhere in your $PATH, make sure it's executable with `chmod +x`\n   - For example `~/.local/bin/foobar2000`:\n   ```bash\n    #!/bin/bash\n    \n    env WINEPREFIX=\"/home/theron/.wine\" wine \"/home/theron/.wine/drive_c/Program Files/foobar2000/foobar2000.exe\"\n    ```\n7. Edit `$CONFIG/beefweb_mpris/config.yaml` to match your settings for beefweb in foobar2000\n\n   -`foobar2000-command` should be set to the foobar2000 launch script you just created (or the [one included with the AUR package](https://aur.archlinux.org/cgit/aur.git/tree/foobar2000.sh?h=foobar2000))\n8. Edit or create a `.desktop` file to launch beefweb_mpris\n   - For example my `~/.local/share/applications/wine/Programs/foobar2000.desktop` file:\n   ```\n    [Desktop Entry]\n    Name=foobar2000\n    Exec=beefweb_mpris\n    Type=Application\n    StartupNotify=true\n    Comment=Play, organize and tag your music.\n    Path=/home/theron/.wine/dosdevices/c:/Program Files/foobar2000\n    Icon=9F8A_foobar2000.0\n    StartupWMClass=foobar2000.exe\n   ```\n\n## Old Installation (Arch Linux)\n\nNote: These are old instructions and were only tested on Arch linux but may still be useful for someone\n\n1. Install foobar2000: `yay -S foobar2000`\n2. Install beefweb in foobar2000\n3. Install `beefweb_mpris`: `pip install --user git+https://github.com/ther0n/beefweb_mpris.git`\n4. Run `beefweb_mpris` on the command line\n5. Edit `$CONFIG/beefweb_mpris/config.yaml` to match your settings for beefweb in foobar2000\n\n   -`foobar2000-command` should be set to a [command/script to run foobar2000](https://aur.archlinux.org/cgit/aur.git/tree/foobar2000.sh?h=foobar2000)\n\n6. Create/edit a `.desktop` file to launch beefweb_mpris\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fther0n%2Fbeefweb_mpris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fther0n%2Fbeefweb_mpris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fther0n%2Fbeefweb_mpris/lists"}