INTERACT FORUM

More => Old Versions => JRiver Media Center 23 for Windows => Topic started by: whodunit on February 05, 2018, 01:51:22 pm

Title: Some of my library cannot be imported file name too long
Post by: whodunit on February 05, 2018, 01:51:22 pm
I just purchased JRiver.  It won't import my all of my library as  filename are too long. When in fact the path may be long but not the file name.
Title: Re: Some of my library cannot be imported file name too long
Post by: Matt on February 05, 2018, 01:53:36 pm
Try this:
Options > General > Advanced > Support extra long filenames (experimental)
Title: Re: Some of my library cannot be imported file name too long
Post by: JimH on February 05, 2018, 01:53:47 pm
Under Tools > Options > General > Advanced, try checking the option to support long filenames.

or

Rename the parent folder of the files.  The limit is 256 characters for both path and filename.
Title: Re: Some of my library cannot be imported file name too long
Post by: whodunit on February 06, 2018, 10:02:06 am
Tried it, but same result.  Does this mean I cannot file my music by genre? - My music  currently lives in a -  e:/ Flac Music Folder/Classical/Artist/ Album structure and this seems to be creating a long file name as the path is considered  part of filename in Media center ?

here's a sample of the error :
    G:\Flac Music Files\Classical\Ralph Vaughan Williams\Vaughan Williams - Symphony 4, Fantasy Tallis, Serenade to Music, Greensleeves\06 Fantasia on a Theme by Thomas Tallis, for 2 string orchestras- Largo Sostenuto - Largamente - Poco Più Animato.  Tempo Rubato - Più Animato - Molto Adagio - Tempo.flac

but here's the location of the file G:\Flac Music Files\Classical\Ralph Vaughan Williams\Vaughan Williams-Elgar-Delius --

All of this "for 2 string orchestras- Largo Sostenuto - Largamente - Poco Più Animato.  Tempo Rubato - Più Animato - Molto Adagio - Tempo.flac" is metadata?

I don't see it in explorer,  and have no issue with any other software.
Title: Re: Some of my library cannot be imported file name too long
Post by: ~OHM~ on February 06, 2018, 10:06:12 am
Why don't you shorten it for the import and then change it back after?
Title: Re: Some of my library cannot be imported file name too long
Post by: Matt on February 06, 2018, 10:33:23 am
I reproduced a problem with that long filename.  I imported and it told me it skipped it because the filename was too long.  So then I enabled the long filename option and it still skipped.

You could probably work around it by clearing the library and enabling the option and then importing.

But a future build will also fix the problem.  Probably this week.

Thanks.
Title: Re: Some of my library cannot be imported file name too long
Post by: Matt on February 07, 2018, 09:57:33 am
Please test again using the latest build:
https://yabb.jriver.com/interact/index.php/topic,114297.0.html

Thanks and please let us know what you find.
Title: Re: Some of my library cannot be imported file name too long
Post by: MusicHawk on February 09, 2018, 09:36:31 pm
I am also fighting the "too long" situation, suspect a bug (still) lurking in 23.0.100. In my case, the files are already in MC, but it declares some of the existing paths of current library files are too long. This is triggered by attempting to rename a folder.

I'm trying to rename a main folder that via subfolders contains much of an images library. I changed the names two other parallel folders of images, no problem (one of them had a file name 190 characters long!). But the most important (of course) folder rename can't pass MC's length test. But it should...

MC declares the folder name change "could create one or more invalid (too long) file names". The folder name change makes it 2 characters longer. The longest path+filename in this entire "problem" folder system is 170 characters. This one folder and its subfolders has 61,916 files.

As a test I shortened the longest file name from 170 to well under 100, made no difference, MC still refuses to rename the folder. Then next longest filename is 137.

I tried the rename with and without MC's experimental Long Filename support enabled, though it doesn't seem necessary for lengths of 137 or less. 

My workaround was to use Rename > Find & Replace to change the folder name in every file, which caused MC to move the files. Perfect outcome, just very very slow (several hours), compared with Renaming the other folders which happened very fast.

