Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: CUETools versions 1.9.5 through 2.1.6 (Read 1925329 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #675
CUEtools 2.0.4a.
APE encoding profiles are "shifted": fast says "Exception: Invalid compression mode", "normal" setting actually produces fast, high - normal, extra high - high, insane - extra high.

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #676
I've run into a bug when generating a cue sheet from a set of flac files.

I'm working off a Samba 3.0.x share mounted as a drive. When I generate a cue sheet on this share, the files appear out of order in the cue sheet I have to sort it manually. This problem does not occur on a local hard drive.

I've traced the problem to the ScanFolder method in the CUESheet class in CUETools.processor\Processor.cs. This method relies on the files parameter to be a sorted IEnumerable. However, the System.IO.DirectoryInfo.GetFileSystemInfos() method used to generated this IEnumerable does not guarantee sorting. This means ScanFolder needs to sort the files first.

The following fixes the problem for me:

Code: [Select]
diff --git a/CUETools.Processor/Processor.cs b/CUETools.Processor/Processor.cs
index 6b91342..54ce9c4 100644
--- a/CUETools.Processor/Processor.cs
+++ b/CUETools.Processor/Processor.cs
@@ -4847,6 +4847,18 @@ return processor.Go();
  }
  }
 
+ public static int CompareFileSystemInfo(FileSystemInfo x, FileSystemInfo y)
+ {
+ return x.Name.CompareTo(y.Name);
+ }
+
+ public static IEnumerable<FileSystemInfo> SortFiles(IEnumerable<FileSystemInfo> files)
+ {
+ List<FileSystemInfo> sortedFiles = new List<FileSystemInfo>(files);
+ sortedFiles.Sort(CompareFileSystemInfo);
+ return sortedFiles;
+ }
+
  public static List<FileGroupInfo> ScanFolder(CUEConfig _config, string path)
  {
  DirectoryInfo dir = new DirectoryInfo(path);
@@ -4856,6 +4868,7 @@ return processor.Go();
  public static List<FileGroupInfo> ScanFolder(CUEConfig _config, IEnumerable<FileSystemInfo> files)
  {
  List<FileGroupInfo> fileGroups = new List<FileGroupInfo>();
+ files = SortFiles(files);
  foreach (FileSystemInfo file in files)
  {
  if ((file.Attributes & FileAttributes.Hidden) != 0)

This problem also showed up in the Folder browser and Multiselect browser, and this change fixes those also.

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #677
Thanks for the great program, It has saved lots of time for me!
Would you consider adding HDCD checking functionallity via the HDCD software decoder? Would be usefull for silent HDCDs like Mahavishnu Orchestra - The Lost Trident Sessions and titles with no peak extension.
Here's the location of the HDCD software decoder/excutable/API http://www.srcf.ucam.org/~cjk32/hdcd/

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #678
APE encoding profiles are "shifted"

Thank you.

This problem also showed up in the Folder browser and Multiselect browser, and this change fixes those also.

Thanks a lot for the patch.

Would you consider adding HDCD checking functionallity via the HDCD software decoder?

It's already there, since 1.9.5 or even earlier.
CUETools 2.1.6

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #679
& the foobar type variables are unknown to me so I settled on CUETOOLS 2.01.
-Are there any drawbacks to using v 2.01, reliability / Format Wise?
Also, Can I Define a PROXY somewhere so I can use it with a proxy from a non internet connected PC?

Foobar-type variables are documented here: http://www.cuetools.net/doku.php/cuetools:template
2.0.1 mostly differs in GUI, so for now it is perfectly usable if it suits you.
Proxies are not supported at the moment, sorry

As every change in GUI requested by some users is often disappointing for others,
would be nice if we have alternative GUI's available.
If you are familiar with C#, you are welcome to contribute your version of GUI to the project.
CUETools 2.1.6

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #680
Would you consider adding HDCD checking functionallity via the HDCD software decoder?

It's already there, since 1.9.5 or even earlier.

So it does! I was using a quite ancient version...
I have a request still, under hdcd options, ignore if peak extend if unemployed.

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #681
I have many rips that have correct cues but the log files don't contain the gap information, so I'm wondering...

Is possibile to copy "pregap" lengths from noncompliant cue to EAC log txt-file using CUETools or some other tool?

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #682
Gregory S. Chudov, i tried to verify rip (CueTools 2.0.4) via command:
i.e.
Quote
"d:\Progs\CUETools\CUETools.exe" /verify "e:\Music\Anata\2006 - The Conductor's Departure\Anata - 2006 - The Conductors Departure.cue"
and i get such error:
Quote
Processing e:\Music\Anata\2006 - The Conductor's Departure\Anata - 2006 - The Conductors Departure.cue:
Error: Object reference not set to an instance of an object.
----------------------------------------------------------

AFAIR, this thing was working on the previous versions.

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #683
great program, in 2.04a version, I think I found a small bug, when generating one WAV file (From Flacs), and use %C as filename, instead of giving the disc name it makes a: "%C.WAV" file (works fine but it's not what intended...)


CUETools versions 1.9.5 through 2.1.5 (current)

Reply #685
@Gregory First of all thank you for working on and developing CueTools as it's functionality is something which is really missing amongst the presently available audio tools.   

As a suggestion would it be an idea to start a new thread? This one is becoming very (to) long and and even a little out of scope since I am trying v2.0.4a. Besides I did not find a way to search effectively within the dozen of pages... So if this has already been asked / discussed please excuse me.

It would be a nice additional feature to have the replay gain tags calculated and added upon encoding (in flac at least). Would that be possible without to much work? Do you plan it?

Thanks again for the good work!! 

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #686
Would it be possible to change the "search pattern" for the log and cue files?

My cue files are names as something like "cuesheet.txt" and logs as "EACLog.txt". I'd like to see an option to set  "log filename" and "cuesheet filename" to these filenames, instead of changing my filenames.

-kerpondile

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #687
i'd like to request a simple new feature --

when you're in something like folder browse mode, and you click on a file/dir that already has an accurip file in it, could you display the existing one in the output window? a lot of times it will say one already exists, do you want to overwrite it.. then i'm like hmm... then i have to go out to explorer and look at that accurip file and see what it says so i can compare to the re-test.

just would make things a lot more simple, i think.

 

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #688
@Chinch

This would be the "Deluxe" Solution but maybe a simplier one (to implement) would be an optional renaming of the newly created .accurip file, say a sort of [%unique%] option, instead of having only the option to overwrite it or to cancel the action...

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #689
@Chinch

This would be the "Deluxe" Solution but maybe a simplier one (to implement) would be an optional renaming of the newly created .accurip file, say a sort of [%unique%] option, instead of having only the option to overwrite it or to cancel the action...


yeah.... and/or both. i mean as far as programming goes.. command to check if the file exists..  if it does, load it into the textbox, and maybe ask if we want to regen it... then pop up a dialog that gives options such as...
[create new]  [overwrite existing]  [do not regen]

just an idea. or as you said.. add maybe some foobar tags to append like a date/time or make the filename++ to they're sequentially numbered.

the main 'problem' i was trying to address was that i wanted to view the file in the log window if one exists in the dir already... that way i can look at it, then decide if i want to regen/refresh the results, or use it as a reference to see
if the numbers change any after the second check... then your idea could also be implemented as well.. since they're not mutually exclusive by any means

this way i don't hit GO then it says one exists already, overwrite or not... then i go ah crap... then i gotta open explorer, navigate 4-5 directory levels, find the file and open it to view the old file before i regenerate a new one, then going oh yeah,
i did this way back in january, or oh wait, i just did this one last night... that sort of thing.

as said.. i think as far as the amount/complexity of code  to accomplish this small task is only a few lines of code, but would make the program much more useful.
come to think of it... it's open source.. so technically i could probably just make the customizations myself... he has already done the hard part of the code.. the rest is just customizations and optimizations.

i wonder if sir chudov the great is still working on CUEtools.. haven't seen a release in a bit.. but last i saw he had a few side projects.. including a lot of flake optimizations.. and even experimenting with using CUDA in encoding FLAC... his project "flacuda". very interesting, and looks like he's making some progress there. lucky for me, I have a CUDA supported card, so I'll give it a try when I can, just to see the potential if nothing else...

i'd love to see full multicore support in more programs these days... especially encoding/analysis ones, where encoding time is a big problem still... be it audio or video. dual core is pretty much standard these days, and people like me who have Intel i7's... that's 4 cores, plus hyperthreading, so a total of 8 virtual processors. then chudov is doing things further by using CUDA... i imagine a program coded to utilize 64-bit w/ multiple cores paired with CUDA support... it would have to scream.

i'm no master of it all, but i say if you've got the power.. use it.

(btw, for anyone who doesn't know what CUDA is.. it's basically an technology developed by Nvidia that allows you to use your graphics card processor(s) to handle tasks as the CPU would.. except graphics cards have capabilities of running a ton of threads in parallel)

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #690
I apologize if this was already spoken about and I didn't find it but how can I embed cue sheet into flac file without re-encoding it? Usually I use foobar for this but lately some certain flac and cue files seem to make foobar process them incorrectly. Thanks.

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #691
I apologize if this was already spoken about and I didn't find it but how can I embed cue sheet into flac file without re-encoding it? Usually I use foobar for this but lately some certain flac and cue files seem to make foobar process them incorrectly. Thanks.


that's normally how i do it, through foobar2000. if you want to re-add or update a cue sheet, you can right click on a track after loading a FLAC file with an embedded cue, then go Utils -> Edit Cue sheet... I would uncheck the "Allow embedded cue sheet" and click OK to remove the old one, or simply reload with the new one.

i am willing to bet your problem with foobar is that the cue sheets keep changing from what you originally put in the box, right? If this is what you are experiencing, the problem lies in the tags of the files. For whatever reason, foobar updates the CUE info based on TAG info, not the other way around. So if you go into the Properties/Tag screen, you need to change the values you want there, which will update the embedded CUE sheet... otherwise it will keep overwriting any changes you make to the CUE itself.

for instance, if you go in to edit the embedded cue and change the TRACK line from "somthing" to "something", hit OK, then go back into the cue.. it'll be back at "somthing"! once you edit the tag to reflect the name, it'll automatically change the CUE file for you... so just remember that -> Tag data overrides embedded CUE data ... at least as of the current version.

hope that helps you with the problem. i ran into this same issue and it confused the heck out of me cause i couldn't figure out why it wasn't updating properly, until I happened to randomly realize that the Tags were still wrong after a CUE update and put 2 and 2 together.

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #692
looks very cool, there's a bit of a UI bug that i've come across. if your dpi is set at anything other than 100% it appears that you're unable to resize windows to see all the UI options... i'm unable to change the size of the program to see what I might be missing...

see my picture:


in any event, i'm glad i found this as i'm hoping that i can use this to clean up some old .ape+.cue files to be single-track flac albums (not sure how many devices / players support embedded flac cues, so if i should change my strategy please reply or pm me w/ a link).

Guinness for strength!

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #693
Chinch
The problem with foobar I am talking about is that when you select an empty(i meant without tags) .flac file(which is a whole album) and trying to add a cue sheet from Utils -> Edit cue sheet menu. On Edit cue sheet screen I load external cue file and it's content is displayed in that window. When I press OK, cue sheet embeds into file. But When I open that file with foobar again it has all tracks with the same name! And this name is(what is strange btw) the title of the 2nd track from the external cue.
Using CUETools with re-encoding solved a problem but it is quite a time to wait. Suggestions?

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #694
Chinch
The problem with foobar I am talking about is that when you select an empty(i meant without tags) .flac file(which is a whole album) and trying to add a cue sheet from Utils -> Edit cue sheet menu. On Edit cue sheet screen I load external cue file and it's content is displayed in that window. When I press OK, cue sheet embeds into file. But When I open that file with foobar again it has all tracks with the same name! And this name is(what is strange btw) the title of the 2nd track from the external cue.
Using CUETools with re-encoding solved a problem but it is quite a time to wait. Suggestions?


ah yes.. i had a similar problem where all of the files had the same title....... gah what was the problem there... it had to do with .... .... man. i wish i could think of it right now.. my mind is drained from work and i'm sleepy.... gimme until tomorrow and i'll remember when my mind is fresh.

question: how are you ripping, ... single wav + cue, multiple tracks+cue... ? also what program are you ripping with. it seems to me that if the filename(s) in the cue file can't be found, it will use the first track over and over. man. i wish i could remember what was causing that right now...  but just FYI, i use EAC to rip single wav+cue, then i encode the WAV -> FLAC using the flac encoder, then i open the single flac file and embed the cue.

here is an example for reference, of a working embedded cue file .. randomly picked:

Code: [Select]
REM GENRE Metal
REM DATE 1991
REM DISCID AC0EAD0C
REM COMMENT ExactAudioCopy v0.99pb5
CATALOG 0075596111321
PERFORMER "Metallica"
TITLE "Metallica"
REM REPLAYGAIN_ALBUM_GAIN -6.11 dB
REM REPLAYGAIN_ALBUM_PEAK 0.999969
FILE "Metallica - Metallica.wav" WAVE
  TRACK 01 AUDIO
    TITLE "Enter Sandman"
    REM REPLAYGAIN_TRACK_GAIN -5.45 dB
    REM REPLAYGAIN_TRACK_PEAK 0.999969
    INDEX 00 00:00:00
    INDEX 01 00:00:32
  TRACK 02 AUDIO
    TITLE "Sad But True"
    REM REPLAYGAIN_TRACK_GAIN -6.20 dB
    REM REPLAYGAIN_TRACK_PEAK 0.999969
    INDEX 00 05:31:62
    INDEX 01 05:32:00
  TRACK 03 AUDIO
    TITLE "Holier Than Thou"
    REM REPLAYGAIN_TRACK_GAIN -7.34 dB
    REM REPLAYGAIN_TRACK_PEAK 0.999969
    INDEX 00 10:56:05
    INDEX 01 10:56:42

etc....


now, you will notice that the file showing in the cue sheet is a .WAV file.... FILE "Metallica - Metallica.wav" WAVE
it is the original cue sheet that i embedded, unmodified. The WAV file it references is not physically there, but a FLAC file with the identical name is there, "Metallica - Metallica.flac", which this is embedded into.
i'm not sure why it works if the file doesn't exist, but it seems as if i renamed it to .FLAC it screwed up? show me some examples and we can work with it...

don't know if that helps any. i will remember for you and we will see once i get a little more info from you...

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #695
I apologize if this was already spoken about and I didn't find it but how can I embed cue sheet into flac file without re-encoding it? Usually I use foobar for this but lately some certain flac and cue files seem to make foobar process them incorrectly. Thanks.

CUE files can be embedded into FLAC images as CUESHEET block-types and/or CUESHEET tags.
Use metaflac command line tool (more info here) like this:

1) embedded/extract as CUESHEET block-type:
metaflac --import-cuesheet-from=file.cue file.flac
metaflac --list --block-type=CUESHEET file.flac > file.cue

2) embedded/extract as CUESHEET tag:
metaflac --set-tag-from-file=CUESHEET=file.cue file.flac
metaflac --show-tag=CUESHEET file.flac > file.cue

You can also use mp3tag for CUESHEET tags.

cheers

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #696
How can I set this format when encoding using a cue sheet:

Input:
H:\Musik (original)\Alben\Gino Vannelli – Big Dreamers Never Sleep (1987)\Gino Vanelli - Big Dreamers Never Sleep.cue

Output:
H:\Musik (original)\Alben\Gino Vannelli – Big Dreamers Never Sleep (1987)\Gino Vanelli - Big Dreamers Never Sleep (1987)\01. In The Name Of Money.wav
H:\Musik (original)\Alben\Gino Vannelli – Big Dreamers Never Sleep (1987)\Gino Vanelli - Big Dreamers Never Sleep (1987)\02. Time Out.wav
...

Nice greetings, Dirk
Win 7, Win Vista, newest stable foobar & EAC & Cue-Tools

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #697
How can I store my own settings (the file containing the settings) in a folder of my choice, e.g. in H:\Musik (original)?

Nice greetings, Dirk
Win 7, Win Vista, newest stable foobar & EAC & Cue-Tools

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #698
How can I open Cue-Tools with always the same profile? It always seems to start with the "default" profile, instead of the one which was opened when I closed Cue-Tools.

Nice greetings, Dirk
Win 7, Win Vista, newest stable foobar & EAC & Cue-Tools

CUETools versions 1.9.5 through 2.1.5 (current)

Reply #699
I was trying to embed cue sheet with reencoding source into flac file and found these two possible bugs:
1. When encoding with internal flac encoder it utilizes only 1 core of dual-core processor. However, standalone flac encoder uses both cores (which in fact speeds up encoding process up to 40%).
2. One of created flacs this way was kinda broken: I was unable to add ReplayGain info into it using foobar("Could not update tags (Unsupported format or corrupted file)" was the message). However, if reencoded with standalone flac encoder, this bug was disappeared.