View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012638 | MMW v4 | Synchronization | public | 2015-03-09 20:02 | 2023-01-31 18:10 |
Reporter | Ludek | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 4.1 | ||||
Target Version | 4.1.7 | Fixed in Version | 4.1.7 | ||
Summary | 0012638: Some files can fail to sync because of very long target paths | ||||
Description | It seems that the default sync mask: \Music\<Album Artist>\<Album>\<Track#:2> <Artist> - <Title> can produce path/filename longer than 260 chars causing issues when syncing to SD cards. We should either 1) adjust the mask 2) auto-cut the long filenames 3) improve the error messages so that user knows why the copy operation has failed | ||||
Additional Information | #PXV-517-71710 | ||||
Tags | todoc-help | ||||
Fixed in build | 1738 | ||||
|
Maybe we could change the default masks for Music and Classical to \Music\<Album Artist:20>\<Album>\<Track#:2> <Artist:20> - <Title> \Music\Classical\<Composer>\<Album>\<Track#:2> <Artist:20> - <Title> |
|
It seems that a big part of the problem might be the name of the MediaMonkey application. i.e. in most cases, when content is written to an SD card, it will be to: \Android\data\com.ventismedia.android.mediamonkeybeta\files\... So we're using up 60 characters before we even start with the media content (i.e. the real limit is 200 chars). So I agree with your suggested default path, but think that MMW should also have some additional means of automatically truncating filenames that are too long to ensure that the limit won't be reached (we shouldn't use error messages for this). |
|
The <Artist:20> doesn't work well, because it causes the artist always be 20 chars long (padded with spaces). Based on http://www.mediamonkey.com/sw/webhelp/frame/index.html?configuringdirectoryandfileformats.htm probably $Left(<Artist>,20) might work well, because the failed path for user from ticket #PXV-517-71710 was this: F:\Music\Unknown\DJ Femmie Presents Hip Hop Remixes Volume 3\02 Busta Rhymes, Missy Elliot, Drake, , 40 Glocc, E-40, Too & Xzibit, Diddy, 2 Chainz, French Montana, Young Jeezy, Mark Morrison, Too Short, 40-E, P-Live, Newland, Lore'l, P.I. Bang, Lil Wayne, Yelawof, T.I, J. Cole, Project Pat Ft. Tity Boi, Vad - Why Stop Now - Busta Rhymes Feat Missy Elliot.mp3 In any case you are probably right that we should auto-cut overly long paths, we could probably cut the filename part to 50 chars and cut the directories part from the right, i.e. to take only the first X chars where X = MAX_PATH - Length(filename) |
|
Fixed in 4.1.7.1738 |
|
Verified 1738 |