Re: Auto exit with return code?
Reply #12 – 2020-01-27 03:29:30
This still needs to be added to the issue tracker . Should it be? Up front I'm not a career coder or paid programmer or anything like that, but if the "error" is in the DB, is fixing it in the client the way to go? I guess any fix is a fix really, and from what I've read decoding UTF-8 as UTF-8 BOM doesn't present problems. I'm currently using the first python answer from this SO page. Again, not a career coder and I don't have MS Studio anything yet, but in "CUEToolsDB.cs" (2.1.7) on line ~108, there is variable "ctdbRespEntry" that _looks_ like a candidate for a decode() . No matter where the right spot is, obviously everything would have to be decoded before writing the .cue file, but I don't see a main entry point for that yet. I'm not sure where people go today to learn specific things in specific languages. I know StackOverflow is kind of the right spot, but if you want something like, say.... how to add ripping individual tracks to "CUETools.Ripper.Console.exe" , where do you go? FWIW to anyone else interested in the same thing, it looks like all info. to rip per track is sitting in the source file, It just needs a little math in a loop to make it work as it already has the file writer, gap detection and sectors for each track. The things lost on me are which values for CDDA the math ops. require and how to verify them via AccurateRip. Here's the part with "ctdbRespEntry" I mentioned, if I get MS studio or something I'll try it....// In "CUEToolsDB.cs" for version 2.1.7, line ~108 foreach (var ctdbRespEntry in ctdbResp.entry) // but is ctdbResp.entry even the right individual thing? { if (ctdbRespEntry.toc == null) continue; this.total += ctdbRespEntry.confidence; var entry = new DBEntry(ctdbRespEntry); // add a decode() here on ctdbRespEntry? entries.Add(entry); } ****************************************************** THANKS FOR THE HELP korth!! Those links helped put some other puzzles together, and sorry I missed the initial BOM issue (I'm old dude :-P);******************************************************