Request for updating incorrect cue files (bug?)

Issue #48 new
Robert Christiaanse created an issue

Hi,

I am using your plugin and it works great. However, it seems impossible to update (some of the) incorrect values in a cue file.

Let's say my cue file looks like this:

FILE "The Police - Every Breath You Take-The Classics.dts" WAVE
  TRACK 01 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 01:00:00
  TRACK 03 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 02:00:00
  TRACK 04 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 03:00:00
  TRACK 05 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 04:00:00
  TRACK 06 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 05:00:00
  TRACK 07 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 06:00:00
  TRACK 08 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 07:00:00
  TRACK 09 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 08:00:00
  TRACK 10 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 09:00:00
  TRACK 11 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 10:00:00
  TRACK 12 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 11:00:00
  TRACK 13 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 12:00:00
  TRACK 14 AUDIO
    TITLE "Unknown"
    PERFORMER "Unknown"
    INDEX 01 13:00:00

Why would my cue file look like this in the first place? 

I created it manually. I grabbed the DTS track from a blu-ray I own, which I want to play in FooBar. I know there are 14 tracks, so this is what it looks like. I open the file in FooBar and it plays perfectly fine (with the incorrect playing times).

Now I can update it with the plugin (menu Taggings/Discogs/Write Tags...). See the screenshot:    

The first thing we notice is the message "FAILED TO MATCH TRACK ORDER". This message should read something else. The track order does match and is correct. This is a minor bug (if you would even call it a bug).

After writing the tags the file looks like this:

REM GENRE Rock
REM DATE 1995
PERFORMER "The Police"
TITLE "Every Breath You Take (The Classics)"
FILE "The Police - Every Breath You Take-The Classics.dts" WAVE
  TRACK 01 AUDIO
    TITLE "Roxanne"
    PERFORMER "The Police"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Can't Stand Losing You"
    PERFORMER "The Police"
    INDEX 01 01:00:00
  TRACK 03 AUDIO
    TITLE "Message In A Bottle"
    PERFORMER "The Police"
    INDEX 01 02:00:00
  TRACK 04 AUDIO
    TITLE "Walking On The Moon"
    PERFORMER "The Police"
    INDEX 01 03:00:00
  TRACK 05 AUDIO
    TITLE "Don't Stand So Close To Me"
    PERFORMER "The Police"
    INDEX 01 04:00:00
  TRACK 06 AUDIO
    TITLE "De Do Do Do, De Da Da Da"
    PERFORMER "The Police"
    INDEX 01 05:00:00
  TRACK 07 AUDIO
    TITLE "Every Little Thing She Does Is Magic"
    PERFORMER "The Police"
    INDEX 01 06:00:00
  TRACK 08 AUDIO
    TITLE "Invisible Sun"
    PERFORMER "The Police"
    INDEX 01 07:00:00
  TRACK 09 AUDIO
    TITLE "Spirits In The Material World"
    PERFORMER "The Police"
    INDEX 01 08:00:00
  TRACK 10 AUDIO
    TITLE "Every Breath You Take"
    PERFORMER "The Police"
    INDEX 01 09:00:00
  TRACK 11 AUDIO
    TITLE "King Of Pain"
    PERFORMER "The Police"
    INDEX 01 10:00:00
  TRACK 12 AUDIO
    TITLE "Wrapped Around Your Finger"
    PERFORMER "The Police"
    INDEX 01 11:00:00
  TRACK 13 AUDIO
    TITLE "Don't Stand So Close To Me '86"
    PERFORMER "The Police"
    INDEX 01 12:00:00
  TRACK 14 AUDIO
    TITLE "Message In A Bottle (New Classic Rock Mix)"
    PERFORMER "The Police"
    INDEX 01 13:00:00

That's absolutely great, but the durations of the tracks have not been updated, That's a pitty. Can you add this as a feature? Maybe with a checkbox "Overwrite track durations" or something?

It would be even better if you can update a cue file based on all the information retrieved from Discogs, overwriting everything.

In that case a valid cue file looking like this would be sufficent to use the current feature:

FILE "The Police - Every Breath You Take-The Classics.dts" WAVE
  TRACK 01 AUDIO
    TITLE "Unknown"
    INDEX 01 00:00:00

Or what about adding a feauture to create a cue file in Foobar, without the need for an existing cue file at all?  Just search for an album by title or Discogs Catalog ID and have it created. Maybe something for a future release?

You would make a lot of people happy. Not only people who rip tracks of their Blu-ray’s or DVD’s, but also many people who make digital copies of their old lp's.     

I would like to take the opportunity to thank you for creating a fantastic plugin.

Note: I first placed this message on the hydrogenaud.io forum by mistake.(https://hydrogenaud.io/index.php?topic=119096).

Comments (0)

  1. Log in to comment