{"id":15007506,"url":"https://github.com/folixg/python-pauseonlock","last_synced_at":"2025-10-30T12:31:36.915Z","repository":{"id":57451141,"uuid":"346842275","full_name":"folixg/python-pauseonlock","owner":"folixg","description":"Pause/Resume your music player when locking/unlocking your Linux desktop.","archived":false,"fork":false,"pushed_at":"2021-03-20T21:44:41.000Z","size":9,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-02T08:42:04.572Z","etag":null,"topics":["linux-desktop","mediaplayer","mediaplayer-control","screenlock","screensaver"],"latest_commit_sha":null,"homepage":"","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/folixg.png","metadata":{"files":{"readme":"README.rst","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-03-11T21:24:51.000Z","updated_at":"2023-10-16T10:10:15.000Z","dependencies_parsed_at":"2022-09-26T17:31:28.384Z","dependency_job_id":null,"html_url":"https://github.com/folixg/python-pauseonlock","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folixg%2Fpython-pauseonlock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folixg%2Fpython-pauseonlock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folixg%2Fpython-pauseonlock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folixg%2Fpython-pauseonlock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/folixg","download_url":"https://codeload.github.com/folixg/python-pauseonlock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238968405,"owners_count":19560586,"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":["linux-desktop","mediaplayer","mediaplayer-control","screenlock","screensaver"],"created_at":"2024-09-24T19:10:29.656Z","updated_at":"2025-10-30T12:31:36.608Z","avatar_url":"https://github.com/folixg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#############\nPause on lock\n#############\n\nAutomatically pause your music player when the screen gets\nlocked and resume plaback, once the screen is unlocked again.\n\nThis is basically `the bash script with the same name`_ rewritten in Python.\nThe benefit of the Python version is that it *should* detect the screensaver\nyou use and running player(s) automatically, as long, as they are visible on\nthe D-Bus. So, no need for ever growing arrays of supported applications in\nthe code and no configuration necessary.\n\nInstallation\n============\nPause on Lock is available on pypi, so all you have to do is run ``pip install pauseonlock``.\n\nUsage\n=====\nAfter installing, simply run ``pauseonlock``. There will be no output, since the\nprogram is intended to be run in the background. For maximum convenience configure\nyour desktop environment to start ``pauseonlock`` every time you log in.\n\nDependencies\n============\nThe only dependency is `python-dbus-next`_ which itself has no further dependencies.\n\n.. _the bash script with the same name: https://github.com/folixg/pause-on-lock\n.. _python-dbus-next: https://github.com/altdesktop/python-dbus-next\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffolixg%2Fpython-pauseonlock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffolixg%2Fpython-pauseonlock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffolixg%2Fpython-pauseonlock/lists"}