#1 2009-08-29 15:17

krtek
Senior Member
From: Łódź (Poland)
Registered: 2008-02-21
Posts: 262

Order of Metatags in the Insert Meta Tag dialog

I think it would be better to have:

File_FilePath
File_FileName    
File_BaseName
File_Extension

order of metatags
instead of
File_FileName    
File_FilePath
File_BaseName
File_Extension

as it would then go logically from the left to the right of the explicit path.


Regular Expressions are not as hard to understand as you may think. Check ReNamer's manual or nice Regular Expressions tutorial for more info and start to use full power of applications that use them (like ReNamer, Mp3Tag and so on).

Offline

#2 2009-08-29 18:39

narayan
Senior Member
Registered: 2009-02-08
Posts: 470

Re: Order of Metatags in the Insert Meta Tag dialog

I agree.

FilePath does not have the basename+extension; where as FileName has both.
In other words, FileName has two more components on the right hand side.

Therefore if the list order is based on left-to-right, FilePath should be listed first.
(And a left-to-right order is easy to look up.)

Last edited by narayan (2009-08-29 19:05)

Offline

#3 2009-08-29 18:57

krtek
Senior Member
From: Łódź (Poland)
Registered: 2008-02-21
Posts: 262

Re: Order of Metatags in the Insert Meta Tag dialog

FilePath does not have the basename+extension.

You're a wonderful taleteller, narayan. wink
FilePath does contain both of them.

But in the main point, of having FilePath first, I see we do agree.


Regular Expressions are not as hard to understand as you may think. Check ReNamer's manual or nice Regular Expressions tutorial for more info and start to use full power of applications that use them (like ReNamer, Mp3Tag and so on).

Offline

#4 2009-08-29 19:14

narayan
Senior Member
Registered: 2009-02-08
Posts: 470

Re: Order of Metatags in the Insert Meta Tag dialog

I propose we should have one additional meta tag: File_onlyPath.

Useful in manipulating paths.

Offline

#5 2009-08-30 11:50

Andrew
Senior Member
Registered: 2008-05-22
Posts: 542

Re: Order of Metatags in the Insert Meta Tag dialog

Given C:\Path\To\File.ext, here's the naming convention I'd like to see:

File_FullPath = C:\Path\To\File.ext
File_Drive = C (No trailing color or slash)
File_RelPath = Path\To (No trailing slash)
File_Path = C:\Path\To (No trailing slash)
File_FileName = File.ext
File_BaseName = File
File_Extension = ext

The additional tags will help if we want to move the files to a similar directory structure on another drive for example. How does that sound?

Offline

#6 2009-08-30 12:44

krtek
Senior Member
From: Łódź (Poland)
Registered: 2008-02-21
Posts: 262

Re: Order of Metatags in the Insert Meta Tag dialog

File_FullPath = C:\Path\To\File.ext
File_Path = C:\Path\To (No trailing slash)

I don't like the File_FullPath and File_Path names. We will get it even more hard to understand than it is now.
It is FilePath that stands for eg. "C:\Path\To\File.ext". It stands for this in PascalScript as a FilePath constant, in Files pane as a Path column and anywhere it is mentioned.
Getting File_Path metatag to stand for "C:\Path\To" will make everyone confused.

If you feel FilePath (standing for "C:\Path\To\File.ext") confusing, then its name would have to be changed  not only as a metatag, but everywhere. And I don't think it's worth it. And I don't think Denis would go for something like that.

Maybe:
File_FilePath
File_Parent or File_ParentPath(for "C:\Path\To")

Last edited by krtek (2009-08-30 12:47)


Regular Expressions are not as hard to understand as you may think. Check ReNamer's manual or nice Regular Expressions tutorial for more info and start to use full power of applications that use them (like ReNamer, Mp3Tag and so on).

Offline

#7 2009-08-31 13:11

Andrew
Senior Member
Registered: 2008-05-22
Posts: 542

Re: Order of Metatags in the Insert Meta Tag dialog

The names aren't that important, the functionality is. As long as all those metatags are available, we can use any name that fits the bill.

Offline

Board footer

Powered by FluxBB