Long path length issues [#18122]

Get answers about the current version of MediaMonkey for Windows

Moderator: Gurus

Hugorx
Posts: 44
Joined: Tue Jan 01, 2008 4:48 pm

Long path length issues [#18122]

Post by 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.
Ludek
Posts: 5131
Joined: Fri Mar 09, 2007 9:00 am

Re: Long path length issues

Post by 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
Hugorx
Posts: 44
Joined: Tue Jan 01, 2008 4:48 pm

Re: Long path length issues

Post by 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
Lowlander
Posts: 59914
Joined: Sat Sep 06, 2003 5:53 pm

Re: Long path length issues

Post by Lowlander »

Are you actually able to create the long Paths in File Explorer itself?
Hugorx
Posts: 44
Joined: Tue Jan 01, 2008 4:48 pm

Re: Long path length issues

Post by 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.
Lowlander
Posts: 59914
Joined: Sat Sep 06, 2003 5:53 pm

Re: Long path length issues

Post by 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
Hugorx
Posts: 44
Joined: Tue Jan 01, 2008 4:48 pm

Re: Long path length issues [#18122]

Post by 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.
Ludek
Posts: 5131
Joined: Fri Mar 09, 2007 9:00 am

Re: Long path length issues [#18122]

Post by Ludek »

Hugorx wrote: ↑Fri 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).
Post Reply