Workaround for Zen MX Playlist Sync Issues

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: Workaround for Zen MX Playlist Sync Issues

Re: Workaround for Zen MX Playlist Sync Issues

by nohitter151 » Wed Oct 03, 2012 11:11 pm

MMuser2011 wrote:
Lowlander wrote:Yes there is an option for 8.3 DOS-style filenames in MM4.
Is this 8.3 DOS-Style option only available for Zen-Devices? Can I 'activate' it for other devices too?
(I can't find it for the default devices in my MM4-Version 4.0.6.1501 at all...)
The feature was later removed, because it didn't work right.

It has still never been implemented.

Re: Workaround for Zen MX Playlist Sync Issues

by Peke » Wed Oct 03, 2012 6:21 pm

Re: Workaround for Zen MX Playlist Sync Issues

by MMuser2011 » Wed Oct 03, 2012 4:11 am

Lowlander wrote:Yes there is an option for 8.3 DOS-style filenames in MM4.
Is this 8.3 DOS-Style option only available for Zen-Devices? Can I 'activate' it for other devices too?
(I can't find it for the default devices in my MM4-Version 4.0.6.1501 at all...)

Re: Workaround for Zen MX Playlist Sync Issues

by hgrail » Tue Apr 03, 2012 10:12 pm

I haven't been able to find it either in the latest version. Any help is appreciated!

Re: Workaround for Zen MX Playlist Sync Issues

by PawWriter » Mon Jul 04, 2011 3:08 am

Lowlander wrote:Yes there is an option for 8.3 DOS-style filenames in MM4.
Hi there,

Could you direct me to where the option is? I'm using the current (1399) beta of MM4 and I'm stumped as to where it is.

Thanks!

Re: Workaround for Zen MX Playlist Sync Issues

by chrisjj » Tue May 31, 2011 3:13 pm

moatmai, Here's an idea that might overcome the collision issue your current Monster Mask workaround. Use <Autonumber> - it is offered by the dialog box, but I don't know that it works.

Re: Workaround for Zen MX Playlist Sync Issues

by chrisjj » Fri Apr 22, 2011 8:05 pm

moatmai wrote:I am sure.
OK, thanks.

Re: Workaround for Zen MX Playlist Sync Issues

by moatmai » Fri Apr 22, 2011 5:46 pm

That is good news indeed.

Hopefully the Zen sync issues reported in another thread are fixed as well. I'm currently waiting until the beta builds are no longer marked as "for developers" before jumping in.

As or the 8.3 issue - I got rid of my Zen MX and I am using an older Zen (the MTP one, with 32 GByte).

Re: Workaround for Zen MX Playlist Sync Issues

by Lowlander » Fri Apr 22, 2011 3:28 pm

Yes there is an option for 8.3 DOS-style filenames in MM4.

Re: Workaround for Zen MX Playlist Sync Issues

by nohitter151 » Fri Apr 22, 2011 3:19 pm

moatmai wrote:
chrisjj wrote:
moatmai wrote:Playlists, however, need to conform to the 8.3 filename limitation of the DOS stone age. ...
Playlists for the Zen MX must use these short names, otherwise the Zen MX will not find the tracks referenced in the playlist.
Are you sure? Or it it sufficient to e.g. just avoid spaces?
I am sure. For two days, I tried out all possible variations; I even contacted Creative Technology support. Their response was "just use Centrale instead," which is their media management software — and guess what Centrale does: it uses 8.3 file names.

When it comes to playlist management, the Zen MX is a real lemon. So the only solution — aside from using the MM script — is either not to use playlists or to create the playlists on the device and then edit their names from the computer.

(Open a playlist created by the Zen MX or Centrale in notepad and you will find that it uses 8.3 filenames. With "~1.mp3" and everything... It's a real shame.)
You might want to try the MM4 beta. I believe in the sync options for playlists you can set to use old style 8.3 filenames.

Re: Workaround for Zen MX Playlist Sync Issues

by moatmai » Fri Apr 22, 2011 11:09 am

chrisjj wrote:
moatmai wrote:Playlists, however, need to conform to the 8.3 filename limitation of the DOS stone age. ...
Playlists for the Zen MX must use these short names, otherwise the Zen MX will not find the tracks referenced in the playlist.
Are you sure? Or it it sufficient to e.g. just avoid spaces?
I am sure. For two days, I tried out all possible variations; I even contacted Creative Technology support. Their response was "just use Centrale instead," which is their media management software — and guess what Centrale does: it uses 8.3 file names.

When it comes to playlist management, the Zen MX is a real lemon. So the only solution — aside from using the MM script — is either not to use playlists or to create the playlists on the device and then edit their names from the computer.

(Open a playlist created by the Zen MX or Centrale in notepad and you will find that it uses 8.3 filenames. With "~1.mp3" and everything... It's a real shame.)

Re: Workaround for Zen MX Playlist Sync Issues

by chrisjj » Fri Apr 22, 2011 8:37 am

moatmai wrote:Playlists, however, need to conform to the 8.3 filename limitation of the DOS stone age. ...
Playlists for the Zen MX must use these short names, otherwise the Zen MX will not find the tracks referenced in the playlist.
Are you sure? Or it it sufficient to e.g. just avoid spaces?

Re: Workaround for Zen MX Playlist Sync Issues

by moatmai » Sat Nov 14, 2009 7:32 pm

stoffel wrote:You can find a new improved version in:
http://www.mediamonkey.com/forum/viewto ... 19&t=44380
Great! Thank you very much.

Could you add the usage/install instructions to your post in the other thread, so people will not have to search two threads?

Re: Workaround for Zen MX Playlist Sync Issues

by stoffel » Sat Nov 14, 2009 12:13 pm

You can find a new improved version in:

http://www.mediamonkey.com/forum/viewto ... 19&t=44380

Re: Workaround for Zen MX Playlist Sync Issues

by Guest » Fri Nov 13, 2009 7:45 am

Ok, here we go again ;-)

1.) Copy FixZenMXPlaylist.js to C:\<PRG>\MediaMonkey\Scripts. Set OutDrive to your ZenMX Drive Letter !!!
2.) Edit script.ini in C:\<PRG>\MediaMonkey\Scripts. Add:

[FixZenMXPlaylist]
FileName=FixZenMXPlaylist.js
ProcName=FixZenMXPlaylist
Order=1
DisplayName=Fix dumb ZEN MX playlist
Description=Fix dumb ZEN MX playlist
Language=JScript
ScriptType=0

4.) Restart MM
3.) Run Script from Tools > Scripts submenu.

