-
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
WIP: Remove unused arguments for program.cdrdao.ReadTOCTask() #368
Conversation
The one place the class is currently instanced, neither `fast_toc` nor `toc_path` is used, so there's hardly any reason to keep those around. Signed-off-by: Frederik “Freso” S. Olesen <freso.dk@gmail.com>
That seems to be an error (not what you've found, I mean the current state): I've also found this: whipper/whipper/common/program.py Lines 107 to 119 in 6abd120
|
Why? I've noted before that e.g., ISRC gathering becomes unreliable when using
Ah, I did miss that I'll update this to no longer include the |
Didn't remember that. Anyway we're still performing the slow cdrdao read two times in a row. Maybe we can completely remove the |
Unless there's a compelling reason against it, I'm going to submit a PR to make getFastToc() fast again. The result of getFastToc() only get's used to compute IDs for CDDB and MusicBrainz (and thus also an index into whipper's table cache). No ISRC data will ever get used from it. My PR will also include a patch to convert the last other uses of ittoc to itable to let the limited purpose of getFastToc() appear more clearly. |
Resolves #368. Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
The one place the class is currently instanced, neither
fast_toc
nortoc_path
is used, so there's hardly any reason to keep those around.