-
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
whipper not picking up all settings in whipper.conf #99
Comments
Most likely because the command is not rip.cd.rip anymore, but whipper.cd.rip (right?). Blind guess, but could you try replacing with that one (don’t have the time to look how the change was done right now). |
Thanks but no difference. It still won't pick up those settings. |
OK, so this will have to wait for someone being able to dig in the code to check when those settings are read and if something changed when the rip command was renamed. |
Didn't check throughly but: have you tried changing |
You could also try to remove the spaces before and afther the "=" so it would look like: output_directory=/home/eivind/rippers/whipper |
None of the proposed changes made any difference. BTW. The command run are simply |
Having a similar problem basically running the example config... The config file is ~/.config/whipper/whipper.conf |
|
Yes. That's the way it's listed on the github homepage https://github.com/JoeLametta/whipper#configuration-file-documentation It's also not working with [command.cd.rip] |
I can confirm this isn't working for me either. Here is my whipper.conf [drive:TSSTcorp%3ACD/DVDW%20SH-S183L%3ASB01] [whipper.cd.rip] |
I’m trying to track this. If anyone wants to take a look, here is a good start: ace8d5a#diff-a1778966d092b4c9aaf13b4e50fca475 |
I'm not sure but I think the regression was introduced with d1ed80d. |
Just hit this as well. Anything we can to do help you diagnose? |
d1ed80d seems to regress config file parsing for me too. I see that this is a squash merge and tried to bisect through the individual commits from PR #92 but most of the commits would not run for me[1]. Perhaps someone with more familiarity with the code will have better luck - it is an easy bug to reproduce, after all. [1] e.g. the first commit, b9cf34b "introduce logcommand.Lager, Whipper(); use argparse for whipper image commands, stub logging", installed locally via:
fails:
|
As I see it, that functionality was removed with "d1ed80d#diff-a1778966d092b4c9aaf13b4e50fca475L39" and I don't see it being added again. Especially, I don't see a way of the subcommand knowing its parent for building the dotted section name in the current implementation. |
So are we supposed to use the command line arguments for now? |
I have a script i execute instead of whipper itself:
|
But not every option is available using command line arguments. Take |
Removed reference to unused "profile = flac" config option (issue #99)
@MerlijnWajer - are you currently working on this, or would you mind if I picked it up? I have some WIP code, but it would still need some more work before it's ready to merge. I don't want to spend time on it if you've already made good progress though. |
By all means keep plugging away @calumchisholm -- I also have some unfinished code that works towards fixing this, but that shouldn't be a barrier towards actually fixing it if you can. |
I'll certainly keep looking at it when I get some time - it would be nice to get this functional again. |
While playing around in this area, I thought it might be a good idea to review the command-line arguments and config settings currently supported by whipper (or intended to be supported). Most of these are quite well understood, and included only for the sake of completeness, however there are a few items (listed in the last section) that I would appreciate some input on though. Either their intended use is unclear, or I've identified them as possible targets for tidy-up, consolidation or moving elsewhere in the config hierarchy. Feedback welcomed. CLI OnlyMainly single-use or debug options. Generally no value to writing them to whipper.conf
whipper.conf onlyNo (directly) corresponding command-line argument, but not an issue.
CLI & whipper.confSet either from CLI or whipper.conf. Well understood.
InvestigatePossible candidates for tidy-up, or maybe just a lack of understanding on my part.
|
This PR fixes the config issue, so I wouldn't spend any more time on it: #240 I have a proposal from some months ago in IRC for reworking the command line interface that I quite liked. If I remember when I get home I'll share it. I appreciate the writeup here, in particular calling attention to the infelicities under "investigate". :) I'd appreciate user testing for the above PR. Note that configuration sections now begin with |
This used to work a month or so ago.
I have my config in $HOME/.config/whipper/whipper.conf
which should be the same as $XDG_CONFIG_HOME/whipper/whipper.conf on my system anyway.
The config looks like:
[main]
path_filter_fat = True
path_filter_special = False
[drive:TSSTcorp%3ACDDVDW%20TS-U633J%20%3ATM00]
vendor = TSSTcorp
model = CDDVDW TS-U633J
release = TM00
read_offset = 6
defeats_cache = True
[rip.cd.rip]
unknown = True
output_directory = /home/eivind/rippers/whipper
track_template = %%r/%%A/%%d (%%y)/[%%t] %%n
disc_template = %%r/%%A/%%d (%%y)/%%A - %%d (%%y)
profile = flac
The settings under [main] and [drive:*] seems to be picked up as before but the settings under [rip.cd.rip] are not and those values fall back to default. This is happening with current git checkout as of today.
The text was updated successfully, but these errors were encountered: