{"id":16530922,"url":"https://github.com/nbonamy/taglib_ffi","last_synced_at":"2026-05-08T02:04:34.667Z","repository":{"id":152069276,"uuid":"624896025","full_name":"nbonamy/taglib_ffi","owner":"nbonamy","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-19T01:35:22.000Z","size":1036,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-29T21:43:04.715Z","etag":null,"topics":["alac","audio","audio-classification","dart","flac","flac-tags","flutter","m4a","m4a-tags","metadata","mp3","mp3-tags","mp4","taglib","tags"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nbonamy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-07T14:27:29.000Z","updated_at":"2025-10-31T16:58:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"7cf64686-b961-4570-91de-9fd9bf7d1dba","html_url":"https://github.com/nbonamy/taglib_ffi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nbonamy/taglib_ffi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbonamy%2Ftaglib_ffi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbonamy%2Ftaglib_ffi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbonamy%2Ftaglib_ffi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbonamy%2Ftaglib_ffi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nbonamy","download_url":"https://codeload.github.com/nbonamy/taglib_ffi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbonamy%2Ftaglib_ffi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32763519,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"online","status_checked_at":"2026-05-08T02:00:05.879Z","response_time":54,"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":["alac","audio","audio-classification","dart","flac","flac-tags","flutter","m4a","m4a-tags","metadata","mp3","mp3-tags","mp4","taglib","tags"],"created_at":"2024-10-11T18:07:30.923Z","updated_at":"2026-05-08T02:04:34.629Z","avatar_url":"https://github.com/nbonamy.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# taglib_ffi\n\n\u003chr/\u003e\n\n### **Only built/tested on MacOS for now!**\n\u003chr/\u003e\n\nA dart wrapper of TagLib.\n\nSupported formats:\n- MP3\n- FLAC\n- MP4 (aka. M4A, aka. ALAC)\n\nSupported fiunctionalities:\n- Read/Update/Delete tags (see below)\n- Read/Update/Delete artwork\n- Read/Update/Delete lyrics\n\n## Dependencies\n\n### MacOS\n\n```shell\nbrew install cmake\nbrew install taglib\n```\n\n## Setup\n\n### MacOS\n\n`HOMEBREW_PREFIX` variable needs to be defined:\n\n```shell\nexport HOMEBREW_PREFIX=\"$(brew --prefix)\" \n```\n\n## Usage\n\nAdd as a `pubspec.yaml` dependency.\n\nTo read/write tags:\n\n```dart\nTagLib tagLib = TagLib();\nTags tags = tagLib.getAudioTags(filename);\nif (tags.valid) {\n  ...\n}\n// update tags\ntagLib.setAudioTag(filename, tags);\n```\n\nTo display artwork:\n\n```dart\nTagLib tagLib = TagLib();\nFutureBuilder(\n  future: tagLib.getArtworkBytes(filename),\n  builder: (_, snapshot) =\u003e Image.memory(snapshot.data)\n)\n```\n\nTo read/write lyrics:\n```dart\nTagLib tagLib = TagLib();\nString lyrics = tagLib.getLyrics(filename);\n// update lyrics\ntagLib.setLyrics(filename, lyrics);\n```\n\n## Tests\n\n```shell\nmake tests\n```\n\n## Supported tags\n\n- Title\n- Album\n- Artist (Album Artist)\n- Performer\n- Composer\n- Genre\n- Copyright\n- Comment\n- Year\n- Compilation\n- Volume/Album Index\n- Volume/Album Count\n- Track Index\n- Track Count\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbonamy%2Ftaglib_ffi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnbonamy%2Ftaglib_ffi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbonamy%2Ftaglib_ffi/lists"}