{"id":21027214,"url":"https://github.com/guldoman/mpv_inhibit_gnome","last_synced_at":"2025-05-15T10:32:22.451Z","repository":{"id":57880039,"uuid":"398687350","full_name":"Guldoman/mpv_inhibit_gnome","owner":"Guldoman","description":"This mpv plugin prevents screen blanking in GNOME","archived":false,"fork":false,"pushed_at":"2023-01-20T19:52:17.000Z","size":50,"stargazers_count":35,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T07:43:10.793Z","etag":null,"topics":["mpv","mpv-scripts"],"latest_commit_sha":null,"homepage":"","language":"C","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/Guldoman.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":"2021-08-22T01:12:40.000Z","updated_at":"2025-03-08T00:30:10.000Z","dependencies_parsed_at":"2023-01-31T01:40:18.312Z","dependency_job_id":null,"html_url":"https://github.com/Guldoman/mpv_inhibit_gnome","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guldoman%2Fmpv_inhibit_gnome","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guldoman%2Fmpv_inhibit_gnome/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guldoman%2Fmpv_inhibit_gnome/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guldoman%2Fmpv_inhibit_gnome/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Guldoman","download_url":"https://codeload.github.com/Guldoman/mpv_inhibit_gnome/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254323027,"owners_count":22051702,"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":["mpv","mpv-scripts"],"created_at":"2024-11-19T11:48:52.147Z","updated_at":"2025-05-15T10:32:17.438Z","avatar_url":"https://github.com/Guldoman.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `mpv_inhibit_gnome`\n\n[![AUR version](https://img.shields.io/aur/version/mpv_inhibit_gnome)](https://aur.archlinux.org/packages/mpv_inhibit_gnome)\n[![COPR version](https://img.shields.io/badge/dynamic/json?color=blue\u0026label=copr\u0026query=builds.latest_succeeded.source_package.version\u0026url=https%3A%2F%2Fcopr.fedorainfracloud.org%2Fapi_3%2Fpackage%3Fownername%3Dsolopasha%26projectname%3Dmpv_inhibit_gnome%26packagename%3Dmpv_inhibit_gnome%26with_latest_succeeded_build%3DTrue)](https://copr.fedorainfracloud.org/coprs/solopasha/mpv_inhibit_gnome/)\n\nThis mpv plugin prevents screen blanking in GNOME while playing media.\n\nThis is needed because neither mpv supports GNOME's inhibition protocol, nor\nGNOME supports the standard inhibition protocol\n([yet](https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/111)).\n\n## Installing\n\nYou can find the latest release [here](https://github.com/Guldoman/mpv_inhibit_gnome/releases).\nDownload `mpv_inhibit_gnome.so` and put it in your `mpv` scripts directory\n(by default it's `~/.config/mpv/scripts`).\n\n## Manually building and installing\n\nTo build, the `libdbus-1` library is needed\n(Arch: `dbus`, Fedora: `dbus-devel`, Ubuntu: `libdbus-1-dev`),\nas well as the header files for `mpv`\n(Arch: `mpv`, Fedora: `mpv-libs-devel`, Ubuntu: `libmpv-dev`).\n\nTo build run:\n```bash\nmake\n```\nThis will generate the plugin in `lib/mpv_inhibit_gnome.so`.\n\nTo install in the default per-user location `~/.config/mpv/scripts`\neither copy it there or run:\n```bash\nmake install\n```\n\nTo install in the default system-wide location `/usr/share/mpv/scripts` run:\n```bash\nsudo make sys-install\n```\n\n## Flatpak support\n\nThis plugin has been integrated into the\n[Flatpak release of mpv](https://flathub.org/apps/details/io.mpv.Mpv),\nso you should already be good to go.\n\nIf this plugin was manually installed before the integration,\nuninstall it to avoid conflicts by deleting\n`~/.var/app/io.mpv.Mpv/config/mpv/scripts/mpv_inhibit_gnome.so`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguldoman%2Fmpv_inhibit_gnome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguldoman%2Fmpv_inhibit_gnome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguldoman%2Fmpv_inhibit_gnome/lists"}