INTERACT FORUM

Please login or register.

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

Author Topic: Auto-Import Bug (was File conversion from Linux to Windows)  (Read 2849 times)

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Auto-Import Bug (was File conversion from Linux to Windows)
« on: February 05, 2013, 01:53:06 pm »

Does anyone know of a good Windows software program to convert between Mac/Linux/Windows file formats (i.e. carriage return and line feeds) ?

Not something that will do will one instance, but rather something that will go through a whole library (folder and its subfolders) and do ALL of them.

(I'm posting in this thread not only because it is more likely that readers of this thread might know, but also because it will become relevant when people are going back and forth between OSes.  In this case, the reason is because MC18 processes CUE files incorrectly unless they are in Windows format - which is reasonable.)

Thanks !

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72536
  • Where did I put my teeth?
Re: File conversion from Linux to Windows
« Reply #1 on: February 05, 2013, 01:58:24 pm »

FTP usually can do that.  A binary transfer makes no change.  An ASCII transfer strips carriage returns when moving files from Windows to Linux and adds them in the other direction.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: File conversion from Linux to Windows
« Reply #2 on: February 05, 2013, 02:06:53 pm »

In this case, the reason is because MC18 processes CUE files incorrectly unless they are in Windows format - which is reasonable.

Are you sure?

Looking at the code, it looks like we're agnostic to line endings in CUE files.
Logged
Matt Ashland, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: File conversion from Linux to Windows
« Reply #3 on: February 05, 2013, 02:11:51 pm »

Search unix2dos or dos2unix.

But please follow-up with Matt's question first, as he'll do you right.
Logged
The opinions I express represent my own folly.

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: File conversion from Linux to Windows
« Reply #4 on: February 05, 2013, 02:29:32 pm »

Are you sure?

Looking at the code, it looks like we're agnostic to line endings in CUE files.
It might be a coincidence and might not be related to line endings.

Here was the sequence:

Folder has FLAC files (fully tagged) with Album tagged "Blah" and CUE file with Title (the cue file nomenclature for Album) as "Blah and other info".   CUE file does not have Windows format line endings.

Auto-import creates an Album called "Blah" with all the tracks except the last one, and an Album called "Blah and other info" that only has the last track.

I deleted both Albums from Library, converted the CUE file to Windows format, and ran Auto-Import and this time it only created one Album called "Blah" with all tracks.

So, I assumed it was related to line endings.

But actually I reported a similar problem in the italicized portion of the first post in:

http://yabb.jriver.com/interact/index.php?topic=77628.0

In that case, I assumed that the amateur CUE generating program that I was using was creating some sort of improper CUE file syntax (hence the Subject of the post).

But since this CUE file is generated by a widely used CUE generating program (XLD), then maybe there is a bug in MC18.

BTW, the linked thread has other users reporting bugs with CUE support, and in the last few days, there have been several people reporting improper playback when the tracks are played back from CUE file information.

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: File conversion from Linux to Windows
« Reply #5 on: February 05, 2013, 03:49:31 pm »

Do you have that original CUE file, and can you share it?
Logged
The opinions I express represent my own folly.

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: File conversion from Linux to Windows
« Reply #6 on: February 05, 2013, 04:10:38 pm »

Do you have that original CUE file, and can you share it?
I checked and there a variety of CUE files that do this.

"This" = overwrite only the library tags of the last track.  My theory is that all CUE files always overwrite only the libray tags of the last track, and there is usually no "problem" because the "Title" in the CUE file is normally the same info as the "Album" tag in the FLAC file, and so forth.

Here is one of those amateur CUE software generated files - the information is taken from the filepath structure in an incorrect way.   In order to reduce the volume of this problem, I deleted most of these generated CUE files, but I missed this one:

PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
TITLE "CD 1"
FILE "01 Vollenweider, Andreas - Behind the Gardens - Behind the Wall - Under the Tree.flac" WAVE
  TRACK 01 AUDIO
    TITLE "01 Vollenweider, Andreas - Behind the Gardens - Behind the Wall - Under the Tree.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "02 Vollenweider, Andreas - Pyramid - In the Wood - In the Bright Light.flac" WAVE
  TRACK 02 AUDIO
    TITLE "02 Vollenweider, Andreas - Pyramid - In the Wood - In the Bright Light.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "03 Vollenweider, Andreas - Micro-Macro.flac" WAVE
  TRACK 03 AUDIO
    TITLE "03 Vollenweider, Andreas - Micro-Macro.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "04 Vollenweider, Andreas - Skin And Skin.flac" WAVE
  TRACK 04 AUDIO
    TITLE "04 Vollenweider, Andreas - Skin And Skin.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "05 Vollenweider, Andreas - Moonlight, Wrapped Around Us.flac" WAVE
  TRACK 05 AUDIO
    TITLE "05 Vollenweider, Andreas - Moonlight, Wrapped Around Us.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "06 Vollenweider, Andreas - Lion And Sheep.flac" WAVE
  TRACK 06 AUDIO
    TITLE "06 Vollenweider, Andreas - Lion And Sheep.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "07 Vollenweider, Andreas - Sunday-.flac" WAVE
  TRACK 07 AUDIO
    TITLE "07 Vollenweider, Andreas - Sunday-.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "08 Vollenweider, Andreas - -Afternoon.flac" WAVE
  TRACK 08 AUDIO
    TITLE "08 Vollenweider, Andreas - -Afternoon.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "09 Vollenweider, Andreas - Hands And Clouds.flac" WAVE
  TRACK 09 AUDIO
    TITLE "09 Vollenweider, Andreas - Hands And Clouds.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "10 Vollenweider, Andreas - Caverna Magica.flac" WAVE
  TRACK 10 AUDIO
    TITLE "10 Vollenweider, Andreas - Caverna Magica.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "11 Vollenweider, Andreas - Mandragora.flac" WAVE
  TRACK 11 AUDIO
    TITLE "11 Vollenweider, Andreas - Mandragora.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "12 Vollenweider, Andreas - Lunar Pond.flac" WAVE
  TRACK 12 AUDIO
    TITLE "12 Vollenweider, Andreas - Lunar Pond.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "13 Vollenweider, Andreas - Schajah Saretosh.flac" WAVE
  TRACK 13 AUDIO
    TITLE "13 Vollenweider, Andreas - Schajah Saretosh.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "14 Vollenweider, Andreas - Sena Stanjena.flac" WAVE
  TRACK 14 AUDIO
    TITLE "14 Vollenweider, Andreas - Sena Stanjena.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "15 Vollenweider, Andreas - Belladonna.flac" WAVE
  TRACK 15 AUDIO
    TITLE "15 Vollenweider, Andreas - Belladonna.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "16 Vollenweider, Andreas - Angóh!.flac" WAVE
  TRACK 16 AUDIO
    TITLE "16 Vollenweider, Andreas - Angóh!.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "17 Vollenweider, Andreas - Huiziopochtli.flac" WAVE
  TRACK 17 AUDIO
    TITLE "17 Vollenweider, Andreas - Huiziopochtli.flac"
    PERFORMER "ANDREAS VOLLENWEIDER - THE TRILOGY 2CD [flac-8]"
    INDEX 01 00:00:00
FILE "18 Vollenweider, Andreas - Con Chiglia.flac" WAVE
  TRACK 18 AUDIO
    TITLE "18 Vollenweider, Andreas - Con Chiglia.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "19 Vollenweider, Andreas - Geastrum Coronatum.flac" WAVE
  TRACK 19 AUDIO
    TITLE "19 Vollenweider, Andreas - Geastrum Coronatum.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00
FILE "20 Vollenweider, Andreas - La Paix Verde.flac" WAVE
  TRACK 20 AUDIO
    TITLE "20 Vollenweider, Andreas - La Paix Verde.flac"
    PERFORMER "Andreas Vollenweider - The Trilogy [FLAC]"
    INDEX 01 00:00:00

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: File conversion from Linux to Windows
« Reply #7 on: February 05, 2013, 04:11:56 pm »

Hmmm, that's not the file, but the forum's interpretation of the file after it has gone through Windows clipboard.  No good.

The actual binary data needs to be looked at.
Logged
The opinions I express represent my own folly.

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: File conversion from Linux to Windows
« Reply #8 on: February 05, 2013, 04:13:25 pm »

Is the importing of CUE files still done by code that is written by a third-party outside of JRiver ?

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Auto-Import Bug (was File conversion from Linux to Windows)
« Reply #9 on: February 07, 2013, 12:30:18 am »

I have confirmed that the problem has nothing to do with line endings.

I have confirmed that there is a BUG in the Auto-Import process, probably with CUE files.

I cleared my library and then did an Auto-Import, and this time the CUE file - which now has Windows line endings - still caused only the highest numbered track to have its tags overridden by the CUE file, while the rest of the tracks had their tags read from the FLAC file tag data.

I then deleted both "Album"s from the Library and did a File Explorer context menu MediaCenter->Import on the folder, and this time all the tag information was from the FLAC file tag data.

So, it was the process:

* Delete from Library
* Manual Import

that corrected the problem, not the changing of the line endings.

So, this should be relatively straightforward to find:

* Occurs in Auto-Import after Clear Library
* Does not occur in Manual Import
* Uses FLAC file tag data for all tracks, except
* Uses CUE file tag data only for highest numbered ("last") track

Thanks !

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: Auto-Import Bug (was File conversion from Linux to Windows)
« Reply #10 on: February 07, 2013, 02:26:54 pm »

Is this still true ??:

1.

MC does not support cue sheets that point to separate track files.

It might explain things - MC could be only taking the final filename, rather than ignoring the cue file altogether.
Pages: [1]   Go Up