M3U8 Playlist export (UTF-8 encoded playlists)

So I have taken the above code and used it to export playlist on my Sansa running Rockbox which works well enough except that in defining the relative path the playlist end up looking like this:

#EXTINF:3258,Amber MacArthur and Leo Laporte - net@night 140: Please Rob Me
F:\MUSIC\Amber MacArthur and Leo Laporte\TWiT.TV\net@night 140 Please Rob Me.mp3

Where I need them to look like this when stored on the MicroSD card:

#EXTIN\<microSD1>3483,Amber MacArthur and Leo Laporte - net@night 140: Please Rob Me
\<microSD1>\MUSIC\Amber MacArthur and Leo Laporte\TWiT.TV\net@night 140 Please Rob Me.mp3

And like this when stored on the internal memory:

..\MUSIC\Amber MacArthur and Leo Laporte\TWiT.TV\net@night 140 Please Rob Me.mp3
..\MUSIC\Amber MacArthur and Leo Laporte\net@night\net@night 140 Please Rob Me.mp3

The last thing I am is a coder however I'm not completly lost here but could use some help in defining out the variables in the code above to create two new export scripts, one for internal and one for microsd stored music.

How would I edit the above code to write "<microSD1>" or ".." and lose the drive lettering from the relative path?

I played with this for a bit and came up with this that works for my internal memory (ugly but works):

$filename(m3u8,utf-8)#EXTM3U
$loop(%_counter%)#EXTINF:%_length_seconds%,%artist% - %title%
..\MUSIC\\%artist%\\%album%\\%_filename%.mp3
$loopend()

In doing that I'm not sure similar will work for my SDHC card as I don't just drop the music on it but have it placed in folders based on the years: 80s, 70s, 2k. So to write a similar rule I would have to pickup on the full path to note the /2k/ but I wouldn't want the preceding drive letter also in the playlist.