{"id":34861885,"url":"https://github.com/weilinfox/haku-thtagger","last_synced_at":"2025-12-25T21:18:22.347Z","repository":{"id":56391816,"uuid":"523041212","full_name":"weilinfox/haku-thtagger","owner":"weilinfox","description":"一个简单的基于 Python3 、 PySide6 和 Mutagen 的音乐元数据编辑器。","archived":false,"fork":false,"pushed_at":"2022-08-21T14:44:40.000Z","size":412,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-28T05:42:11.776Z","etag":null,"topics":["flac","id3","mp3","mutagen","pyside6","python","riff-wave","tagging","touhou","touhou-project","wav"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weilinfox.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-08-09T17:11:20.000Z","updated_at":"2025-11-27T17:01:32.000Z","dependencies_parsed_at":"2022-08-15T17:50:42.897Z","dependency_job_id":null,"html_url":"https://github.com/weilinfox/haku-thtagger","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/weilinfox/haku-thtagger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weilinfox%2Fhaku-thtagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weilinfox%2Fhaku-thtagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weilinfox%2Fhaku-thtagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weilinfox%2Fhaku-thtagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weilinfox","download_url":"https://codeload.github.com/weilinfox/haku-thtagger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weilinfox%2Fhaku-thtagger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28038032,"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","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["flac","id3","mp3","mutagen","pyside6","python","riff-wave","tagging","touhou","touhou-project","wav"],"created_at":"2025-12-25T21:18:21.735Z","updated_at":"2025-12-25T21:18:22.341Z","avatar_url":"https://github.com/weilinfox.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Thtagger\r\n\r\n\u003cimg src=\"img/thtagger.png\" height=\"64\" width=\"64\" alt=\"图标\"\u003e\r\n\r\n一个简单的，基于 Python3 、 PySide6 和 [Mutagen](https://github.com/quodlibet/mutagen) 的音乐元数据编辑器。\r\n\r\n## 格式支持\r\n\r\n1. MPEG-1 Audio Layer 3 (mp3)\r\n2. Waveform Audio File Format (wav)\r\n3. Free Lossless Audio Codec (flac)\r\n\r\n## 特性\r\n\r\n1. 支持从 THB Wiki 在线搜索元数据\r\n2. wav 格式元数据在 Windows 资源管理器中可以被正常识别\r\n\r\n## 使用 PySide2\r\n\r\n由于许多 Linux 发行版并没有开始支持 Qt6 ，所以提供了转换成 PySide2 (Qt5) 代码的 patch ：\r\n\r\n```shell\r\n$ git apply doc/patches/to_pyside2.patch\r\n```\r\n\r\n## 安装\r\n\r\nPython 3.6 及以上都是测试过支持的。\r\n\r\n### PyPI\r\n\r\n```shell\r\n$ python -m pip install thtagger\r\n$ python -m thtagger\r\n```\r\n\r\n### Debian stable\r\n\r\n从 [github release](https://github.com/weilinfox/haku-thtagger/releases) 或 [gitee release](https://gitee.com/weilinfox/haku-thtagger/releases) 下载支持全架构的 deb 包安装：\r\n\r\n```shell\r\n$ sudo apt-get install ./thtagger_x.x.x_all.deb\r\n```\r\n\r\n### Archlinux\r\n\r\n从 AUR 安装：\r\n\r\n```shell\r\n$ yay -S thtagger\r\n```\r\n\r\n### Windows\r\n\r\n从 [github release](https://github.com/weilinfox/haku-thtagger/releases) 或 [gitee release](https://gitee.com/weilinfox/haku-thtagger/releases) 下载预打包的 x86 架构应用程序的 zip 包或单文件 exe ，支持 Windows7 及以上。zip 压缩包解压缩后运行 ``thtagger.exe`` 。\r\n\r\n## 鸣谢\r\n\r\n+ [Mutagen](https://github.com/quodlibet/mutagen) 是一切的基础\r\n+ [Picard](https://github.com/metabrainz/picard) 提供了 wav 格式元数据保存的思路\r\n+ [THB Wiki](https://thwiki.cc/) 提供了开放的 API\r\n\r\n## 截图\r\n\r\n![主界面](doc/screenshot/Screenshot_0.png)\r\n\r\n## TODO\r\n\r\n比较赶，写得很粗糙，只是可以实现基本功能。\r\n\r\n+ 优化封面缓存\r\n+ 命令行下的自动填写模式\r\n+ 部分 mp3 依旧不识别为 wav 写入的 RIFF INFO 的问题\r\n+ 导入错误的错误处理\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweilinfox%2Fhaku-thtagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweilinfox%2Fhaku-thtagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweilinfox%2Fhaku-thtagger/lists"}