{"id":13784811,"url":"https://github.com/alexmercerind/flutter_media_metadata","last_synced_at":"2026-01-11T13:35:50.333Z","repository":{"id":38336104,"uuid":"325838577","full_name":"alexmercerind/flutter_media_metadata","owner":"alexmercerind","description":"A Flutter plugin to read 🔖 metadata of 🎵 media files. Supports Windows, Linux, macOS, Android, iOS \u0026 Web.","archived":false,"fork":false,"pushed_at":"2024-02-22T06:47:25.000Z","size":4729,"stargazers_count":69,"open_issues_count":14,"forks_count":33,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-18T22:54:09.895Z","etag":null,"topics":["android","flutter","flutter-metadata","flutter-plugin","linux","media-metadata-retriever","media-tags","metadata","tags","windows"],"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/alexmercerind.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":["https://www.paypal.me/alexmercerind"]}},"created_at":"2020-12-31T16:44:07.000Z","updated_at":"2024-06-19T23:05:08.146Z","dependencies_parsed_at":"2024-06-19T23:04:58.780Z","dependency_job_id":"5ba30bdb-4e53-436d-bdfc-e4bc212e4742","html_url":"https://github.com/alexmercerind/flutter_media_metadata","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmercerind%2Fflutter_media_metadata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmercerind%2Fflutter_media_metadata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmercerind%2Fflutter_media_metadata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmercerind%2Fflutter_media_metadata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexmercerind","download_url":"https://codeload.github.com/alexmercerind/flutter_media_metadata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248860218,"owners_count":21173342,"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":["android","flutter","flutter-metadata","flutter-plugin","linux","media-metadata-retriever","media-tags","metadata","tags","windows"],"created_at":"2024-08-03T19:00:52.834Z","updated_at":"2026-01-11T13:35:50.288Z","avatar_url":"https://github.com/alexmercerind.png","language":"C++","funding_links":["https://www.paypal.me/alexmercerind","https://www.buymeacoffee.com/alexmercerind"],"categories":["Packages"],"sub_categories":[],"readme":"# [flutter_media_metadata](https://github.com/alexmercerind/flutter_media_metadata)\n#### A Flutter plugin to read 🔖 metadata of 🎵 media files.\n\n## Install\n\nAdd in your `pubspec.yaml`.\n\n```yaml\ndependencies:\n  ...\n  flutter_media_metadata: ^1.0.0\n```\n\n\u003cimg width=\"649\" src=\"https://user-images.githubusercontent.com/28951144/151707391-a59bd40a-5303-4dd8-af35-ff8918894dbb.png\"\u003e\n\n_Example app running on Windows._\n\n## Support\n\n[![Support via PayPal](https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg)](https://www.paypal.me/alexmercerind)\n\n\u003ca href=\"https://www.buymeacoffee.com/alexmercerind\" target=\"_blank\"\u003e\u003cimg width=\"217\" height=\"60\" src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" \u003e\u003c/a\u003e\n\nPlease consider buying me a coffee if you like the plugin.\n\n## Documentation\n\n#### Windows, Linux, macOS, Android \u0026 iOS\n\n```dart\nfinal metadata = await MetadataRetriever.fromFile(File(filePath));\n\nString? trackName = metadata.trackName;\nList\u003cString\u003e? trackArtistNames = metadata.trackArtistNames;\nString? albumName = metadata.albumName;\nString? albumArtistName = metadata.albumArtistName;\nint? trackNumber = metadata.trackNumber;\nint? albumLength = metadata.albumLength;\nint? year = metadata.year;\nString? genre = metadata.genre;\nString? authorName = metadata.authorName;\nString? writerName = metadata.writerName;\nint? discNumber = metadata.discNumber;\nString? mimeType = metadata.mimeType;\nint? trackDuration = metadata.trackDuration;\nint? bitrate = metadata.bitrate;\nUint8List? albumArt = metadata.albumArt;\n```\n\n#### Web\n\nFor using the plugin on web, add following line to your `index.html`.\n\n```diff\n   \u003clink rel=\"manifest\" href=\"manifest.json\"\u003e\n \u003c/head\u003e\n \u003cbody\u003e\n+  \u003cscript type=\"text/javascript\" src=\"https://unpkg.com/mediainfo.js/dist/mediainfo.min.js\"\u003e\u003c/script\u003e\n   \u003c!-- This script installs service_worker.js to provide PWA functionality to\n        application. For more information, see:\n        https://developers.google.com/web/fundamentals/primers/service-workers --\u003e\n   \u003cscript\u003e\n     var serviceWorkerVersion = null;\n     var scriptLoaded = false;\n```\n\nAnd use `MetadataRetriever.fromBytes` instead of `MetadataRetriever.fromFile`.\n\n\n## Platforms\n\n|Platform|Status   |Author/Maintainer                                             |                                                  \n|--------|---------|--------------------------------------------------------------|\n|Windows |✔️        |[Hitesh Kumar Saini](https://github.com/alexmercerind)        |\n|Linux   |✔️        |[Hitesh Kumar Saini](https://github.com/alexmercerind)        |\n|Android |✔️        |[Hitesh Kumar Saini](https://github.com/alexmercerind)        |\n|Web     |✔️        |[Hitesh Kumar Saini](https://github.com/alexmercerind)        |\n|MacOS   |✔️        |[@DiscombobulatedDrag](https://github.com/DiscombobulatedDrag)|\n|iOS     |✔️        |[@DiscombobulatedDrag](https://github.com/DiscombobulatedDrag)|\n\n\n\u003cimg width=\"555\" src=\"https://user-images.githubusercontent.com/28951144/151707427-76d75f04-9efe-4b1d-80fb-fdeea73dad26.png\"\u003e\n\n_Example app running on Web._\n\n\u003cimg width=\"200\" src=\"https://user-images.githubusercontent.com/28951144/151707533-198ba2ca-d646-4bc4-811b-928f65ee03ea.png\"\u003e\n\n_Example app running on Android._\n\n\u003cimg width=\"555\" src=\"https://user-images.githubusercontent.com/28951144/151707526-319ca3f5-9849-4d57-8ea4-9595ee67e99c.png\"\u003e\n\n_Example app running on Linux._\n\n\n## License \n\nThis library \u0026 work under this repository is MIT licensed.\n\nCopyright (c) 2021-2022 Hitesh Kumar Saini \u003csaini123hitesh@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexmercerind%2Fflutter_media_metadata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexmercerind%2Fflutter_media_metadata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexmercerind%2Fflutter_media_metadata/lists"}