{"id":21726543,"url":"https://github.com/virdiggg/crc32-py","last_synced_at":"2025-07-25T17:11:07.003Z","repository":{"id":255814474,"uuid":"851481009","full_name":"virdiggg/crc32-py","owner":"virdiggg","description":"Re-merge .mkv file using mkvtoolnix","archived":false,"fork":false,"pushed_at":"2024-09-25T04:26:47.000Z","size":45275,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T19:41:58.933Z","etag":null,"topics":["checksum","crc","crc32","mkv","mkvtoolnix","python3"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/virdiggg.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-09-03T07:12:34.000Z","updated_at":"2024-11-13T15:59:24.000Z","dependencies_parsed_at":"2025-01-25T19:50:35.243Z","dependency_job_id":null,"html_url":"https://github.com/virdiggg/crc32-py","commit_stats":null,"previous_names":["virdiggg/crc32-py"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virdiggg%2Fcrc32-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virdiggg%2Fcrc32-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virdiggg%2Fcrc32-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virdiggg%2Fcrc32-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/virdiggg","download_url":"https://codeload.github.com/virdiggg/crc32-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244706528,"owners_count":20496571,"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":["checksum","crc","crc32","mkv","mkvtoolnix","python3"],"created_at":"2024-11-26T03:36:50.999Z","updated_at":"2025-07-25T17:11:06.979Z","avatar_url":"https://github.com/virdiggg.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎞️ MKV Re-Merge \u0026 CRC32 Renamer\n\nA simple tool to help you:\n- 🧩 **Re-merge MKV files** using `mkvmerge` with selected audio, subtitle, and attachments\n- 🏷️ **Rename files with their CRC32 hash** for easier verification and organization\n\n---\n\n## 📁 Folder Structure\n\n```\nROOT/\n├── input/         # Where you place your files\n├── output/        # Final output files after renaming\n├── logs/          # Logs for mkvmerge commands\n├── toolnix.py     # Re-merge and rename\n├── rename.py      # Rename only\n```\n\n---\n\n## 🚀 How to Use\n\n### 1. 🔧 Rename File with CRC32\n- Place your file(s) inside the `input/` folder.\n- Run:\n  ```sh\n  python rename.py\n  ```\n- The script will:\n  - Calculate the file's CRC32 checksum\n  - Rename it to include the CRC (e.g., `video.mkv` → `video [1A2B3C4D].mkv`)\n  - Move it to the `output/` folder\n\n---\n\n### 2. 🎬 Re-Merge File, Then Rename with CRC32\n- Place your `.mkv` file inside the `input/` folder.\n- Run:\n  ```sh\n  python toolnix.py\n  ```\n\nYou will be prompted to:\n1. **Select audio tracks** (enter numbers comma-separated, e.g., `2` or `1,3`)\n2. **Select subtitle tracks** (same format)\n3. **Enter the video title** (shown in MediaInfo or in your video player when you play the video)\n4. **Enter the output filename** (press Enter to use the title)\n\nThe script will:\n- Use `mkvmerge` to combine selected tracks\n- Set the **first selected audio and subtitle as default**\n- Save the output to `input/`\n- Automatically rename it with CRC32 and move to `output/`\n\nLogs for each `mkvmerge` run are saved in `logs/mkvmerge-YYYY-MM-DD.log`.\n\n---\n\n## 🧰 Requirements\n\n- Python 3.7+\n\n---\n\n## 📝 License\n\nMIT License – Use freely for personal or commercial projects.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirdiggg%2Fcrc32-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirdiggg%2Fcrc32-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirdiggg%2Fcrc32-py/lists"}