Home

You are here: Home

Professional


Back



Family & Friends
Times & Weather


Adelaide:
16:19 (23/05)
[Weather]

Belfast:
07:49 (23/05)
[Weather]

Canberra:
16:49 (23/05)
[Weather]

Melbourne:
16:49 (23/05)
[Weather]

Montreal:
02:49 (23/05)
[Weather]

United Kingdom:
07:49 (23/05)
[Weather]

Code: Miscellaneous

VBScript for Media Monkey

This script is a derivative (original script) for me to be able to export playlists in .PLA format to an iRiver S10 from Media Monkey.

Drop the script in the Media Monkey/Scripts directory and add something like:

[ExportPLAs]
FileName=ExportPLAs.vbs
ProcName=ExportPLAs
Order=45
DisplayName=Export all Playlists to PLA...
Description=Exports all Playlists to .pla
Language=VBScript
ScriptType=0

to Media Monkey/Scripts/Scripts.ini file

Known limitations:

  • reliant on device export option of \Music\<Album Artist>\<Album>\<Track#><Title> in MediaMonkey
  • might go pear shaped with big playlists (should be ok for a few thousand)
  • might go pear shaped with very long (>255) pathnames (i.e \Music\ArtistName\AlbumName\'s >255 chars long)

Links:

PLA File Format

Information from the Mistic River Forum Thread summarized is:

A series of 512 (0x200) bytes blocks. Everything is big-endian byte order.

The first 512 block is:

be_int_4 = N where N equals the of entries in the playlist
char[] = "iriver UMS PLA\0" (or "iriver MTP PLA\0" apparently)
remainder of block filled with \0's

The other 512 (N) blocks have the format

be_int_2 = Integer offset to song title in filepath/name
char[510] = big-endian utf-16 filepath/name padded to 512 block with \0's

Uses PC style names, with "\" as a directory limiter.