However, using Find & Replace to move more than 60 thousand files led to constant stopping to ask if I really wanted to move System file thumbs.db. So, I had to hang around the PC for many hours.

It would be wonderful if MC's Really Want To dialog offered additional choices such as:
Yes move this and all similar files -AND/OR-
Yes move this and all files with the same name (it was always Thumbs.db, in the many subfolders) -AND/OR-
Yes, move System files too -AND/OR-



Of course I can do various workarounds but would like to know if I am misunderstanding MC's rename refusal, or if it is a bug. Perhaps a bug is in the folder rename process via MC's Drives & Devices? (though it worked perfectly for two similar folder trees of images, rename the Windows folder AND updated MC's database automatically).
Title: Re: Some of my library cannot be imported file name too long
Post by: whodunit on February 10, 2018, 03:12:09 pm
I have tried the latest build (64bit) and still the same issue.  This is a  folder from a disc that I ripped with EAC, the metadata is not visible with other media players and explorer doesn't show the path as being unusually long. I have tried with just one  composer that  gave issues on first import. It's not practical for me to attempt to rename my entire library, especially since I share it with Roon.

Media Center is  now removed from my computer -  ?

Skipped (filename too long):
    G:\Flac Music Files\Classical\Ralph Vaughan Williams\Vaughan Williams - Symphony 4, Fantasy Tallis, Serenade to Music, Greensleeves\06 Fantasia on a Theme by Thomas Tallis, for 2 string orchestras- Largo Sostenuto - Largamente - Poco Più Animato.  Tempo Rubato - Più Animato - Molto Adagio - Tempo.flac
    G:\Flac Music Files\Classical\Ralph Vaughan Williams\Vaughan Williams - Symphony 4, Fantasy Tallis, Serenade to Music, Greensleeves\07 Fantasia on Greensleeves, for harp, flute & strings (arranged by R. Greaves; from the opera ''Sir John In Love'')- Lento - Lento Moderato - Allegretto - Lento Moderato.flac
    G:\Flac Music Files\Classical\Ralph Vaughan Williams\Vaughan Williams - Symphony 4, Fantasy Tallis, Serenade to Music, Greensleeves\08 Serenade to Music (''How sweet the moonlight sleeps upon this bank!'') for 16 soloists (or soloists & chorus) & orchestra- Andantino.flac
    G:\Flac Music Files\Classical\Ralph Vaughan Williams\Vaughan Williams - Symphony 4, Fantasy Tallis, Serenade to Music, Greensleeves\09 Serenade to Music (''How sweet the moonlight sleeps upon this bank!'') for 16 soloists (or soloists & chorus) & orchestra- ''How Sweet the Moonlight''.flac
    G:\Flac Music Files\Classical\Ralph Vaughan Williams\Vaughan Williams - Symphony 4, Fantasy Tallis, Serenade to Music, Greensleeves\10 Serenade to Music (''How sweet the moonlight sleeps upon this bank!'') for 16 soloists (or soloists & chorus) & orchestra- ''Look How The Floor Of Heaven...''.flac
    G:\Flac Music Files\Classical\Ralph Vaughan Williams\Vaughan Williams - Symphony 4, Fantasy Tallis, Serenade to Music, Greensleeves\11 Serenade to Music (''How sweet the moonlight sleeps upon this bank!'') for 16 soloists (or soloists & chorus) & orchestra- ''Come, Ho!  And Wake Diana With A Hymn''.flac
    G:\Flac Music Files\Classical\Ralph Vaughan Williams\Vaughan Williams - Symphony 4, Fantasy Tallis, Serenade to Music, Greensleeves\12 Serenade to Music (''How sweet the moonlight sleeps upon this bank!'') for 16 soloists (or soloists & chorus) & orchestra- ''I Am Never Merry When I Hear Sweet Music''.flac
    G:\Flac Music Files\Classical\Ralph Vaughan Williams\Vaughan Williams - Symphony 4, Fantasy Tallis, Serenade to Music, Greensleeves\13 Serenade to Music (''How sweet the moonlight sleeps upon this bank!'') for 16 soloists (or soloists & chorus) & orchestra- ''Music!  Hark!''.flac
    G:\Flac Music Files\Classical\Ralph Vaughan Williams\Vaughan Williams - Symphony 4, Fantasy Tallis, Serenade to Music, Greensleeves\14 Serenade to Music (''How sweet the moonlight sleeps upon this bank!'') for 16 soloists (or soloists & chorus) & orchestra- ''How Many Things By Season...''.flac
    G:\Flac Music Files\Classical\Ralph Vaughan Williams\Vaughan Williams - Symphony 4, Fantasy Tallis, Serenade to Music, Greensleeves\15 Serenade to Music (''How sweet the moonlight sleeps upon this bank!'') for 16 soloists (or soloists & chorus) & orchestra- ''Soft Stillness And The Night''.flac

Title: Re: Some of my library cannot be imported file name too long
Post by: AndyU on February 10, 2018, 03:16:05 pm
Maybe TLPD would be of use to the o/p in identifying long path names.

https://sourceforge.net/projects/tlpd/

Years ago with Windows something or other I had issues with such long names when ripping classical music; iirc I subsequently avoided the issue by getting my ripping software to restrict the maximum length of the file name. They really don’t need to be as long as the one in the o/ps example.

Another possible benefit of shortening the file names is that some backup software will not create dodgy file names when it adds version or backup information to the file names.
Title: Re: Some of my library cannot be imported file name too long
Post by: Awesome Donkey on February 10, 2018, 03:17:29 pm
1) Make absolutely sure you're using 23.0.100.