Have fun ;-)

------------------------------------------

FixZenMXPlaylist.js:

// Fix stupid ZEN MX Bug: Playlists must defined their tracks in 8.3 DOS style
// Convert every playlist <name> found in /playlist to <name>_mx

var OutDrive = "D:", // Your Drive letter here!
OutDir = "\\Playlist",
Scriptname = "FixZenMXPlaylist.js",
objFso = new ActiveXObject("Scripting.FileSystemObject"),
fc,
fin,
fout,
re = /\.m3u$/,
re2 = /_mx\.m3u$/,
re3 = /^#/,
newsuff = "_mx",
nrfiles = 0,
C_ForReading = 1;

// some utillity functions

function JS2VBArray(objJSArray) {
var dictionary = new ActiveXObject( "Scripting.Dictionary" ),
i = 0;
for ( ; i < objJSArray.length; i++ ) {
dictionary.add(i,objJSArray);
}
return dictionary.Items();
}

function getShortPath(filespec, nodrive) {
var f = objFso.GetFile(filespec),
ret = f.ShortPath;
if (nodrive) ret = ret.substr(2);
return(ret);
}

function convColltoArr(col) {
var ret = new Array();
for (var e = new Enumerator(col), i = 0; !e.atEnd(); e.moveNext(), i++) {
ret = e.item();
}
return ret;
}

function getPath(fn) {
var stop = fn.lastIndexOf("\\");
if (stop==-1) return "";
return fn.slice(0,stop);
}

function getFilename(fn) {
var start = fn.lastIndexOf("\\");
return fn.slice(++start);
}

function getFilenamePrefix(fn) {
var ret = getFilename(fn);
var stop = ret.lastIndexOf(".");
if (stop==-1) return ret;
return ret.slice(0,stop);
}

function getFilenameSuffix(fn) {
var ret = getFilename(fn);
var start = ret.lastIndexOf(".");
if (start==-1) return "";
return ret.slice(++start);
}

function genNewPlaylistname(filespec) {
return getPath(filespec) + "\\" + getFilenamePrefix(filespec) + newsuff + "." + getFilenameSuffix(filespec);
}
// ---

function FixZenMXPlaylist() {

objDir = objFso.GetFolder(OutDrive + OutDir);

for (fc = new Enumerator(objDir.files); !fc.atEnd(); fc.moveNext()) {
ele = fc.item();
if (re.test(ele.Name) && !re2.test(ele.Name)) {
nrfiles++;
// WScript.Echo("File: " + ele.Path);

fin = objFso.OpenTextFile(ele.Path, C_ForReading, false);
fout = objFso.CreateTextFile(genNewPlaylistname(ele.Path), true);
while (!fin.AtEndOfLine) {
l = fin.ReadLine();
if (!re3.test(l)) {
sn = getShortPath(OutDrive + l, true);
l = sn;
}
fout.WriteLine(l);

}
fin.Close();
fout.Close();
}
}
SDB.MessageBox(Scriptname + " : " + nrfiles + " Playlists converted to short Tacknames.", mtInformation, JS2VBArray( new Array(mbOk) ));
}

Top