This forum has been archived. All content is frozen. Please use KDE Discuss instead.

leading dots in directory name

Tags: None
(comma "," separated)
cord
Karma
0

leading dots in directory name

Sun May 21, 2006 7:44 pm
Hello!

I just played around with amarok 1.4 today and noticed that one band was missing from my collection.

The band in question is called "...but alive" and I wonder, if the leading dots, which are present in the directory name where the files are located are responsible for this.

Just tested: renaming any directory to "..something" or even ".something" makes it invisible for amarok...

Bug or feature?

-cord

Tested with amarok 1.4, guru-RPMS for SuSE 10.0 x86-64
Maurice
Karma
0

Re: leading dots in directory name

Sun May 21, 2006 9:25 pm
a leading dot is the unix way to make a file hidden... so I would call that a feature because normaly you don't want to see hidden-files...
cord
Karma
0

Re: leading dots in directory name

Mon May 22, 2006 7:18 am
That would make this a feature of a filemanager (or the file manager tab of amarok). But I don't see why amarok should omit dot-directories when scanning the collection - especially when it *does not* omit filenames with leading dots, I can see AFX's .215061 Track without problems in the collection browser...

-cord
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS

Re: leading dots in directory name

Fri Jun 02, 2006 5:23 pm
Hi there,
amarok scans the directory the unix way, so it's omitting dotted dirs and files. I think that's ok, because there could be a lot of hidden files in these directories. In my case there are:
the .directory for explaining the folder
a .folder.png for the icon of the directory
and all the files from the moodbar, one per track.
It's generally not a good idea to use special chars in filenames. The track with the leading dot is shown up, because its tags has been read by amarok. :rolleyes:

Greetings

m0nk


If men could get pregnant, abortion would be a sacrament.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]