Playlist Exporter to .PLA files

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Playlist Exporter to .PLA files

by real_satanique » Mon Jan 22, 2007 12:21 am

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?

by Rascal_ » Sun Jan 14, 2007 2:51 pm

Apparently, those who posted in this thread have not been active in these forums for a while. I'll try to post a pm.

Meanwhile, I'm sure there are other Sansa e200 users who use playlists. Is it that hard to use MM to put them on the player?

I appreciate the help so far!

by Peke » Sat Jan 13, 2007 11:34 pm

Ask IJuan to modify His script to add additional things to its script.

Examples how to use Selection of playlist with Rightclick could be found in ScrobblerDJ Script where I use it to set Default playlist. Unfortunately this needs to be done by experienced Scripter.

by Rascal_ » Sat Jan 13, 2007 11:04 pm

Okay, I did see Tools> Scripts> Export All Playlists to PLA.

Am I not not doing a step?

I'm expecting to click on sync, MM downloads the proper tracks to my Sansa, and then downloads the playlist in PLA format. Is this the correct idea?

Do I have to do an extra step here to convert the m3u to pla? I get the feeling that if I click on this script in the Scripts menu, it will convert all of the MM playlists I have to PLA, which I don't want to do.

Thank you. I appreciate the help.

[edited to add:]
Oh, how does MM know to export pla to my Sansa? I can't find any option in my audio device configuration.

I did run the script and pointed to my sansa, but as I thought, it exported all the MM playlists (as far as I can tell) to my sana. I don't know how to limit it to just the playlists on my device.

I appreciate the help in muddling through this. I'm a new beginner.

by Rascal_ » Sat Jan 13, 2007 10:59 pm

Peke, no I don't see that.

I see Statistics, Track List (HTML), Track List (XML), Track List (CSV), Track List (Excel). This is an out of the box installation.

Looking at my Scripts.ini, that corresponds to the first five entries. However, I do not get the following entries which are in the Scripts.ini which include AutoTrackN, SwapArtistTitle, Case, etc. The order numbers increment by 5, if that matters.

by Peke » Sat Jan 13, 2007 4:37 pm

If you done all correctly you should see File->Create Reports->Export all Playlists to PLA....

by Rascal_ » Sat Jan 13, 2007 3:40 pm

Na, the second attempt still created a .m3u playlist. I'm obviously not understanding something.

by Rascal_ » Sat Jan 13, 2007 3:26 pm

Thanks trixmoto. Now I understand what that means.

I did as you said and my first try was unsuccessful. I'm cleared all the playlist and music directories and restarting MM again.

If there is something else to try out, please let me know. If this second attempt is successful, I'll post here. Otherwise, I'm still stumped.

Is there an option somewhere to tell MM to use PLA instead of M3U?

by Peke » Sat Jan 13, 2007 2:42 pm

Updated code in post above, as it didn't work.

by trixmoto » Sat Jan 13, 2007 8:12 am

Save the file as "ExportPLAs.vbs", open "Scripts.ini" in a text editor and add...

Code: Select all

[ExportPLAs]
FileName=ExportPLAs.vbs
ProcName=ExportPLAs
Order=45
DisplayName=Export all Playlists to PLA...
Description=Exports all Playlists to .pla
Language=VBScript
ScriptType=0
Then restart MM and try again.

Edited By Peke: I just removed Comments ' from Code above.

by Rascal_ » Fri Jan 12, 2007 8:32 pm

Please help. I haven't had this script work for me.

I backed up C:\Program Files\MediaMonkey\Scripts\ExportM3Us.vbs and added the script from the first post with the file name ExportM3Us.vbs in the same directory.

I sync my Sansa e260. Old music files get deleted, and new mp3s get copied fine to the player, as best as I can tell. However, in /PLAYLISTS/, I get the play lists as .m3u's. I was expected .pla (isn't that the proper format for Sansa?). Am I doing something wrong?

Re: sansa forum

by Guest » Sun Oct 29, 2006 8:39 pm

stretch wrote:Hi,

You might want to post this handy script to this good sansa forum as there a few MM users that might want to use it.

http://www.anythingbutipod.com/forum/fo ... ay.php?f=9

by vphreeze » Thu Aug 17, 2006 11:46 pm

awesome little script. i have one question though, how could i edit to use the folder structure:

\Music\Genre\Artist\Album\Filename

instead of the built in one?

by IJuan » Thu Jul 06, 2006 6:00 pm

I already did post this script there also. It has fallen way down in the forum because of lack of interest.

sansa forum

by stretch » Mon Jul 03, 2006 4:29 pm

Hi,

You might want to post this handy script to this good sansa forum as there a few MM users that might want to use it.

http://www.anythingbutipod.com/forum/fo ... ay.php?f=9

Top