Page 1 of 1

[1404] - Syncing HALTS if filename is too long [#8148]

Posted: Sun Jul 10, 2011 1:58 am
by alystair
Was attempting to sync playlist to my new 32gb microsdhc - when it kept canceling out half way through because of a single file!

Realistically MediaMonkey should skip over erroring files to finish syncing instead of canceling out completely.

Also attempting to sync using <title:12> breaks as if the title is too short it appends blanks in front of title... Attempting to use auto-counting or whatever to replace it breaks sync... ayeee..

Title that was crapping out sync was part of a podcast rip:
Electronica - Part 1 - Segment 1 : Radiohead - Everything In It's Right Place / Louis and Bebe Barron - Main title from "Forbidden Planet" / Pierre Schaeffer - Etude Aux Chemins De Fer / John Cage - Williams Mix / Oskar Sala - Electronicshe Tanzuite / Karlheinz Stockhausen - Kontakte / Vladmir Ussachevsky - Wireless Fantasy / Raymond Scott - Cindy Electronium

So yeah, pretty long :lol:

Re: 1404 - Syncing ABORTS if ID3 title is too long

Posted: Sun Jul 10, 2011 2:04 am
by Lowlander
Use $trim(<title:12>) instead.

Re: 1404 - Syncing ABORTS if ID3 title is too long

Posted: Sun Jul 10, 2011 2:08 am
by alystair
That is a really unusual and undocumented fix, thanks but should be integrated for us lesser folks :/

Re: 1404 - Syncing ABORTS if ID3 title is too long

Posted: Sun Jul 10, 2011 2:11 am
by Lowlander

Re: 1404 - Syncing ABORTS if ID3 title is too long

Posted: Sun Jul 10, 2011 2:22 am
by alystair
OK, $left(<Title>,80) seems to do what I want it to but should automatically clip filenames to a certain limit so it doesn't error out like that. This could happen with any other tag.

Re: 1404 - Syncing ABORTS if ID3 title is too long

Posted: Sun Jul 10, 2011 2:39 am
by alystair
What I'm saying is that potential synched filenames should be trimmed automatically to the maximum allowable size of target filesystem to prevent that sort of error :)

Re: [1404] - Syncing HALTS if potential filename is too long

Posted: Wed Jul 13, 2011 12:13 pm
by alystair
Still not fixed in 1406. Should be limiting filename size to maximum filesystem allowance to prevent sync abortion.

Re: [1404] - Syncing HALTS if potential filename is too long

Posted: Thu Jul 14, 2011 10:09 am
by rusty