-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
read-toc progress information #299
Comments
i looked at the source and it seems this is deliberate: it seems one of the reason the output is silenced is to handle gracefully a missing drive, but I would hope there are other ways of doing that. for example, we could loop over the output lines and parse that error message if present, while still keeping the output sane. another would be to duplicate the file descriptor to stderr and the pipe. |
Thanks for the issue report! @MerlijnWajer, @RecursiveForest, @Freso Any suggestions about this? Partially related to #106. |
I'd say that it may make sense to show something (spinning something? could a meaningful progress indicator be added?), but maybe not the raw |
Can you see if you get any usable progress output by cdrdao? In my experience it can be reading a disk for minutes, and show almost no progress. It'd be good to first determine if it can show (sensible) progress. |
On 2018-10-10 09:06:34, Merlijn Wajer wrote:
Can you see if you get any usable progress output by cdrdao? In my experience it can be reading a disk for minutes, and show almost no progress. It'd be good to first determine if it can show (sensible) progress.
it does show progress when it parses each track one by one. but it's
true it can also get stuck before that.
|
I forked whipper and added a feature to display the contents of the "Reading TOC" stage after it's completed, and if I can figure out how to multithread said stage so I can asynchronously display the raw output while it's running I'd be willing to add a flag for it. |
you mean 6d74686 ? |
Yes, but I'm not done yet. |
@Freso suggested I elaborate more of the comment I made on #320 here. I finally figured out how to run the cdrdao process as a Task, which means I can parse the output asynchronously. Now the question is how should I parse and display the output to the user? I was thinking of displaying a readable version of the CD TOC (maybe just an excerpt of the output from cdrdao) and then after it's done reading each track printing |
Made some more progress. Anyone have some thoughts?
|
the first stage of the rip is the
cdrdao read-toc
command which takes a few minutes to run here. it provides some output yet that is somewhat silenced by whipper and there's zero information something is going on.it would be nice to show that output to the user to reassure them the process is not hung.
The text was updated successfully, but these errors were encountered: