¿Dónde puedo encontrar ejemplos de etiquetas lib afilados?
-
08-10-2019 - |
Pregunta
He estado buscando ID3 editores para mi proyecto administrador de música. Parece que taglib aguda es la opción popular. Busqué en Google mucho y no pude encontrar ningún ejemplo de su uso.
Puede alguien me de un punto a algunos ejemplos que muestran el uso de la biblioteca?
Solución
Well without knowing exactly what you want to do all I can offer is my code.
You create a TagLib
File object from the actual mp3 file. This reads the file and extracts the tag data:
TagLib.File tagFile = TagLib.File.Create(track); // track is the name of the mp3
Then to get a tag value:
uint year = tagFile.Tag.Year;
You set the tags like this:
tagFile.Tag.Year = year;
and then save the changes:
tagFile.Save();
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow