View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0018122 | MMW 5 | Tagging / organizing (properties / auto-tools) | public | 2021-07-07 21:17 | 2021-12-20 13:08 |
Reporter | lowlander | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | reopened | ||
Product Version | 5.0.1 | ||||
Target Version | 5.0.2 | Fixed in Version | 5.0.2 | ||
Summary | 0018122: Long Paths fail in Auto-Organize Files | ||||
Description | When using long Paths Auto-Organize Files fails to create the proper long Path the user has specified. | ||||
Steps To Reproduce | 1 Use Auto-Organize Files 2 Use a long Mask like <Album>\<Album>\<Album>\<Album>\<Album>\<Artist> - <Title> --> Observe New Path value, in this case the last folder and filename get mixed together | ||||
Additional Information | https://www.mediamonkey.com/forum/viewtopic.php?f=30&t=99509 https://www.mediamonkey.com/forum/viewtopic.php?f=33&t=100591 | ||||
Tags | No tags attached. | ||||
Fixed in build | 2519 | ||||
related to | 0016505 | closed | Ludek | Files cannot be auto-organized until duplicates and overly long filenames are edited |
related to | 0012868 | closed | michal | Ability to support long filepaths (> 260 chars) on Windows |
related to | 0018689 | closed | Ludek | 'Eject CD after ripping' and 'Verify ripped tracks' settings can't be changed (regression 5.0.2) |
|
Yes, it currently auto-cuts the path per 0016505 But you are true that it mixes the last directory and filename together (without adding path separator in between). => Fixed in 5.0.2.2500 As for the inability to disable the auto-cut: I guess we could add an option for this in the Auto-orgnanize dialog below the '[x] Delete empties folders' ? i.e. something like [x] Auto-cut long paths/filenames Assigned to Rusty for wording suggestions. |
|
Why does it auto-cut if MediaMonkey and Windows support longer file Paths? |
|
Why does it auto-cut if MediaMonkey and Windows support longer file Paths? MediaMonkey and Windows supports the longer path by prepending with '\\?\' , but not all apps supports such a paths (including MM4) so the option is needed and I think it should be enabled by default. BTW: User at https://www.mediamonkey.com/forum/viewtopic.php?p=484120#p484120 would like this option (to be able to disable the auto cut-off) |
|
Suggested text (probably disabled by default?): [ ] Trim long paths/filenames Tooltip: Shorten paths/filenames to 256 characters for compatibility with certain apps Note: - the suggested text may be inaccurate re. the number of characters - keep in mind that this needs to be enabled for background auto-organize as well |
|
I added the checkbox in build 5.0.2.2501 But left it enabled by default (to trim the long paths) as the long paths have not been well tested + are not supported by older apps (e.g. Total Commander fails to work with them). |
|
When using a long filename a \\?\ is added in front of the Path in Auto-Organize |
|
|
|
I can't replicate, but trying to figure out how this can happen tomorrow... EDIT: I can't figure out how to replicate and also by analyzing the code I don't see where //?/ prefix could be added. Could you please generate debug log for me? EDIT2: Assigned back to me, I just see something... |
|
Fixed in 2519 |
|
Verified on 2519 that \\?\ isn't added on long filenames |
|
NOTE that \\?\ is normal NTFS command to force Long paths up to 65535 Characters. See https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfullpathnamew |