Playlist Exporter to .PLA files

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

real_satanique
Posts: 1
Joined: Sun Jan 21, 2007 11:50 pm

Post by real_satanique »

Nice script, but I had 2 problems:

1. Sometimes track name and file name does not match.
Ex: Track Name: My Song
File Name: 3 - My Song
The synchronization with the Sansa with have "My Song" (title instead of File name)

2. The "AC/DC" problem. The "/" is invalid in a file name or path.

So I "patch" the script like this:

Code: Select all

'ln = "HARP, MUSIC\" & trck.ArtistName & "\" & trck.AlbumName & "\" & GetFileName(trck.Path)
ln = "HARP, MUSIC\" & fso.CorrectFilename(trck.ArtistName) & "\" & fso.CorrectFilename(trck.AlbumName) & "\" & fso.CorrectFilename(trck.title)& "." & Right(GetFileName(trck.Path),3)
I make some test and it's seems to solve my problems so far.
Is there a better way to extract to file extension?
Post Reply