{"id":17336485,"url":"https://github.com/knio/scenerename","last_synced_at":"2025-04-14T17:22:51.053Z","repository":{"id":66075583,"uuid":"205539","full_name":"Knio/scenerename","owner":"Knio","description":"script to guess and batch rename media files using tvdb","archived":false,"fork":false,"pushed_at":"2024-06-24T20:50:44.000Z","size":26,"stargazers_count":18,"open_issues_count":6,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T06:03:36.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/Knio.png","metadata":{"files":{"readme":"README.markdown","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":"2009-05-20T05:45:47.000Z","updated_at":"2024-06-24T20:50:48.000Z","dependencies_parsed_at":"2025-01-01T20:29:57.687Z","dependency_job_id":"af340191-a7ae-4d78-add7-95734260957d","html_url":"https://github.com/Knio/scenerename","commit_stats":{"total_commits":38,"total_committers":4,"mean_commits":9.5,"dds":0.5789473684210527,"last_synced_commit":"86a2fd4057d3766f3622e95853a0b75332439d65"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Knio%2Fscenerename","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Knio%2Fscenerename/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Knio%2Fscenerename/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Knio%2Fscenerename/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Knio","download_url":"https://codeload.github.com/Knio/scenerename/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248924115,"owners_count":21184026,"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-10-15T15:30:32.200Z","updated_at":"2025-04-14T17:22:51.017Z","avatar_url":"https://github.com/Knio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"`scenerename`\n=============\n\nPython script to automatically rename scene filenames to a more\nuser-friendly format.\n\n\nUsage\n=====\n\nIndividual Files\n----------------\nPass individual file names as arguments to rename specific files.\n\n    /mnt/media/.Downloads/Scrubs.S08.720p.HDTV.x264$ ~/scenerename.py e7-scrubs.s08e09.720p-x264.mkv Scrubs.S08E02.720p.HDTV.X264-DIMENSION.mkv\n    Fetching series data for \"scrubs\"...\n    --------------------------------------------------------------------------------------------------------------------------------------------\n    Original Name                                                          New Name\n    --------------------------------------------------------------------------------------------------------------------------------------------\n    e7-scrubs.s08e09.720p-x264.mkv                                         Scrubs 8x09 - My Absence.mkv\n    Scrubs.S08E02.720p.HDTV.X264-DIMENSION.mkv                             Scrubs 8x02 - My Last Words.mkv\n    \n    Run with \"--confirm\" to rename files\n    \n\nDirectories\n-----------\nRun the script in a directory to have it parse all of the files.\n\n    /mnt/media/.Downloads/Scrubs.S08.720p.HDTV.x264$ ~/scenerename.py\n    Fetching series data for \"scrubs\"...\n    --------------------------------------------------------------------------------------------------------------------------------------------\n    Original Name                                                          New Name\n    --------------------------------------------------------------------------------------------------------------------------------------------\n    e7-scrubs.s08e09.720p-x264.mkv                                         Scrubs 8x09 - My Absence.mkv\n    scrubs.s08e16.720p.hdtv.x264-0tv.mkv                                   Scrubs 8x16 - My Cuz.mkv\n    scrubs.s08e11.720p.hdtv.x264-ctu.mkv                                   Scrubs 8x11 - My Nah Nah Nah.mkv\n    Scrubs.S08E07.720p.HDTV.X264-DIMENSION.mkv                             Scrubs 8x07 - My New Role.mkv\n    Scrubs.S08E06.720p.HDTV.X264-DIMENSION.mkv                             Scrubs 8x06 - My Cookie Pants.mkv\n    scrubs.s08e14.720p.hdtv.x264-ctu.mkv                                   Scrubs 8x14 - My Soul on Fire (1).mkv\n    scrubs.s08e15.720p.hdtv.x264-ctu.mkv                                   Scrubs 8x15 - My Soul on Fire (2).mkv\n    scrubs.s08e01.720p.hdtv.x264-ctu.mkv                                   Scrubs 8x01 - My Jerks.mkv\n    e7-scrubs.s08e10.720p-x264.mkv                                         Scrubs 8x10 - My Comedy Show.mkv\n    scrubs.812.proper.720p.hdtv.x264-sys.mkv                               Scrubs 8x12 - Their Story II.mkv\n    scrubs.s08e17.720p.hdtv.x264-ctu.mkv                                   Scrubs 8x17 - My Chief Concern.mkv\n    Scrubs.S08E18.720p.HDTV.X264-DIMENSION.mkv                             Scrubs 8x18 - My Finale.mkv\n    Scrubs.S08E13.720p.HDTV.X264-DIMENSION.mkv                             Scrubs 8x13 - My Full Moon.mkv\n    Scrubs.S08E02.720p.HDTV.X264-DIMENSION.mkv                             Scrubs 8x02 - My Last Words.mkv\n    scrubs.s08e04.720p.hdtv.x264-ctu.mkv                                   Scrubs 8x04 - My Happy Place.mkv\n    Scrubs.S08E05.720p.HDTV.X264-DIMENSION.mkv                             Scrubs 8x05 - My ABC's.mkv\n    Scrubs.S08E08.720p.HDTV.X264-DIMENSION.mkv                             Scrubs 8x08 - My Lawyer's in Love.mkv\n    scrubs.s08e03.720p.hdtv.x264-ctu.mkv                                   Scrubs 8x03 - My Saving Grace.mkv\n    \n    Run with \"--confirm\" to rename files\n\n\nDictionary Output\n----------------\nThe dictionary output (`-d`/`--dict`) shows you all of the data that `scenerename` was\nable to match.\n\n    /mnt/media/.Downloads/Scrubs.S08.720p.HDTV.x264$ ~/scenerename.py --dict Scrubs.S08E02.720p.HDTV.X264-DIMENSION.mkv\n    Fetching series data for \"scrubs\"...\n    Scrubs.S08E02.720p.HDTV.X264-DIMENSION.mkv --\u003e Scrubs 8x02 - My Last Words.mkv\n      episode: 02\n      title: My Last Words\n      season: 8\n      vcodec: X264\n      show: Scrubs\n      source: HDTV\n      ext: mkv\n      group: DIMENSION\n      resolution: 720p\n\n\nCommand Line Arguments\n----------------------\n*   `-s` / `--samples`\n    \n    Test out the parsing on a variety of samples which were designed to\n    challenge the script.\n\n*   `-d` / `--dict`\n    \n    Displays a verbose dictionary of all the matched elements in the name.\n\n*   `-o` / `--output`\n    \n    Specifies an alternate output format. Use the python string format\n    notation coupled with the names from `-d`.\n    (i.e. `-o \"%(show)s %(season)sx%(episode)2s - %(title)s.%(ext)s\"`)\n\n*   `-n` / `--none`\n    \n    Alternate string to use for unknown titles. (Default: \"None\")\n\n*   `-f1` / `--filter-before`\n    \n    Apply pre-parsing rules to difficult names to aid in proper parsing.\n    (i.e. `-f1 '[{group|name]}'='groupname'`)\n\n*   `-f2` / `--filter-after`\n    \n    Apply post-parsing replacements to difficult names to aid in proper\n    parsing. Works exactly like `-f1` except the replacement is done on\n    the new filename.\n\n*   `--confirm`\n    \n    Be default the script only display how it would rename the files but\n    will not perform the action. Append this to perform the renaming.\n\n\nDeveloped By\n============\n* Tom Flanagan - \u003cknio@zkpq.ca\u003e\n* Jake Wharton - \u003cjakewharton@gmail.com\u003e\n\nGit repository located at\n[github.com/Knio/scenerename](http://github.com/Knio/scenerename)\n\n\nLicense\n=======\n    Copyright 2009 Tom Flanagan, Jake Wharton\n    \n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n    \n       http://www.apache.org/licenses/LICENSE-2.0\n    \n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknio%2Fscenerename","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknio%2Fscenerename","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknio%2Fscenerename/lists"}