{"id":18744006,"url":"https://github.com/at1as/series-renamer","last_synced_at":"2025-11-22T01:30:14.407Z","repository":{"id":16753303,"uuid":"19510960","full_name":"at1as/series-renamer","owner":"at1as","description":"Series-Renamer will update titles of local episodes of TV series with a clear and consistent style","archived":false,"fork":false,"pushed_at":"2015-12-22T22:34:36.000Z","size":658,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-28T19:48:02.093Z","etag":null,"topics":["go","golang","script"],"latest_commit_sha":null,"homepage":"","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/at1as.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}},"created_at":"2014-05-06T21:13:32.000Z","updated_at":"2016-03-17T07:19:35.000Z","dependencies_parsed_at":"2022-07-13T13:51:16.824Z","dependency_job_id":null,"html_url":"https://github.com/at1as/series-renamer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/at1as%2Fseries-renamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/at1as%2Fseries-renamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/at1as%2Fseries-renamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/at1as%2Fseries-renamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/at1as","download_url":"https://codeload.github.com/at1as/series-renamer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239627300,"owners_count":19670844,"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":["go","golang","script"],"created_at":"2024-11-07T16:13:25.906Z","updated_at":"2025-11-22T01:30:14.334Z","avatar_url":"https://github.com/at1as.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Series-Renamer\n\nSeries-Renamer will rename episodes of TV series on your computer with a defined clear and consistent style.\n\n## Example\n\nIllegible titles will can be styled to follow either of the following formats: \n\n* **{series title} {S}{season#}{E}{episode#}.{extension}**\n* **{series title} {S}{season#}{E}{episode#} {episode title}.{extension}**\n\nExamples: \n\n* *some.series.title.s01e05.branding{1990}.x264.HDTV.mp4*  =\u003e  *Some Series Title S01E05.mp4*\n* *some series title s01e05 episode title branding 1990 x264 HDTV.mp4*  =\u003e  *Some Series Title S01E05 Episode Title.mp4*\n\n## Usage\n\n```bash\n$ git clone https://github.com/at1as/series-renamer.git\n$ go run /path/to/directory/renamer.go {flags}\n```\n#### Flags\n\n**-p, --path**\n*\t**Usage**: path to folder containing files to be renamed\n*\t**Default**: \"./\"\n\n**-u, --unescape**\n* **Usage**: whether to html unescape filename (ex. \"Hello%20World\" -\u003e \"Hello World\")\n*\t**Default**: false\n\n**-k, --keep**\n* **Usage**: whether to retain individual episode titles (see examples above)\n*\t**Default**: false\n\n**-c, --cut**\n* **Usage**: text to cut from end of filename (branding, encoding details, etc)\n*\t**Default**: \"\"\n\nSee `go run renamer.go --help` for details\n\nThe terminal output will show you what has been performed\n\n#### Examples\n\n```\n$ go run renamer.go -p ~/Movies/ -u -k -c \"720p\"\n$ go run renamer.go\n$ go run renamer.go --path /Users/johndoe/vids/\n```\n\n## Limitations\n\n- Won't work is season and episode are dot-separated (ex., 'S01.E05')\n- Does not recurse directories\n\n## Cowardly Disclaimer\n\n* Will rename files (for which there is no Edit/Undo)\n  * Ensure video files are in their own folder\n  * Currently the script is stateless and there is no rollback for changes\n\n## TODO\n\n* Add '-i' flag to ignore filetypes (like '.srt') or substrings (like '(Dutch).srt')\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fat1as%2Fseries-renamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fat1as%2Fseries-renamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fat1as%2Fseries-renamer/lists"}