X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Futils%2Fstartopt.py;h=c3fb161a67aca583b5907057d974a1d09cf25530;hb=1a178217e8efd3b2b523afb93775124baf1be05f;hp=7f3a5febdb0d91f9fb8e3a439954e233343a2835;hpb=fe3d0fe8056eab45d5c971c19ae25f98154b2c5b;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'}, ]