2) Make absolutely sure you have the Support extra long filenames (experimental) feature checked.

Now, if you are using 23.0.100 and have the long filenames option enabled and this issue still exists, then Matt will probably have to try reproducing the issue again (he can probably do so with the paths you've listed above, like you did previously which helped Matt find the first issue). If this is the case, it's indeed a bug and Matt can probably fix it - there's no reason to remove MC, especially if Matt can fix the issue. It's simply just a bug in an experimental feature.

It's also worth noting that only Windows 10 has support for longer filenames like this. Previous versions of Windows won't support filenames that long, hence likely why that feature is considered experimental in the first place.

Personally? I would NOT recommend having filenames and paths that long. It's really never going to end well, IMO, especially when you can store a track's full title in the metadata instead.
Title: Re: Some of my library cannot be imported file name too long
Post by: Hendrik on February 14, 2018, 12:12:35 pm
Just to be clear, if it wasn't quite clear in the previous posts, the overall filename length (Path + Filename) is not something MC arbitrarily enforces, its a limitation of Windows. We do our best to try to work-around it when possible, thats what the option is for. But the fact alone that this support is hidden behind an experimental option means that it won't work with all use-cases in MC, and is known to be incomplete.

So as Awesome Donkey mentioned, its strongly recommended to avoid hitting that limit in the first place.
Title: Re: Some of my library cannot be imported file name too long
Post by: RoderickGI on February 14, 2018, 06:39:10 pm
I have tried the latest guild (64bit) and still the same issue.

Media Center is now removed from my computer -  ?

I don't know if you are still around Whodunit, since you have uninstalled MC, but did you explicitly download and install MC23.0.100? That is the one Matt linked to. If you used the update process inside MC and had the Stable or Latest update channel selected you still may not have received MC23.0.100 on the 11th of February.

Skipped (filename too long):
    G:\Flac Music Files\Classical\Ralph Vaughan Williams\Vaughan Williams - Symphony 4, Fantasy Tallis, Serenade to Music, Greensleeves\06 Fantasia on a Theme by Thomas Tallis, for 2 string orchestras- Largo Sostenuto - Largamente - Poco Più Animato.  Tempo Rubato - Più Animato - Molto Adagio - Tempo.flac

302 characters! Pretty long, but if Windows can handle it, so should MC be able to.