{"id":27224312,"url":"https://github.com/ajmandourah/bazarr-sync","last_synced_at":"2026-01-14T12:26:54.308Z","repository":{"id":241520658,"uuid":"806962616","full_name":"ajmandourah/bazarr-sync","owner":"ajmandourah","description":"Bulk sync your subtitles via Bazarr.","archived":false,"fork":false,"pushed_at":"2025-03-12T18:37:33.000Z","size":34,"stargazers_count":69,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T10:11:32.827Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajmandourah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-28T08:27:51.000Z","updated_at":"2025-04-06T21:42:07.000Z","dependencies_parsed_at":"2024-06-02T10:05:58.325Z","dependency_job_id":"895fa75a-c4fa-4983-8ecc-3e6dffe5cac8","html_url":"https://github.com/ajmandourah/bazarr-sync","commit_stats":null,"previous_names":["ajmandourah/bazarr-sync"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ajmandourah/bazarr-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajmandourah%2Fbazarr-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajmandourah%2Fbazarr-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajmandourah%2Fbazarr-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajmandourah%2Fbazarr-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajmandourah","download_url":"https://codeload.github.com/ajmandourah/bazarr-sync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajmandourah%2Fbazarr-sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2025-04-10T10:01:33.807Z","updated_at":"2026-01-14T12:26:54.300Z","avatar_url":"https://github.com/ajmandourah.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"![bazarr-sync](https://github.com/ajmandourah/bazarr-sync/assets/27051374/6c4acde4-bb9b-4172-8c67-c985c7994b28)\n\n![image](https://github.com/ajmandourah/bazarr-sync/assets/27051374/545803da-a061-4092-9f35-6bbabac598a7)\n\n### Bulk sync your subtitles to your media.\n\nBazarr let you download subs for your titles automatically.\nBut if for some reason you needed to sync old subtitles, wither you need to do it because you have not synced them before or you have edited them elsewhere, you will be forced to do it one by one as there is no option to bulk sync them except a per series option which won't help if you would like to sync movies or if you have several shows.\nThis cli tool help you achieve that by utilizing bazarr's api.\n\n## Installation \n\n### Go\n- Install go in your system. this can be done through here. https://go.dev/doc/install\n- After installation in a terminal install the module\n```\ngo install github.com/ajmandourah/bazarr-sync/cmd/bazarr-sync@latest\n\n```\nmake sure your go path is included in your path. you should be able to use the command directly with `bazarr-sync` or `bazarr-sync.exe` in windows.\n\n### Docker\npull the image \n```\nsudo docker pull ghcr.io/ajmandourah/bazarr-sync:latest\n\n```\ncreate or copy the `config.yaml` file from the example folder. edit it to your settings. for docker you can use the bazarr container name if you have bazarr in a bridged network (not the default docker network). change the network name in the command.\nRun the command in the same folder where the `config.yaml` is located. change the command to your desired functionfor example `bazarr-sync sync shows`\n```\nsudo docker run -it --rm \\\n-v ${PWD}/config.yaml:/usr/src/app/config.yaml \\\n--network \u003cNETWORK_NAME\u003e \\\nghcr.io/ajmandourah/bazarr-sync:latest \\\nbazarr-sync sync movies\n```\n\n## Configuration\nuse the provided config.yaml file as a template. fill in the required fields.\neither direct the flag --config to your config file or place it in the working directiory where you bazarr-sync is located.\n```yaml\n#config file example, please don't use quotes\n###########################\n#\n#Address: the address of your bazarr instance. this can be either an ip address or a url (if you reverse proxy bazarr), \n#this can also be bazarr's container name if you use docker, make sure bazarr-sync instance is in the same network as bazarr and the network not the default\n#docker network as name resolution won't happen there.\nAddress: \u003cbazarr_address\u003e\n#\n#Port: bazarrs port. by default bazarr uses 6767. in case of reverse proxy, you can use 443 or 80 as per your configuration \nPort: \u003cport\u003e\n#\n#protocol: this can be http or https\nProtocol: https\n#\n#ApiToken: you can get this from bazarr setting\u003egeneral . no quotes needed.\nApiToken: \u003cBazarr_api_token\u003e\n```\n## Usage:\n\n```\nMake sure to create a config.yaml file including your configuration in it.\nUse the provided config file as a template.\n\nUsage:\n  bazarr-sync [command]\n\nExamples:\nbazarr-sync --config config.yaml sync movies --no-framerate-fix\n\nAvailable Commands:\n  completion  Generate the autocompletion script for the specified shell\n  help        Help about any command\n  sync        Sync subtitles to the audio track of the media\n\nFlags:\n      --config string      config file (default is ./config.yaml)\n      --golden-section     Use Golden-Section Search\n  -h, --help               help for bazarr-sync\n      --no-framerate-fix   Don't try to fix framerate\n```\nSync all movies subtitles\n```\nbazarr-sync --config config.yaml sync movies\n```\nSync all tv shows subtitles\n```\nbazarr-sync --config config.yaml sync shows\n```\n\n## Syncing specefic movie/show subtitle\nThe functionality to enable syncing specefic movies/shows are added. to do so follow these steps:\n- use the `--list` flag to view a list of your Shows/Movies with their respective sonarr/radarr ids. the output will shows as follows\n```\nTitle                                                                                               | SonarrSeriesId\n--------------------------------------------------------------------------------------------------------------------\n3 Body Problem                                                                                      | 1304\nThe Apothecary Diaries                                                                              | 1043\nAs a Reincarnated Aristocrat, I'll Use My Appraisal Skill To Rise in the World                      | 953\nAvatar: The Last Airbender (2024)                                                                   | 1341\nThe Banished Former Hero Lives as He Pleases                                                        | 961\n```\n- note the ids of your desired shows/movies to be synced\n- use the usual sync command and add the flag `--radarr-id` or `--sonarr-id`\n- PROFIT\n\nExample:\n```\nbazarr-sync --config config.yaml sync shows --sonarr-id 1302,953,961\n```\n\n## Syncing both movies and shows\nYou can sync both movies and shows in the same time. what I recommend is using tmux and run the tool in 2 windows. this will assure that you won't loose progress.\n![image](https://github.com/ajmandourah/bazarr-sync/assets/27051374/9a514fa4-aa6d-4756-98ce-f8d68dcf4ffd)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajmandourah%2Fbazarr-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajmandourah%2Fbazarr-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajmandourah%2Fbazarr-sync/lists"}