Popular recipes tagged "uslt"http://code.activestate.com/recipes/tags/uslt/popular/2011-05-17T15:56:56-07:00ActiveState Code RecipesEmbed lyrics into MP3 files using mutagen (USLT tag), optionally set other ID3 tags (Python) 2011-05-17T15:56:56-07:00ccpizzahttp://code.activestate.com/recipes/users/4170754/http://code.activestate.com/recipes/577138-embed-lyrics-into-mp3-files-using-mutagen-uslt-tag/ <p style="color: grey"> Python recipe 577138 by <a href="/recipes/users/4170754/">ccpizza</a> (<a href="/recipes/tags/id3/">id3</a>, <a href="/recipes/tags/lyrics/">lyrics</a>, <a href="/recipes/tags/mp3/">mp3</a>, <a href="/recipes/tags/uslt/">uslt</a>). Revision 5. </p> <p>Quick and dirty script to embed unsynchronized lyrics or any other text into MP3 files. The text files with the lyrics are expected to be in the same folder: i.e. for MySong.mp3 the lyrics text should be in the file MySong.txt.</p> <p>The encoding of the text file will be probed in the following order: 'utf8','iso-8859-1','iso-8859-15','cp1252','cp1251','latin1'. If you need support for more encodings, a list is available at <a href="http://docs.python.org/release/2.5.2/lib/standard-encodings.html" rel="nofollow">http://docs.python.org/release/2.5.2/lib/standard-encodings.html</a></p> <p>To see the lyrics on an iPod (tested on 6G Classic) you need to press the middle button four times while a song is playing.</p> <p>The script can also be used to set other ID3 tags. By default SET_OTHER_ID3_TAGS is False so existing ID3 tags will NOT be overwritten.</p> <p>Usage: Running the file without arguments will process all MP3 files in the current directory.</p> <p>Alternatively the path to the folder with MP3's can be passed as the first argument.</p>