<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.n4vx.net/index.php?action=history&amp;feed=atom&amp;title=Wma2mp3.sh</id>
	<title>Wma2mp3.sh - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.n4vx.net/index.php?action=history&amp;feed=atom&amp;title=Wma2mp3.sh"/>
	<link rel="alternate" type="text/html" href="https://wiki.n4vx.net/index.php?title=Wma2mp3.sh&amp;action=history"/>
	<updated>2026-12-06T09:25:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.13</generator>
	<entry>
		<id>https://wiki.n4vx.net/index.php?title=Wma2mp3.sh&amp;diff=737&amp;oldid=prev</id>
		<title>Admin: Created page with &quot; #!/bin/bash  # By Marko Haapala  # converts wma to mp3 recursively. does not delete any static files, so  # cleanup and renaming is needed afterwards.  #  # Modified by V10la...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.n4vx.net/index.php?title=Wma2mp3.sh&amp;diff=737&amp;oldid=prev"/>
		<updated>2022-04-07T00:13:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; #!/bin/bash  # By Marko Haapala  # converts wma to mp3 recursively. does not delete any static files, so  # cleanup and renaming is needed afterwards.  #  # Modified by V10la...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; #!/bin/bash&lt;br /&gt;
 # By Marko Haapala&lt;br /&gt;
 # converts wma to mp3 recursively. does not delete any static files, so&lt;br /&gt;
 # cleanup and renaming is needed afterwards.&lt;br /&gt;
 #&lt;br /&gt;
 # Modified by V10lator&lt;br /&gt;
 # to delete the wma files and to use /tmp for temporary files&lt;br /&gt;
 #&lt;br /&gt;
 # requirements:&lt;br /&gt;
 # lame    - http://lame.sourceforge.net/download.php&lt;br /&gt;
 # mplayer - apt-get install mplayer or http://www.mplayerhq.hu/design7/dload.html&lt;br /&gt;
 current_directory=$(pwd)&lt;br /&gt;
 tmp_file=$(mktemp -t -u --suffix=.wav)&lt;br /&gt;
 wma_files=$(find &amp;quot;${current_directory}&amp;quot; -type f -iname &amp;quot;*.wma&amp;quot;)&lt;br /&gt;
 # Need to change IFS or files with filenames containing spaces will not&lt;br /&gt;
 # be handled correctly by for loop&lt;br /&gt;
 IFS=$&amp;#039;\n&amp;#039; &lt;br /&gt;
 for wma_file in ${wma_files}; do &lt;br /&gt;
    mplayer -vo null -vc dummy -af resample=44100 \&lt;br /&gt;
    -ao pcm -ao pcm:waveheader -ao pcm:file=&amp;quot;${tmp_file}&amp;quot; \&lt;br /&gt;
    &amp;quot;${wma_file}&amp;quot; &amp;amp;&amp;amp; lame -m s &amp;quot;${tmp_file}&amp;quot; \&lt;br /&gt;
    -o &amp;quot;${wma_file}&amp;quot;.mp3 &amp;amp;&amp;amp; rm &amp;quot;${wma_file}&amp;quot;&lt;br /&gt;
    rm &amp;quot;${tmp_file}&amp;quot;&lt;br /&gt;
 done&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>