INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Missing Dates  (Read 4198 times)

MusicMon

  • Junior Woodchuck
  • **
  • Posts: 93
Missing Dates
« on: May 03, 2010, 06:43:05 pm »

I had tagged all my flac files with the release date using mj12. I just downloaded mj14.164, created a new database and imported the files. I noticed that most flac file are missing the date information. The information seems to be there but mj14 can't read it. How can I fix this? TIA
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9124
Re: Missing Dates
« Reply #1 on: May 04, 2010, 03:34:55 am »

If you created a new field in MJ12 to hold this release date information, then you will first need to create that field again in MJ14, using exactly the same field name as used in MJ12.

Once you have done that, select all files, right click, library tools, update library from tags.

So long as the info is stored in the files themselves, this should pull it all into your MJ14 database.

-marko

MusicMon

  • Junior Woodchuck
  • **
  • Posts: 93
Re: Missing Dates
« Reply #2 on: May 05, 2010, 03:09:02 pm »

Marko

I did not create any new field. I am using the existing date field. mj14 correctly shows the data in date field for mp3 files. The problem is that it does not show the data in date field of flac files. Again the situation is that I stored the release date for  my music (flac & mp3) in field "Date" using mj12. Mj14 correctly shows the data for field "Date" for mp3 files and does not show the data for field "Date" for flac files.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Missing Dates
« Reply #3 on: May 05, 2010, 04:15:57 pm »

The FLAC Date tag format was fixed to be more compatible with other applications during the MC13 development cycle:

Quote
13.0.99 (12/29/2008)

... 10. Fixed date handling in the FLAC input plugin. The DATE tag is 4 digit year. Added JR_DATE hi-res date tag. Syncs DATE to JR_DATE on WRITE.

Back then the changed FLAC input plugin was designed to be backwards compatible and was able to read the old "year/01/01" file tags (2010/01/01, 2009/01/01, 2008/01/01, etc).

Unfortunately it seems that the compatibility code has been broken or forgotten for some time. This problem exists in MJ14, MC14 and MC15.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Missing Dates
« Reply #4 on: May 05, 2010, 05:09:57 pm »

I searched the old change logs. The last FLAC tagging changes were in MC14.0.50:

Quote
14.0.50 (08/13/2009)

... 7. Changed: Write flac and mp3 replaygain_track_gain to 2 digits of decimal precision and replaygain_track_peak to 6 digits of decimal precision. Add plus sign to replaygain_track_gain when the value is positive.


14.0.46 (08/05/2009)

... 12. Fixed: Write standard flac track replay gain and track peak flags. Remove JRiver specific tags when writing the new tags.
15. Changed: Vorbis DATE flags in flac files take precedence on reading when the year is different from the higher precision JR_DATE. On writing if the date to be written falls on a year boundry, only the Vorbis DATE tag is written, otherwise both are written.


13.0.104 (01/08/2009)

...7. Fixed: Flac input plugin was adding 6db to replay gain tag when writing the tags. Reverted to previous behavior. To correct the bad tags, do "update tags from library"

I found the old MC14.0.50 installer from my "archive of old stuff that needs to be cleaned some day" and tried it. It couldn't read a year value that was tagged with MJ12.

The last MC13 build, 13.0.172, can read the old tag and save it in the new format.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

MusicMon

  • Junior Woodchuck
  • **
  • Posts: 93
Re: Missing Dates
« Reply #5 on: May 05, 2010, 11:49:11 pm »

Alex

Thanks for your reply. How do I re-save the date tags with mc13?
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Missing Dates
« Reply #6 on: May 06, 2010, 03:09:33 am »

You can search for all FLAC files (type filetype=FLAC in the search), select all, and do Tools > Library Tools > Update Tags (from library). The same command is also available in the right-click menu.

Alternatively you can create a library backup file in MJ12 and restore the library in MJ14 (File > Library > Back Up Library... / Restore Library...). After that you can save the tags in the new format from the library with MJ14.

The latter procedure would also restore your playlists and most of the customized views you may have (some view settings have changed and thus not everything can be carried over).

EDIT

If you want to use MC13, it is available here: http://yabb.jriver.com/interact/index.php?topic=10029.msg59949#msg59949. You should be able to run it in the trial mode if you have not installed it previously.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13820
Re: Missing Dates
« Reply #7 on: May 06, 2010, 03:45:02 pm »

I'll look at this as soon as I get a chance. Thanks...
Logged

MusicMon

  • Junior Woodchuck
  • **
  • Posts: 93
Re: Missing Dates
« Reply #8 on: May 10, 2010, 11:44:34 am »

thanks Alex, I took the updating tag route. MJ gave me an error that there were 119 errors but it does not provide details? is there a log file somewhere that would contain the detail information?
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Missing Dates
« Reply #9 on: June 25, 2010, 02:24:07 am »

The FLAC Date tag format was fixed to be more compatible with other applications during the MC13 development cycle:

"13.0.99 (12/29/2008) ... 10. Fixed date handling in the FLAC input plugin. The DATE tag is 4 digit year. Added JR_DATE hi-res date tag. Syncs DATE to JR_DATE on WRITE."

Back then the changed FLAC input plugin was designed to be backwards compatible and was able to read the old "year/01/01" file tags (2010/01/01, 2009/01/01, 2008/01/01, etc).

Unfortunately it seems that the compatibility code has been broken or forgotten for some time. This problem exists in MJ14, MC14 and MC15.

I'll look at this as soon as I get a chance. Thanks...

Bump.


Here is my reply to another similar report (http://yabb.jriver.com/interact/index.php?topic=58367):

MC uses the year value as a part of the actually functional internal date stamp. In MC it isn't just a string of any numbers or other characters.

The tag value in your file is 1998 08.

MC expects to see a plain year value. 1998 would work.

Ideally MC should read the first four digits, use them if they produce a valid year value and ignore any possibly existing subsequent characters in the value string.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13820
Re: Missing Dates
« Reply #10 on: June 29, 2010, 04:05:35 pm »

The next release of 15 will truncate the vorbis DATE at 4 chars.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Missing Dates
« Reply #11 on: July 05, 2010, 01:39:40 pm »

Thanks Bob.

It would be nice if you could add the fix also to MJ14. This is a bug that affects the old MJ12 users. Also, it would be good to release a "final" MJ14 build that would not have the timeout.

Of course, if you are planning to start MJ15 development in the near future the situation may be different.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13820
Re: Missing Dates
« Reply #12 on: July 16, 2010, 11:05:41 am »

Thanks Bob.
It would be nice if you could add the fix also to MJ14. This is a bug that affects the old MJ12 users. Also, it would be good to release a "final" MJ14 build that would not have the timeout.
Fixed the date and removed the timeout in MJ14.
Logged
Pages: [1]   Go Up