INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Some of my library cannot be imported file name too long  (Read 4690 times)

whodunit

  • Member
  • *
  • Posts: 3
Some of my library cannot be imported file name too long
« 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.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Some of my library cannot be imported file name too long
« Reply #1 on: February 05, 2018, 01:53:36 pm »

Try this:
Options > General > Advanced > Support extra long filenames (experimental)
Logged
Matt Ashland, JRiver Media Center

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: Some of my library cannot be imported file name too long
« Reply #2 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.
Logged

whodunit

  • Member
  • *
  • Posts: 3
Re: Some of my library cannot be imported file name too long
« Reply #3 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.
Logged

~OHM~

  • Citizen of the Universe
  • *****
  • Posts: 1825
  • "I Don't Play The Music The Music Plays Me"
Re: Some of my library cannot be imported file name too long
« Reply #4 on: February 06, 2018, 10:06:12 am »

Why don't you shorten it for the import and then change it back after?
Logged
“I've Reached A Turning Point In My Life. I Now Realize I Have More Yesterdays Then Tomorrows”

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Some of my library cannot be imported file name too long
« Reply #5 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.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Some of my library cannot be imported file name too long
« Reply #6 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.
Logged
Matt Ashland, JRiver Media Center

MusicHawk

  • Citizen of the Universe
  • *****
  • Posts: 796
Re: Some of my library cannot be imported file name too long
« Reply #7 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).
Logged
Managing my media with JRiver since Media Jukebox 8 (maybe earlier), currently use Media Center for Audio/Music and Photos/Videos.
My career in media spans Radio, TV, Print, Photography, Music, Film, Online, Live, Advertising, as producer, director, writer, performer, editor, engineer, executive, owner. An exhausting but amazing ride.

whodunit

  • Member
  • *
  • Posts: 3
Re: Some of my library cannot be imported file name too long
« Reply #8 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

Logged

AndyU

  • Galactic Citizen
  • ****
  • Posts: 363
Re: Some of my library cannot be imported file name too long
« Reply #9 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.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7805
  • Autumn shade...
Re: Some of my library cannot be imported file name too long
« Reply #10 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.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10935
Re: Some of my library cannot be imported file name too long
« Reply #11 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.
Logged
~ nevcairiel
~ Author of LAV Filters

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Some of my library cannot be imported file name too long
« Reply #12 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.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner
Pages: [1]   Go Up