Seite 1 von 1

Long path length issues [#18122]

Verfasst: Do Nov 11, 2021 5:42 am
von Hugorx
Over here MM5 (2433) seems to have problems with long path lengths although enabled in Windows 10 Build 19043.1320. If the length exceeds 248 characters I get this "\\?\N:\.." in Auto-organize. If I press OK the file is truncated and disappears from the library:

250: N:\Muziek\Klassiek\York Bowen (1884-1961)\Piano Concertos Nos. 2 & 3; Symphonic Fantasia - Vernon Handley (CMJ)\
01. York Bowen - Piano Concerto No. 2 in D minor 'Concertstück', Op. 17- Moderato - Allegro deciso - Meno mosso - Allegro con spirito.flac
to:
01. York Bowen - Piano Concerto No. 2 in D minor '.flac

Also - but this was a problem in MM4 as well - the "Type" field is sometimes changed from 'Classical Music' to 'Music' when rescanning files to the library.

While I'm at it, here's another warm plead to enable the horizontal scroll bar in the media tree.

Thanks for looking into these issues.

Re: Long path length issues

Verfasst: Do Nov 11, 2021 9:44 am
von Ludek
This bug should be fixed in 5.0.2

+ there is now also the '[x] Trim long paths/filenames' that you can uncheck to create the full long path:
https://www.dropbox.com/s/0vh52760jq8pt ... 0.png?dl=0

So try with 5.0.2.2516 and report back: viewtopic.php?f=6&t=86639&sd=d

Re: Long path length issues

Verfasst: Do Nov 11, 2021 10:26 am
von Hugorx
I installed 2516 but the problem persists. If I uncheck 'Trim..' the file itself is no longer truncated but it shows up twice when I perform a search. Example given is another file, 250 characters, well within the limits of Windows, even in the old 260 ch. configuration.

https://ibb.co/1qR1f8H
https://ibb.co/ZWBMGSm

Re: Long path length issues

Verfasst: Do Nov 11, 2021 11:48 am
von Lowlander
Are you actually able to create the long Paths in File Explorer itself?

Re: Long path length issues

Verfasst: Do Nov 11, 2021 2:26 pm
von Hugorx
You mean in Windows explorer?
I can increase the size of directories to have a total path length of say 300+ characters and Windows seems fine with that. But I can't increase the file length beyond Max Path of 260.
Might be a OS issue but in MM5, 245 is the maximum. 246 and the problem reoccurs.

Re: Long path length issues

Verfasst: Do Nov 11, 2021 3:28 pm
von Lowlander
That's the problem I ran into too, despite allowing for long file names File Explorer doesn't allow it. This may also be causing problems in MediaMonkey.

Using a long filename mask I get an error occurred while moving on 2516, but then I also saw your problem, reopened: https://www.ventismedia.com/mantis/view.php?id=18122

Re: Long path length issues [#18122]

Verfasst: Fr Nov 12, 2021 2:57 am
von Hugorx
Thanks, I'll wait for 2519 to be up and will check further. Browsing the net, it looks like MS hasn't its act together on the long paths as well.

Re: Long path length issues [#18122]

Verfasst: Fr Nov 12, 2021 1:01 pm
von Ludek
Hugorx hat geschrieben: ↑Fr Nov 12, 2021 2:57 am Thanks, I'll wait for 2519 to be up and will check further. Browsing the net, it looks like MS hasn't its act together on the long paths as well.
Yes, long paths have been always problematic on Windows, although MM5 improves the support for long paths I would still recommend to stay with short paths whenever possible to prevent from all the possible issues (including compatibility issues with others Windows apps).