{"id":20354983,"url":"https://github.com/faif/sub-matcher","last_synced_at":"2026-05-14T07:32:10.367Z","repository":{"id":46902993,"uuid":"510894923","full_name":"faif/sub-matcher","owner":"faif","description":"A subtitle matcher","archived":false,"fork":false,"pushed_at":"2022-07-19T21:51:32.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-15T00:43:08.944Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faif.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-07-05T21:10:19.000Z","updated_at":"2022-07-19T22:34:01.000Z","dependencies_parsed_at":"2022-09-01T08:40:21.169Z","dependency_job_id":null,"html_url":"https://github.com/faif/sub-matcher","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faif%2Fsub-matcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faif%2Fsub-matcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faif%2Fsub-matcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faif%2Fsub-matcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faif","download_url":"https://codeload.github.com/faif/sub-matcher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241888734,"owners_count":20037380,"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":[],"created_at":"2024-11-14T23:10:42.094Z","updated_at":"2026-05-14T07:32:05.346Z","avatar_url":"https://github.com/faif.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sub-matcher\n\nA simple program that renames a subtitle to match the video name, and moves it to the same dir. I got tired\nof doing this manually so I decided to make it a hobby project. Plus, it helps me to practice Clojure :)\n\n## Installation\n\nDownload the standalone Java Archive (JAR) file from this repository. A Java Runtime Environment (JRE) is\nrequired.\n\n## Usage\n\nThe only acceptable input argument at the moment is a directory path to search for videos and subtitles.\n\n    $ java -jar sub-matcher-0.1.0-standalone.jar [DIR]\n\nThe supported hierarchy is /dir/[VIDEO_DIR]/[VIDEO_FILE] /dir/[VIDEO_DIR]/[SUB_DIR]/[SUB_FILE], where:\n* VIDEO_FILE ends with .avi, .mkv, mp4, .mpeg, or .mpg\n* VIDEO_DIR and SUB_DIR must have the same name\n* SUB_FILE ends with .sub, .srt, or .txt\n\n## Options\n\nNo options supported\n\n## Examples\n\njava -jar sub-matcher-0.1.0-standalone.jar /tmp\n\n### Bugs\n\nThe program works only with a specific directory structure. Here's an example:\n`/tmp/s01/s01e01/s01e01.mpg, /tmp/s01/s01e01/s1e01/en.srt, /tmp/s01/s01e02/s01e02.avi, /tmp/s01/s01e02/s01e02/en.txt`. Executing the example command line produces `/tmp/s01/s01e01/s01e01.srt, /tmp/s01/s01e02/s01e02.txt`.\n\n### TODO\n\n* Add tests, preferably using spec\n* Add logging and a verbosity flag\n* Maybe add a minimal GUI\n\n## License\n\nCopyright © 2022 Sakis Kasampalis\n\nThis program and the accompanying materials are made available under the\nterms of the Eclipse Public License 2.0 which is available at\nhttp://www.eclipse.org/legal/epl-2.0.\n\nThis Source Code may also be made available under the following Secondary\nLicenses when the conditions for such availability set forth in the Eclipse\nPublic License, v. 2.0 are satisfied: GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or (at your\noption) any later version, with the GNU Classpath Exception which is available\nat https://www.gnu.org/software/classpath/license.html.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaif%2Fsub-matcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaif%2Fsub-matcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaif%2Fsub-matcher/lists"}