INTERACT FORUM

Please login or register.

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

Author Topic: Album Folders with Leading Ellipsis are Not Imported  (Read 683 times)

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Album Folders with Leading Ellipsis are Not Imported
« on: July 19, 2023, 03:15:46 pm »

So I think I know what's going on here, but wanted to report it as there are some counterintuitive interactions. 

I originally (many years ago) created my MC library on Windows and later migrated to Linux.  I have several albums in my collection that begin with an ellipsis (...), such as Metallica's "...And Justice For All".  I used MC to place all of my albums in folders with their correct album name, but I just recently noticed that none of the albums with a leading ellipsis were in my MC library anymore.  I confirmed that they were on disk, but they weren't in the database and MC would not import them.  Renaming the directories to remove the leading ellipsis results in all albums importing normally.  I tried creating a new folder with a leading ellipsis, and nothing imported.  Files with a leading ellipsis seem to import normally, only folders are affected.

I suspect this is a Linux specific issue and maybe MC is ignoring folders with a leading dot on Linux because that's how *nix systems identify hidden folders, but that has an unintended consequence of sweeping in albums that are in folders that have any number of leading dots.  I note also that the rename, move, copy tool will happily rename the folders to have a leading ellipsis, which doesn't seem to cause the albums to be removed on the next auto-import run, but presumably would prevent them from importing if one needed to re-run the imports from scratch (which is what I'm guessing may have happened to me?).   

If MC is ignoring "hidden" folders, I'm not sure that's necessarily a good practice (how commonly do media folders even have hidden folders that folks don't want indexed?).  I think it's also meaningful that it doesn't also ignore hidden files (i.e. the behavior is inconsistent).  I'd prefer that MC just index what I point it at with no reservations, but if ignoring hidden folders is desirable behavior I'd suggest that rename, move, copy should avoid writing file and folder names with leading dots, the same way that it avoids including symbols that will create issues for MC or other programs (i.e. replacing certain brackets with underscores, etc.).  That way folks could run an RMC pass and be confident that the files will all be visible.

In any case, just thought I'd get it out there because it was unexpected behavior and I'd been inadvertently missing six or seven albums for who knows how long :-)
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2665
Re: Album Folders with Leading Ellipsis are Not Imported
« Reply #1 on: July 19, 2023, 03:30:15 pm »

I actually use this "feature" all the time when I want to temporarily hide something from auto-import or remove it from the library while working in the FS directly. It's like an MC for Linux bonus feature in my eyes.

The problem here is that you aren't actually using an ellipsis character, you are using three periods, which is completely different. I think MC has built in ability to fix this in the Clean Properties tool, once you actually start using an ellipsis and get your files and database matched up your problems should go away.

Bonus, here's an actual ellipsis (U+2026) you can copy-paste: …
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: Album Folders with Leading Ellipsis are Not Imported
« Reply #2 on: July 19, 2023, 03:36:21 pm »

I actually use this "feature" all the time when I want to temporarily hide something from auto-import or remove it from the library while working in the FS directly. It's like an MC for Linux bonus feature in my eyes.

The problem here is that you aren't actually using an ellipses character, you are using three periods, which is completely different. I think MC has built in ability to fix this in the Clean Properties tool, once you actually start using an ellipses character and get your files and database matched up your problems should go away.

I'm not sure that will really resolve the issue though as there are albums in the world that actually have a single leading dot as part of the band or album title, for example, ".38 special".  The ellipsis special character solves the exactly three dots problem, but not any other number of dots.  It also doesn't address the fact that hidden folders are ignored but not hidden files (to be clear, I don't want the files to disappear either as I have lots and lots of song files with leading dots that aren't ellipsis that currently import just fine). 

Thanks for the tip about clean file properties though, I'll try that for the three dot case.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2665
Re: Album Folders with Leading Ellipsis are Not Imported
« Reply #3 on: July 19, 2023, 03:44:11 pm »

A workaround perhaps, but there are also the following unicode characters available to use in place of leading periods:

One Dot Leader (U+2024): ․
Full Stop (U+002E): .
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: Album Folders with Leading Ellipsis are Not Imported
« Reply #4 on: July 19, 2023, 04:16:38 pm »

A workaround perhaps, but there are also the following unicode characters available to use in place of leading periods:

One Dot Leader (U+2024): ․
Full Stop (U+002E): .

Thanks for those; depending on the response that might be my solution.
Logged
Pages: [1]   Go Up