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

To get bugs in the current release fixed, please report them here.

Moderator: Gurus

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

Postby 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.
PeterCM
 
Posts: 33
Joined: Mon Apr 10, 2017 3:13 pm

Re: Periods at the end of directory names cause problems

Postby 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.
PeterCM
 
Posts: 33
Joined: Mon Apr 10, 2017 3:13 pm

Re: Periods at the end of directory names cause problems

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

Lowlander (MediaMonkey user since 2003)
Lowlander
 
Posts: 43398
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

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

Postby 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.
simonschouten
 
Posts: 1
Joined: Tue Nov 21, 2017 5:31 pm

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

Postby 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.
Lowlander (MediaMonkey user since 2003)
Lowlander
 
Posts: 43398
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5


Return to Bug Reports (mmw)

Who is online

Users browsing this forum: No registered users and 6 guests