diff --git a/fun/playlist_manager.py b/fun/playlist_manager.py index 53c5929..c7c5933 100644 --- a/fun/playlist_manager.py +++ b/fun/playlist_manager.py @@ -848,6 +848,10 @@ if __name__ == "__main__": # Setting custom name if provided if opts.name: title = opts.name + elif not opts.name and opts.jbop in ['collection', 'label']: + logger.error("If using --jbop collection or label, " + "you must provide a custom name") + exit() if opts.jbop and opts.action == 'show': if len(libraries) > 0: