<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mono on Gabriel Mongeon</title><link>https://gabrielmongeon.ca/en/tags/mono/</link><description>Recent content in Mono on Gabriel Mongeon</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 11 Jul 2010 20:52:00 -0400</lastBuildDate><atom:link href="https://gabrielmongeon.ca/en/tags/mono/index.xml" rel="self" type="application/rss+xml"/><item><title>Multimedia File Metadata</title><link>https://gabrielmongeon.ca/en/2010/07/multimedia-file-metadata/</link><pubDate>Sun, 11 Jul 2010 20:52:00 -0400</pubDate><guid>https://gabrielmongeon.ca/en/2010/07/multimedia-file-metadata/</guid><description>&lt;p>While retrieving a list of multimedia files, I ended up with a list of files with 4-character names that meant nothing. Grrr&amp;hellip;. So I decided to create a small utility to rename the files according to a pattern I already had on my machine based on the artist, album, and song title.&lt;/p>
&lt;p>But a problem quickly arose: &lt;em>How to retrieve this metadata (mainly from MP3 files)?&lt;/em>&lt;/p>
&lt;p>So I did what I often do when I have a question, &lt;a href="http://www.bing.com/search?q=C%23&amp;#43;mp3&amp;#43;metadata&amp;amp;amp;FORM=DLCDF7&amp;amp;amp;pc=MDDC&amp;amp;amp;src=IE-SearchBox">I did a little search&lt;/a>. And I found on this &lt;a href="http://stackoverflow.com/questions/927175/edit-music-metadata-with-c">StackOverflow&lt;/a> result a link to &lt;a href="http://developer.novell.com/wiki/index.php/TagLib_Sharp">TagLib#&lt;/a> (also working on Mono)! This library from &lt;a href="http://www.novell.com">Novell&lt;/a> does all the work for me! It allows me to access metadata for many different types of files. Here is the &lt;a href="http://developer.novell.com/wiki/index.php/TagLib_Sharp:_Examples#The_Most_Basic_Example_.28AKA.2C_all_you.27ll_ever_need.29">basic example&lt;/a> among &lt;a href="http://developer.novell.com/wiki/index.php/TagLib_Sharp:_Examples">several&lt;/a> provided on their site:&lt;/p></description></item></channel></rss>