Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
troubleshooting incorrect date values problem
23-07-2016, 10:28 (This post was last modified: 23-07-2016 10:28 by simoncn.)
Post: #11
RE: troubleshooting incorrect date values problem
From the ID3v2.3 specification:

TDAT
The 'Date' frame is a numeric string in the DDMM format containing the date for the recording. This field is always four characters long.

TYER
The 'Year' frame is a numeric string with a year of the recording. This frames is always four characters long (until the year 10000).
Find all posts by this user
Quote this message in a reply
13-11-2017, 02:43
Post: #12
RE: troubleshooting incorrect date values problem
Hi. I am having the same problem with date-related log errors for many hundreds of files with dates formatted YYYY-DD-MM. I am not a programmer, just a humble MinimServer user for my music. So here are my questions (and thanks in advance for any help you can offer).

First, is there a relatively simple way to reformat the dates that an untrained but generally computer-literate person might be able to do? If so, can it be done as a batch or does one have to edit each file individually? And what would you consider the easiest tag-editing program for a layperson to use either on Mac OS or on Windows 7 Pro?

And second, given that I don't much care about indexing my music collection by the Date field, is there a way to tell MinimServer to ignore that field when scanning and running a log? Is that potentially an easier fix?

Thanks again.

-Howard
Find all posts by this user
Quote this message in a reply
13-11-2017, 11:31
Post: #13
RE: troubleshooting incorrect date values problem
In aswer to your second question, you can set the aliasTags property to Date:nil and this will ignore all Date tags.
Find all posts by this user
Quote this message in a reply
13-11-2017, 11:54 (This post was last modified: 13-11-2017 11:54 by paultaylor.)
Post: #14
RE: troubleshooting incorrect date values problem
(13-11-2017 02:43)hsimon46 Wrote:  First, is there a relatively simple way to reformat the dates that an untrained but generally computer-literate person might be able to do? If so, can it be done as a batch or does one have to edit each file individually? And what would you consider the easiest tag-editing program for a layperson to use either on Mac OS or on Windows 7 Pro?
Hi, you can only display the year part by setting tagOptions:Date.yearOnly.index.

I have written more detail about using dates with MinimServer at http://blog.jthink.net/2017/05/minimserv...art-8.html
Visit this user's website Find all posts by this user
Quote this message in a reply
13-11-2017, 12:01 (This post was last modified: 13-11-2017 12:02 by simoncn.)
Post: #15
RE: troubleshooting incorrect date values problem
The Date.yearOnly option does not prevent warning messages about incorrect date values (YYYY-DD-MM instead of YYYY-MM-DD).
Find all posts by this user
Quote this message in a reply
13-11-2017, 12:35
Post: #16
RE: troubleshooting incorrect date values problem
(13-11-2017 12:01)simoncn Wrote:  The Date.yearOnly option does not prevent warning messages about incorrect date values (YYYY-DD-MM instead of YYYY-MM-DD).

Oops, sorry misread that.
Visit this user's website Find all posts by this user
Quote this message in a reply
13-11-2017, 13:08 (This post was last modified: 14-11-2017 11:28 by simoncn.)
Post: #17
RE: troubleshooting incorrect date values problem
There is another way to handle this situation. You could do the following:

1) Set aliasTags to Date:DateTag (or any other name of your choosing instead of DateTag)

2) In indexTags, replace Date by DateTag:Date

3) In tagOptions, set DateTag.yearOnly.index

This should give you a "year only" index named Date without checking that your dates are formatted correctly.

By doing this, you are treating all Date tags as if they were named DateTag. There is no checking for DateTag, so you don't get the warning messages.
Find all posts by this user
Quote this message in a reply
13-11-2017, 23:37 (This post was last modified: 14-11-2017 11:28 by simoncn.)
Post: #18
RE: troubleshooting incorrect date values problem
(13-11-2017 13:08)simoncn Wrote:  There is another way to handle this situation. You could do the following:

1) Set aliasTags to Date:DateTag (or any other name of your choosing instead of DateTag)

2) In indexTags, replace Date by DateTag:Date

3) In tagOptions, set DateTag.yearOnly.index

This should give you a "year only" index named Date without checking that your dates are formatted correctly.

By doing this, you are treating all Date tags as if they were named DateTag. There is no checking for DateTag, so you don't get the warning messages.
Find all posts by this user
Quote this message in a reply
13-11-2017, 23:38
Post: #19
RE: troubleshooting incorrect date values problem
Thanks -- I'll give this a try.

-Howard
Find all posts by this user
Quote this message in a reply
14-11-2017, 05:58
Post: #20
RE: troubleshooting incorrect date values problem
Hi. I tried doing as you instructed, but the MinimWatch tray icon turned red. When I put the cursor over the red icon, the following error message came up: "Syntax error for 'DateTag:yearOnly' in property Tag Options." Please advise. Thanks, Simon.

-Howard
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)