सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
Audiotagger एक Flutter/Dart पैकेज है जो MP3 फ़ाइलों में ID3 टैग को पढ़ने और लिखने की अनुमति देता है। यह शीर्षक, कलाकार, एल्बम आदि जैसे मेटाडेटा तक पहुंच प्रदान करता है, और डेटा को एक Map ऑब्जेक्ट या संरचित टैग ऑब्जेक्ट के रूप में वापस करता है। ध्वनि प्रबंधन ऐप्स के लिए उपयुक्त, यह बाहरी निर्भरता के बिना मूल टैग संशोधन समर्थन करता है। लाइब्रेरी हल्की है और मुख्य कार्यों पर केंद्रित है, जिससे यह संगीत ऐप्स में सरल ID3 टैग हैंडलिंग की आवश्यकता वाले विकासकर्ताओं के लिए उपयुक्त है।
उपयोग
MP3 मेटाडेटा संपादित करें
गाने की जानकारी पढ़ें
बैच टैग अपडेट
संगीत एप विकास
ऑडियो फ़ाइल्स से मेटाडेटा निकालना
मुख्य विशेषताएँ
ID3 टैग पढ़ें और लिखें
मानचित्र और टैग वस्तु आउटपुट का समर्थन करता है
हल्का और सरल API
बाहरी निर्भरता नहीं है
प्लेटफॉर्म के अनुकूलता
इनके लिए उपयुक्त
ऑडियो फ़ाइल्स के साथ काम करने वाले Flutter विकासकर्ता
MP3 मेटाडेटा प्रबंधन की आवश्यकता वाले ऐप्स
सरल टैग संपादन उपकरण
ऑडियो लाइब्रेरी एंटीग्रेशन
डेस्कटॉप और मोबाइल ऑडियो एप्लिकेशन
विचार योग्य बातें
ID3 टैग (अन्य फॉर्मेट्स के बाहर) तक सीमित
उन्नत टैग प्रकारों का समर्थन नहीं है
प्लेटफॉर्म-विशिष्ट फ़ाइल पहुंच की आवश्यकता है
अन्य ऑडियो प्रारूपों का समर्थन नहीं करता है
फ़ाइल ऑपरेशन के लिए हस्तकल्पित त्रुटि संभालने की आवश्यकता होती है
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
audiotagger
This library allow you to read and write ID3 tags to MP3 files.
Based on JAudiotagger library.
You can write the ID3 tags from a Map.
To reset a field, pass an empty string ("").
If the value is null, the field will be ignored and it will not be written.
voidsetTagsFromMap() async {
final path = "storage/emulated/0/Music/test.mp3";
final tags = <String, String>{
"title": "Title of the song",
"artist": "A fake artist",
"album": "", //This field will be reset"genre": null, //This field will not be written
};
final result = await tagger.writeTagsFromMap(
path: path,
tags: tags
);
}
You can write the ID3 tags from a Tag object.
To reset a field, pass an empty string ("").
If the value is null, the field will be ignored and it will not be written.
voidsetTags() async {
final path = "storage/emulated/0/Music/test.mp3";
final tag = Tag(
title: "Title of the song",
artist: "A fake artist",
album: "", //This field will be reset
genre: null, //This field will not be written
);
final result = await tagger.writeTags(
path: path,
tag: tag,
);
}
You can write a single tag field by specifying the field name.
To reset the field, pass an empty string ("").
If the value is null, the field will be ignored and it will not be written. \
voidsetTags() async {
final path = "storage/emulated/0/Music/test.mp3";
final result = await tagger.writeTag(
path: path,
tagField: "title",
value: "Title of the song"
);
}
This library is developed and maintained by Nicolò Rebaioli
:globe_with_meridians: My website
:mailbox: [niko.reba@gmail.com](mailto:niko.reba@gmail.com)