X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Futils%2Fstartopt.py;fp=sima%2Futils%2Fstartopt.py;h=c3fb161a67aca583b5907057d974a1d09cf25530;hb=db35ea171e147ed3d65bdab0e2f14caaf96582f9;hp=7f3a5febdb0d91f9fb8e3a439954e233343a2835;hpb=eead40921859927953e73327840bd6ff090b77fe;p=mpd-sima.git diff --git a/sima/utils/startopt.py b/sima/utils/startopt.py index 7f3a5fe..c3fb161 100644 --- a/sima/utils/startopt.py +++ b/sima/utils/startopt.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright (c) 2009-2015, 2021 kaliko +# Copyright (c) 2009-2015, 2022 kaliko # # This file is part of sima # @@ -114,6 +114,10 @@ CMDS = [ {'name': 'id', 'type': int, 'nargs': '?', 'help': 'blocklist ID to suppress (use bl-view to list IDs)'} ], 'help': 'Remove entries from the blocklist'}, + {'random': [ + {'name': 'nbtracks', 'type': int, 'nargs': '?', + 'help': 'Number of tracks to add'} + ], 'help': 'Start in random auto queuing'}, ]