INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Windows => Topic started by: jacobacci on July 09, 2016, 02:37:02 am

Title: Importing directory - skipped 2804 files (filename too long)
Post by: jacobacci on July 09, 2016, 02:37:02 am
I have imported a new directory wich flac files and after the import I got the error message:

skipped 2804 files (filename too long)

The cause lies in the nested long descriptive directory names used. I thought JRiver supported long file names. Is there an easy way to get these files to import, short of shortening the directory / file names one by one.

Thanks a lot for any hints.
Title: Re: Importing directory - skipped 2804 files (filename too long)
Post by: Spike1000 on July 09, 2016, 05:26:32 am
This has come up before I seem to remember.
Does a search show anything up?
How long are these paths?
Might be the limitation in Windows.

Spike
Title: Re: Importing directory - skipped 2804 files (filename too long)
Post by: jacobacci on July 09, 2016, 05:42:25 am
I probably erroneously assumes JRiver could go around the windows path length limit (like some applications can).
I hope the issue is resolved once Win 10 anniversary update comes around.
http://betanews.com/2016/05/29/long-paths-windows-10/

Title: Re: Importing directory - skipped 2804 files (filename too long)
Post by: blgentry on July 09, 2016, 06:44:04 am
As far as I know:

A.  MC is bound by Windows file length limits.
B.  To fix the situation you should use a third party tool to rename the long file names to shorter ones.  There are tools specifically designed to locate and rename too long file names.  Here's one that I found.  I have NOT USED IT.

http://www.replsoft.com/cutlongnames.html

Brian.
Title: Re: Importing directory - skipped 2804 files (filename too long)
Post by: jacobacci on July 09, 2016, 07:04:03 am
Thanks, Brian
I'll try that one. My search for Filename Shortening Tools has had rather mixed results so far. Some don't quite do what they claim.
I'll try the one you indicated - and hope that the hopefully imminent lifting of the Windows path length limit will resolve the situation for good.
Regards
Rudi
Title: Re: Importing directory - skipped 2804 files (filename too long)
Post by: MikeO on July 10, 2016, 07:04:22 am
Can't you just copy the folders to a C:\ root or something with the shortets folder name and edit them to shorter names.

I know some of the classical track names can get very long , but I have always got around it by doing this.,

Once they are short enough just copy em back. It will probably only be a few tracks

Mike
Title: Re: Importing directory - skipped 2804 files (filename too long)
Post by: Matt on July 10, 2016, 07:54:16 am
Just a note that the latest builds of MC now allow you to disable the filename length checking.
Title: Re: Importing directory - skipped 2804 files (filename too long)
Post by: jacobacci on July 10, 2016, 08:04:17 am
That's great news, Matt
Thanks a lot
Where do I select that option?
Title: Re: Importing directory - skipped 2804 files (filename too long)
Post by: Matt on July 10, 2016, 08:11:12 am
That's great news, Matt
Thanks a lot
Where do I select that option?

Options > General > Advanced > Support extra long filenames

I suppose I should give you the same disclaimer I've given others.  That will make us start importing the really long filenames, but it's possible you'll find another place where we have trouble with the really long filename.  That's why the option is experimental.

Honestly it's pretty rare for us to use a fixed size string buffer, so it's possible you'll never hit any glitches.  But I need to offer the disclaimer since it just hasn't been tested well.