IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [F] Automatic removal of pauses at the end of FILENAME, Change of name of a file without the user's consent
Zerow
post Oct 29 2016, 21:54
Post #1


Member


Group: Full Members
Posts: 703
Joined: 31-January 15
From: East of Eurolandia
Member No.: 20375
Mp3tag Version: 2.86



Mp3tag automatically [and without any indication] can change for example
CODE
Song   .flac
into
CODE
Song.flac


If there is a tag field that has
CODE
%_FILENAME%
values put in it [so it displays only names, without extensions], and a file has pauses at the end of it, after clicking such file in such tag field [gaining access to write in it] you have to press ESC to preserve such pauses; because if you even do nothing and just click some other line with other file, then those pauses will get wiped out

Although for most users such a behavior is useful [because it cleans filenames], for me sometimes it is not [because I may have some temporary copies or other version of a file, distinguished by amount of pauses at the end]

But what is more important, it is not the software that should decide how a file should look like. Doing anything without even informing the user that something was done is just plain wrong. [And that it why I consider it a bug, and why I did not post this as a request]

This post has been edited by zerow: Oct 29 2016, 21:57
Go to the top of the page
 
+Quote Post
ohrenkino
post Oct 29 2016, 22:04
Post #2


Member


Group: Full Members
Posts: 9237
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.85



I just created a filename
Ducs _ Disillusion _ 012 _ June'''''.mp3
(the ' indicate the space characters which are removed by the display functions in this forum)
I used the function Convert>Tag-Filename with the format string:
%_filename%
The result was:
Ducs _ Disillusion _ 012 _ June'''''.mp3

No trailing space character chopped off.
This is, BTW, a frequent problem: trailing and leading spaces. And there is a special function to trim these:
$trim()
I do no know how to reproduce the behaviour that you described.

This post has been edited by ohrenkino: Oct 29 2016, 22:05


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
Zerow
post Oct 29 2016, 23:17
Post #3


Member


Group: Full Members
Posts: 703
Joined: 31-January 15
From: East of Eurolandia
Member No.: 20375
Mp3tag Version: 2.86



QUOTE (ohrenkino @ Oct 29 2016, 23:04) *
[...]
I do no know how to reproduce the behaviour that you described.

The >>'<< sign will indicate a pause in the description

1] Create in file manager >>Song'''.mp3<<
2] Display it in %_FILENAME% column [without extension, so that you will see >>Song'''<<, although appearing to you as >>Song<<]
3] Click that file in that column as if you are about to change its name. You should get a selection of >>Song'''<<
4] Now click on Windows Taskbar or any other file in the list in Mp3tag

In theory you did not change the name, because you backed out. In reality, if you check now the name of that file [in Windows Explorer], it will be >>Song<< and not >>Song'''<<. The pause are gone
Go to the top of the page
 
+Quote Post
ohrenkino
post Oct 29 2016, 23:26
Post #4


Member


Group: Full Members
Posts: 9237
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.85



OK, I see it now.
Yet, it does not happen, if you use the variable %_filename_ext%.

I think that there is some advice not to use any of the file system attributes (path, directory, filename) as writable fields. Manipulate these fields with an action or a converter.


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
Zerow
post Oct 30 2016, 18:21
Post #5


Member


Group: Full Members
Posts: 703
Joined: 31-January 15
From: East of Eurolandia
Member No.: 20375
Mp3tag Version: 2.86



I can manage with such differences of behavior. But I just do not show extensions, to save horizontal space [so that I can squeeze in as many columns as I can]

But the point is that this happens without user being able to even notice it happening. No software should change names of files on its own. So I see it as a bug
Go to the top of the page
 
+Quote Post
ohrenkino
post Oct 31 2016, 19:18
Post #6


Member


Group: Full Members
Posts: 9237
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.85



ZITAT(zerow @ Oct 30 2016, 18:21) *
...to save horizontal space [so that I can squeeze in as many columns as I can]

Just out of curiosity: If you need that horizontal space - why do you have trailing space characters in the filename?
I agree with you that the program should not trim the data.

This post has been edited by ohrenkino: Oct 31 2016, 19:18


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
Zerow
post Oct 31 2016, 20:54
Post #7


Member


Group: Full Members
Posts: 703
Joined: 31-January 15
From: East of Eurolandia
Member No.: 20375
Mp3tag Version: 2.86



QUOTE (ohrenkino @ Oct 31 2016, 19:18) *
Just out of curiosity: If you need that horizontal space - why do you have trailing space characters in the filename?
[...]
I need horizontal space for columns and all that data in them. And you can't see spaces anyhow, so you do not know in Mp3tag if you have 0, 1 or 10 of them at the end of file [when not showing also extension]- so the issue of wasted space with them simply just not exists

Those spaces, if rarely, are only temporary; for copies of files
Go to the top of the page
 
+Quote Post
Florian
post Dec 6 2016, 14:15
Post #8


Developer


Group: Admin
Posts: 8106
Joined: 12-December 01
From: Germany, Dresden
Member No.: 203
Mp3tag Version: 2.85a



Thanks for reporting and the detailed explanation. I'll fix that with the next release.

Kind regards
– Florian


--------------------
♫ If you like using Mp3tag please donate to support further development.

Go to the top of the page
 
+Quote Post
Florian
post Dec 13 2016, 09:23
Post #9


Developer


Group: Admin
Posts: 8106
Joined: 12-December 01
From: Germany, Dresden
Member No.: 203
Mp3tag Version: 2.85a



The reported issue is now fixed with the current Development Build (Mp3tag v2.80b).

Thanks for reporting and the detailed explanation!

Kind regards
– Florian


--------------------
♫ If you like using Mp3tag please donate to support further development.

Go to the top of the page
 
+Quote Post
Zerow
post Jan 17 2017, 14:35
Post #10


Member


Group: Full Members
Posts: 703
Joined: 31-January 15
From: East of Eurolandia
Member No.: 20375
Mp3tag Version: 2.86



More on this issue: https://forums.mp3tag.de/index.php?s=&s...ost&p=94147
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd November 2017 - 11:56