|
@@ -152,8 +152,8 @@ def get_duration(url):
|
|
|
def get_parser():
|
|
|
p = ArgumentParser('Get music from a (well-specified) xml feed')
|
|
|
src = p.add_argument_group('sources', 'How to deal with sources')
|
|
|
- p.add_argument('--source-weights',
|
|
|
- help='Select only one "source" based on this weights')
|
|
|
+ src.add_argument('--source-weights',
|
|
|
+ help='Select only one "source" based on this weights')
|
|
|
|
|
|
filters = p.add_argument_group('filters', 'Select only items that match these conditions')
|
|
|
filters.add_argument('--max-len', default=0, type=int,
|