Path is not Path

This forum is for reporting bugs in MediaMonkey for Windows 4. Note that version 4 is no longer actively maintained as it has been replaced by version 5.

Moderator: Gurus

philby

Path is not Path

Post by philby »

Hello,
When you right-click on the column headings to select the fields you would like displayed, one of the options is "Path". If this is selected, the Path column not only displays the path, but also the filename. I would expect the path NOT to include the filename, as the filename is available as another column selection anyway. I know this is a subtle point but strictly speaking a path is the path to the file, not the file name itself.
Philby
rk
Posts: 104
Joined: Mon Jul 25, 2005 2:18 am
Location: Germany

Post by rk »

Hi Philby,
I'm not sure whether I would prefer the display with or without the filename, but a file path indeed includes the filename itself. What you mean is the directory. But we might become philosophical here :)
GSV3MiaC
Posts: 455
Joined: Wed Jul 06, 2005 5:32 pm
Location: Shropshire, England

Post by GSV3MiaC »

I'll go with RK on this - the path is the whole thing that takes you all the way to the file. c:\windows\system32 is not a (complete) path, it's a folder, guessing which specific file it leads to is not possible.

Note that the 'filename' column does not =have= to be displayed - you can easily turn it off. You then have all the 'what file is this' info under the 'path' column.
Eyal
Posts: 3123
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec
Contact:

Post by Eyal »

I agree completely. Path includes the filename.
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
pah68
Posts: 1504
Joined: Wed Apr 07, 2004 5:26 pm
Location: Sydney, Australia

Post by pah68 »

I'll jump on the bandwagon too.
For me, the path should include the filename.
philby

Post by philby »

Well, looks like I am outvoted. But I still disagree with the argument that the path should include the filename (in the MM list of fields anyway), because the filename can be selected separately. But, I concede that taking my argument any further is pointless. Thanks for the opinions and feedback.
Eyal
Posts: 3123
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec
Contact:

Post by Eyal »

Hi Philby
With my knowledge of computers, and like RK mentions it, it's only technical terms used in programming world. It was the developer's choice to use path instead of directory here.
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
Peke
Posts: 18413
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Post by Peke »

I agree with Eyal Path is Programing representative for Filename Full Path in real world.
MM core is written in Delphi and when handling PATH Delphi uses few other functions to get what you want:
- ExtractFileName(PATH) = Gets Filename
- ExtractFilePath(PATH) = Gets Directory
...

I guess that this was reason to use Path as name.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
philby

Post by philby »

Well, I conceded that everybody says the path includes the filename, but MM itself is inconsistant in this respect.

In the "Basic" tab page of the track properties dialog, the Path form DOES NOT CONTAIN THE FILENAME !!! It is listed in another form ("Filename", would you believe !)

So, we are back to the basic argument again. And now, I can demonstrate that MM terminology is in full agreement with my argument.

I know this is splitting straws, but it should be consistant.

Philby
LanceVictor
Posts: 5
Joined: Sat Jun 11, 2005 7:37 pm
Location: Greater Vancouver, BC Canada
Contact:

Post by LanceVictor »

philby wrote:Well, looks like I am outvoted. But I still disagree with the argument that the path should include the filename (in the MM list of fields anyway), because the filename can be selected separately. But, I concede that taking my argument any further is pointless. Thanks for the opinions and feedback.
I'll chime in to side with you, Philby. Sure, in many dialects of geek-speek, a file's path includes the filename, but as you pointed out, following that tradition causes redundancy in the MM display. One could just as easily argue that, STRICTLY Speaking, the directory-path IS part of the complete FILENAME and the whole dir structure should be displayed as the complete "filename".

The funny things that happen when we cling to technicalities like they were written in stone....

L
--
ps: the plural of computer Mouse is Mouses. :-)
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Could this not all be solved by having a new column "folder" and then you could chose to have the path inclusive or exclusive of the filename?

ADDITION: Path in computer terms is technically short for pathname, which relates to the full directory structure, including the filename and extension.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
psyXonova
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus
Contact:

Post by psyXonova »

Ok, i am jumping is as well.
Path is the full path (including filename) in the programmers lingo.
MM stores only the full path of the song in the Songs table. There is no field named Filename. When MM wants to show the Filename to the user it just takes the Path and trims every character before the last "\".
So, this is it.
If you want to use the path without filename for some reason (e.g. in a script) you just have to trim all the characters after the last "\" in the path field.
Post Reply