IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [X] Comments in MTA
MasterKaster
post May 29 2016, 21:20
Post #1


Member


Group: Full Members
Posts: 25
Joined: 8-June 13
Member No.: 18023
Mp3tag Version: 2.77



It gives error when you use ";" for comments.

example.mta

CODE
; Remove totals from Track

[#0]
T=4
F=TRACK
1=\\/\\d+$
2=
3=0


This post has been edited by MasterKaster: May 29 2016, 21:21
Attached thumbnail(s)
Attached Image
 
Go to the top of the page
 
+Quote Post
ohrenkino
post May 29 2016, 21:37
Post #2


Member


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



ZITAT(MasterKaster @ May 29 2016, 22:20) *
It gives error when you use ";" for comments.

example.mta

QUELLTEXT
; Remove totals from Track

[#0]
T=4
F=TRACK
1=\\/\\d+$
2=
3=0

How did you get that comment into the file?
With the actions editor?


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
MasterKaster
post May 30 2016, 06:47
Post #3


Member


Group: Full Members
Posts: 25
Joined: 8-June 13
Member No.: 18023
Mp3tag Version: 2.77



Using Notepad.
MTA uses a syntax similar to INI files,
Since INI files support comments with semicolons, I assumed MTA would support too smile.gif

Maybe there should be a way to add comments in Actions Editor so we can add more info/details about commands without explaining everything in Filename itself

This post has been edited by MasterKaster: May 30 2016, 06:48
Go to the top of the page
 
+Quote Post
DetlevD
post May 30 2016, 09:28
Post #4


Member


Group: Full Members
Posts: 6486
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.82a



QUOTE (MasterKaster @ May 30 2016, 07:47) *
... MTA uses a syntax similar to INI files, Since INI files support comments with semicolons, I assumed MTA would support too ...

Regarding the filetype ".INI" Wikipedia says:
"Semicolon (;) at the beginning of the line indicate a comment. Comment lines are ignored." https://en.wikipedia.org/wiki/INI_file
Although a Mp3tag MTA textfile looks alike a standard INI textfile, it is not documented, that both filetypes are interchangeable.

QUOTE (MasterKaster @ May 30 2016, 07:47) *
... Maybe there should be a way to add comments in Actions Editor so we can add more info/details about commands without explaining everything in Filename itself

One tricky way to add comments into a Mp3tag MTA script file can be as following ...
Action "Format value".
Field: MY_MTA_COMMENT
Formatstring: $char(0)'here is a comment line'

DD.20160530.1032.CEST

This post has been edited by DetlevD: May 30 2016, 09:32


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
ohrenkino
post May 30 2016, 14:01
Post #5


Member


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



ZITAT(MasterKaster @ May 30 2016, 07:47) *
... I assumed MTA would support too smile.gif...

Don't you think it is a bit bold to label your faulty assumption to be a bug in MP3tag?
I can see no bug as you get properly working actions if you use mp3tag as editor.


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
MasterKaster
post Jun 2 2016, 16:29
Post #6


Member


Group: Full Members
Posts: 25
Joined: 8-June 13
Member No.: 18023
Mp3tag Version: 2.77



"Found a flaw in Mp3tag? Then this is the place to report it."

Yes INI looking file not supporting ; comments is a flaw

Not being able to comment on them is a flaw. Filenames are not enough to explain things, if you have multiple actions in single action group.

What if you have 50 actions in single group, can you explain everything you do in filename?

This post has been edited by MasterKaster: Jun 2 2016, 16:30
Go to the top of the page
 
+Quote Post
ohrenkino
post Jun 2 2016, 16:45
Post #7


Member


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



The is also the section
"General Discussion
If you speak english, give feedback on Mp3tag and suggest new features "

Looks like a request for a new feature to me ...


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
MasterKaster
post Jun 4 2016, 00:12
Post #8


Member


Group: Full Members
Posts: 25
Joined: 8-June 13
Member No.: 18023
Mp3tag Version: 2.77



Can someone move the thread?
Go to the top of the page
 
+Quote Post
DetlevD
post Jun 4 2016, 11:42
Post #9


Member


Group: Full Members
Posts: 6486
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.82a



QUOTE (MasterKaster @ Jun 2 2016, 17:29) *
... Yes INI looking file not supporting ; comments is a flaw. ...

Hmm, you are comparing the inner structure and behaviour of two file types ".INI" and ".MTA", and you demand that MTA files should have the same inner architecture as INI files and should behave like INI files.
Did you ever wonder why the Mp3tag developer has named a Mp3tag system filetype "MTA" and not "INI"? The precise answer is, because MTA is a different file type.
Furthermore there is no user related tool in Mp3tag to edit a MTA file in its textual raw state.
The user is only allowed to edit Mp3tag action groups by the dedicated user interface dialogs.
Therefore there is no need to hack into a MTA file and make changes on low level textual content.

Nevertheless it would be useful to have a MTA action "REM" or "Remark" or so by which someone can add comments as much as needed at any place into an action group.

DD.20160604.1242.CEST


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
MasterKaster
post Jun 5 2016, 20:02
Post #10


Member


Group: Full Members
Posts: 25
Joined: 8-June 13
Member No.: 18023
Mp3tag Version: 2.77



How dare one can make a resemblence of two file types! Heresy!

I didn't demand anything, you are just projecting. I requested.
You are not smart when you use fancy words like "textual raw state".
If you google that phrase, there isn't a single result for it smile.gif

Sometimes some files in some programs can use same architectures with different file extensions (I know it sounds crazy!)

This post has been edited by MasterKaster: Jun 5 2016, 20:10
Go to the top of the page
 
+Quote Post
ohrenkino
post Jun 5 2016, 21:04
Post #11


Member


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



ZITAT(MasterKaster @ Jun 5 2016, 21:02) *
...I didn't demand anything, you are just projecting. I requested....

No, you did not demand or at least this is the way it looked to me:

You opened a thread in the bugs section without any evidence that you have any faulty behaviour.
You assumed
ZITAT
Since INI files support comments with semicolons, I assumed MTA would support too

and you accused
ZITAT
Yes INI looking file not supporting ; comments is a flaw
Not being able to comment on them is a flaw.

And finally, you comment on the language in this forum
ZITAT
...not smart when you use fancy words...

This is not the style of forum. We try to focus on the problem and find solutions or explain why there are none.

The forum administrator (which is not me) has rated this bug report as "no bug".
Usually, this ends a bug report unless further evidence is added.


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
DetlevD
post Jun 6 2016, 08:51
Post #12


Member


Group: Full Members
Posts: 6486
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.82a



QUOTE (MasterKaster @ Jun 5 2016, 21:02) *
... You are not smart when you use fancy words like "textual raw state". If you google that phrase, there isn't a single result for it ...

Yes, you are right, a Google result for looking up "textual raw state" has "not a single result", ...
but there are about "108.000.000 results (1,57 seconds)", at least just a few seconds ago.

QUOTE (MasterKaster @ Jun 5 2016, 21:02) *
... Sometimes some files in some programs can use same architectures with different file extensions ...

Nevertheless Mp3tag today has not a built in user interface to edit a MTA file as raw text.
If you have a closer look into MTA files, then you can find out something more different to INI files, because Mp3tag stores some special characters in a special format.

DD.20160606.1005.CEST

This post has been edited by DetlevD: Jun 6 2016, 09:05


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
zerow
post Feb 6 2017, 11:27
Post #13


Member


Group: Full Members
Posts: 543
Joined: 31-January 15
Member No.: 20375
Mp3tag Version: 2.79



QUOTE (MasterKaster @ Jun 2 2016, 16:29) *
[...]
What if you have 50 actions in single group, can you explain everything you do in filename?
Start or end their names with a number, and keep a list in printed form near to monitor or put them in a TXT file accessible via a Tools > Tools shortcut. And in time you could incidentally memorize them

Of course every change could result in a possible clusterffff

QUOTE (MasterKaster @ Jun 5 2016, 20:02) *
[...]
You are not smart when you use fancy words like "textual raw state".
If you google that phrase, there isn't a single result for it smile.gif
[...]
And I got 1 result for
CODE
"textual raw state"
leading to this thread: https://forums.mp3tag.de/lofiversion/index.php?t21242.html

QUOTE (DetlevD @ Jun 6 2016, 08:51) *
Yes, you are right, a Google result for looking up "textual raw state" has "not a single result", ...
but there are about "108.000.000 results (1,57 seconds)", at least just a few seconds ago.
[...]
And I got about 33 700 000 results in 0.91 seconds for
CODE
textual raw state

And why I was robbed of the 74 300 000 missing results?
[Sorry. I just could not resists]

This post has been edited by zerow: Feb 6 2017, 13:16
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: 27th June 2017 - 01:09