Periods at end of directory names cause problems [#14539]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Periods at end of directory names cause problems [#14539]

Re: Periods at end of directory names cause problems [#14539

by Lowlander » Mon Nov 27, 2017 12:45 pm

I'm not aware that Windows treates files/folders with leading dots as hidden, Linux does, but Windows doesn't as far as I know.

Re: Periods at end of directory names cause problems [#14539

by simonschouten » Sun Nov 26, 2017 6:22 pm

Hmmm - I'm not using Linux, I'm using Windows 10. I'd argue that MM should understand that a directory or file beginning with a dot would be taken as hidden in Windows, and therefore shouldn't need any further attention by a user, especially one with limited techincal tendencies, who'd not want to fiddle with .ini files!

Anyway, that said, I did some more analysis, and the issue is reproducible, as follows :

1. Rip a CD with leading periods/dots, eg ...And Then There Were Three.

No problem. It's there in your library, and MM has an explicit pointer to the directory ...And Then There Were Three, and the files within. If you look at the actual directory in Windows Explorer, you see it if you enable viewing of hidden files. So if you never have to do anything from there, no issues ......

The issue comes if you have to rebuild your library should the MM database become corrupt, or you have to reconstruct your MM environment for whatever reason.

I've just done that, and voila : MM has ignored it because it is a hidden file ........so I'd suggest this is a design fault which you only see if you rebuild your database?

Re: Periods at end of directory names cause problems [#14539

by Lowlander » Tue Nov 21, 2017 6:35 pm

To resolve see: http://www.mediamonkey.com/support/inde ... o-organize

This is a Linux thing, where leading dots cause folders/files to be set as hidden.

Re: Periods at end of directory names cause problems [#14539

by simonschouten » Tue Nov 21, 2017 5:45 pm

I am a new user of Media Monkey , and have been building my library from scratch. I noticed that it wasn't showing ...But Seriously, by Phil Collins. This was after a rebuild after I had a DB corruption and I rescanned the music library, so I can't recall whether it was showing when I first ripped it. It's there in my file system, and I can see it as a hidden file, so MM obviously created the file as ...But Seriously. My SONOS system wouldn't see it either. I've renamed the album folder with one leading comma instead of the first period, and rescanned that album, and now it's visible (in both MM and SONOS), and showing the metadata title with the three leading periods. So I'd suggest this is a bug, in that MM is creating the folder with a leading period, rendering it a hidden folder. Interestingly looking at my legacy iTunes folders, it is in there as _..But Seriously, so I have to assume that is something iTunes did when I first ripped it.

Re: Periods at the end of directory names cause problems

by Lowlander » Mon Nov 13, 2017 11:27 pm

Re: Periods at the end of directory names cause problems

by PeterCM » Fri Nov 03, 2017 5:36 pm

I have an update on this issue.

This is actually a Windows issue. You can create folders with trailing periods but if you use Windows functions to view the directory the periods are automatically removed. Trailing periods are actually illegal but no error message is raised. Leading periods are however allowed. See this quote:
A 'dot' or 'space' at the end of a folder name are considered illegal characters for a folder name.

However, unlike other illegal characters, Windows does not display an error when you use these 2 characters. It will let you name the folder with a space at the end and it simply removes the space. In the case of the dot, when you press the F5 (Refresh) key, the illegal character (dot) is removed and the folder will display.

I'm not sure 'why' Windows 7 does this?

Ronnie Vernon MVP
Perhaps MediaMonkey should prevent you from adding trailing periods or spaces so that the issue of not being able to access the files does not happen.

Periods at end of directory names cause problems [#14539]

by PeterCM » Wed Oct 18, 2017 9:49 am

MediaMonkey 4.1.19.1854 and Windows 10 64 bit.

In the location tree if you rename a directory to have a period or multiple periods at the end it causes issues with MediaMonkey. Here is an example:

I have a Black Era album called ...Then...

In the file location tree it was named Then

I decided to rename it in MediaMonkey (F2) to have the correct name of ...Then...

After the rename MediaMonkey showed the new name as ...Then... but the actual directory on the hard drive was ...Then i.e. no periods on the end. The MediaMonkey database and the actual directory structure no longer agreed and so the songs in the folder were no longer playable. I had to delete the folder in MediaMonkey and rescan it before the files were accessible again.

Top