<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RB Music - Uncovered &#38; Rediscovered Hits &#187; Script</title>
	<atom:link href="http://www.rb-music.co.uk/tag/script/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rb-music.co.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 27 Oct 2011 16:13:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MediaMonkey script (title pruner)</title>
		<link>http://www.rb-music.co.uk/2008/12/20/mediamonkey-script-title-pruner/</link>
		<comments>http://www.rb-music.co.uk/2008/12/20/mediamonkey-script-title-pruner/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 20:34:06 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Software/Tools]]></category>
		<category><![CDATA[The Life of ...]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[Compliations]]></category>
		<category><![CDATA[DJing]]></category>
		<category><![CDATA[MediaMonkey]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://www.rb-music.co.uk/?p=131</guid>
		<description><![CDATA[The majority of my spare time is spent listening to music &#8211; my preferred application for listening to music is Media Monkey. However as I have done some DJ&#8217;ing in the past a lot of my music is from compilations. To rip my music I use CDEX &#8211; the tracks names from FreeDB for compilations [...]]]></description>
			<content:encoded><![CDATA[<p>The majority of my spare time is spent listening to music &#8211; my preferred application for listening to music is <a href="http://www.mediamonkey.com">Media Monkey</a>. However as I have done some DJ&#8217;ing in the past a lot of my music is from compilations. To rip my music I use <a href="http://cdexos.sourceforge.net">CDEX</a> &#8211; the tracks names from FreeDB for compilations are usually returned something like &#8230;. &#8220;Slade/Merry Christmas&#8221; with artist names all &#8220;Various&#8221;. The following is a script/tutorial that splits this title into the correctly formatted name and artist.</p>
<p><span id="more-131"></span></p>
<p>This script has literally saved me days of time in getting my library sorted and nicely formatted. As I recently began to use <a href="http://www.last.fm/user/richard_bell">last.fm</a> it became apparent I needed to sort all my compilations out, it has always bugged me anyway. Last night I started to manually convert song by song I looked and had 3000 to do. This morning I got up and thought this is madness there must be a better way so I set off on a hunt on how to create scripts in <a href="http://www.mediamonkey.com">Media Monkey</a> and set to work. This is how to get it working&#8230;.</p>
<p><strong>Step 1</strong> Locate C:\program files\MediaMonkey\Scripts\Scripts.ini and open this with notepad &#8230; copy and paste the following and save.</p>
<div class="pre">
[Slash Stripper]<br />
FileName=Trimtitle.vbs<br />
ProcName=TrimTitle<br />
Order=21<br />
DisplayName=&#038;Trim Title at / Change<br />
Description=Trim Title at / Change<br />
Language=VBScript<br />
ScriptType=0
</div>
<p><strong>Step 2</strong> <a href="http://www.rb-music.co.uk/wp-content/uploads/Trimtitle.zip">Download the script</a> unzip and place Trimtitle.vbs in the scripts folder (C:\program files\MediaMonkey\Scripts).</p>
<p>Load up Media Monkey Select the songs from your library you wish to change the title of. Then select Tools > Scripts > Trim Title at / Change. You will then be asked what is splitting the title e.g. &#8220;/&#8221; &#8220;-&#8221; enter the value in the text box. Next a pop up asks if the artist name comes first or second this places the title and artist in the right place. Your title&#8217;s should be nicely formatted. Voila!! </p>
<p>Example: &#8220;Motorhead / Ace of Spades&#8221; will now be Motorhead under artist and Ace of Spades under title.</p>
<p>This script has worked great for me &#8211; hope it helps others too. If it does go wrong there is always the function to re-tag files from their filename (Tools>Autotag from file name). Also if you get artist and title mixed up use (Tools>Scripts>Swap artist and title). I also recommend doing it album by album as splitters might be different. Also check the artist doesn&#8217;t have the splitter value in their name &#8211; very unlikely think I came across it once.</p>
<p>For those interested here is the code for the name splitter &#8211; if you know vbScipt which is what this is written in then might even set you on your way to create your own script. I guess the opportunities are endless&#8230;.</p>
<div class="pre">
Sub TrimTitle<br />
	Dim list, itm, i, tmp, filename, positionofSlash, lengthofTitle, NewName, NewTitle</p>
<p>	splitCheck=InputBox(&#8220;What is splitting the title e.g / -?&#8221;)<br />
	confirmPos = MsgBox (&#8220;Is artist positioned before splitter e.g Kanye West/Strong?&#8221;,4)</p>
<p>	Set list = SDB.CurrentSongList</p>
<p>	For i=0 To list.count-1<br />
    Set itm = list.Item(i)</p>
<p>	filename = itm.Title<br />
	positionOfSlash = InStr(filename,splitCheck)<br />
	lengthofTitle = Len(filename)<br />
	If positionOfSlash > 0 then<br />
		NewName= Trim(Mid(filename,1,positionOfSlash-1))<br />
		NewTitle= Trim(Mid(filename,positionOfSlash+1,lengthofTitle))</p>
<p>		If confirmPos = 6 Then<br />
			itm.Title = NewTitle<br />
			itm.ArtistName = NewName<br />
		Else<br />
			itm.Title = NewName<br />
			itm.ArtistName = NewTitle<br />
		End If<br />
	End If<br />
	Next<br />
	list.UpdateAll</p>
<p>End Sub
</p></div>
<p><a href="http://www.rb-music.co.uk/wp-content/uploads/Trimtitle.zip">Download the script</a></p>
<p><img src="http://www.rb-music.co.uk/wp-content/uploads/mediamonkey_script.jpg" alt="Media Monkey Script"/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rb-music.co.uk/2008/12/20/mediamonkey-script-title-pruner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

