INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Windows => Topic started by: Al ex on December 21, 2015, 11:20:48 am

Title: There is no file with too long filename, but MC insists on import & MC Crash
Post by: Al ex on December 21, 2015, 11:20:48 am
Trying to fix an issue with too long filenames. After library import, MC tells me "Skipped 62 files (filename too long)."

Below an example:

Skipped (filename too long):
    D:\6 Musik\3Stars\Johann Sebastian Bach - Bach Edition, Volume 18_ Cantatas_Kantaten, Volume IX (disc 1_ Cantatas _ Kantaten BWV 195, 1 & 63 (Holland Boys Choir; Netherlands Bach Collegium; Pieter Jan Leusink, conductor)) - 01 - I. Dem Gerechten muß das....mp3


Trying to locate this file in Windows 10, but there is no file of such a name?

I am currently using .23
MC .27 is permanently crashing 1-2 minutes after start.
Also had to roll back on my second laptop, as i got .Net Framework errors with .27, and two times BSoD.

The problem files are definitely not new, I am having them for years now.
I suppose that in some of the last versions of MC (24-27), something minor, but fundamental was changed that probably the too long filenames are causing these problems?

Is it possible that Windows 10 is hiding too long filenames???

Thanks.

Title: Re: There is no file with too long filename, but MC insists on import & MC Crash
Post by: Al ex on December 21, 2015, 02:32:37 pm
I donīt know why the too long filenames were not visible in Windows Explorer, however, with 3rd party tools, they are visible.

I used "Cut Long Names" in order to batch-shorten the filenames of 74 files to less than 250 characters: http://www.replsoft.com/cutlongnames.html

After that, I upgraded from .23 to the latest .29, no crashes anymore, my "musicbox" is rocking again flawlessly, problem solved :)
Title: Re: There is no file with too long filename, but MC insists on import & MC Crash
Post by: glynor on December 21, 2015, 04:26:40 pm
I donīt know why the too long filenames were not visible in Windows Explorer, however, with 3rd party tools, they are visible.

Because Windows Explorer itself is subject to the 256+4 character path-length limit:
https://yabb.jriver.com/interact/index.php?topic=101754.msg705954#msg705954

(That's one of the main reasons MC has to respect it as well, because otherwise some file operations on the files would fail.)
Title: Re: There is no file with too long filename, but MC insists on import & MC Crash
Post by: flac.rules on December 21, 2015, 04:56:24 pm
Because Windows Explorer itself is subject to the 256+4 character path-length limit:
https://yabb.jriver.com/interact/index.php?topic=101754.msg705954#msg705954

(That's one of the main reasons MC has to respect it as well, because otherwise some file operations on the files would fail.)

It is a bit on side of the topic, but I find it incredible that this hasn't been fixed yet, it was a stupid thing that should have been fixed 10 years ago. It was annoying already then.
Title: Re: There is no file with too long filename, but MC insists on import & MC Crash
Post by: Ogana Angela on February 24, 2016, 06:29:56 am
I think you can use a simple tool. Long Path Tool. It will help you a lot.
Title: Re: There is no file with too long filename, but MC insists on import & MC Crash
Post by: Arindelle on February 24, 2016, 10:10:44 am
I think you can use a simple tool. Long Path Tool. It will help you a lot.

Here's another that I use ... just drag your main music directory and it will find the files https://sourceforge.net/projects/tlpd/ (https://sourceforge.net/projects/tlpd/) its fast on local drives