{"id":47516145,"url":"https://github.com/Karvy-Singh/loopctl","last_synced_at":"2026-04-01T07:00:46.209Z","repository":{"id":306808636,"uuid":"1023772047","full_name":"Karvy-Singh/loopctl","owner":"Karvy-Singh","description":"Repeat a media/section of media \"x\" number of times on Linux","archived":false,"fork":false,"pushed_at":"2025-07-27T18:00:37.000Z","size":47,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-12T05:53:50.612Z","etag":null,"topics":["c","cli","dbus","linux","media","mpris"],"latest_commit_sha":null,"homepage":"","language":"C","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/Karvy-Singh.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,"zenodo":null}},"created_at":"2025-07-21T17:06:51.000Z","updated_at":"2025-08-02T21:17:25.000Z","dependencies_parsed_at":"2025-07-27T19:49:41.348Z","dependency_job_id":null,"html_url":"https://github.com/Karvy-Singh/loopctl","commit_stats":null,"previous_names":["karvy-singh/loopctl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Karvy-Singh/loopctl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karvy-Singh%2Floopctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karvy-Singh%2Floopctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karvy-Singh%2Floopctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karvy-Singh%2Floopctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Karvy-Singh","download_url":"https://codeload.github.com/Karvy-Singh/loopctl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karvy-Singh%2Floopctl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31269180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T06:57:45.811Z","status":"ssl_error","status_checked_at":"2026-04-01T06:57:42.389Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["c","cli","dbus","linux","media","mpris"],"created_at":"2026-03-27T13:00:30.252Z","updated_at":"2026-04-01T07:00:46.205Z","avatar_url":"https://github.com/Karvy-Singh.png","language":"C","funding_links":[],"categories":["\u003ca name=\"utility\"\u003e\u003c/a\u003eUtilities"],"sub_categories":[],"readme":"# loopctl\nRepeat a media/section of media \"x\" number of times on Linux.\n\n## WHY??\nWell, sometimes we (i do) may find ourselves in scenarios wherein i want to play a song lets say two times before switching to next one in my playist, and some players provide either repeat once or forever without custom repeat numbers/ some provide no option to repeat.\n\nAlso most players don't allow to repeat a certain part of media, example in case of a 8 min if i want to hear a certain 1-2 min again, another one dance teachers wanting to teach on a certain part of song.\n\nOR any other use case it may be useful to you as a tool.\n\n## Prerequisites/Dependencies\n- `libdbus-1‑dev` (or equivalent DBus development package)\n- `GCC` and `pkg-config` (if not already)\n\n## Installation\n\n*  Clone the repository and enter its directory:\n   ```bash\n   git clone https://github.com/Karvy-Singh/loopctl.git\n   cd loopctl\n   ```\n*  Run Installation script\n   ### NOTE: it installs the executable to `/usr/local/bin`\n   ```bash\n   chmod +x install.sh\n   ./install.sh\n   ```\n## USAGE\n```bash\nloopctl [OPTIONS]\n```\n* `loopctl`: Loop the full current media infinitely.\n* `loopctl N`: Loop the full current media N times.\n* `loopctl -p START END`: Loop from START to END (in seconds) infinitely.\n* `loopctl -p START END N`: Loop from START to END (in seconds) N times.\n\n## Examples\n* Loop the current track 5 times:\n```bash\nloopctl 5\n```\n\n* Loop a segment from 30s to 60s infinitely:\n```bash\nloopctl -p 30 60\n```\n\n* Loop from 1m20s (80s) to 2m (120s) three times:\n```bash\nloopctl -p 80 120 3\n```\n## Contributions\nOpen to any betterment/features to enhance/ease the use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKarvy-Singh%2Floopctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKarvy-Singh%2Floopctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKarvy-Singh%2Floopctl/lists"}