{"id":15007524,"url":"https://github.com/marcinn/letsplay","last_synced_at":"2025-07-11T11:35:21.478Z","repository":{"id":65474454,"uuid":"126169514","full_name":"marcinn/letsplay","owner":"marcinn","description":"An extensible music player library written in Python, D-Bus mpris compatible","archived":false,"fork":false,"pushed_at":"2018-03-23T08:59:10.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T01:15:54.957Z","etag":null,"topics":["dbus-service","linux","linux-desktop","mp3","mp3player","mpris","music","player","python","python3"],"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/marcinn.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-03-21T11:36:32.000Z","updated_at":"2018-03-23T08:59:12.000Z","dependencies_parsed_at":"2023-01-25T04:05:09.811Z","dependency_job_id":null,"html_url":"https://github.com/marcinn/letsplay","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcinn/letsplay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcinn%2Fletsplay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcinn%2Fletsplay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcinn%2Fletsplay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcinn%2Fletsplay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcinn","download_url":"https://codeload.github.com/marcinn/letsplay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcinn%2Fletsplay/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261116088,"owners_count":23112050,"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":["dbus-service","linux","linux-desktop","mp3","mp3player","mpris","music","player","python","python3"],"created_at":"2024-09-24T19:10:43.303Z","updated_at":"2025-07-11T11:35:21.450Z","avatar_url":"https://github.com/marcinn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# letsplay\nAn extensible music player wbrary ritten in Python\n\n## Features\n\n  * thin wrapper around any media player (mplayer as default)\n  * possibility to bind to any user interface (via extensions)\n  * local and remote files (multiple schemes supported)\n  * media finders API\n  * D-Bus `org.mpris.MediaPlayer2` integration\n  * extensible via plugins\n  \n## Quickstart (Python API)\n\n```\nimport letsplay as lp\n\nplayer = lp.init()\nplayer.load(lp.find('/path/to/music/files/*.mp3'))\nplayer.play()\n```\n\n### Expose D-bus interface\n\nSame as above plus:\n\n```\nlp.mpris.register_mpris_service(player)\nloop = lp.mpris.create_glib_loop()\nloop.run()\n```\n\n### Destroying the player\n\nRemember to destroy the player. It is required for cleaning up.\n\n```\ntry:\n    loop.run()\nfinally:\n    player.destroy()\n```\n\n## License\n\nGPL3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcinn%2Fletsplay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcinn%2Fletsplay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcinn%2Fletsplay/lists"}